/* styles.css */

/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*                                                                          BASE GLOBAL                                                                                                        */
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */


/*.........................Tipografías .........................*/

/* montserrat-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/montserrat-v31-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



:root{

  
  /* =========================
     COLORES (PMS)
  ========================= */
  --pms-teal: #08949C;
  --pms-teal-hover: #067C83;

  --pms-graphite: #181820;
  --pms-surface-1: #232333;
  --pms-surface-2: #2B2B3D;

  --pms-text: #F8F8F8;
  --pms-muted: #A7B0BE;
  --pms-border: #3A3A52;

  --pms-ore: #C79A3A;

  /* =========================
     BORDES Y RADIOS
  ========================= */
  --border-1: 1px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* =========================
     TIPOGRAFÍAS
  ========================= */
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;

  /* Tamaños (responsive con clamp) */
  --fs-body: clamp(16px, 1.1vw, 18px);
  --fs-small: 14px;

  --fs-h1: clamp(32px, 4vw, 52px);
  --fs-h2: clamp(24px, 2.6vw, 36px);
  --fs-h3: clamp(18px, 1.8vw, 24px);

  /* Interlineado */
  --lh-body: 1.6;
  --lh-headings: 1.15;

  /* Pesos tipográficos */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Tracking para look “logo” */
  --track-h: 0.08em;   /* H1/H2 en mayúsculas */
  --track-ui: 0.04em;  /* botones/menú */

  /* =========================
     ESPACIADO (ESCALA)
  ========================= */
  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Padding vertical estándar para secciones */
  --section-y: clamp(48px, 6vw, 96px);

  /* =========================
     LAYOUT
  ========================= */
  --container-max: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --grid-columns: 12;
  --grid-gap: clamp(16px, 2vw, 32px);
  --text-max: 68ch;
  --full: 100vw;

  /* =========================
     COMPONENTES
  ========================= */
  --header-h: 72px;                 /* altura "diseñada" / estimada */
  --cabecera-offset: var(--header-h); /* fallback si JS no corre */
  --btn-h: 48px;
  --icon: 20px;

  /* =========================
     TRANSICIONES
  ========================= */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1); /* curva estándar suave (o deja tu ease) */
--dur-1: 150ms; /* rápida: hover, color */
--dur-2: 250ms; /* normal: panels, dropdowns */
--dur-3: 400ms; /* lenta (opcional): modales */

/* =========================
     SOMBRAS (elevación) fallback 
  ========================= */
  --shadow-rgb: 0 0 0;
  --shadow-sm: 0 6px 16px rgb(var(--shadow-rgb) / 0.20);
  --shadow-md: 0 10px 28px rgb(var(--shadow-rgb) / 0.28);
  --shadow-lg: 0 18px 50px rgb(var(--shadow-rgb) / 0.35);

/* Opcional: borde + sombra “premium” para cards en oscuro */
  --card-border: 0 0 0 1px rgba(255,255,255,var(--opacity-1));
  --card-shadow: var(--card-border), var(--shadow-sm);

  /* =========================
     CAPAS (z-index)
  ========================= */
 --z-base: 1;
  --z-header: 2010; /* Antes era 1000. Ahora es mayor que --z-overlay (2000) */
  --z-dropdown: 2020; /* Sube este también por si acaso */
  --z-overlay: 2000;
  --z-modal: 2100;
  --z-toast: 3000;

 /* =========================
     ACCESIBILIDAD
  ========================= */
 --focus-ring: 0 0 0 3px rgba(8, 148, 156, 0.35);
--focus-ring-offset: 2px;


/* =========================
     OPACIDADES
  ========================= */
 --opacity-1: 0.06;
--opacity-2: 0.12;
--opacity-3: 0.24;
--opacity-4: 0.60;
--backdrop: rgba(0,0,0,var(--opacity-4));



/* =========================
     GRADIENTES fallback MARCA
  ========================= */
--grad-teal: linear-gradient(
    90deg,
    rgba(8,148,156,0) 0%,
    rgba(8,148,156,0.35) 50%,
    rgba(8,148,156,0) 100%
);

/* =========================
     FORMULARIOS
  ========================= */
  --input-h: 48px;
  --input-radius: var(--radius-md);

  --input-bg: rgba(255,255,255,0.04);
  --input-bg-hover: rgba(255,255,255,0.06);
  --input-bg-focus: rgba(255,255,255,0.07);

  --input-border: rgba(255,255,255,0.10);
  --input-border-hover: rgba(255,255,255,0.16);

 
  --focus-alpha: 0.35;
  --focus-ring: 0 0 0 3px rgba(8,148,156,var(--focus-alpha));
  --focus-ring-inset: 0 0 0 1px rgba(8,148,156,var(--focus-alpha));

  --placeholder: rgba(248,248,248,0.45);
  --error: #E35B5B;
  --success: #39C087;

  --warning: #F4B942;
  --info: #4A90E2;
  --error-bg: rgba(227, 91, 91, 0.1);


  /* =========================
     PROPORCIONES
  ========================= */
 --ratio-video: 16 / 9;
  --ratio-card: 4 / 5;
  --ratio-square: 1 / 1;
--ratio-portrait: 3 / 4;

  /* =========================
     EFECTOS DE CRISTAL
  ========================= */
--blur-sm: blur(4px);
--blur-md: blur(8px);
--blur-lg: blur(16px);
--glass-bg: rgba(24, 24, 32, 0.7); /* Basado en tu graphite */

/* =========================
     MICRO-INTERACCIONES MOUSE
  ========================= */
--pushed: scale(0.96);
--hover-lift: translateY(-2px);
  /* =========================
     ANIMACIÓN
  ========================= */
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Si hay OKLCH, lo usamos */
@supports (color: oklch(0 0 0)){
  :root{
    /* “Neutros” y sombras en OKLCH (negro) */
    --shadow-oklch: 0 0 0deg;
    --shadow-sm: 0 6px 16px oklch(var(--shadow-oklch) / 0.20);
    --shadow-md: 0 10px 28px oklch(var(--shadow-oklch) / 0.28);
    --shadow-lg: 0 18px 50px oklch(var(--shadow-oklch) / 0.35);

    /* Teal en OKLCH (para gradientes y anillos de foco) */
    /* Nota: estos valores son una aproximación “teal corporativo”.
       Si quieres exactitud, se ajustan con un conversor y listo. */
    --pms-teal-oklch: 0.64 0.11 197deg;
    --pms-teal-hover-oklch: 0.58 0.11 197deg;

    /* Gradiente marca en OKLCH */
    --grad-teal: linear-gradient(
      90deg,
      oklch(var(--pms-teal-oklch) / 0) 0%,
      oklch(var(--pms-teal-oklch) / 0.35) 50%,
      oklch(var(--pms-teal-oklch) / 0) 100%
    );

    /* Focus ring en OKLCH */
    --focus-ring: 0 0 0 3px oklch(var(--pms-teal-oklch) / 0.35);
  }
}

/* =========================================
   HOME · CTA FINAL
   ========================================= */

.home-final-cta{
  position: relative;
  background: var(--pms-graphite);
}

.home-final-cta__card{
  --flow-space: var(--space-5);

  max-width: 820px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0.01) 100%
    ),
    var(--pms-surface-1);
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-final-cta__card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
}

.home-final-cta__eyebrow{
  margin: 0;
  color: var(--pms-teal);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.home-final-cta__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.home-final-cta__text{
  margin: 0;
  max-width: 62ch;
  margin-inline: auto;
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.home-final-cta__actions{
  display: flex;
  justify-content: center;
}

.home-final-cta__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  min-width: 220px;
  padding-inline: 24px;
  border: 1px solid var(--pms-teal);
  border-radius: var(--radius-pill);
  background: var(--pms-teal);
  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-decoration: none;
  transition:
    background-color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.home-final-cta__button:hover,
.home-final-cta__button:focus-visible{
  background: var(--pms-teal-hover);
  border-color: var(--pms-teal-hover);
  color: var(--pms-text);
  transform: var(--hover-lift);
  box-shadow: var(--shadow-sm);
}

.home-final-cta__button:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-sm);
}

