/* Estribo — web comercial, identidad "Campo". Mobile first. Producto de WebSolutions. */
:root {
  --forest: #1e3a2b;
  --forest-900: #16241b;
  --forest-950: #121e16;
  --cream: #f6f1e7;
  --sand: #e9dcc5;
  --sand-2: #efe5d3;
  --leather: #8b5a2b;
  --gold: #c9a227;
  --gold-hover: #b8931f;
  --gold-light: #e7c766;
  --ink: #1f2a22;
  --muted: #5a5448;
  --line: #ddd2bd;
  --white: #fff;
  --ok-bg: #e3f1e8;
  --ok-ink: #1f5c39;
  --err-bg: #fbe4e2;
  --err: #b3261e;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Figtree', system-ui, sans-serif;
  --wrap: 1200px;
  --pad: 20px;
  --shadow: 0 24px 56px rgb(18 30 22 / 0.22);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--forest);
}
a:hover {
  color: var(--leather);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--forest);
}
h1 {
  font-size: clamp(42px, 11vw, 80px);
  line-height: 1.02;
}
h2 {
  font-size: clamp(32px, 7.4vw, 54px);
}
h3 {
  font-size: 22px;
  line-height: 1.15;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leather);
}
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.stack {
  display: grid;
  gap: 18px;
  align-content: start;
}
.center {
  text-align: center;
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--ink);
}
.btn-forest {
  background: var(--forest);
  color: var(--white);
}
.btn-forest:hover {
  background: var(--forest-900);
  color: var(--white);
}
.btn-line {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
}
.btn-line:hover {
  background: var(--forest);
  color: var(--white);
}
.btn-light {
  border-color: rgb(255 255 255 / 0.75);
  color: var(--white);
  background: transparent;
}
.btn-light:hover {
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
}
.cta-row {
  display: grid;
  gap: 12px;
}

/* ---------- Encabezado (sobre la foto, sólido al bajar) ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--white);
}
.brand svg {
  width: 32px;
  height: 32px;
}
.brand span {
  font: 700 25px/1 var(--display);
}
.brand:hover {
  color: var(--white);
}
.top.solid {
  background: rgb(246 241 231 / 0.96);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.top.solid .brand,
.top.solid .brand:hover,
.top.solid .nav a:not(.btn) {
  color: var(--forest);
}
.nav {
  display: none;
}
.menu {
  position: relative;
}
.menu summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.top.solid .menu summary {
  border-color: var(--line);
  color: var(--forest);
  background: var(--white);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 58px;
  width: min(88vw, 320px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 2px;
}
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.menu-panel a:hover,
.menu-panel a[aria-current='page'] {
  background: var(--cream);
  color: var(--forest);
}
.menu-panel .btn {
  margin-top: 6px;
  color: var(--ink);
}

/* ---------- Portada con foto ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--forest-950);
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(18 30 22 / 0.94) 0%, rgb(18 30 22 / 0.6) 50%, rgb(18 30 22 / 0.32) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 44px;
}
.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 680px;
}
.hero h1 {
  color: var(--white);
}
.hero .eyebrow {
  color: var(--gold-light);
}
.hero .lead {
  color: rgb(255 255 255 / 0.88);
}
.hero-phone {
  display: none;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: rgb(255 255 255 / 0.82);
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
}
/* Portada de las páginas internas */
.hero-page {
  min-height: 460px;
}
.hero-page h1 {
  font-size: clamp(38px, 9vw, 64px);
}

/* ---------- Secciones ---------- */
section {
  padding: 64px 0;
}
.sec-sand {
  background: var(--sand);
}
.sec-forest {
  background: var(--forest);
  color: var(--cream);
}
.sec-forest h2,
.sec-forest h3 {
  color: var(--white);
}
.sec-forest .eyebrow {
  color: var(--gold-light);
}
.sec-forest .lead,
.sec-forest p {
  color: rgb(246 241 231 / 0.82);
}
.sec-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 36px;
}

/* Franja de confianza */
.strip {
  background: var(--sand);
  padding: 22px 0;
}
.strip .wrap {
  display: grid;
  gap: 10px;
}
.strip span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.strip svg {
  width: 20px;
  height: 20px;
  color: var(--forest);
  flex-shrink: 0;
}

