/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

:root {
  --orange:        #E8601A;
  --orange-dark:   #C04E12;
  --orange-light:  #F5935A;
  --orange-pale:   #FFF3EE;
  --orange-pale2:  #FFE5D0;
  --brown-dark:    #180E08;
  --brown-light:   #9C7B68;
  --white:         #FFFFFF;
  --gray-bg:       #F7F6F4;
  --gray-border:   #E6DDD5;
  --text-dark:     #180E08;
  --text-mid:      #6B4C38;
  --text-light:    #A08878;
  --font-head:     'Outfit', sans-serif;
  --font-body:     'Manrope', sans-serif;
  --r:             10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-dark); overflow-x: hidden; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 68px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(200,78,18,.07); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo .sq { height: 50px; object-fit: contain; }
.nav-logo .tx { height: 18px; filter: brightness(0); object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--text-mid); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 9px 20px; border-radius: var(--r);
  cursor: pointer; transition: all .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; border: none;
}
.btn-ghost { background: transparent; border: 1.5px solid var(--gray-border); color: var(--text-mid); }
@media (max-width: 950px) {
  #btn-nosotros { display: none }
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,96,26,.28); }
.btn-lg { font-size: 15px; padding: 13px 28px; border-radius: 11px; }
.btn-white { background: white; color: var(--orange); font-weight: 700; }
.btn-white:hover { background: var(--orange-pale); }
.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: white; }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,.08); }

/* HERO */
.hero {
  min-height: 100vh; padding: 128px 56px 70px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; overflow: hidden; background: var(--white);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(232,96,26,.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 0%, transparent 72%);
}
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 420px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,96,26,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-pale); border: 1px solid rgba(232,96,26,.22);
  border-radius: 100px; padding: 5px 15px 5px 9px;
  font-size: 12px; font-weight: 700; color: var(--orange-dark);
  margin-bottom: 28px; letter-spacing: .03em;
  animation: fadeUp .5s ease both;
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,96,26,.4); } 50% { box-shadow: 0 0 0 5px rgba(232,96,26,0); } }
.hero h1 {
  position: relative;
  font-family: var(--font-head); font-size: clamp(44px, 5.8vw, 80px);
  font-weight: 900; line-height: 1.04; letter-spacing: -3px;
  color: var(--text-dark); max-width: 820px;
  animation: fadeUp .5s .1s ease both;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub {
  position: relative; margin-top: 20px;
  font-size: 16.5px; font-weight: 400;
  color: var(--text-mid); max-width: 490px; line-height: 1.72;
  animation: fadeUp .5s .18s ease both;
}
.hero-actions {
  position: relative; margin-top: 36px;
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp .5s .26s ease both;
}
.hero-trust {
  position: relative; margin-top: 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; color: var(--text-light);
  animation: fadeUp .5s .34s ease both;
}
.avatars { display: flex; }
.av { width: 26px; height: 26px; border-radius: 50%; border: 2px solid white; background: var(--orange-pale2); margin-left: -6px; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.av:first-child { margin-left: 0; }

/* HERO MOCKUP */
.hero-mockup {
  position: relative; margin-top: 52px; width: 100%; max-width: 1000px;
  animation: fadeUp .7s .42s ease both;
}
.hero-mockup::before {
  content: ''; position: absolute; inset: -60px; z-index: -1;
  background: radial-gradient(ellipse 65% 45% at 50% 50%, rgba(232,96,26,.1) 0%, transparent 70%);
}
.browser {
  background: white; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 40px 90px rgba(24,14,8,.15), 0 10px 30px rgba(232,96,26,.08);
  overflow: hidden;
  animation: float 7s 1.2s ease-in-out infinite;
}
.browser-top {
  background: #F2EFEC; padding: 10px 16px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.bdot { width: 10px; height: 10px; border-radius: 50%; }
.bd1 { background: #FF5F57; } .bd2 { background: #FEBC2E; } .bd3 { background: #28C840; }
.burl {
  flex: 1; margin: 0 10px; height: 25px;
  background: white; border-radius: 6px; border: 1px solid #E0DAD4;
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--font-body); font-size: 11.5px; color: #999;
}
.browser-dash { overflow: hidden; }

/* LOGOS */
.logos-band { padding: 32px 56px; background: var(--gray-bg); border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.logos-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 22px; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap; }
.logo-chip { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--brown-light); display: flex; align-items: center; gap: 7px; }
.logo-chip::before { content: '◆'; font-size: 7px; color: var(--orange-light); }

/* SECTIONS */
.section { padding: 96px 56px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.h2 { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 50px); font-weight: 900; line-height: 1.08; letter-spacing: -1.8px; color: var(--text-dark); }
.lead { margin-top: 14px; font-size: 15.5px; color: var(--text-mid); line-height: 1.72; max-width: 480px; }

/* FEATURES */
.feat-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--gray-border); border-radius: 18px; overflow: hidden; background: var(--gray-border); gap: 1px; }
.feat-item { background: white; padding: 34px 30px; transition: background .25s; }
.feat-item:hover { background: var(--orange-pale); }
.feat-icon { width: 46px; height: 46px; background: var(--orange-pale2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; transition: background .25s; }
.feat-item:hover .feat-icon { background: var(--orange); }
.feat-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; letter-spacing: -.3px; }
.feat-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; }

