/* ===========================================================
   RE/MAX Excelencia — Landing de reclutamiento
   Sistema visual
   =========================================================== */
:root{
  /* Brand */
  --red:        #E20A2C;
  --red-dark:   #B80722;
  --navy:       #15224A;
  --navy-2:     #1C2C5E;
  --blue:       #2B4FA0;

  /* Neutrals */
  --ink:        #181A1F;
  --muted:      #5C6472;
  --muted-soft: #8A92A0;
  --bg:         #FFFFFF;
  --soft:       #F4F6F9;
  --soft-2:     #EEF1F6;
  --line:       #E2E7EF;
  --line-strong:#D2D9E4;

  /* Type */
  --display: "Montserrat", system-ui, sans-serif;
  --body:    "Mulish", system-ui, sans-serif;

  --t-eyebrow: 14px;
  --t-h1:      clamp(38px, 5.2vw, 62px);
  --t-h2:      clamp(28px, 3.4vw, 42px);
  --t-h3:      21px;
  --t-lead:    clamp(17px, 1.5vw, 20px);
  --t-body:    16.5px;
  --t-small:   14px;

  --maxw: 1180px;
  --pad-x: 24px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(18,24,40,.06), 0 2px 8px rgba(18,24,40,.05);
  --shadow-md: 0 10px 30px rgba(18,24,40,.10), 0 2px 8px rgba(18,24,40,.06);
  --shadow-lg: 0 30px 70px rgba(15,24,55,.28);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg);
  font-size:var(--t-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{ font-family:var(--display); margin:0; line-height:1.08; letter-spacing:-0.02em; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
::selection{ background:var(--red); color:#fff; }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--pad-x); }

.eyebrow{
  font-family:var(--display);
  font-weight:700;
  font-size:var(--t-eyebrow);
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--red);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background:var(--red);
  display:inline-block;
}
.eyebrow.on-dark{ color:#FF6B7E; }
.eyebrow.on-dark::before{ background:#FF6B7E; }
.eyebrow.center{ justify-content:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--display); font-weight:700; font-size:16px;
  padding:16px 28px; border-radius:11px; border:0; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  letter-spacing:.01em; line-height:1; text-align:center;
}
.btn-primary{ background:var(--red); color:#fff; box-shadow:0 8px 20px rgba(226,10,44,.28); }
.btn-primary:hover{ background:var(--red-dark); transform:translateY(-2px); box-shadow:0 12px 28px rgba(226,10,44,.34); }
.btn-light{ background:#fff; color:var(--navy); box-shadow:var(--shadow-sm); }
.btn-light:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-wa{ background:#25D366; color:#0a3d22; }
.btn-wa:hover{ background:#20bd5b; transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--navy); border:1.5px solid var(--line-strong); }
.btn-ghost:hover{ border-color:var(--navy); }
.btn-block{ width:100%; }
.btn-lg{ padding:19px 34px; font-size:17px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:74px; }
.brand img{ height:34px; width:auto; }
.header-actions{ display:flex; align-items:center; gap:14px; }
.header-phone{ font-family:var(--display); font-weight:700; color:var(--navy); font-size:15px; display:flex; align-items:center; gap:8px; }
.header-phone svg{ color:var(--red); }

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1200px 600px at 88% -10%, rgba(43,79,160,.55), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(226,10,44,.30), transparent 55%),
    linear-gradient(160deg, #14224A 0%, #16224A 50%, #101A3C 100%);
  color:#fff;
}
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(900px 500px at 70% 30%, #000, transparent 75%);
          mask-image:radial-gradient(900px 500px at 70% 30%, #000, transparent 75%);
  opacity:.5;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 460px; gap:64px;
  align-items:center;
  padding:84px 0 72px;
}
.hero-eyebrow{ color:#FF6B7E; }
.hero h1{
  font-size:var(--t-h1); font-weight:800; color:#fff; margin:22px 0 0;
  letter-spacing:-0.025em;
}
.hero h1 .hl{ color:#fff; }
.hero h1 .accent{ color:#FF8493; }
.hero-sub{
  font-size:var(--t-lead); color:#C7D0E6; margin-top:22px; max-width:560px;
  line-height:1.55;
}
.hero-sub strong{ color:#fff; font-weight:700; }
.hero-cta-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hero-trust{ display:flex; align-items:center; gap:10px; margin-top:26px; color:#A9B4D0; font-size:14px; }
.hero-trust svg{ color:#7CE0A3; flex:none; }

/* hero stats strip */
.hero-stats{
  position:relative; z-index:2;
  display:grid; grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(255,255,255,.14);
  padding:30px 0 36px;
}
.hero-stats .stat{ padding:6px 28px; border-right:1px solid rgba(255,255,255,.12); }
.hero-stats .stat:last-child{ border-right:0; }
.stat .num{ font-family:var(--display); font-weight:800; font-size:clamp(34px,4vw,46px); color:#fff; line-height:1; letter-spacing:-0.02em; }
.stat .num .unit{ color:#FF6B7E; }
.stat .lbl{ color:#AFB9D6; font-size:14.5px; margin-top:9px; line-height:1.4; max-width:240px; }

/* ---------- Form card ---------- */
.form-card{
  background:#fff; color:var(--ink);
  border-radius:20px; padding:30px 30px 26px;
  box-shadow:var(--shadow-lg);
  position:relative;
}
.form-card::before{
  content:""; position:absolute; left:0; top:0; right:0; height:6px;
  background:linear-gradient(90deg, var(--red), #FF4D67);
  border-radius:20px 20px 0 0;
}
.form-card h3{ font-size:24px; font-weight:800; color:var(--navy); }
.form-card .fc-sub{ color:var(--muted); font-size:14.5px; margin-top:7px; line-height:1.45; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.field{ margin-top:14px; }
.field label{ display:block; font-family:var(--display); font-weight:600; font-size:13px; color:var(--navy); margin-bottom:6px; }
.field label .req{ color:var(--red); }
.field input, .field select{
  width:100%; font-family:var(--body); font-size:15.5px; color:var(--ink);
  padding:13px 14px; border:1.5px solid var(--line-strong); border-radius:10px;
  background:#fff; transition:border-color .15s, box-shadow .15s; appearance:none;
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C6472' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:38px;
  color:var(--muted);
}
.field select.filled{ color:var(--ink); }
.field input:focus, .field select:focus{ outline:0; border-color:var(--red); box-shadow:0 0 0 3px rgba(226,10,44,.13); }
.field input::placeholder{ color:var(--muted-soft); }
.form-submit{ margin-top:20px; }
.form-or{ display:flex; align-items:center; gap:12px; color:var(--muted-soft); font-size:13px; margin:14px 0; }
.form-or::before,.form-or::after{ content:""; height:1px; background:var(--line); flex:1; }
.form-foot{ display:flex; align-items:center; justify-content:center; gap:7px; color:var(--muted); font-size:12.5px; margin-top:16px; }
.form-foot svg{ color:#3BA55D; flex:none; }
.form-success{
  display:none; text-align:center; padding:26px 6px 12px;
}
.form-success.show{ display:block; }
.form-success .check{
  width:66px; height:66px; border-radius:50%; background:#E9F8EE;
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
}
.form-success .check svg{ color:#23A455; }
.form-success h3{ color:var(--navy); }
.form-success p{ color:var(--muted); margin-top:10px; font-size:15px; }

/* ---------- Section scaffolding ---------- */
section{ position:relative; }
.sec{ padding:96px 0; }
.sec.soft{ background:var(--soft); }
.sec.navy{ background:var(--navy);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(43,79,160,.45), transparent 60%),
    linear-gradient(165deg,#15224A,#101A3C);
  color:#fff;
}
.sec-head{ max-width:720px; margin-bottom:54px; }
.sec-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.sec-head h2{ font-size:var(--t-h2); font-weight:800; color:var(--navy); margin-top:18px; }
.sec.navy .sec-head h2{ color:#fff; }
.sec-head p{ font-size:var(--t-lead); color:var(--muted); margin-top:16px; line-height:1.55; }
.sec.navy .sec-head p{ color:#C7D0E6; }

/* ---------- Benefits ---------- */
.benefits-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.benefit{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 28px 28px; transition:transform .2s, box-shadow .2s, border-color .2s;
}
.benefit:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.benefit .ic{
  width:54px; height:54px; border-radius:13px;
  background:linear-gradient(160deg, #FDE7EA, #FBD0D7);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.benefit .ic svg{ color:var(--red); }
.benefit h3{ font-size:var(--t-h3); font-weight:700; color:var(--navy); }
.benefit p{ color:var(--muted); margin-top:11px; font-size:15.5px; line-height:1.55; }

/* ---------- Oficina ---------- */
.office-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.office-photo{
  width:100%; height:440px; border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-md); object-fit:cover; object-position:center;
}
.office-badge{
  display:inline-flex; align-items:center; gap:9px; background:#fff;
  border:1px solid var(--line); border-radius:999px; padding:9px 16px;
  font-family:var(--display); font-weight:600; font-size:13.5px; color:var(--navy);
  box-shadow:var(--shadow-sm); margin-bottom:20px;
}
.office-badge svg{ color:var(--red); }
.office-copy h2{ font-size:var(--t-h2); font-weight:800; color:var(--navy); }
.office-copy p{ color:var(--muted); font-size:var(--t-lead); margin-top:18px; line-height:1.6; }
.office-feats{ list-style:none; padding:0; margin:26px 0 0; display:flex; flex-direction:column; gap:13px; }
.office-feats li{ display:flex; align-items:center; gap:12px; font-weight:600; color:var(--navy); }
.office-feats .dot{ width:9px; height:9px; border-radius:50%; background:var(--red); flex:none; }

/* ---------- ¿Es para vos? ---------- */
.fit-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:start; }
.fit-left h2{ font-size:var(--t-h2); font-weight:800; color:#fff; }
.fit-note{
  margin-top:28px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-left:3px solid var(--red); border-radius:12px; padding:20px 22px;
  color:#D6DEF2; font-size:15.5px; line-height:1.55;
}
.fit-note strong{ color:#fff; }
.fit-list{ list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.fit-list li{
  display:flex; gap:15px; align-items:flex-start;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10);
  border-radius:12px; padding:18px 20px;
}
.fit-list .tick{
  width:28px; height:28px; border-radius:50%; background:var(--red);
  display:flex; align-items:center; justify-content:center; flex:none; margin-top:1px;
}
.fit-list .tick svg{ color:#fff; }
.fit-list span{ color:#E4E9F6; font-size:16px; line-height:1.5; }

/* ---------- Proceso ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.step{ padding:0 26px; position:relative; }
.step:not(:last-child)::after{
  content:""; position:absolute; top:27px; right:-1px; width:2px; height:0; /* unused */
}
.step .snum{
  width:56px; height:56px; border-radius:50%;
  background:#fff; border:2px solid var(--line); color:var(--navy);
  font-family:var(--display); font-weight:800; font-size:22px;
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  position:relative; z-index:2;
}
.step.active .snum{ background:var(--red); border-color:var(--red); color:#fff; box-shadow:0 8px 18px rgba(226,10,44,.3); }
.step h3{ font-size:18.5px; font-weight:700; color:var(--navy); }
.step p{ color:var(--muted); margin-top:10px; font-size:15px; line-height:1.5; }
.steps-rail{ position:absolute; top:27px; left:60px; right:60px; height:2px; background:var(--line); z-index:1; }

/* ---------- Reseñas ---------- */
.reviews-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.review{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 30px 26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.review-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.stars{ display:flex; gap:3px; }
.stars svg{ color:#FBB400; }
.gchip{ display:flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); font-weight:600; font-family:var(--display); }
.gchip .g{
  width:20px; height:20px; border-radius:50%; background:#fff; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px;
  font-family:var(--display);
}
.review p.quote{ color:var(--ink); font-size:16.5px; line-height:1.6; flex:1; }
.review-user{ display:flex; align-items:center; gap:13px; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.avatar{
  width:46px; height:46px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:800; font-size:16px; color:#fff;
}
.review-user .ru-name{ font-family:var(--display); font-weight:700; color:var(--navy); font-size:15.5px; }
.review-user .ru-role{ color:var(--muted); font-size:13.5px; margin-top:2px; }
.reviews-foot{ text-align:center; margin-top:38px; color:var(--muted); font-size:15px; }
.reviews-foot strong{ color:var(--navy); }

/* ---------- FAQ ---------- */
.faq-wrap{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:0; cursor:pointer; text-align:left;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:26px 4px; font-family:var(--display); font-weight:700; font-size:19px; color:var(--navy);
}
.faq-q .pm{ flex:none; width:30px; height:30px; border-radius:50%; background:var(--soft); display:flex; align-items:center; justify-content:center; transition:background .2s, transform .25s; }
.faq-q .pm svg{ color:var(--red); transition:transform .25s; }
.faq-item.open .faq-q .pm{ background:var(--red); }
.faq-item.open .faq-q .pm svg{ color:#fff; transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .32s ease; }
.faq-a-inner{ padding:0 4px 26px; color:var(--muted); font-size:16.5px; line-height:1.65; max-width:680px; }

/* ---------- CTA final ---------- */
.cta-final{
  background:linear-gradient(135deg, var(--red) 0%, #C00824 100%);
  color:#fff; text-align:center; padding:84px 0;
  position:relative; overflow:hidden;
}
.cta-final::after{
  content:""; position:absolute; inset:0; opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(700px 360px at 50% 0%, #000, transparent 72%);
          mask-image:radial-gradient(700px 360px at 50% 0%, #000, transparent 72%);
}
.cta-final .inner{ position:relative; z-index:2; }
.cta-final .eyebrow{ color:#FFD2D9; }
.cta-final .eyebrow::before{ background:#FFD2D9; }
.cta-final h2{ font-size:var(--t-h2); font-weight:800; color:#fff; margin-top:16px; }
.cta-final p{ font-size:var(--t-lead); color:#FFD9DF; margin:18px auto 34px; max-width:560px; }
.cta-final .btn-light{ color:var(--red); }

/* ---------- Footer ---------- */
.footer{ background:#0E1730; color:#A9B4D0; padding:56px 0 30px; }
.footer-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,.10); }
.footer-brand img{ height:36px; width:auto; margin-bottom:16px; }
.footer-brand p{ max-width:330px; font-size:14.5px; line-height:1.55; }
.footer-contact{ display:flex; flex-direction:column; gap:12px; }
.footer-contact a, .footer-contact span{ display:flex; align-items:center; gap:11px; font-size:15px; color:#D2DAEC; }
.footer-contact svg{ color:#FF6B7E; flex:none; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:24px; font-size:13px; color:#7986A6; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; padding:60px 0 56px; }
  .form-card{ order:2; }
  .hero-stats{ grid-template-columns:1fr; gap:0; }
  .hero-stats .stat{ border-right:0; border-bottom:1px solid rgba(255,255,255,.12); padding:20px 0; }
  .hero-stats .stat:last-child{ border-bottom:0; }
  .benefits-grid{ grid-template-columns:1fr 1fr; }
  .office-grid{ grid-template-columns:1fr; gap:36px; }
  .office-photo{ height:340px; }
  .fit-grid{ grid-template-columns:1fr; gap:36px; }
  .steps{ grid-template-columns:1fr 1fr; gap:36px 20px; }
  .steps-rail{ display:none; }
  .reviews-grid{ grid-template-columns:1fr; }
}
@media (max-width: 620px){
  .sec{ padding:66px 0; }
  .header-phone{ display:none; }
  .benefits-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .hero h1{ font-size:34px; }
  .header-actions .btn{ padding:12px 18px; font-size:14px; }
  .brand img{ height:28px; }
}