/* Foto + texto */
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}
.photo {
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.photo-tall {
  aspect-ratio: 4 / 5;
}
.media {
  position: relative;
  padding-bottom: 44px;
}
.media .phone {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 40%;
  max-width: 220px;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 12px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Teléfono ---------- */
.phone {
  aspect-ratio: 390 / 844;
  border-radius: 34px;
  background: #121812;
  padding: 8px;
  box-shadow: var(--shadow);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 27px;
  background: var(--cream);
}

/* ---------- Roles ---------- */
.roles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 228px;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px var(--pad) 22px;
  margin: 0 calc(var(--pad) * -1);
  scrollbar-width: thin;
}
.role {
  scroll-snap-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.role .phone {
  width: 220px;
  box-shadow: 0 16px 36px rgb(30 40 30 / 0.18);
}
.role b {
  font: 600 21px/1.1 var(--display);
  color: var(--forest);
}
.role p {
  font-size: 15px;
  color: var(--muted);
  max-width: 220px;
}
.swipe-hint {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Tarjetas ---------- */
.grid {
  display: grid;
  gap: 14px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.card p {
  color: var(--muted);
  font-size: 15.5px;
}
.ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sand-2);
  color: var(--leather);
}
.ico svg {
  width: 24px;
  height: 24px;
}
.new {
  justify-self: start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold-light);
  border-radius: 999px;
  padding: 3px 9px;
}
.tile {
  border: 1px solid rgb(246 241 231 / 0.22);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 4px;
}
.tile b {
  font: 600 21px/1.15 var(--display);
  color: var(--gold-light);
}
.tile span {
  font-size: 15px;
  color: rgb(246 241 231 / 0.8);
}
.people {
  position: relative;
  padding-bottom: 60px;
}
.people .photo {
  width: 72%;
}
.people .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  max-width: 250px;
}

/* Caja con color (pistas) */
.panel {
  border-radius: 28px;
  background: var(--sand);
  padding: 36px 22px;
  display: grid;
  gap: 32px;
  justify-items: center;
}
.panel .phone {
  width: 230px;
}

/* ---------- Planes ---------- */
.plans {
  display: grid;
  gap: 14px;
}
.plan {
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.plan h3 {
  font-size: 25px;
}
.plan .price {
  font: 700 44px/1 var(--display);
  color: var(--forest);
}
.plan .price small {
  font: 500 16px var(--body);
  color: var(--muted);
}
.plan .btn {
  margin-top: 6px;
}
.plan.hot {
  background: var(--forest);
  color: var(--white);
}
.plan.hot h3 {
  color: var(--white);
}
.plan.hot .price {
  color: var(--gold-light);
}
.plan.hot .price small,
.plan.hot .muted {
  color: rgb(255 255 255 / 0.78);
}
.tag {
  justify-self: start;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 4px 12px;
}
.mods {
  display: grid;
  gap: 12px;
}
.mod {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
}
.mod b {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.mod .p {
  font-weight: 700;
  color: var(--forest);
  font-size: 15px;
}
.mod .s {
  font-size: 14px;
  color: var(--muted);
}
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--sand-2);
  color: var(--muted);
}
.pill.ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 32px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A2B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.note {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--gold);
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq details {
  background: var(--white);
  border-radius: 16px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font: 400 26px/1 var(--body);
  color: var(--leather);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
}

/* ---------- Llamada final con foto ---------- */
.cta-photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 65%;
}
.cta-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(18 30 22 / 0.64);
}
.cta-photo .stack {
  position: relative;
  z-index: 1;
  padding: 28px;
  max-width: 680px;
}
.cta-photo h2 {
  color: var(--white);
}
.cta-photo p {
  color: rgb(255 255 255 / 0.88);
}

/* ---------- Formulario ---------- */
.contact {
  display: grid;
  gap: 36px;
}
.form {
  background: var(--white);
  border-radius: 24px;
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: 0 18px 44px rgb(30 40 30 / 0.1);
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: 400 16px var(--body);
  color: var(--ink);
  background: var(--cream);
}
.form textarea {
  padding: 12px 14px;
  min-height: 110px;
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgb(201 162 39 / 0.5);
  border-color: var(--forest);
  background: var(--white);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-msg {
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
}
.form-msg.ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
}
.form-msg.err {
  background: var(--err-bg);
  color: var(--err);
}
.form-foot {
  display: grid;
  gap: 12px;
}
.contact-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.contact-card:hover {
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--gold);
}
.contact-card svg {
  width: 26px;
  height: 26px;
  color: var(--forest);
  flex-shrink: 0;
}
.contact-card b {
  display: block;
}
.contact-card span span {
  font-size: 15px;
  color: var(--muted);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}
.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  font: 700 17px var(--display);
}

/* ---------- Pie ---------- */
.foot {
  background: var(--forest-900);
  color: #c9cfc7;
  padding: 44px 0 28px;
  font-size: 15px;
}
.foot a {
  color: var(--white);
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
  color: var(--white);
}
.foot .brand {
  color: var(--white);
}
.foot-grid {
  display: grid;
  gap: 28px;
}
.foot h4 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font: 700 13px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot-legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: grid;
  gap: 10px;
}
.ws {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ws img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--white);
}

/* ---------- Animación suave ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}

/* =========================================================
   Tablet (640 px o más)
   ========================================================= */
@media (min-width: 640px) {
  :root {
    --pad: 32px;
  }
  body {
    font-size: 17px;
  }
  .cta-row {
    display: flex;
    flex-wrap: wrap;
  }
  .strip .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 44px;
  }
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mods,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px;
  }
  .form .full,
  .form-msg,
  .form-foot {
    grid-column: 1 / -1;
  }
  .form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cta-photo .stack {
    padding: 48px;
  }
  .panel {
    padding: 48px;
  }
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .foot-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
  }
}