/* Mobile */
@media (max-width: 767px){
  .home-final-cta__card{
    --flow-space: var(--space-4);
    padding: 24px 20px;
  }

  .home-final-cta__button{
    width: fit-content;
    max-width: 100%;
    min-width: 200px;
  }
}



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

/* Evita que el scroll salte al hacer focus en elementos cerca del borde */
/* Evita que el scroll salte al hacer focus en elementos cerca del borde */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--cabecera-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Tus variables */
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--pms-text);
  background-color: var(--pms-graphite);
}


/* Reset de márgenes y listas */
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { 
  margin: 0;
  padding: 0;
  list-style: none; /* Mejor quitarlo por defecto y ponerlo donde lo necesites */
}

/* Media (Imágenes y Embeds) */
img, svg, video, canvas, picture {
  display: block;
  max-width: 100%;
  height: auto;
  font-style: italic; /* Por si la imagen no carga, el alt se vea mejor */
  shape-margin: 0.75rem;
}

/* Formularios y Botones */
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button { 
  cursor: pointer; 
  padding: 0; /* Reset de padding por defecto en algunos navegadores */
}

/* Eliminar animaciones para usuarios que lo soliciten */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* ===== Base PMS ===== */
html{ scroll-padding-top: var(--cabecera-offset); }

body{
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--pms-text);
  background: var(--pms-graphite);
}

main{ padding-top: var(--cabecera-offset); }


/*.........................Layout y utilidades comunes .........................*/

/* ===== Contenedor + Grid 12 columnas ===== */
/* ===== Layout / Grid ===== */

.contenedor{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-12{
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* ===== Secciones con padding vertical consistente ===== */

.hero-home{
  padding-block: 0;
}

main > section{
  margin: 0;
}

.section{
  padding-block: var(--section-y);
}

/* ===== Flow (márgenes solo entre hermanos) ===== */
.flow {
  --flow-space: 1.5em; /* Valor por defecto para párrafos */
}

.flow > * + * {
  margin-top: var(--flow-space);
}

/* Y tus variantes actuales */
.flow--section { --flow-space: var(--section-y); }
.flow--intra { --flow-space: var(--space-6); }


/* ===== Full-bleed dentro del flujo (para hero/imágenes) ===== */
.full-bleed{
  width: var(--full);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ===== Texto con ancho cómodo ===== */
.prose{
  max-width: var(--text-max);
}

/* ===== Utilidades de columnas ocupar x columnas de las 12 ===== */
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: 1 / -1; }


/* ===== Centrado rápido ===== */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Pilas verticales con espacio controlado ===== */
.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-4); /* Valor por defecto */
}

/* ===== Alineación de texto ===== */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; } /* Evita palabras sueltas en títulos */

/* ===== Accesibilidad para cuando un titulo no queremos que aparezca visualmente pero esté para los lectores de pantalla ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive automático para el Grid */
@media (max-width: 1024px) {
  .span-md-6 { grid-column: span 6; }
  .span-md-12 { grid-column: 1 / -1; }
}

/* responsive típico */
@media (max-width: 767px){
  .grid-12 { 
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Bajamos a 4 columnas en móvil */
  }
  .span-sm-4 { grid-column: 1 / -1; }
}


/*========================================================================================================================*/
/*                                                   CABECERA (HEADER)                                                    */
/*========================================================================================================================*/

.cabecera{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);

  background: color-mix(in srgb, var(--pms-graphite) 88%, transparent);
  backdrop-filter: var(--blur-md);
  border-bottom: 1px solid rgba(255,255,255,var(--opacity-1));
  position: fixed;
}

@supports not (backdrop-filter: blur(1px)){
  .cabecera{ background: var(--pms-graphite); }
}

.cabecera__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
  min-height: var(--header-h);
}

/* Logo */
.cabecera__brand{
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.cabecera__logo{
  height: 56px;       /* ⬅️ más legible en escritorio */
  width: auto;
  max-width: 320px;       /* evita que “se coma” el menú */
}

/* Nav */
.cabecera__nav{
  flex: 1;
  display: flex;
  justify-content: center;   /* menú centrado entre logo e idioma */
}

.cabecera__menu{
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

/* Enlaces del menú */
.cabecera__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-pill);

  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  letter-spacing: var(--track-ui);

  text-decoration: none;
  
  /* CAMBIO CLAVE: Usamos el color muted por defecto */
  color: var(--pms-muted); 

  transition:
    background var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease);
}

/* Al pasar el mouse, texto blanco y fondo sutil */
.cabecera__link:hover {
  background: rgba(255, 255, 255, var(--opacity-1));
  color: var(--pms-text); /* Texto blanco al hacer hover */
  transform: translateY(-1px);
}

.cabecera__link:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Estado ACTIVO (desktop) */
.cabecera__link.is-active,
.cabecera__link[aria-current="page"] {
  color: var(--pms-text); /* Texto blanco si es la página actual */
  background: rgba(8, 148, 156, var(--opacity-2));
  border: var(--border-1) solid rgba(8, 148, 156, var(--opacity-3));
  box-shadow: var(--focus-ring-inset);
}

/* Para que hover no “pise” el activo */
.cabecera__link.is-active:hover,
.cabecera__link[aria-current="page"]:hover{
  background: rgba(8,148,156,var(--opacity-3));
}

/* Idioma */
.cabecera__lang{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border: 1px solid rgba(255,255,255,var(--opacity-1));
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
}

.lang__link{
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  letter-spacing: var(--track-ui);
  text-decoration: none;
  color: var(--pms-muted);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);

  transition:
    background var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease);
}

.lang__link:hover{
  background: rgba(255,255,255,var(--opacity-1));
  color: var(--pms-text);
}

.lang__link.is-active{
  color: var(--pms-text);
  background: rgba(8,148,156,0.18);
  box-shadow: var(--focus-ring-inset);
}

.lang__sep{
  color: rgba(255,255,255,var(--opacity-2));
}

/* Skip link (aparece al tabular) */
.skip-link:focus{
  position: fixed;
  top: calc(var(--cabecera-offset) + var(--space-2));
  left: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-4);
  background: var(--pms-surface-1);
  color: var(--pms-text);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: var(--z-toast);
  clip: auto;
  white-space: normal;
}

/* Línea “firma” con degradado teal */
.cabecera::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-teal);
  opacity: 1; /* súbelo/bájalo según gusto */
  filter: drop-shadow(0 2px 6px rgba(8,148,156,0.25));
  pointer-events: none;
}

/* Responsive: en móvil apilamos (por ahora simple) */
@media (max-width: 767px){
  .cabecera__inner{
    gap: var(--space-3);
  }

  .cabecera__logo{
    height: 40px;
    max-width: 200px;
  }

  .cabecera__nav{
    justify-content: flex-end; /* en móvil, de momento, a la derecha */
  }

  .cabecera__menu{
    gap: var(--space-3);
  }

  .cabecera__link{
    padding: var(--space-1) var(--space-2);
  }
}

/*========================================================================================================================*/
/*                                                   MENÚ MÓVIL (PMS)                                                     */
/*========================================================================================================================*/

body.no-scroll{
  overflow: hidden;
}

/* Botón hamburguesa (oculto en desktop) */
.cabecera__toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,var(--opacity-1));
  background: rgba(255,255,255,0.03);
  color: var(--pms-text);
  position: relative;
  z-index: calc(var(--z-modal) + 1); /* Esto lo pone por encima de todo */
}

.cabecera__toggle:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring);
}

