/* ==========================================================
   ALPHABEX LLC — hoja de estilos principal
   Concepto: banca/comercio internacional sobrio (tipo HSBC):
   barra utilitaria, navegación blanca, héroes con panel sólido,
   esquinas rectas, verde de marca + acento oro (zoco de Dubái).
   ========================================================== */

:root {
  /* Colores de marca (tomados del logo) */
  --verde-900: #0e2c20;   /* verde profundo: textos, footer */
  --verde-700: #1d4a36;   /* paneles del héroe */
  --verde-400: #5e9a7a;   /* verde hoja: "BEX" */
  --verde-100: #e6efe8;   /* fondos suaves */
  --oro: #b8862f;         /* acento: líneas, detalles */
  --oro-claro: #e8c77d;
  --papel: #faf8f4;       /* fondo general */
  --blanco: #ffffff;
  --gris-700: #3d4a43;    /* texto secundario */
  --gris-300: #cfd6d1;    /* bordes */

  /* Tipografía */
  --f-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --ancho: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--verde-900);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }

.wrap { max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--oro);
}
.lead { font-size: 1.2rem; color: var(--gris-700); max-width: 62ch; }
.muted { color: var(--gris-700); }

/* ---------- Barra utilitaria ---------- */
.util { background: var(--verde-900); color: #dfe8e2; font-size: 0.85rem; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.util a { text-decoration: none; }
.util a:hover { color: var(--oro-claro); }
.util-left { display: flex; gap: 20px; flex-wrap: wrap; }
.lang { display: flex; gap: 2px; font-family: var(--f-mono); font-size: 0.8rem; }
.lang a, .lang span { padding: 4px 8px; }
.lang [aria-current] { background: var(--oro); color: var(--verde-900); font-weight: 600; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--blanco); border-bottom: 1px solid var(--gris-300); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-weight: 600; font-family: var(--f-display); font-size: 0.95rem; padding-block: 26px; border-bottom: 3px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--oro); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 22px; border: 2px solid var(--verde-900); background: var(--verde-900); color: var(--blanco);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--verde-700); border-color: var(--verde-700); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.gold { background: var(--oro); border-color: var(--oro); color: var(--verde-900); }
.btn.gold:hover { background: var(--oro-claro); border-color: var(--oro-claro); }
.menu .btn { padding: 10px 18px; border-bottom-width: 2px; }
.menu .btn:hover { border-bottom-color: var(--verde-700); }
.burger { display: none; background: none; border: 2px solid var(--verde-900); padding: 8px 10px; font: 600 0.85rem var(--f-display); color: var(--verde-900); cursor: pointer; }

/* ---------- Héroe ---------- */
/* Héroe: texto e imagen dentro del contenedor de la página (escala bien con el zoom) */
.hero { background: var(--verde-900); color: var(--blanco); border-bottom: 4px solid var(--oro); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.01fr) minmax(0, 0.99fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 64px); }
.hero-panel { display: grid; gap: 20px; align-content: center; min-width: 0; }
.hero-panel p { color: #d5e1d9; max-width: 52ch; }
.hero-img { width: 100%; aspect-ratio: 4 / 5; max-height: 37.4rem; object-fit: cover; display: block; }
.hero.small .hero-img { aspect-ratio: 4 / 3; max-height: 22rem; }

/* Sección Beautyworld */
.event { background: var(--blanco); border-bottom: 1px solid var(--gris-300); }
.event-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.event-text { display: grid; gap: 18px; min-width: 0; }
.event-text p { color: var(--gris-700); max-width: 64ch; }
.event-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 2px solid var(--verde-900); border-bottom: 1px solid var(--gris-300); }
.event-facts > div { padding: 12px 28px 12px 0; }
.event-facts > div + div { padding-left: 20px; border-left: 1px solid var(--gris-300); }
.event-facts dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oro); }
.event-facts dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 600; }
.event .btn.ghost { color: var(--verde-900); }
.event .btn.ghost:hover { background: var(--verde-100); }
.event-media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr auto; gap: 10px; min-width: 0; }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-media img:first-child { grid-row: 1 / 3; aspect-ratio: 2 / 3; }
.event-media img:not(:first-child) { aspect-ratio: 1; }
.event-cap { grid-column: 1 / -1; font-size: 0.88rem; color: var(--gris-700); }

/* Equipo en acción */
.team-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.team-grid figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.team-grid img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.team-grid figcaption, .g-item figcaption { font-size: 0.9rem; color: var(--gris-700); }

