/* BY360 · Landing eventos corporativos · styles.css · v3 */

:root {
  --color-black: #11110F;
  --color-black-deep: #080807;
  --color-gold: #C8A55B;
  --color-gold-light: #DFC789;
  --color-gold-ink: #7A5C22;      /* dorado para texto sobre fondos claros (AA) */
  --color-gold-line: #B8975080;
  --color-ivory: #F6F1E8;
  --color-cream: #EBE3D5;
  --color-warm-white: #FCFAF6;
  --color-text: #24231F;
  --color-text-muted: #625F57;
  --color-text-on-dark: #F3EEE4;
  --color-muted-on-dark: #BDB6A7;
  --color-line: #D9CFBD;
  --color-line-dark: #34322C;
  --color-error: #A3271B;
  --color-success: #2E6B3F;
  --color-wa: #075E54;
  --color-wa-bright: #25D366;

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(56px, 3rem + 4.5vw, 120px);
  --radius: 6px;
  --radius-sm: 4px;
  --header-h: 64px;
  --mobile-bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--color-warm-white);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
  margin-inline: auto;
}

h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.9rem); max-width: 22ch; }
h3 { font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: .2em; }

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

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.icon { width: 20px; height: 20px; flex: none; }

/* Botones */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-sans);
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .7; transform: none; }

.btn--sm { min-height: 44px; padding: 10px 16px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary {
  --btn-bg: var(--color-gold);
  --btn-fg: var(--color-black);
  --btn-border: #A8873F;
}
.btn--primary:hover { --btn-bg: var(--color-gold-light); }

.btn--dark {
  --btn-bg: var(--color-black);
  --btn-fg: var(--color-ivory);
  --btn-border: var(--color-black);
}
.btn--dark:hover { --btn-bg: #2A2924; }

.btn--outline-dark {
  --btn-fg: var(--color-text);
  --btn-border: var(--color-text);
}
.btn--outline-dark:hover { --btn-bg: rgba(17, 17, 15, .06); }

.btn--whatsapp-outline {
  --btn-fg: var(--color-text-on-dark);
  --btn-border: rgba(246, 241, 232, .55);
}
.btn--whatsapp-outline .icon--wa { color: var(--color-wa-bright); }
.btn--whatsapp-outline:hover { --btn-bg: rgba(246, 241, 232, .08); --btn-border: var(--color-ivory); }

.btn--whatsapp-outline.btn--on-light {
  --btn-fg: var(--color-text);
  --btn-border: var(--color-text);
}
.btn--whatsapp-outline.btn--on-light .icon--wa { color: var(--color-wa); }
.btn--whatsapp-outline.btn--on-light:hover { --btn-bg: rgba(17, 17, 15, .05); }

.btn--whatsapp {
  --btn-bg: var(--color-wa);
  --btn-fg: #fff;
  --btn-border: var(--color-wa);
}
.btn--whatsapp:hover { --btn-bg: #054A42; }

.link-light {
  color: var(--color-text-on-dark);
  font-weight: 600;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 1px;
}
.link-light:hover { color: var(--color-gold-light); }

/* Eyebrow */
.eyebrow {
  margin: 0 auto 14px;
  color: var(--color-gold-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.eyebrow--light { color: var(--color-gold); }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  color: var(--color-text-on-dark);
  background: linear-gradient(180deg, rgba(8, 8, 7, .85), rgba(8, 8, 7, 0));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding-block: 6px;
  border-radius: var(--radius-sm);
}
.brand__logo {
  width: auto;
  height: 38px;
}

.site-nav { display: none; }

.site-header .btn--sm { white-space: nowrap; padding-inline: 14px; font-size: .875rem; }

@media (min-width: 420px) {
  .brand__logo { height: 42px; }
}

.site-header__actions { display: flex; align-items: center; gap: 8px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-text-on-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.header-phone:hover { color: var(--color-gold-light); }
.header-phone__label { display: none; }

/* Hero */
.hero {
  position: relative;
  background: var(--color-black-deep);
  color: var(--color-text-on-dark);
  isolation: isolate;
}

/* La fotografía es el fondo del hero en todos los anchos; el contenido se superpone
   sobre su parte inferior con un degradado que garantiza el contraste. */
.hero__media {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: clamp(420px, 60svh, 560px);
  overflow: hidden;
}
.hero__media picture,
.banner-media picture { height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 30%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, .6) 0%, rgba(8, 8, 7, .08) 20%, rgba(8, 8, 7, .2) 34%, rgba(8, 8, 7, .78) 52%, rgba(8, 8, 7, .94) 70%, var(--color-black-deep) 100%);
}

.hero__inner {
  position: relative;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top) + clamp(140px, 21svh, 200px));
  padding-bottom: 48px;
}

.hero__content {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.15rem, 1.45rem + 3.3vw, 4.1rem);
  line-height: 1.06;
  max-width: 15ch;
  color: #FFFDF8;
}