.toggle__bar{
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform var(--dur-2) var(--ease),
    opacity var(--dur-1) var(--ease);
}

.toggle__bar:nth-child(1){ top: 14px; }
.toggle__bar:nth-child(2){ top: 21px; }
.toggle__bar:nth-child(3){ top: 28px; }

/* Estado abierto => cruz */
.cabecera__toggle.abierto .toggle__bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.cabecera__toggle.abierto .toggle__bar:nth-child(2){
  opacity: 0;
}
.cabecera__toggle.abierto .toggle__bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay menú */
.menu-movil{
  display: none; /* solo móvil */
}

@media (max-width: 767px){

  /* En móvil: ocultamos nav + lang del header, mostramos hamburguesa */
  .cabecera__nav{
    display: none;
  }

  .cabecera__inner > .cabecera__lang{
    display: none;
  }

  .cabecera__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu-movil{
    display: block;
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);

    background: rgba(24,24,32,0.92);
    backdrop-filter: var(--blur-lg);

    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-2) var(--ease);
  }

  .menu-movil.abierto{
    opacity: 1;
    pointer-events: auto;
  }

  .menu-movil__panel{
    height: 100%;
    padding-top: calc(var(--cabecera-offset) + var(--space-6));
    padding-inline: var(--gutter);
    padding-bottom: var(--space-7);

    display: flex;
    flex-direction: column;
    gap: var(--space-6);

    transform: translateY(-8px);
    transition: transform var(--dur-2) var(--ease);
  }

  .menu-movil.abierto .menu-movil__panel{
    transform: translateY(0);
  }

  .menu-movil__list{
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .menu-movil__link{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;
    border-radius: var(--radius-lg);

    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--track-ui);
    text-decoration: none;

    color: var(--pms-text);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,var(--opacity-1));
  }

  .menu-movil__link:hover{
    color: var(--pms-teal);
    border-color: rgba(8,148,156,0.35);
  }

  .menu-movil__link:focus-visible{
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .menu-movil__link.is-active{
    background: rgba(8,148,156,0.16);
    color: var(--pms-teal);
    box-shadow: var(--focus-ring-inset);
  }

  /* Idiomas dentro del panel (reutiliza tu estilo .cabecera__lang) */
  /* Contenedor del idioma en el menú móvil */
.menu-movil__lang {
  /* SOBRESCRIBIMOS EL DISPLAY NONE */
  display: flex;
  justify-content: center;
  margin-top: auto;        
  align-self: center;      
  margin-bottom: var(--space-4); 
  
  padding: 6px 12px;
  transform: scale(1.1);   
  background: rgba(255, 255, 255, 0.05); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  /* Aseguramos que herede el borde redondeado si no lo hace */
  border-radius: var(--radius-pill);
  gap: var(--space-2); /* Espacio entre los items */
}

/* Estilo específico para el link ACTIVO dentro del menú móvil */
.menu-movil__lang .lang__link.is-active {
  background: var(--pms-teal); /* Fondo Teal sólido para máximo contraste */
  color: #FFFFFF;              /* Texto blanco */
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(8, 148, 156, 0.4); /* Pequeño brillo/sombra teal */
  border-radius: var(--radius-pill);
}

/* Ajuste del separador para que se vea sutil */
.menu-movil__lang .lang__sep {
  opacity: 0.3;
  margin-inline: 4px;
}
}



/*========================================================================================================================*/
/*                                                         FOOTER                                                         */
/*========================================================================================================================*/

.footer{
  position: relative;
  background: var(--pms-surface-1);
  border-top: 1px solid rgba(255,255,255,var(--opacity-1));
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
}

/* Línea “firma” arriba, como en el header */
.footer::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--grad-teal);
  opacity: 0.9;
  pointer-events: none;
}

.footer__inner{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-7);
  align-items: stretch;
  grid-template-columns: minmax(220px, 320px) 1fr;
}

/* Logo */
.footer__brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo{
  height: clamp(84px, 7vw, 110px); /* ✅ más grande */     /* legible como en header escritorio */
  width: auto;
  max-width: 100%;
  opacity: 0.95;
}

/* Contacto */
.footer__contact{
  font-style: normal; /* address no en cursiva */
}

.footer__list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.footer__item{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  align-items: start;

  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  box-shadow: var(--card-border);
}

.footer__icon{
  color: rgba(8,148,156,0.9); /* teal del logo */
  margin-top: 2px;
}

.footer__label{
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  letter-spacing: var(--track-ui);
  color: var(--pms-text);
  margin-bottom: var(--space-1);
}

.footer__link{
  color: var(--pms-muted);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease);
  word-break: break-word;
}

.footer__link:hover{
  color: var(--pms-teal);
}

.footer__link:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.footer__muted{
  color: var(--pms-muted);
}

/* Parte inferior */
.footer__bottom{
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,var(--opacity-1));
}

.footer__copy{
  color: rgba(255,255,255,var(--opacity-3));
}



.footer__credit a{
  color: inherit;
  text-decoration: none;
}

.footer__credit a:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px){
  .footer__inner{
    grid-template-columns: 1fr;
  }
  .footer__list{
    grid-template-columns: 1fr;
  }
  .footer__logo{
    height: 52px;
  }
}


/*========================================================================================================================*/
/*                                                    CONTACTO (PMS)                                                     */
/*========================================================================================================================*/

.section-contacto{
  padding-block: var(--section-y);
}

/* Subir el contenido de Contacto (menos espacio bajo la cabecera) */
.section.section-contacto{
  padding-top: clamp(var(--space-5), 4vw, var(--space-7)); /* 24px → 48px */
  padding-bottom: var(--section-y);                        /* mantenemos el aire abajo */
}


.contacto__header{
  max-width: var(--text-max);
  margin-inline: auto;
  text-align: center;
}

.contacto__lead{
  color: var(--pms-muted);
}

.contacto__wrap{
  margin-top: var(--space-6);
  display: grid;
  justify-items: center;
}

.contacto__form{
  width: min(720px, 100%);
  padding: var(--space-6);
  border-radius: var(--radius-lg);

  background: var(--glass-bg);
  backdrop-filter: var(--blur-md);

  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

/* “firma” superior con el gradiente teal */
.contacto__form::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--grad-teal);
  opacity: 0.9;
}

.contacto__grid{
  display: grid;
  gap: var(--space-4);
}

/* Honeypot oculto (bots suelen rellenarlo igualmente) */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Errores */
.field__error{
  margin-top: var(--space-1);
  color: var(--error);
  font-size: var(--fs-small);
}

.field.is-invalid .field__control{
  border-color: rgba(227, 91, 91, 0.55);
  box-shadow: 0 0 0 3px rgba(227, 91, 91, 0.18);
}

.contacto__status{
  margin: 0 0 var(--space-4);
  text-align: center;
  font-size: var(--fs-small);
  color: var(--pms-muted);
}

.contacto__status.is-success{
  color: var(--success);
}

.contacto__status.is-error{
  color: var(--error);
}