/* Galería */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 600 0.9rem var(--f-display); padding: 9px 16px; border: 1px solid var(--verde-900); background: transparent; color: var(--verde-900); cursor: pointer; }
.chip.on, .chip:hover { background: var(--verde-900); color: var(--blanco); }
.gallery { columns: 4 240px; column-gap: 14px; }
.g-item { break-inside: avoid; margin: 0 0 14px; display: grid; gap: 6px; }
.g-item[hidden] { display: none !important; }
.g-open { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.g-open img { width: 100%; height: auto; transition: opacity .2s; }
.g-open:hover img { opacity: .88; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 26, 19, 0.92); }
.lightbox[open] { display: grid; place-items: center; align-content: center; gap: 12px; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; width: auto; height: auto; }
.lightbox p { color: #e6efe8; text-align: center; padding-inline: 16px; }
.lb-btn { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; } .lb-close { right: 12px; top: 12px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.alt { background: var(--blanco); }
.section.tint { background: var(--verde-100); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }

/* Tres pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gris-300); }
.pillar { padding: 32px 28px 32px 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--gris-300); }
.pillar .code { font-family: var(--f-mono); font-size: 0.8rem; color: var(--verde-400); }
.link-arrow { font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-flex; gap: 8px; border-bottom: 2px solid var(--oro); width: fit-content; padding-bottom: 2px; }
.link-arrow:hover { color: var(--verde-700); }

/* Tarjetas de líneas de producto */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--blanco); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--verde-100); color: var(--verde-700); padding: 3px 8px; width: fit-content; }
.tag.out { background: #f4ead6; color: #7a5618; }
.hs { font-family: var(--f-mono); font-size: 0.78rem; color: var(--gris-700); border-top: 1px dashed var(--gris-300); padding-top: 10px; margin-top: 4px; }

/* Bloque dividido imagen + texto */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split > div { min-width: 0; display: grid; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--oro); border-bottom: 2px solid var(--oro); transform: rotate(-45deg); }

/* Mapa de mercados */
.map-box { background: var(--blanco); padding: clamp(16px, 3vw, 32px); }
.map-box img { width: 100%; height: auto; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; padding: 0; }
.countries li { font-family: var(--f-mono); font-size: 0.82rem; border: 1px solid var(--gris-300); background: var(--blanco); padding: 6px 12px; }
.countries li.hub { background: var(--verde-900); color: var(--blanco); border-color: var(--verde-900); }

/* Banda de llamado a la acción */
.cta { background: var(--verde-700); color: var(--blanco); }
.cta .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(48px, 7vw, 80px); }
.cta p { color: #d5e1d9; }
.cta .contact-lines { display: grid; gap: 14px; margin-top: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-line { display: grid; gap: 2px; }
.contact-line span { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oro-claro); }
.contact-line a, .contact-line strong { font-size: 1.1rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-line a:hover { text-decoration: underline; }

/* Formulario de contacto */
.contact-form { background: var(--blanco); color: var(--verde-900); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; border-top: 4px solid var(--oro); min-width: 0; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris-700); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--verde-900); background: var(--papel);
  border: 1px solid var(--gris-300); border-bottom: 2px solid var(--verde-700); border-radius: 0; padding: 11px 12px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oro); background: var(--blanco); }