.hero__benefit {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--color-text-on-dark);
}
.hero__benefit span { display: block; }
.hero__benefit-accent { color: var(--color-gold-light); }

.hero__text {
  max-width: 54ch;
  margin: 16px auto 0;
  color: var(--color-muted-on-dark);
  font-size: .9375rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}

.hero__call {
  margin-top: 16px;
  color: var(--color-muted-on-dark);
  font-size: .9375rem;
}
.hero__call a { display: inline-block; padding-block: 10px; }

.hero__micro {
  margin-top: 6px;
  color: var(--color-muted-on-dark);
  font-size: .8125rem;
  letter-spacing: .02em;
}

/* Franja de confianza */
.trust {
  background: var(--color-ivory);
  border-bottom: 1px solid var(--color-line);
}
.trust__list {
  display: grid;
  gap: 0;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 8px;
}
.trust__item + .trust__item { border-top: 1px solid var(--color-line); }
.trust__item strong {
  text-wrap: balance;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
}
.trust__item span {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: .875rem;
}

/* Secciones */
.section { padding-block: var(--section-y); }
.section--warm { background: var(--color-warm-white); }
.section--ivory { background: var(--color-ivory); }
.section--cream { background: var(--color-cream); }
.section--dark { background: var(--color-black); color: var(--color-text-on-dark); }

.section-head { margin-bottom: clamp(32px, 2rem + 1.5vw, 56px); text-align: center; }
.section-head__intro {
  max-width: 62ch;
  margin: 18px auto 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}
.section--dark .section-head__intro { color: var(--color-muted-on-dark); }

.prose {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}
.prose p + p { margin-top: 14px; }

.section-head + .prose { margin-top: -12px; }

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 2rem + 2vw, 56px);
}
.section-cta .btn { width: 100%; max-width: 360px; }

.rule-ornament {
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 28px;
  background: var(--color-gold);
}

/* Problema y valor */
.value-turn {
  margin-top: clamp(40px, 2rem + 3vw, 72px);
}
.value-turn__title {
  max-width: 26ch;
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem);
}

.benefits {
  display: grid;
  gap: 0;
  margin-top: clamp(40px, 2rem + 2.5vw, 64px);
  border-top: 1px solid var(--color-line);
}
.benefit {
  padding: 24px 4px;
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}
.benefit h3 { font-size: 1.25rem; }
.benefit p {
  max-width: 36ch;
  margin: 8px auto 0;
  color: var(--color-text-muted);
  font-size: .9375rem;
}