@media (min-width: 560px){
  .contacto__grid{
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .field--full{
    grid-column: 1 / -1;
  }
}

.field{
  display: grid;
  gap: var(--space-2);
}

.field__label{
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  color: var(--pms-text);
}

.field__req{
  color: var(--pms-ore);
  font-weight: var(--fw-bold);
  margin-left: var(--space-1);
}

.field__opt{
  color: var(--pms-muted);
  font-weight: var(--fw-regular);
  letter-spacing: 0;
  margin-left: var(--space-1);
  font-family: var(--font-body);
}

.field__control{
  height: var(--input-h);
  width: 100%;
  border-radius: var(--input-radius);

  background: var(--input-bg);
  border: var(--border-1) solid var(--input-border);

  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);

  padding-inline: var(--space-4);
  transition:
    border-color var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.field__control::placeholder{
  color: var(--placeholder);
}

.field__control:hover{
  background: var(--input-bg-hover);
  border-color: var(--input-border-hover);
}

.field__control:focus{
  outline: none;
}

.field__control:focus-visible{
  background: var(--input-bg-focus);
  border-color: rgba(8,148,156,var(--opacity-3));
  box-shadow: var(--focus-ring);
}

.field__control--textarea{
  height: auto;
  min-height: 140px;
  padding-block: var(--space-3);
  resize: vertical;
}

/* Botón PMS */
.contacto__submit{
  margin-top: var(--space-6);
  width: 100%;
  height: var(--btn-h);

  border: none;
  border-radius: var(--radius-pill);

  background: var(--pms-teal);
  color: #fff;

  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);

  cursor: pointer;

  transition:
    transform var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.contacto__submit:hover{
  background: var(--pms-teal-hover);
  box-shadow: var(--shadow-sm);
  transform: var(--hover-lift);
}

.contacto__submit:active{
  transform: var(--pushed);
}

.contacto__submit:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring);
}

.contacto__footnote{
  margin-top: var(--space-3);
  text-align: center;
  color: var(--pms-muted);
  font-size: var(--fs-small);
}

/* =========================================
   HOME HERO
   ========================================= */

.hero-home{
  position: relative;
  overflow: clip;
  background: var(--pms-graphite);
  isolation: isolate;
}

.hero-home__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__media picture{
  display: block;
  width: 100%;
  height: 100%;
}

.hero-home__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Capa para mejorar legibilidad del texto */
.hero-home__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(24, 24, 32, 0.88) 0%,
      rgba(24, 24, 32, 0.76) 28%,
      rgba(24, 24, 32, 0.42) 56%,
      rgba(24, 24, 32, 0.22) 100%
    );
}

.hero-home__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(560px, calc(100svh - var(--cabecera-offset)), 820px);
  padding-top: calc(var(--cabecera-offset) + clamp(24px, 4vw, 48px));
  padding-bottom: clamp(48px, 6vw, 96px);
}

.hero-home__content{
  grid-column: 1 / span 6;
  max-width: 62ch;
}

.hero-home__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.02;
  font-weight: var(--fw-bold);
  color: var(--pms-text);
  text-wrap: balance;
}

.hero-home__subtitle{
  margin: var(--space-5) 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.35;
  font-weight: var(--fw-semibold);
  color: var(--pms-text);
  max-width: 52ch;
}

.hero-home__text{
  margin: var(--space-5) 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(248, 248, 248, 0.92);
  max-width: var(--text-max);
}

.hero-home__actions{
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-home__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--pms-teal);
  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    background-color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.hero-home__cta:hover{
  background: var(--pms-teal-hover);
  transform: var(--hover-lift);
  box-shadow: var(--shadow-md);
}

.hero-home__cta:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

/* Ajuste intermedio */
@media (max-width: 1100px){
  .hero-home__content{
    grid-column: 1 / span 7;
  }
}

/* =========================================
   HERO MOBILE
   ========================================= */

@media (max-width: 767px){

  .hero-home{
    background: var(--pms-graphite);
    padding-bottom: var(--space-6);
  }

  .hero-home__media{
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;   /* ← tu imagen mobile */
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .hero-home__media picture{
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-home__img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-home__media::after{
    background:
      linear-gradient(
        180deg,
        rgba(24, 24, 32, 0.04) 0%,
        rgba(24, 24, 32, 0.10) 45%,
        rgba(24, 24, 32, 0.42) 100%
      );
  }

  .hero-home__inner{
    min-height: 0;
    padding-top: var(--space-5);
    padding-bottom: 0;
    margin-top: 0; /* ← elimina el solape */
  }

  .hero-home__content{
    grid-column: 1 / -1;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .hero-home__title{
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-home__subtitle{
    font-size: clamp(18px, 4.8vw, 22px);
    margin-top: var(--space-4);
  }

  .hero-home__text{
    margin-top: var(--space-4);
  }

  .hero-home__actions{
    margin-top: var(--space-5);
  }

  .hero-home__cta{
   width: fit-content;
  min-width: 220px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 28px;
  }
}

/* =========================================
   HOME · CONFIANZA OPERATIVA
   ========================================= */

.trust-strip{
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0) 100%
    ),
    var(--pms-graphite);
}

.trust-strip__inner{
  --flow-space: var(--space-6);
}

.trust-strip__head{
  max-width: 76ch;
}

.trust-strip__eyebrow{
  margin: 0;
  color: var(--pms-teal);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.trust-strip__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.trust-strip__intro{
  margin: 0;
  max-width: 68ch;
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.trust-strip__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.trust-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 100%;
  padding: clamp(20px, 2vw, 28px);
  border: var(--border-1) solid rgba(8, 148, 156, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(8, 148, 156, 0.10) 0%,
      rgba(8, 148, 156, 0.03) 100%
    ),
    var(--pms-surface-2);
  box-shadow: 0 10px 24px rgb(var(--shadow-rgb) / 0.18);
  transition:
    transform var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.trust-card:hover,
.trust-card:focus-within{
  transform: var(--hover-lift);
  border-color: rgba(8, 148, 156, 0.42);
  background:
    linear-gradient(
      180deg,
      rgba(8, 148, 156, 0.14) 0%,
      rgba(8, 148, 156, 0.05) 100%
    ),
    #31344a;
  box-shadow: 0 14px 32px rgb(var(--shadow-rgb) / 0.24);
}

.trust-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--pms-teal);
  background: rgba(8, 148, 156, 0.14);
  box-shadow: inset 0 0 0 1px rgba(8, 148, 156, 0.26);
}

.trust-card__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

.trust-card__text{
  margin: 0;
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Tablet */
@media (max-width: 991px){
  .trust-strip__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px){
  .trust-strip__inner{
    --flow-space: var(--space-5);
  }

  .trust-strip__grid{
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .trust-card{
    padding: 22px 20px;
  }
}

/* =========================================
   HOME · QUIÉNES SOMOS
   ========================================= */

.home-about{
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0) 100%
    ),
    var(--pms-surface-1);
}

.home-about__grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.home-about__content{
  grid-column: 1 / span 5;
  max-width: 58ch;
}

.home-about__eyebrow{
  margin: 0;
  color: var(--pms-teal);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.home-about__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.home-about__text{
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.home-about__text p{
  margin: 0;
}

.home-about__link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--pms-ore);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition:
    color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease);
}

.home-about__link::after{
  content: "→";
  color: var(--pms-ore);
  font-size: 1.1em;
  transition:
    transform var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease);
}

.home-about__link:hover,
.home-about__link:focus-visible{
  color: var(--pms-text);
}

.home-about__link:hover::after,
.home-about__link:focus-visible::after{
  color: var(--pms-teal);
  transform: translateX(3px);
}

.home-about__link:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.home-about__media{
  grid-column: 7 / -1;
  position: relative;
  aspect-ratio: var(--ratio-video); /* desktop */
  overflow: hidden;
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background: var(--pms-surface-2);
  box-shadow: var(--shadow-md);
}

.home-about__media picture{
  display: block;
  width: 100%;
  height: 100%;
}

.home-about__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-about__media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(24,24,32,0.04) 0%,
      rgba(24,24,32,0.14) 100%
    );
}

/* Tablet */
@media (max-width: 991px){
  .home-about__content{
    grid-column: 1 / span 6;
  }

  .home-about__media{
    grid-column: 7 / -1;
  }
}