.field.error input, .field.error textarea { border-color: #b3261e; }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--verde-700); }
.form-status.err { color: #b3261e; }
.cta .form-note { font-size: 0.85rem; color: var(--gris-700); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Ficha legal (Quiénes somos) */
.facts { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 2px solid var(--verde-900); }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--gris-300); margin: 0; }
.facts dt { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris-700); padding-right: 28px; }
.facts dd { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.three > div { display: grid; gap: 10px; align-content: start; border-top: 3px solid var(--verde-400); padding-top: 20px; min-width: 0; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience > div { background: var(--blanco); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.audience .who { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oro); }
.seal { width: min(320px, 100%); border-radius: 50%; }

/* Proceso logístico (secuencia real, por eso numerado) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: paso; }
.steps li { counter-increment: paso; padding: 24px 20px 0 0; border-top: 2px solid var(--verde-900); display: grid; gap: 10px; align-content: start; position: relative; min-width: 0; }
.steps li::before { content: counter(paso, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.85rem; color: var(--oro); font-weight: 600; }
.steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--oro); }
.steps p { font-size: 0.98rem; color: var(--gris-700); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.modes > div { background: var(--blanco); padding: 28px; display: grid; gap: 12px; align-content: start; border-left: 4px solid var(--verde-400); min-width: 0; }

.table-scroll { overflow-x: auto; background: var(--blanco); }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--gris-300); vertical-align: top; }
th { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris-700); background: var(--verde-100); }
td:first-child { font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }
.note { font-size: 0.9rem; color: var(--gris-700); margin-top: 14px; }

.docs { columns: 2; column-gap: 40px; }
.docs li { break-inside: avoid; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--verde-900); color: #cbd8cf; font-size: 0.95rem; }
.footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 32px; }
.footer-top > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.footer img.logo { height: 52px; width: auto; }
.footer h4 { margin: 0 0 4px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro-claro); font-weight: 500; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--blanco); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: #9fb3a6; }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: inline-block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blanco); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--gris-300); padding: 8px var(--gutter) 20px; }
  .menu.open { display: flex; }
  .menu a { display: block; padding-block: 14px; border-bottom: 1px solid var(--gris-300); }
  .menu .btn { margin-top: 14px; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 4 / 3; max-height: 22rem; }
  .hero.small .hero-img { aspect-ratio: 16 / 9; }
  .event-grid, .team-grid { grid-template-columns: 1fr; }
  .pillars, .three, .audience, .modes { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--gris-300); }
  .split, .cta .wrap { grid-template-columns: 1fr; }
  .docs { columns: 1; }
}
@media (max-width: 560px) {
  .cards, .steps, .footer-top { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .event-facts { grid-template-columns: 1fr; }
  .event-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--gris-300); }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .util-left .hide-sm { display: none; }
  .brand img { height: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ==========================================================
   Página Contáctenos
   ========================================================== */
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .contact-lines { margin-top: 0; padding-top: 0; border-top: 0; }

.page-title { background: var(--verde-900); color: var(--blanco); border-bottom: 4px solid var(--oro); }
.page-title .wrap { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.page-title .lead { color: #d5e1d9; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 22px; align-content: start; min-width: 0; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-list li > div { display: grid; gap: 2px; min-width: 0; }
.info-list strong { font-family: var(--f-display); font-size: 1rem; }
.info-list span:not(.ic), .info-list a { color: var(--gris-700); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--verde-700); text-decoration: underline; }
.ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--verde-100); color: var(--verde-700); }
.ic svg, .soc svg { width: 22px; height: 22px; fill: currentColor; }
.eyebrow.follow { margin-top: 8px; }
.socials { display: flex; gap: 10px; }
.soc { width: 42px; height: 42px; display: grid; place-items: center; background: var(--verde-100); color: var(--verde-700); }
.soc:hover { background: var(--verde-900); color: var(--blanco); }

/* El formulario en su página: tarjeta blanca con borde */
.contact-page .contact-form { border: 1px solid var(--gris-300); border-top: 4px solid var(--oro); box-shadow: 0 10px 30px rgba(14, 44, 32, 0.06); gap: 18px; }
.form-head { display: grid; gap: 6px; }
.form-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.field label { font-family: var(--f-display); font-size: 0.88rem; letter-spacing: 0; text-transform: none; color: var(--verde-900); font-weight: 600; }
.field label b { color: var(--oro); }
.field input, .field select, .field textarea { border: 1px solid var(--gris-300); background: var(--blanco); }
.field input::placeholder, .field textarea::placeholder { color: #8a968f; }
.field select:invalid { color: #8a968f; }
.field.error input, .field.error textarea, .field.error select { border-color: #b3261e; }
.btn-block { width: 100%; justify-content: center; justify-self: stretch !important; padding-block: 16px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.form-note { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--gris-700); }
.form-note svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-status:empty { display: none; }

/* Galería: bloque destacado de cada pestaña */
.g-feature { display: grid; gap: 20px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gris-300); }
.g-feature[hidden] { display: none !important; }
.g-feature-imgs { display: grid; gap: 14px; }
.g-feature.n2 .g-feature-imgs { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); }
.g-feature.n1 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.g-feature-imgs img { width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.g-feature.n2 .g-feature-imgs .g-open { height: 100%; }
.g-feature-text { display: grid; gap: 10px; max-width: 70ch; }
.g-feature-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.g-feature-text p { color: var(--gris-700); }
.g-item figcaption { line-height: 1.45; }
@media (max-width: 860px) {
  .g-feature.n1, .g-feature.n2 .g-feature-imgs { grid-template-columns: 1fr; }
}