/* STEPS */
.steps-bg { background: var(--gray-bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.step-card { background: white; border-radius: 16px; padding: 34px 28px; border: 1px solid var(--gray-border); position: relative; overflow: hidden; }
.step-card::after { content: attr(data-n); position: absolute; bottom: -16px; right: 8px; font-family: var(--font-head); font-size: 110px; font-weight: 900; color: rgba(232,96,26,.05); line-height: 1; pointer-events: none; letter-spacing: -4px; }
.step-n { font-size: 10.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.step-icon { font-size: 34px; margin-bottom: 16px; }
.step-title { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -.4px; }
.step-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; }

/* DARK */
.dark-section { background: var(--brown-dark); padding: 96px 56px; position: relative; overflow: hidden; }
.dark-section::before { content: ''; position: absolute; top: -250px; left: -250px; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, rgba(232,96,26,.14) 0%, transparent 70%); pointer-events: none; }
.dark-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.h2-w { color: white; }
.lead-w { color: rgba(255,255,255,.5); max-width: 420px; }
.eyebrow-w { color: var(--orange-light); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.metric-n { font-family: var(--font-head); font-size: 46px; font-weight: 900; color: var(--orange); line-height: 1; letter-spacing: -2px; }
.metric-l { font-size: 12.5px; color: rgba(255,255,255,.35); margin-top: 5px; }
.bill-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 26px; }
.bill-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.bill-label { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.bill-total-n { font-family: var(--font-head); font-size: 20px; font-weight: 900; color: var(--orange); text-align: right; letter-spacing: -.5px; }
.bill-total-l { font-size: 10.5px; color: rgba(255,255,255,.25); text-align: right; }
.br { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.br:last-child { border: none; padding-bottom: 0; }
.br-l { display: flex; align-items: center; gap: 11px; }
.brav { width: 34px; height: 34px; border-radius: 50%; background: rgba(232,96,26,.18); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.br-name { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.82); }
.br-unit { font-size: 10.5px; color: rgba(255,255,255,.28); margin-top: 1px; }
.br-r { display: flex; align-items: center; gap: 7px; }
.br-amt { font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: -.2px; }
.tag { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.tp { background: rgba(34,197,94,.14); color: #4ADE80; }
.tl { background: rgba(232,96,26,.2); color: var(--orange-light); }

/* TESTIMONIALS */
.testi-bg { background: var(--orange-pale); }
.testi-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tc { background: white; border-radius: 16px; padding: 28px; border: 1px solid rgba(232,96,26,.1); transition: transform .2s, box-shadow .2s; }
.tc:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(232,96,26,.1); }
.tc.feat { background: var(--orange); border-color: var(--orange); }
.tc-stars { color: var(--orange); font-size: 12.5px; margin-bottom: 12px; }
.tc.feat .tc-stars { color: rgba(255,255,255,.5); }
.tc-q { font-size: 14px; line-height: 1.76; font-style: italic; color: var(--text-mid); margin-bottom: 20px; }
.tc.feat .tc-q { color: rgba(255,255,255,.82); }
.tc-auth { display: flex; align-items: center; gap: 10px; }
.tc-av { width: 36px; height: 36px; border-radius: 50%; background: var(--orange-pale2); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.tc.feat .tc-av { background: rgba(255,255,255,.18); }
.tc-name { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.tc.feat .tc-name { color: white; }
.tc-role { font-size: 11.5px; color: var(--text-light); margin-top: 2px; }
.tc.feat .tc-role { color: rgba(255,255,255,.5); }

/* CONTACT */
.contact-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ci-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.ci-h2 { font-family: var(--font-head); font-size: 38px; font-weight: 900; letter-spacing: -1.5px; line-height: 1.08; color: var(--text-dark); margin-bottom: 16px; }
.ci-desc { font-size: 15px; color: var(--text-mid); line-height: 1.74; margin-bottom: 36px; }
.ci-items { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-ico { width: 40px; height: 40px; flex-shrink: 0; background: var(--orange-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ci-lbl { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .07em; }
.ci-val { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-top: 3px; }
.form-card { background: var(--gray-bg); border-radius: 20px; padding: 38px; border: 1px solid var(--gray-border); }
.form-title { font-family: var(--font-head); font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: var(--text-dark); margin-bottom: 4px; }
.form-sub { font-size: 13.5px; color: var(--text-mid); margin-bottom: 26px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; color: var(--text-mid); margin-bottom: 6px; letter-spacing: .02em; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 10px 14px; border-radius: var(--r); border: 1.5px solid var(--gray-border); font-family: var(--font-body); font-size: 13.5px; color: var(--text-dark); background: white; transition: border-color .2s, box-shadow .2s; outline: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,96,26,.1); }
.form-row textarea { height: 92px; resize: vertical; }
.form-btn { width: 100%; padding: 13px; background: var(--orange); color: white; border: none; border-radius: var(--r); font-family: var(--font-body); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.form-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* CTA */
.cta-wrap { margin: 0 56px 80px; }
.cta-inner { background: linear-gradient(135deg, #B84410 0%, var(--orange) 55%, #F07540 100%); border-radius: 22px; padding: 80px; text-align: center; position: relative; overflow: hidden; }
.cta-inner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.cta-inner h2 { font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 52px); font-weight: 900; letter-spacing: -2px; color: white; margin-bottom: 12px; position: relative; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,.72); margin-bottom: 30px; position: relative; }
.cta-btns { display: flex; justify-content: center; gap: 11px; position: relative; }

/* FOOTER */
footer { background: var(--brown-dark); padding: 60px 56px 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.fb-logo { display: flex; align-items: center; margin-bottom: 12px; }
.fb-sq { height: 35px; filter: brightness(0) invert(1) opacity(.8); object-fit: contain; }
.fb-tx { height: 15px; filter: brightness(0) invert(1) opacity(.8); object-fit: contain; }
.fb-desc { font-size: 13px; color: rgba(255,255,255,.3); line-height: 1.76; max-width: 210px; }
.fc-title { font-family: var(--font-head); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.fc a { display: block; font-size: 13px; color: rgba(255,255,255,.3); text-decoration: none; margin-bottom: 9px; transition: color .2s; }
.fc a:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.22); }

@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
.reveal { opacity:0; transform:translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vis { opacity:1; transform:none; }

@media(max-width:900px){
  nav{ padding:0 24px; } .nav-links{ display:none; }
  .hero{ padding:96px 24px 56px; }
  .section{ padding:64px 24px; } .dark-section{ padding:64px 24px; }
  .cta-wrap{ margin:0 20px 60px; } .cta-inner{ padding:48px 28px; }
  .feat-grid,.steps-grid,.testi-grid{ grid-template-columns:1fr; }
  .dark-inner,.contact-inner{ grid-template-columns:1fr; gap:40px; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:28px; }
  .logos-band{ padding:28px 24px; }
}