/* Mobile */
@media (max-width: 767px){
  .home-about__grid{
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .home-about__media{
    grid-column: 1 / -1;
    order: -1;
    aspect-ratio: 5 / 4; /* tu recorte mobile */
  }

  .home-about__content{
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* =========================================
   HOME · SERVICIOS
   ========================================= */

.home-services{
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.015) 0%,
      rgba(255,255,255,0) 100%
    ),
    var(--pms-graphite);
}

.home-services__inner{
  display: grid;
  gap: var(--space-6);
}



.home-services__eyebrow{
  margin: 0;
  color: var(--pms-teal);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.home-services__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.home-services__layout{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
}

.home-services__media{
  grid-column: 1 / span 5;
  position: relative;
  aspect-ratio: var(--ratio-video); /* 16:9 escritorio */
  overflow: hidden;
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background: var(--pms-surface-2);
  box-shadow: var(--shadow-md);
  align-self: center;
}

.home-services__media picture{
  display: block;
  width: 100%;
  height: 100%;
}

.home-services__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Línea superior también en la imagen para que dialogue con las cards */
.home-services__media::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
  z-index: 2;
}

.home-services__media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(24,24,32,0.04) 0%,
      rgba(24,24,32,0.16) 100%
    );
}

.home-services__cards{
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.service-preview-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 180px;
  padding: clamp(20px, 2vw, 28px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(8,148,156,0.06) 0%,
      rgba(8,148,156,0.02) 100%
    ),
    var(--pms-surface-1);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  transition:
    transform var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

.service-preview-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
}

.service-preview-card:hover,
.service-preview-card:focus-visible{
  transform: var(--hover-lift);
  border-color: rgba(8,148,156,0.34);
  background:
    linear-gradient(
      180deg,
      rgba(8,148,156,0.10) 0%,
      rgba(8,148,156,0.03) 100%
    ),
    #2b2e42;
  box-shadow: var(--card-border), var(--shadow-md);
}

.service-preview-card:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

.service-preview-card--wide{
  grid-column: 1 / -1;
  min-height: 140px;
}

.service-preview-card__index{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8,148,156,0.12);
  box-shadow: inset 0 0 0 1px rgba(8,148,156,0.22);
  color: var(--pms-teal);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
}

.service-preview-card__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.22;
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

.home-services__actions{
  display: flex;
  justify-content: center;
}

.home-services__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding-inline: 22px;
  border: 1px solid var(--pms-teal);
  border-radius: var(--radius-pill);
  background: var(--pms-teal);
  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-decoration: none;
  transition:
    background-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.home-services__cta:hover,
.home-services__cta:focus-visible{
  background: transparent;
  color: var(--pms-teal);
  border-color: rgba(8,148,156,0.38);
  transform: var(--hover-lift);
  box-shadow: var(--shadow-sm);
}

.home-services__cta:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-sm);
}

/* Tablet */
@media (max-width: 991px){
  .home-services__layout{
    grid-template-columns: 1fr;
  }

  .home-services__media{
    grid-column: 1 / -1;
  }

  .home-services__cards{
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 767px){
  .home-services__inner{
    gap: var(--space-5);
  }

  .home-services__layout{
    gap: var(--space-5);
  }

  .home-services__media{
    aspect-ratio: 5 / 4; /* tu recorte mobile */
  }

  .home-services__cards{
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .service-preview-card,
  .service-preview-card--wide{
    grid-column: auto;
    min-height: auto;
    padding: 22px 20px;
  }

  .home-services__actions{
    justify-content: center;
  }

  .home-services__cta{
    min-width: 220px;
    max-width: 100%;
  }
}

/* En desktop, centra visualmente la imagen respecto al bloque de tarjetas */
@media (min-width: 992px){
  .home-services__layout{
    align-items: center;
  }

  .home-services__media{
    align-self: center;
  }
}

/* =========================================
   HOME · PRODUCTOS
   ========================================= */

.home-products{
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.015) 0%,
      rgba(255,255,255,0) 100%
    ),
    var(--pms-surface-1);
}

.home-products .home-products__inner{
  display: grid;
  gap: var(--space-6);
}

.home-products .home-products__head{
  max-width: 72ch;
  margin-inline: auto;
  text-align: center;
}

.home-products .home-products__eyebrow{
  margin: 0;
  color: var(--pms-ore);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.home-products .home-products__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.home-products .home-products__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.home-products .product-card{
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0.01) 100%
    ),
    var(--pms-surface-2);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  transition:
    transform var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

.home-products .product-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2;
}

.home-products .product-card--hydro::before{
  background: var(--grad-teal);
}

.home-products .product-card--fert::before{
  background: linear-gradient(
    90deg,
    rgba(199,154,58,0) 0%,
    rgba(199,154,58,0.42) 50%,
    rgba(199,154,58,0) 100%
  );
}

.home-products .product-card:hover,
.home-products .product-card:focus-visible{
  transform: var(--hover-lift);
  box-shadow: var(--card-border), var(--shadow-md);
}

.home-products .product-card--hydro:hover,
.home-products .product-card--hydro:focus-visible{
  border-color: rgba(8,148,156,0.30);
  background:
    linear-gradient(
      180deg,
      rgba(8,148,156,0.06) 0%,
      rgba(8,148,156,0.02) 100%
    ),
    var(--pms-surface-2);
}

.home-products .product-card--fert:hover,
.home-products .product-card--fert:focus-visible{
  border-color: rgba(199,154,58,0.30);
  background:
    linear-gradient(
      180deg,
      rgba(199,154,58,0.06) 0%,
      rgba(199,154,58,0.02) 100%
    ),
    var(--pms-surface-2);
}

.home-products .product-card:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

.home-products .product-card__media{
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pms-surface-2);
  flex: 0 0 auto;
}

.home-products .product-card__media picture{
  display: block;
  width: 100%;
  height: 100%;
}

.home-products .product-card__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-products .product-card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(24,24,32,0.04) 0%,
      rgba(24,24,32,0.16) 100%
    );
}

.home-products .product-card__body{
  padding: clamp(22px, 2vw, 30px);
  color: var(--pms-text);
  flex: 1 1 auto;
}

.home-products .product-card__body.flow{
  --flow-space: var(--space-4);
}

.home-products .product-card__eyebrow{
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.home-products .product-card--hydro .product-card__eyebrow{
  color: var(--pms-teal);
}

.home-products .product-card--fert .product-card__eyebrow{
  color: var(--pms-ore);
}

.home-products .product-card__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

.home-products .product-card__text{
  margin: 0;
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.home-products .home-products__actions{
  display: flex;
  justify-content: center;
}

.home-products .home-products__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  min-width: 220px;
  padding-inline: 22px;
  border: 1px solid var(--pms-ore);
  border-radius: var(--radius-pill);
  background: var(--pms-ore);
  color: var(--pms-graphite);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-decoration: none;
  transition:
    background-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.home-products .home-products__cta:hover,
.home-products .home-products__cta:focus-visible{
  background: transparent;
  color: var(--pms-ore);
  border-color: var(--pms-ore);
  transform: var(--hover-lift);
  box-shadow: var(--shadow-sm);
}

.home-products .home-products__cta:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-sm);
}

/* Tablet */
@media (max-width: 991px){
  .home-products .home-products__grid{
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 767px){
  .home-products .home-products__inner{
    gap: var(--space-5);
  }

  .home-products .home-products__grid{
    gap: var(--space-5);
  }

  .home-products .product-card__media{
    aspect-ratio: 5 / 4;
  }

  .home-products .product-card__body{
    padding: 22px 20px;
  }

  .home-products .home-products__cta{
    width: fit-content;
    max-width: 100%;
    min-width: 220px;
  }
}

/* =========================================
   HOME · CÓMO TRABAJAMOS
   ========================================= */

.home-process{
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.015) 0%,
      rgba(255,255,255,0) 100%
    ),
    var(--pms-graphite);
}

.home-process__inner{
  display: grid;
  gap: var(--space-6);
}

.home-process__head{
  max-width: 72ch;
}

