/* ==========================================================
   Sur Consultores — Landing page
   ========================================================== */

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #2A333B;
  --ink-2: #55606B;
  --muted: #858E99;
  --line: #E8E5DF;
  --accent: #567468;
  --accent-hover: #46615A;
  --accent-soft: #EAF0ED;
  --deep: #27333A;
  --deep-2: #2F3D45;
  --deep-line: #3D4C54;
  --error: #B4534A;

  /* Colores del isotipo */
  --mark: #6F9184;
  --mark-soft: #C3CBC6;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 500 15px/1 var(--font-body);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A313C; }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: #9FBFB2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark .horizon { stroke: var(--mark-soft); stroke-width: 3; }
.brand-mark .chevron { stroke: var(--mark); stroke-width: 6; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.brand-name span { font-weight: 400; color: var(--muted); }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-size: 15px;
  white-space: nowrap;
  color: var(--ink-2);
  transition: color .2s;
}
.main-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ink); transition: transform .25s, top .25s;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.mobile-nav .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
}
.hero-contours {
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  height: 100%;
  color: var(--ink);
  opacity: .07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.lead {
  margin-top: 24px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(20, 24, 31, .04), 0 12px 32px -12px rgba(20, 24, 31, .12);
}
.hero-card-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hero-card-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.hero-card-list span { color: var(--muted); }
.hero-card-list strong { font-weight: 500; text-align: right; }
.hero-card .btn { margin-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }

.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  max-width: 22ch;
}
.section-head.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.section-head.split > p {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 48ch;
}

/* ---------- Challenges ---------- */
.challenges { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.challenge-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.challenge-list li {
  padding: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.challenge-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.challenge-list h3 { font-size: 20px; margin-bottom: 8px; }
.challenge-list p { color: var(--ink-2); font-size: 15px; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 36px 32px 40px;
  transition: background-color .25s;
}
.service:hover { background: var(--surface); }
.icon {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 28px;
}
.service h3 { font-size: 20px; margin-bottom: 10px; }
.service p { color: var(--ink-2); font-size: 15px; }

/* ---------- Industries ---------- */
.industries { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
}
.industry-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.industry-list li:nth-child(-n+3) { border-top-color: var(--ink); }
.industry-list span {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.industry-list small { color: var(--muted); font-size: 14px; text-align: right; }

/* ---------- Method ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 28px; }
.steps li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 44px;
  right: -24px;
  height: 1px;
  background: var(--line);
}
.steps li:last-child::before { display: none; }
.step-num {
  position: absolute;
  top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--bg);
  font: 600 15px/1 var(--font-head);
}
.steps h3 { font-size: 20px; margin: 36px 0 8px; }
.steps p { color: var(--ink-2); font-size: 15px; max-width: 30ch; }

/* ---------- Booking ---------- */
.booking {
  background: var(--deep);
  color: #fff;
}
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 80px;
  align-items: start;
}
.booking-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.booking-intro h2 { font-size: clamp(32px, 4vw, 48px); max-width: 14ch; }
.booking-intro > p { margin-top: 20px; color: #B7C0CC; font-size: 17px; max-width: 42ch; }

.booking-points { margin-top: 36px; }
.booking-points li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--deep-line);
  color: #DCE2EA;
  font-size: 15px;
}
.booking-points li::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FBFB2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}

.booking-contact { margin-top: 36px; font-size: 15px; color: #B7C0CC; }
.booking-contact a { color: #fff; border-bottom: 1px solid var(--deep-line); transition: border-color .2s; }
.booking-contact a:hover { border-color: #9FBFB2; }
.booking-contact .whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  border-bottom: 0;
  border: 1px solid var(--deep-line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.booking-contact .whatsapp:hover { border-color: #9FBFB2; }
.booking-contact .whatsapp svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: #9FBFB2;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 40px;
}
.form-body { display: grid; gap: 20px; }
.form-body[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0;
  margin-bottom: 6px;
}
fieldset.field legend { margin-bottom: 8px; }
.field small { color: var(--muted); font-weight: 400; }

.field input:not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: 15px var(--font-body);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(20, 24, 31, .08);
}
.field.invalid input,
.field.invalid select { border-color: var(--error); }
.error { font-size: 13px; color: var(--error); min-height: 0; }
.error:empty { display: none; }

/* campo trampa contra robots */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  background: var(--bg);
  transition: all .2s;
}
.chip span:hover { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span,
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* segmented */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 46px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.segmented label { display: contents; }
.segmented span {
  display: grid; place-items: center;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all .2s;
}
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 24, 31, .12); font-weight: 500; }

.booking-form .btn { height: 52px; font-size: 16px; margin-top: 4px; }
.booking-form .btn[disabled] { opacity: .7; cursor: progress; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 48px 12px; outline: none; }
.form-success svg {
  width: 52px; height: 52px; margin: 0 auto 20px;
  fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.form-success h3 { font-size: 26px; margin-bottom: 12px; }
.form-success p { color: var(--ink-2); max-width: 38ch; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 80px;
}
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .25s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* ---------- Agenda Petrinovic ---------- */
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--accent); font-weight: 500; }