/* =========================================================
   Escritorio (980 px o más)
   ========================================================= */
@media (min-width: 980px) {
  section {
    padding: 110px 0;
  }
  .lead {
    font-size: 20px;
  }
  .top .wrap {
    min-height: 88px;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 600;
  }
  .nav a:not(.btn) {
    color: var(--white);
    text-decoration: none;
  }
  .nav a[aria-current='page']:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--gold);
  }
  .nav .btn {
    min-height: 46px;
    padding: 0 22px;
    background: var(--cream);
    color: var(--forest);
  }
  .top.solid .nav .btn {
    background: var(--forest);
    color: var(--white);
  }
  .menu {
    display: none;
  }
  .hero {
    min-height: 860px;
    align-items: center;
  }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgb(18 30 22 / 0.88) 0%, rgb(18 30 22 / 0.62) 40%, rgb(18 30 22 / 0.08) 75%),
      linear-gradient(0deg, rgb(18 30 22 / 0.5) 0%, rgb(18 30 22 / 0) 30%);
  }
  .hero .wrap {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-copy {
    gap: 24px;
  }
  .hero-home + .strip .wrap {
    padding-right: 400px;
  }
  .hero-phone {
    display: block;
    position: absolute;
    right: max(40px, calc((100vw - var(--wrap)) / 2 + 60px));
    bottom: -150px;
    width: 290px;
    z-index: 2;
  }
  .hero-page {
    min-height: 540px;
    align-items: flex-end;
  }
  .hero-page .wrap {
    padding-bottom: 72px;
  }
  .strip {
    padding: 30px 0;
  }
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 90px;
  }
  .split.rev > :first-child {
    order: 2;
  }
  .media {
    padding-bottom: 0;
  }
  .media .phone {
    right: -40px;
    bottom: -60px;
    width: 220px;
  }
  .people .phone {
    width: 250px;
  }
  .roles {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 6px 0 0;
  }
  .role .phone {
    width: 236px;
  }
  .swipe-hint {
    display: none;
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .plans {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
  }
  .mods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .panel {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    padding: 64px 80px;
    gap: 60px;
  }
  .panel .phone {
    width: 250px;
  }
  .cta-photo {
    min-height: 420px;
    align-items: center;
  }
  .cta-photo .stack {
    padding: 0 80px;
  }
  .contact {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
  }
}

/* Par de teléfonos */
.phones-pair {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
}
.phones-pair .phone {
  width: 44%;
  max-width: 236px;
  border-radius: 28px;
  padding: 7px;
}
.phones-pair .phone img {
  border-radius: 22px;
}
.phones-pair .phone:nth-child(2) {
  margin-top: 44px;
}
.solo-phone {
  width: 230px;
  justify-self: center;
}
.num {
  font: 600 15px/1 var(--display);
  color: var(--leather);
  letter-spacing: 0.02em;
}
.sec-forest .num {
  color: var(--gold-light);
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 64px 0;
}
@media (min-width: 980px) {
  .phones-pair {
    gap: 22px;
  }
  .phones-pair .phone {
    width: 236px;
    border-radius: 34px;
    padding: 8px;
  }
  .phones-pair .phone img {
    border-radius: 27px;
  }
  .phones-pair .phone:nth-child(2) {
    margin-top: 70px;
  }
  .solo-phone {
    width: 260px;
  }
  .divider {
    margin: 100px 0;
  }
}

/* =========================================================
   Celulares (mockups) en pantallas chicas: más grandes y legibles
   ========================================================= */
.phone {
  outline: 1px solid rgb(255 255 255 / 0.06);
}
@media (max-width: 979px) {
  /* Foto arriba y el celular debajo, centrado y montado sobre la foto */
  .media,
  .people {
    padding-bottom: 0;
    display: grid;
    justify-items: center;
  }
  .people .photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-position: 50% 25%;
  }
  .media .phone,
  .people .phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 250px;
    max-width: 72vw;
    margin-top: -90px;
  }
  /* Pares de celulares: carrusel deslizable, cada uno a tamaño legible */
  .phones-pair {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 250px;
    justify-content: start;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px var(--pad) 18px;
    margin: 0 calc(var(--pad) * -1);
    scrollbar-width: none;
  }
  .phones-pair::-webkit-scrollbar {
    display: none;
  }
  .phones-pair .phone {
    width: 250px;
    max-width: none;
    scroll-snap-align: center;
    border-radius: 34px;
    padding: 8px;
  }
  .phones-pair .phone img {
    border-radius: 27px;
  }
  .phones-pair .phone:nth-child(2) {
    margin-top: 0;
  }
  .solo-phone,
  .panel .phone {
    width: 260px;
    max-width: 76vw;
  }
  .roles {
    grid-auto-columns: 250px;
  }
  .role .phone {
    width: 250px;
  }
}