.home-process__eyebrow{
  margin: 0;
  color: var(--pms-teal);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.home-process__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.home-process__layout{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.home-process__media{
  grid-column: 1 / span 5;
  position: relative;
  aspect-ratio: var(--ratio-video); /* 16:9 escritorio */
  overflow: hidden;
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background: var(--pms-surface-2);
  box-shadow: var(--shadow-md);
}

.home-process__media::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
  z-index: 2;
}

.home-process__media picture{
  display: block;
  width: 100%;
  height: 100%;
}

.home-process__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-process__media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(24,24,32,0.04) 0%,
      rgba(24,24,32,0.16) 100%
    );
}

.home-process__steps{
  grid-column: 6 / -1;
  display: grid;
  gap: var(--space-4);
}

.process-step{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
  padding: clamp(20px, 2vw, 28px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(8,148,156,0.06) 0%,
      rgba(8,148,156,0.02) 100%
    ),
    var(--pms-surface-1);
  box-shadow: var(--card-shadow);
  transition:
    transform var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

.process-step::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
}

.process-step:hover{
  transform: var(--hover-lift);
  border-color: rgba(8,148,156,0.32);
  background:
    linear-gradient(
      180deg,
      rgba(8,148,156,0.10) 0%,
      rgba(8,148,156,0.03) 100%
    ),
    var(--pms-surface-1);
  box-shadow: var(--card-border), var(--shadow-md);
}

.process-step__num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(8,148,156,0.12);
  box-shadow: inset 0 0 0 1px rgba(8,148,156,0.24);
  color: var(--pms-teal);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.process-step__content.flow{
  --flow-space: var(--space-3);
}

.process-step__title{
  margin: 0;
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

.process-step__text{
  margin: 0;
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Tablet */
@media (max-width: 991px){
  .home-process__layout{
    grid-template-columns: 1fr;
  }

  .home-process__media{
    grid-column: 1 / -1;
  }

  .home-process__steps{
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 767px){
  .home-process__inner{
    gap: var(--space-5);
  }

  .home-process__layout{
    gap: var(--space-5);
  }

  .home-process__media{
    aspect-ratio: 5 / 4; /* móvil */
  }

  .home-process__steps{
    gap: var(--space-4);
  }

  .process-step{
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: 22px 20px;
  }

  .process-step__num{
    width: 42px;
    height: 42px;
  }
}

/* =========================================
   HERO QUIÉNES SOMOS
   ========================================= */

.about-hero{
  position: relative;
  padding-top: calc(var(--cabecera-offset) + clamp(24px, 4vw, 40px));
  padding-bottom: var(--section-y);
  background:
    radial-gradient(circle at top right, rgba(8,148,156,0.12), transparent 32%),
    linear-gradient(180deg, var(--pms-graphite) 0%, #1D1D28 100%);
  overflow: hidden;
}

.about-hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.12) 20%,
    rgba(255,255,255,0.12) 80%,
    transparent 100%
  );
}

.about-hero__grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.about-hero__content{
  grid-column: 1 / span 5;
  max-width: 62ch;
  position: relative;
  z-index: var(--z-base);
}

.about-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-inline: 14px;
  margin-bottom: var(--space-5);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  color: var(--pms-muted);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  backdrop-filter: var(--blur-sm);
}

.about-hero__title{
  margin: 0 0 var(--space-5);
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.about-hero__text{
  margin: 0 0 var(--space-6);
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: var(--text-max);
}

.about-hero__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--pms-teal);
  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-decoration: none;
  transition:
    background-color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
  box-shadow: var(--shadow-sm);
}

.about-hero__cta:hover,
.about-hero__cta:focus-visible{
  background: var(--pms-teal-hover);
  transform: var(--hover-lift);
  box-shadow: var(--focus-ring), var(--shadow-md);
  outline: none;
}

.about-hero__cta:active{
  transform: var(--pushed);
}

.about-hero__media{
  grid-column: 6 / -1;
  position: relative;
}

.about-hero__media picture,
.about-hero__media img{
  display: block;
  width: 100%;
}

.about-hero__media{
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,var(--opacity-2));
  box-shadow: var(--card-shadow), var(--shadow-lg);
  background: var(--pms-surface-1);
}

.about-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.18) 100%);
}

/* =========================================
   TABLET / MOBILE
   ========================================= */

@media (max-width: 767px){
  .about-hero{
    padding-top: calc(var(--cabecera-offset) + 20px);
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .about-hero__grid{
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .about-hero__media{
    grid-column: auto;
    order: 1;
    aspect-ratio: 5 / 4;
  }

  .about-hero__content{
    grid-column: auto;
    order: 2;
    max-width: 100%;
  }

  .about-hero__eyebrow{
    margin-bottom: var(--space-4);
  }

  .about-hero__title{
    margin-bottom: var(--space-4);
  }

  .about-hero__text{
    margin-bottom: var(--space-5);
  }

  .about-hero__cta{
    width: 100%;
  }
}

/* =========================================
   QUIÉNES SOMOS · BLOQUE INSTITUCIONAL
   ========================================= */

.about-institutional__shell{
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.about-institutional__top{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.about-institutional__intro{
  grid-column: 1 / span 7;
  display: grid;
  gap: var(--space-4);
  padding: clamp(24px, 3vw, 40px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
    var(--pms-surface-1);
  box-shadow: var(--shadow-sm);
}

.about-institutional__eyebrow{
  margin: 0;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--pms-teal);
}

.about-institutional__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  color: var(--pms-text);
  text-wrap: balance;
}

.about-institutional__lead{
  margin: 0;
  max-width: var(--text-max);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--pms-muted);
}

.about-institutional__media{
  grid-column: 8 / -1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  background: var(--pms-surface-2);
  box-shadow: var(--shadow-md);
}

.about-institutional__media picture,
.about-institutional__media img{
  display: block;
  width: 100%;
  height: 100%;
}

.about-institutional__media img{
  object-fit: cover;
}

.about-institutional__statements{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.about-institutional__card{
  position: relative;
  display: grid;
  gap: var(--space-3);
  padding: clamp(24px, 3vw, 36px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(8,148,156,0.08) 0%, rgba(8,148,156,0.02) 100%),
    var(--pms-surface-2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.about-institutional__card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
}

.about-institutional__card-label{
  margin: 0;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--pms-ore);
}

.about-institutional__card-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-headings);
  color: var(--pms-text);
}

.about-institutional__card-text{
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--pms-muted);
}

.about-institutional__values-wrap{
  display: grid;
  gap: var(--space-5);
  padding: clamp(24px, 3vw, 40px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%),
    var(--pms-surface-1);
  box-shadow: var(--shadow-sm);
}

.about-institutional__values-head{
  display: grid;
  gap: var(--space-2);
  max-width: 72ch;
}

.about-institutional__values-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-headings);
  color: var(--pms-text);
}

.about-institutional__values-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.about-institutional__value{
  display: grid;
  gap: var(--space-2);
  min-height: 100%;
  padding: clamp(18px, 2vw, 24px);
  border: var(--border-1) solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  box-shadow: var(--shadow-sm);
}

.about-institutional__value-title{
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
  color: var(--pms-text);
}

.about-institutional__value-title::before{
  content: "";
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: var(--pms-teal);
  box-shadow: 0 0 0 6px rgba(8,148,156,0.12);
  flex: 0 0 auto;
}

.about-institutional__value-text{
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--pms-muted);
}

@media (max-width: 1024px){
  .about-institutional__top{
    grid-template-columns: 1fr;
  }

  .about-institutional__intro,
  .about-institutional__media{
    grid-column: auto;
  }

  .about-institutional__values-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .about-institutional__shell{
    gap: var(--space-5);
  }

  .about-institutional__intro,
  .about-institutional__card,
  .about-institutional__values-wrap{
    padding: 24px;
  }

  .about-institutional__media{
    aspect-ratio: 5 / 4;
  }

  .about-institutional__statements,
  .about-institutional__values-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================
   ABOUT QUALITY
   ========================================= */

.about-quality{
  padding-block: var(--section-y);
}

.about-quality__shell{
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%),
    var(--pms-surface-1);
  border: var(--border-1) solid var(--pms-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.about-quality__shell::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--grad-teal);
  pointer-events: none;
}