/* Botón destacado de la Agenda Petrinovic en el menú */
.main-nav a.nav-petrinovic {
  margin: -6px 0;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: #FBE4E1;
  color: #8E2E24;
  transition: background-color .2s, color .2s;
}
.main-nav a.nav-petrinovic:hover { background: #F6D0CB; color: #7A241B; }
.mobile-nav a.nav-petrinovic {
  margin-top: 8px;
  padding: 12px 14px;
  border-bottom: 0;
  border-radius: var(--radius-sm);
  background: #FBE4E1;
  color: #8E2E24;
}

.agenda { padding-top: 72px; }
.agenda .section-head { margin-bottom: 40px; }
.agenda h1 { font-size: clamp(32px, 4vw, 48px); max-width: 18ch; }

.agenda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.agenda-card {
  display: grid;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.step-tag {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 12px/1 var(--font-head);
}
.agenda-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: -8px;
}

/* calendario */
.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--bg);
}
.calendar-field.invalid .calendar { border-color: var(--error); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar-title { font: 600 17px/1 var(--font-head); }
.calendar-nav {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s;
}
.calendar-nav:hover:not(:disabled) { border-color: var(--ink); }
.calendar-nav:disabled { opacity: .35; cursor: default; }
.calendar-nav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekdays span { text-align: center; font-size: 12px; font-weight: 500; color: var(--muted); padding: 4px 0; }

.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 4px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 500 15px/1 var(--font-body);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.day small { font-size: 11px; font-weight: 400; color: var(--accent); }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day:disabled { cursor: default; background: transparent; border-color: transparent; color: var(--mark-soft); }
.day.pocos small { color: #A0703A; }
.day.lleno small { color: var(--error); }
.day[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-checked="true"] small { color: #CFE0D8; }
.day-empty { min-height: 52px; }
.calendar-legend { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* cupos */
.cupos-row { display: flex; align-items: center; gap: 16px; }
.field .cupos-row input { width: 120px; flex: none; font-size: 17px; font-weight: 500; }
.cupos-hint { font-size: 14px; color: var(--ink-2); }

.agenda-summary {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: 15px;
  color: var(--ink);
}
.agenda-summary[hidden] { display: none; }
.agenda-form .btn-primary { height: 52px; font-size: 16px; }
.agenda-form .btn[disabled] { opacity: .7; cursor: progress; }
.agenda-form .form-success {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.agenda-form .form-success .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.copyright { width: 100%; font-size: 13px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); margin-top: 16px; }

/* ---------- Mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero-card { max-width: 440px; }
  .challenge-list { grid-template-columns: 1fr 1fr; }
  .challenge-list li { padding: 28px 28px 28px 0; }
  .challenge-list li + li { padding-left: 0; border-left: 0; }
  .challenge-list li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .challenge-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .industry-list li:nth-child(3) { border-top-color: var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(2)::before { display: none; }
  .booking-grid { grid-template-columns: 1fr; gap: 48px; }
  .booking-intro { position: static; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .main-nav { gap: 22px; }
}

@media (max-width: 900px) {
  .agenda-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .mobile-nav { padding: 8px 16px 24px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-contours { width: 100%; opacity: .05; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { max-width: none; padding: 24px; }
  .section-head { margin-bottom: 40px; }
  .section-head.split { grid-template-columns: 1fr; gap: 16px; }
  .challenge-list { grid-template-columns: 1fr; }
  .challenge-list li,
  .challenge-list li:nth-child(even) { padding: 24px 0; border-left: 0; flex-direction: row; gap: 20px; }
  .challenge-list li + li { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 28px 24px 32px; }
  .industry-list { grid-template-columns: 1fr; }
  .industry-list li:nth-child(2) { border-top-color: var(--line); }
  .industry-list span { font-size: 20px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li::before { display: none; }
  .booking-form { padding: 24px 20px; }
  .agenda { padding-top: 48px; }
  .agenda-card { padding: 24px 16px; }
  .calendar { padding: 12px 8px; }
  .day { min-height: 46px; font-size: 14px; }
  .day small { font-size: 11px; }
  .cupos-palabra { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; }
  .footer-links { margin-left: 0; }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 40;
    box-shadow: 0 10px 30px -8px rgba(20, 24, 31, .45);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s, transform .3s, background-color .2s;
  }
  .mobile-cta.show { opacity: 1; transform: none; pointer-events: auto; }
  .site-footer { padding-bottom: 96px; }
}