/* Formatos */
.banner-media {
  margin: 0 0 clamp(36px, 2rem + 2vw, 56px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-black);
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.formats {
  display: grid;
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.format {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  background: var(--color-ivory);
  text-align: center;
}
.format__num {
  margin-bottom: 12px;
  color: var(--color-gold-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.format h3 { max-width: 20ch; }
.format p {
  max-width: 34ch;
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: .9375rem;
}

.formats__more {
  max-width: 60ch;
  margin: 32px auto 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: .9375rem;
  font-style: italic;
}

/* Coordinación (oscuro) */
.scope {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--color-line-dark);
}
.scope__item {
  position: relative;
  flex: 1 1 100%;
  padding: 22px 8px;
  text-align: center;
  border-bottom: 1px solid var(--color-line-dark);
}
.scope__item h3 { color: #FFFDF8; font-size: 1.25rem; }
.scope__item h3::before {
  content: "";
  display: block;
  width: 6px; height: 6px;
  margin: 0 auto 14px;
  background: var(--color-gold);
  transform: rotate(45deg);
}
.scope__item p {
  max-width: 34ch;
  margin: 8px auto 0;
  color: var(--color-muted-on-dark);
  font-size: .9375rem;
}

.scope__close {
  max-width: 34ch;
  margin: clamp(40px, 2rem + 2vw, 64px) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  color: var(--color-gold-light);
}

/* Método */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 4px 40px;
  text-align: center;
}
.step:last-child { padding-bottom: 0; }
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: var(--color-warm-white);
  color: var(--color-gold-ink);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  position: relative;
  z-index: 1;
}
.step:not(:last-child)::before {
  content: "";
  display: none;
  position: absolute;
  background: var(--color-line);
}
.step:not(:last-child) { padding-bottom: 40px; }
.step h3 { max-width: 18ch; background: var(--color-warm-white); position: relative; }
.step > p:not(.step__note) {
  max-width: 40ch;
  margin: 10px auto 0;
  color: var(--color-text-muted);
  font-size: .9375rem;
  background: var(--color-warm-white);
  position: relative;
}
.step__note {
  position: relative;
  max-width: 38ch;
  margin: 14px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
  background: var(--color-warm-white);
  color: var(--color-text);
  font-size: .8125rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Experiencia */
.experience__lead .rule-ornament { margin-bottom: 22px; }

.pillars {
  display: grid;
  gap: 12px;
  margin-top: clamp(36px, 2rem + 2vw, 56px);
}
.pillar {
  padding: 24px 20px;
  text-align: center;
  background: var(--color-warm-white);
  border-top: 2px solid var(--color-gold);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.pillar h3 { font-size: 1.2rem; }
.pillar p {
  max-width: 32ch;
  margin: 8px auto 0;
  color: var(--color-text-muted);
  font-size: .9375rem;
}

/* FAQ */
.section--faq { padding-bottom: calc(var(--section-y) * .75); }
.faq {
  max-width: 800px;
  margin-inline: auto;
  border-top: 1px solid var(--color-line);
}
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item summary {
  position: relative;
  display: block;
  padding: 20px 44px 20px 4px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--color-gold-ink);
  border-bottom: 1.5px solid var(--color-gold-ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:hover { color: var(--color-gold-ink); }
.faq__item summary:focus-visible { outline-offset: -2px; }
.faq__answer {
  padding: 0 4px 22px;
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* Contacto */
.contact {
  display: grid;
  gap: 24px;
  align-items: start;
}

.contact__form-wrap {
  padding: 24px 20px;
  background: var(--color-warm-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.lead-form__fields {
  display: grid;
  gap: 18px;
}

.field { display: flex; flex-direction: column; min-width: 0; }
.field label {
  margin-bottom: 6px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #A49B8A;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font: 400 1rem/1.4 var(--font-sans);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #6F6A61; opacity: 1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(200, 165, 91, .55);
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field [aria-invalid="true"] {
  border-color: var(--color-error);
  border-width: 2px;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: var(--color-error);
  font-size: .875rem;
  font-weight: 600;
}
.field__error::before {
  content: "!";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-error);
  color: #fff;
  font-size: .75rem;
  line-height: 1;
}
.field__error[hidden] { display: none; }

.field__hint {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: .8125rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--color-black);
  cursor: pointer;
}
.check label {
  margin: 0;
  font-weight: 400;
  font-size: .9375rem;
  cursor: pointer;
}
.check a { color: var(--color-text); font-weight: 600; text-decoration-color: var(--color-gold-ink); }
.check input[aria-invalid="true"] { outline: 2px solid var(--color-error); outline-offset: 2px; }

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.lead-form__submit { margin-top: 26px; }
.lead-form__micro {
  margin-top: 12px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: .8125rem;
}

.lead-form.is-sending .btn[type="submit"] { cursor: progress; }
.lead-form.is-sending .btn[type="submit"]::before {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(17, 17, 15, .3);
  border-top-color: var(--color-black);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status__panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.form-status__panel:focus { outline: none; }
.form-status__panel:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }
.form-status__panel[hidden] { display: none; }
.form-status__title {
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.25;
}
.form-status__panel--success {
  margin-top: 0;
  background: #EEF4EE;
  border: 1px solid #9DBDA5;
  border-left: 4px solid var(--color-success);
}
.form-status__panel--success .form-status__title { color: var(--color-success); }
.form-status__panel--error {
  background: #FBEFED;
  border: 1px solid #E2B4AD;
  border-left: 4px solid var(--color-error);
}
.form-status__panel--error .form-status__title { color: var(--color-error); }
.form-status__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.lead-form.is-done { display: none; }

.direct {
  padding: 26px 20px;
  background: var(--color-black);
  color: var(--color-text-on-dark);
  border-radius: var(--radius);
  text-align: center;
}
.direct h3 { color: #FFFDF8; font-size: 1.375rem; }
.direct__list { margin-top: 20px; }
.direct__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 12px;
  border-top: 1px solid var(--color-line-dark);
}
.direct__label {
  color: var(--color-gold);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.direct__list a {
  display: inline-block;
  padding-block: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 1px;
}
.direct__list a:hover { color: var(--color-gold-light); }
.direct__area {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line-dark);
  color: var(--color-muted-on-dark);
  font-size: .8125rem;
}

/* Footer */
.site-footer {
  background: var(--color-black-deep);
  color: var(--color-muted-on-dark);
  padding: 48px 0 calc(40px + env(safe-area-inset-bottom));
  font-size: .875rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.site-footer__logo {
  width: auto;
  height: 56px;
  margin-bottom: 8px;
}
.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-gold);
}
.site-footer a { color: var(--color-text-on-dark); text-decoration-color: rgba(200, 165, 91, .6); }
.site-footer a:hover { color: var(--color-gold-light); }
.site-footer__contact a { display: inline-block; padding-block: 8px; }
.site-footer__contact span { margin-inline: 6px; }
.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin-top: 8px;
}
.site-footer__legal a { display: inline-block; padding-block: 10px; }
.site-footer__copy { margin-top: 6px; font-size: .8125rem; color: #8F897C; }

/* Barra móvil */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(8, 8, 7, .96);
  border-top: 1px solid var(--color-line-dark);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform .25s var(--ease), visibility 0s;
}
.mobile-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.mobile-bar__btn--call { color: var(--color-ivory); border: 1px solid rgba(246, 241, 232, .5); }
.mobile-bar__btn--wa { background: var(--color-wa); color: #fff; border: 1px solid var(--color-wa); }

/* Animación de entrada discreta (solo con JS y sin reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust__list { grid-template-columns: repeat(3, 1fr); }
  .trust__item { padding: 26px 16px; }
  .trust__item + .trust__item { border-top: 0; border-left: 1px solid var(--color-line); }
  .trust__item strong { font-size: 1.2rem; }

  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit { padding: 30px 24px; }
  .benefit:nth-child(odd) { border-right: 1px solid var(--color-line); }

  .banner-media { aspect-ratio: 16 / 7; }

  .formats { grid-template-columns: repeat(2, 1fr); }

  .scope__item { flex-basis: 50%; padding: 30px 20px; }
  .scope__item:nth-child(odd) { border-right: 1px solid var(--color-line-dark); }
  .scope__item:last-child { border-right: 0; }

  .pillars { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .section-cta .btn { width: auto; min-width: 260px; }

  .lead-form__fields { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
  .field--full { grid-column: 1 / -1; }
  .contact__form-wrap { padding: 32px; }
  .lead-form__submit { display: flex; flex-direction: column; align-items: center; }
  .lead-form__submit .btn--block { width: auto; min-width: 300px; }
}

/* ---------- ≥ 768px ---------- */
@media (min-width: 768px) {
  .header-phone__label { display: inline; }
  .header-phone { padding-inline: 8px; }
  .site-header__actions { gap: 16px; }

  .hero__media { height: clamp(500px, 58svh, 620px); }
  .hero__media img { object-position: 60% 28%; }
  .hero__inner { padding-top: calc(var(--header-h) + clamp(200px, 24svh, 260px)); }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .step, .step:not(:last-child) { padding-bottom: 0; }
  .step:not(:last-child)::before { display: none; }

  .contact__form-wrap { padding: 40px; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a {
    display: inline-block;
    padding: 10px 14px;
    color: var(--color-text-on-dark);
    font-size: .9375rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
  }
  .site-nav a:hover { color: var(--color-gold-light); }

  .brand__logo { height: 52px; }

  /* Hero desktop: fotografía a sangre completa y contenido sobre el espacio negativo izquierdo */
  .hero {
    display: flex;
    align-items: center;
    min-height: min(880px, 100svh);
  }
  .hero__media {
    inset: 0 0 0 calc(520px - 6vw);
    height: auto;
  }
  .hero__media img { object-position: 62% 40%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--color-black-deep) 0%, rgba(8, 8, 7, .86) 22%, rgba(8, 8, 7, .4) 46%, rgba(8, 8, 7, .05) 72%),
      linear-gradient(0deg, rgba(8, 8, 7, .75) 0%, rgba(8, 8, 7, 0) 30%),
      linear-gradient(180deg, rgba(8, 8, 7, .6) 0%, rgba(8, 8, 7, 0) 22%);
  }
  .hero__inner {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 72px;
  }
  .hero__content {
    max-width: 540px;
    margin-inline: 0;
  }

  .formats { grid-template-columns: repeat(3, 1fr); }
  .format { padding: 36px 28px; }

  .scope__item:nth-child(n) { flex-basis: 25%; border-right: 1px solid var(--color-line-dark); }
  .scope__item:nth-child(4), .scope__item:last-child { border-right: 0; }

  /* Método horizontal con línea de conexión */
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step:not(:last-child)::before {
    display: block;
    top: 32px;
    bottom: auto;
    left: calc(50% + 40px);
    width: calc(100% - 80px + 28px);
    height: 1px;
  }
  .step h3, .step > p, .step__note { background: none; }

  .experience { display: block; }
  .pillars { grid-template-columns: repeat(4, 1fr); }

  .contact { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .direct { position: sticky; top: 24px; padding: 36px 28px; }
}

/* ---------- ≥ 1280px ---------- */
@media (min-width: 1280px) {
  .hero__content { max-width: 580px; }
  .contact { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
}

/* Barra móvil solo en pantallas estrechas */
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header, .mobile-bar, .hero__media { display: none; }
}