.about-quality__grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
}

.about-quality__content{
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-quality__eyebrow{
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--pms-teal);
}

.about-quality__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  color: var(--pms-text);
  max-width: 18ch;
}

.about-quality__text{
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--pms-muted);
  max-width: 58ch;
}

.about-quality__media{
  grid-column: 6 / -1;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pms-surface-2);
  box-shadow: var(--shadow-sm);
}

.about-quality__media picture,
.about-quality__media img{
  display: block;
  width: 100%;
  height: 100%;
}

.about-quality__media img{
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1023px){
  .about-quality__content{
    grid-column: 1 / span 6;
  }

  .about-quality__media{
    grid-column: 7 / -1;
  }
}

@media (max-width: 767px){
  .about-quality__grid{
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-5);
  }

  .about-quality__content,
  .about-quality__media{
    grid-column: auto;
  }

  .about-quality__title{
    max-width: 100%;
  }

  .about-quality__text{
    max-width: 100%;
  }

  .about-quality__media{
    aspect-ratio: 5 / 4;
  }
}

/* =========================================
   HERO SERVICIOS
   ========================================= */

.services-hero{
  position: relative;
  padding-top: calc(var(--cabecera-offset) + clamp(20px, 3vw, 32px));
  padding-bottom: var(--section-y);
  background: linear-gradient(180deg, var(--pms-graphite) 0%, var(--pms-surface-1) 100%);
}

.services-hero__shell{
  position: relative;
  width: min(calc(100% - (var(--gutter) * 2)), var(--container-max));
  margin-inline: auto;
}

.services-hero__frame{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 28px);
  background-color: var(--pms-surface-2);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.services-hero__picture,
.services-hero__picture img{
  display: block;
  width: 100%;
  height: 100%;
}

.services-hero__picture img{
  object-fit: cover;
  object-position: center center;
}

.services-hero__frame::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(24, 24, 32, 0.88) 0%,
      rgba(24, 24, 32, 0.74) 30%,
      rgba(24, 24, 32, 0.42) 55%,
      rgba(24, 24, 32, 0.20) 75%,
      rgba(24, 24, 32, 0.22) 100%
    );
}

/* Desktop: bloque superpuesto */
.services-hero__content{
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 56px);
  z-index: 2;
  pointer-events: none;
}

.services-hero__copy{
  width: min(100%, 720px);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  background: rgba(24, 24, 32, 0.44);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
}

.services-hero__copy::before{
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--grad-teal);
}

.services-hero__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  color: var(--pms-text);
  text-wrap: balance;
}

.services-hero__text{
  margin: var(--space-4) 0 0;
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--pms-text);
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px){

  .services-hero{
    padding-top: calc(var(--cabecera-offset) + 16px);
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .services-hero__frame{
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
  }

  .services-hero__frame::before{
    background:
      linear-gradient(
        180deg,
        rgba(24, 24, 32, 0.08) 0%,
        rgba(24, 24, 32, 0.14) 35%,
        rgba(24, 24, 32, 0.22) 100%
      );
  }

  /* Mobile: bloque debajo de la imagen */
  .services-hero__content{
    position: static;
    margin-top: var(--space-4);
    padding: 0;
    pointer-events: auto;
  }

  .services-hero__copy{
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-lg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--shadow-sm);
  }

  .services-hero__copy::before{
    width: 72px;
    margin-bottom: var(--space-3);
  }

  .services-hero__title{
    font-size: clamp(30px, 9vw, 40px);
  }

  .services-hero__text{
    margin-top: var(--space-3);
    max-width: 100%;
    font-size: 16px;
  }
}

/* =========================================
   BLOQUE LISTADO DE SERVICIOS
   ========================================= */

.services-listing__grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
}

.services-listing__media{
  grid-column: span 5;
  display: grid;
  gap: var(--grid-gap);
  align-content: start;
}

.services-listing__frame{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--pms-surface-2);
  border: 1px solid rgba(255,255,255,var(--opacity-2));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.services-listing__frame::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(24,24,32,0.06) 0%,
      rgba(24,24,32,0.10) 100%
    );
  pointer-events: none;
}

.services-listing__picture,
.services-listing__picture img{
  display: block;
  width: 100%;
  height: 100%;
}

.services-listing__picture img{
  object-fit: cover;
  object-position: center center;
}

.services-listing__cards{
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-content: start;
}

.service-card{
  display: grid;
  gap: var(--space-4);
  min-height: 100%;
  padding: clamp(20px, 2vw, 28px);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04) 0%,
      rgba(255,255,255,0.02) 100%
    );
  border: 1px solid rgba(255,255,255,var(--opacity-2));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-2) var(--ease),
    border-color var(--dur-1) var(--ease),
    box-shadow var(--dur-2) var(--ease),
    background-color var(--dur-2) var(--ease);
}

.service-card:hover{
  transform: var(--hover-lift);
  border-color: rgba(8, 148, 156, 0.30);
  box-shadow: var(--shadow-md);
}

.service-card--featured{
  width: 100%;
}


.service-card__icon{
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--pms-teal);
  background: rgba(8, 148, 156, 0.12);
  box-shadow: inset 0 0 0 1px rgba(8, 148, 156, 0.18);
}

.service-card__icon svg{
  width: 24px;
  height: 24px;
}

.service-card__title{
  margin: 0;
  font-family: var(--font-display);
  font-size:  clamp(16px, 1.3vw, 18px);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  color: var(--pms-text);
  text-wrap: balance;
}

.service-card__text{
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--pms-muted);
}

.service-card:focus-within{
  border-color: rgba(8, 148, 156, 0.34);
  box-shadow: var(--focus-ring), var(--shadow-md);
}

@media (max-width: 1023px){

  .services-listing__grid{
    grid-template-columns: 1fr;
  }

  .services-listing__media,
  .services-listing__cards{
    grid-column: auto;
  }

  .services-listing__cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px){

  .services-listing__frame{
    aspect-ratio: 5 / 4;
  }

  .services-listing__cards{
    grid-template-columns: 1fr;
  }

  .services-listing__media{
    gap: var(--space-4);
  }
}

/* =========================================
   BLOQUE METODOLOGÍA
   ========================================= */


.methodology .contenedor{
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(199, 154, 58, 0.18);
  border-radius: clamp(20px, 2vw, 28px);
  background:
    linear-gradient(
      180deg,
      rgba(199, 154, 58, 0.08) 0%,
      rgba(43, 43, 61, 0.82) 18%,
      rgba(24, 24, 32, 0.96) 100%
    );
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.methodology .contenedor::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(199,154,58,0) 0%,
    rgba(199,154,58,0.55) 50%,
    rgba(199,154,58,0) 100%
  );
}

.methodology .contenedor::after{
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(199,154,58,0.16) 0%,
    rgba(199,154,58,0.08) 35%,
    rgba(199,154,58,0) 72%
  );
  pointer-events: none;
}

 .methodology__intro{
  position: relative;
  z-index: 1;
  
  margin-bottom: clamp(24px, 4vw, 40px);
}

.methodology__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  color: var(--pms-text);
  text-wrap: balance;
}

.methodology__title::after{
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: var(--space-4);
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    rgba(199,154,58,0.95) 0%,
    rgba(199,154,58,0.25) 100%
  );
}

.methodology__text{
  margin: var(--space-4) 0 0;
  
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--pms-muted);
}

.methodology__steps{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.methodology-step{
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding: clamp(20px, 2vw, 28px);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03) 0%,
      rgba(255,255,255,0.015) 100%
    );
  border: 1px solid rgba(199,154,58,0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-2) var(--ease),
    border-color var(--dur-1) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}

.methodology-step:hover{
  transform: var(--hover-lift);
  border-color: rgba(199,154,58,0.30);
  box-shadow: var(--shadow-md);
}

.methodology-step__number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding-inline: 14px;
  border-radius: var(--radius-md);
  background: rgba(199,154,58,0.12);
  color: var(--pms-ore);
  box-shadow: inset 0 0 0 1px rgba(199,154,58,0.22);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
}

.methodology-step__top{
  display: flex;
  align-items: center;
}

.methodology-step__number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding-inline: 14px;
  border-radius: var(--radius-md);
  background: rgba(8, 148, 156, 0.12);
  color: var(--pms-teal);
  box-shadow: inset 0 0 0 1px rgba(8, 148, 156, 0.18);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
}

.methodology-step__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  color: var(--pms-text);
  text-wrap: balance;
}

.methodology-step__text{
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw, 16px);
  line-height: 1.55;
  font-weight: var(--fw-regular);
  color: var(--pms-muted);
}

.methodology-step:focus-within{
  border-color: rgba(8, 148, 156, 0.34);
  box-shadow: var(--focus-ring), var(--shadow-md);
}

/* =========================================
   TABLET
   ========================================= */

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

@media (max-width: 767px){
  .methodology .contenedor{
    padding: 24px 20px;
  }

  .methodology__intro{
    margin-bottom: var(--space-5);
  }

  .methodology-step{
    padding: 20px;
    gap: var(--space-3);
  }

  .methodology-step__number{
    min-width: 48px;
    height: 48px;
    font-size: 14px;
  }

  .methodology-step__title{
    font-size: 18px;
  }

  .methodology-step__text{
    font-size: 15px;
    line-height: 1.5;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px){

  .methodology__intro{
    margin-bottom: var(--space-5);
  }

  .methodology-step{
    padding: 20px;
    gap: var(--space-3);
  }

  .methodology-step__number{
    min-width: 48px;
    height: 48px;
    font-size: 14px;
  }

  .methodology-step__title{
    font-size: 18px;
  }

  .methodology-step__text{
    font-size: 15px;
    line-height: 1.5;
  }
}

/* =========================================
   PRODUCTO HERO
   ========================================= */

.products-hero {
  padding-block: calc(var(--cabecera-offset) + var(--space-6)) var(--section-y);
}

.products-hero__shell {
  position: relative;
}

.products-hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--pms-surface-1);
  border: var(--border-1) solid rgba(255, 255, 255, var(--opacity-1));
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.products-hero__picture,
.products-hero__picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.products-hero__picture img {
  object-fit: cover;
  object-position: center center;
}

.products-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(24, 24, 32, 0.08) 0%,
      rgba(24, 24, 32, 0.34) 42%,
      rgba(24, 24, 32, 0.84) 100%
    ),
    linear-gradient(
      90deg,
      rgba(24, 24, 32, 0.78) 0%,
      rgba(24, 24, 32, 0.48) 38%,
      rgba(24, 24, 32, 0.14) 68%,
      rgba(24, 24, 32, 0.12) 100%
    );
}

.products-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(100%, 760px);
  padding: clamp(24px, 4vw, 48px);
}

.products-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 32, 0.42);
  backdrop-filter: var(--blur-sm);
  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.products-hero__title {
  margin: 0 0 var(--space-4);
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.products-hero__text {
  margin: 0;
  max-width: 58ch;
  color: rgba(248, 248, 248, 0.92);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

@media (max-width: 767px) {
  .products-hero {
    padding-block: calc(var(--cabecera-offset) + var(--space-5)) var(--space-7);
  }

  .products-hero__media {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-md);
  }

  .products-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(24, 24, 32, 0.08) 0%,
        rgba(24, 24, 32, 0.18) 100%
      );
  }

  .products-hero__content {
    position: static;
    width: 100%;
    margin-top: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    border: var(--border-1) solid rgba(255, 255, 255, var(--opacity-1));
    background: linear-gradient(
      180deg,
      rgba(35, 35, 51, 0.96) 0%,
      rgba(24, 24, 32, 0.96) 100%
    );
    box-shadow: var(--shadow-sm);
  }

  .products-hero__eyebrow {
    background: rgba(8, 148, 156, 0.10);
    border-color: rgba(8, 148, 156, 0.22);
    backdrop-filter: none;
  }

  .products-hero__text {
    max-width: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .products-hero__picture img {
    transition: transform var(--dur-3) var(--ease);
  }

  .products-hero__media:hover .products-hero__picture img {
    transform: scale(1.02);
  }
}

.products-lines {
  padding-block: 0 var(--section-y);
}

.products-lines__list {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(20px, 2.2vw, 32px);
  border: var(--border-1) solid rgba(255, 255, 255, var(--opacity-1));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(43, 43, 61, 0.92) 0%,
      rgba(24, 24, 32, 0.96) 100%
    );
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.product-card--reverse .product-card__media {
  order: 2;
}

.product-card--reverse .product-card__content {
  order: 1;
}

.product-card__media {
  position: relative;
  min-width: 0;
}

.product-card__picture {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--pms-surface-1);
  border: var(--border-1) solid rgba(255, 255, 255, var(--opacity-1));
}

.product-card__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.product-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.product-card__eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--pms-teal);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

.product-card__title {
  margin: 0 0 var(--space-4);
  color: var(--pms-text);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-headings);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.product-card__text {
  margin: 0 0 var(--space-5);
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.product-card__list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__list li {
  position: relative;
  padding-left: 28px;
  color: var(--pms-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.product-card__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pms-teal);
  box-shadow: 0 0 0 6px rgba(8, 148, 156, 0.12);
}

@media (max-width: 991px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card--reverse .product-card__media,
  .product-card--reverse .product-card__content {
    order: initial;
  }
}

@media (max-width: 767px) {
  .products-lines {
    padding-block: 0 var(--space-7);
  }

  .product-card {
    gap: var(--space-5);
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }

  .product-card__picture {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-md);
  }

  .product-card__text {
    margin-bottom: var(--space-4);
  }

  .product-card__list {
    gap: var(--space-2);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .product-card {
    transition:
      transform var(--dur-2) var(--ease),
      box-shadow var(--dur-2) var(--ease),
      border-color var(--dur-2) var(--ease);
  }

  .product-card__picture img {
    transition: transform var(--dur-3) var(--ease);
  }

  .product-card:hover {
    transform: var(--hover-lift);
    border-color: rgba(8, 148, 156, 0.20);
    box-shadow: var(--shadow-lg);
  }

  .product-card:hover .product-card__picture img {
    transform: scale(1.02);
  }
}

.compliance-note {
  padding-block: 0 var(--section-y);
}

.compliance-note__card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: clamp(18px, 2vw, 24px);
  border: var(--border-1) solid rgba(255, 255, 255, var(--opacity-1));
  border-radius: var(--radius-md);
  background:
    linear-gradient(
      180deg,
      rgba(35, 35, 51, 0.92) 0%,
      rgba(24, 24, 32, 0.96) 100%
    );
  box-shadow: var(--shadow-sm);
}

.compliance-note__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(8, 148, 156, 0.10);
  color: var(--pms-teal);
  box-shadow: inset 0 0 0 1px rgba(8, 148, 156, 0.18);
}

.compliance-note__icon svg {
  width: 20px;
  height: 20px;
}

.compliance-note__text {
  margin: 0;
  color: var(--pms-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

@media (max-width: 767px) {
  .compliance-note {
    padding-block: 0 var(--space-7);
  }

  .compliance-note__card {
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }

  .compliance-note__icon {
    width: 40px;
    height: 40px;
  }

  .compliance-note__icon svg {
    width: 18px;
    height: 18px;
  }
}