/* ==========================================================================
   ZEO – Zcrofford Environment & Oil
   Las medidas siguen el lienzo de diseño de 1920px: cada valor se escribe
   como calc(N * var(--s)), donde --s equivale a 1px a 1920px de ancho y
   escala proporcionalmente en pantallas más pequeñas.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #02570c;
  --green-soft: rgba(2, 87, 12, 0.5);
  --navy: #060c80;
  --cyan: #09bfff;
  --bg: #f8f8fa;
  --text: #4b4b4d;
  --text-dark: #3a3a3c;
  --leaf: #b2b2b2;

  --s: min(1px, 0.0520833vw);
  --gutter: calc(64 * var(--s));
  --radius: calc(16 * var(--s));
  --shadow: 0 calc(8 * var(--s)) calc(28 * var(--s)) rgba(0, 0, 0, 0.16);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-slab: "Roboto Slab", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: max(15px, calc(22 * var(--s)));
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

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


/* ==========================================================================
   Encabezado
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: max(72px, calc(128 * var(--s)));
  padding-inline: calc(112 * var(--s));
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.brand {
  flex: none;
  display: block;
  width: max(110px, calc(160 * var(--s)));
}

.brand img {
  width: 100%;
  height: auto;
}

.header-divider {
  flex: none;
  width: 2px;
  height: calc(84 * var(--s));
  min-height: 46px;
  margin-left: calc(64 * var(--s));
  background: var(--green);
  transform-origin: top;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: calc(32 * var(--s));
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  color: var(--green);
  font-size: max(15px, calc(26 * var(--s)));
  font-weight: 500;
  transition: color 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a[aria-current="page"] {
  color: var(--navy);
}

/* ==========================================================================
   Inicio – Hero
   ========================================================================== */

.hero {
  position: relative;
  /* La imagen arranca detrás del encabezado translúcido */
  --header-h: max(72px, calc(128 * var(--s)));
  --card-h: max(340px, calc(580 * var(--s)));
  margin-top: calc(-1 * var(--header-h));
  /* La portada ocupa exactamente la pantalla: al hacer scroll aparece "Quiénes somos" */
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center 25%;
  animation: hero-zoom 2.4s var(--ease) both;
}

.hero__card {
  position: absolute;
  /* Centrado en el espacio bajo el encabezado, dejando sitio al indicador */
  top: max(
    calc(var(--header-h) + 16px),
    calc(var(--header-h) + (100svh - var(--header-h) - var(--card-h) - 96 * var(--s)) / 2)
  );
  right: calc(180 * var(--s));
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(639 * var(--s));
  min-width: 380px;
  height: calc(580 * var(--s));
  min-height: 340px;
  padding: calc(64 * var(--s));
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 calc(12 * var(--s)) calc(40 * var(--s)) rgba(0, 0, 0, 0.12);
}

.hero__title {
  color: var(--navy);
  font-family: var(--font-slab);
  font-size: max(24px, calc(43 * var(--s)));
  font-weight: 700;
  line-height: 1.26;
}

.hero__subtitle {
  margin-top: calc(8 * var(--s));
  color: var(--navy);
  font-size: max(17px, calc(30 * var(--s)));
  font-weight: 300;
  line-height: 1.12;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: max(50px, calc(88 * var(--s)));
  margin-top: calc(48 * var(--s));
  padding-inline: max(20px, calc(32 * var(--s)));
  background: var(--cyan);
  color: #fff;
  border-radius: max(10px, calc(14 * var(--s)));
  font-size: max(16px, calc(30 * var(--s)));
  font-weight: 600;
  box-shadow: 0 0 0 rgba(9, 191, 255, 0);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s;
}

.btn:hover {
  background: #00b0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(9, 191, 255, 0.38);
}

.btn:active {
  transform: translateY(0);
}

.btn__arrow {
  display: inline-block;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.3s var(--ease), opacity 0.3s, margin 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  width: 1em;
  margin-left: 0.4em;
  opacity: 1;
}

/* Indicador de desplazamiento (línea blanca del diseño) */
.scroll-cue {
  position: absolute;
  left: calc(1416 * var(--s));
  bottom: max(20px, calc(40 * var(--s)));
  width: 2px;
  height: calc(56 * var(--s));
  min-height: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scroll-cue 2.2s var(--ease) infinite;
}

/* ==========================================================================
   Inicio – Quiénes somos
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: calc(880 * var(--s)) calc(639 * var(--s));
  justify-content: space-between;
  align-items: center;
  padding: calc(96 * var(--s)) calc(184 * var(--s)) calc(140 * var(--s)) var(--gutter);
}

.display-title {
  color: var(--green);
  font-family: var(--font-slab);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.about__title {
  font-size: max(52px, calc(103 * var(--s)));
}

.rule {
  display: block;
  height: max(2px, calc(3 * var(--s)));
  margin-top: calc(16 * var(--s));
  background: var(--green);
  transform-origin: left;
}

.about__text {
  margin-top: calc(24 * var(--s));
  font-size: max(15px, calc(24 * var(--s)));
  line-height: 1.13;
  text-align: justify;
  hyphens: auto;
}

.values {
  display: grid;
  gap: calc(32 * var(--s));
  margin: calc(32 * var(--s)) 0 0;
  padding: 0 0 0 calc(24 * var(--s));
  list-style: none;
}

.value {
  display: grid;
  grid-template-columns: calc(96 * var(--s)) 1fr;
  gap: calc(32 * var(--s));
  align-items: start;
}

.value__icon {
  width: calc(96 * var(--s));
  min-width: 48px;
  height: auto;
  color: var(--leaf);
  transition: transform 0.5s var(--ease), color 0.4s;
}

.value:hover .value__icon {
  color: #8fb596;
  transform: rotate(-8deg) scale(1.05);
}

.value__title {
  display: inline-block;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: max(2px, calc(3 * var(--s))) solid var(--green);
  color: var(--green);
  font-family: var(--font-slab);
  font-size: max(17px, calc(30 * var(--s)));
  font-weight: 900;
  line-height: 1.15;
}

.value__text {
  margin-top: calc(8 * var(--s));
  max-width: calc(720 * var(--s));
  font-size: max(15px, calc(24 * var(--s)));
  line-height: 1.13;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.photo:hover img {
  transform: scale(1.04);
}

.about__photo {
  aspect-ratio: 639 / 580;
}

/* ==========================================================================
   Inicio – CEO
   ========================================================================== */

.ceo {
  display: grid;
  grid-template-columns: calc(845 * var(--s)) calc(880 * var(--s));
  justify-content: space-between;
  align-items: center;
  padding: calc(64 * var(--s)) var(--gutter) calc(128 * var(--s));
}

.ceo__photo {
  aspect-ratio: 845 / 952;
  border-radius: 0;
  box-shadow: none;
}

.ceo__photo img {
  object-position: center top;
}

.ceo__eyebrow {
  color: var(--navy);
  font-size: max(15px, calc(27 * var(--s)));
  font-weight: 800;
}

.ceo__name {
  margin-top: calc(4 * var(--s));
  font-size: max(46px, calc(104 * var(--s)));
  line-height: 1.1;
}

.ceo__block {
  margin-top: calc(24 * var(--s));
}

.ceo__block + .ceo__block {
  margin-top: calc(32 * var(--s));
}

.ceo__heading {
  color: var(--navy);
  font-family: var(--font-slab);
  font-size: max(20px, calc(39 * var(--s)));
  font-weight: 700;
  line-height: 1.2;
}

.ceo__text {
  margin-top: calc(8 * var(--s));
  color: #58585a;
  font-size: max(15px, calc(25 * var(--s)));
  line-height: 1.48;
  text-align: justify;
  hyphens: auto;
}

/* ==========================================================================
   Llamado a la acción + pie de página (compartido)
   ========================================================================== */

.cta {
  position: relative;
  padding: calc(136 * var(--s)) var(--gutter);
  background: var(--bg);
  text-align: center;
}

.cta__title {
  color: var(--green);
  font-family: var(--font-slab);
  font-size: max(32px, calc(76 * var(--s)));
  font-weight: 700;
  line-height: 1.2;
}

.cta__subtitle {
  margin-top: calc(8 * var(--s));
  color: var(--navy);
  font-size: max(16px, calc(28 * var(--s)));
}

.social {
  display: flex;
  justify-content: center;
  gap: calc(24 * var(--s));
  margin: calc(24 * var(--s)) 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: block;
  width: max(44px, calc(72 * var(--s)));
  height: max(44px, calc(72 * var(--s)));
  color: var(--green);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}

.social a:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.06);
}

.social svg {
  width: 100%;
  height: 100%;
}

.site-footer {
  position: relative;
  padding: calc(48 * var(--s)) var(--gutter) calc(96 * var(--s));
  background: var(--green);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
  color: #fff;
  text-align: center;
}

.site-footer__logo {
  width: max(150px, calc(228 * var(--s)));
  height: auto;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: calc(24 * var(--s));
}

.footer-grid > div {
  padding-block: calc(4 * var(--s));
}

.footer-grid > div + div {
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}

.footer-grid h2 {
  font-size: max(18px, calc(34 * var(--s)));
  font-weight: 600;
  line-height: 1.3;
}

.footer-grid p,
.footer-grid address {
  font-size: max(15px, calc(24 * var(--s)));
  font-style: normal;
  font-weight: 300;
  line-height: 1.15;
}

.footer-grid a {
  transition: opacity 0.25s;
}

.footer-grid a:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal {
  margin-top: calc(40 * var(--s));
  font-size: max(14px, calc(24 * var(--s)));
  font-weight: 300;
}

/* ==========================================================================
   Contacto
   ========================================================================== */

.contact-hero {
  position: relative;
  height: calc(888 * var(--s));
  min-height: 460px;
  overflow: hidden;
}

.contact-hero__media,
.contact-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero__media img {
  object-fit: cover;
  object-position: center 88%;
  animation: hero-zoom 2.4s var(--ease) both;
}

/* Tinte verde de la fotografía */
.contact-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(140, 205, 155, 0.5), rgba(40, 150, 70, 0.5));
  mix-blend-mode: hard-light;
}

.glass-card {
  position: absolute;
  top: calc(192 * var(--s));
  left: calc(216 * var(--s));
  padding: calc(56 * var(--s)) calc(64 * var(--s));
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: calc(12 * var(--s));
  color: var(--navy);
}

.glass-card__lead {
  font-size: max(16px, calc(28 * var(--s)));
  font-weight: 300;
}

.glass-card__title {
  display: inline-block;
  padding-bottom: calc(8 * var(--s));
  border-bottom: max(2px, calc(3 * var(--s))) solid var(--navy);
  font-family: var(--font-slab);
  font-size: max(21px, calc(37 * var(--s)));
  font-weight: 700;
}

.contact-body {
  background: var(--green);
}

.panel {
  position: relative;
  z-index: 1;
  width: calc(1550 * var(--s));
  max-width: calc(100% - 32px);
  margin: calc(-274 * var(--s)) auto 0;
  padding: calc(64 * var(--s)) calc(64 * var(--s)) calc(200 * var(--s));
  background: var(--bg);
  border-radius: calc(32 * var(--s)) calc(32 * var(--s)) 0 0;
  text-align: center;
}

.panel__title {
  font-size: max(52px, calc(110 * var(--s)));
  font-weight: 900;
  letter-spacing: 0;
}

.panel__lead {
  margin-top: calc(180 * var(--s));
  color: var(--navy);
  font-family: var(--font-slab);
  font-size: max(22px, calc(40 * var(--s)));
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.panel__note {
  margin-top: calc(24 * var(--s));
  color: var(--navy);
  font-size: max(15px, calc(28 * var(--s)));
  font-weight: 300;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: calc(334 * var(--s));
  margin-top: calc(152 * var(--s));
  text-align: left;
}

.contact-card {
  width: calc(425 * var(--s));
  min-width: 260px;
  min-height: calc(418 * var(--s));
  padding: calc(64 * var(--s));
  background: var(--bg);
  border-radius: calc(20 * var(--s));
  box-shadow: 0 calc(4 * var(--s)) calc(20 * var(--s)) rgba(0, 0, 0, 0.14);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 calc(18 * var(--s)) calc(40 * var(--s)) rgba(0, 0, 0, 0.16);
}

.contact-card__icon {
  width: max(44px, calc(72 * var(--s)));
  height: auto;
  color: var(--green);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.5s var(--ease);
}

.contact-card:hover .contact-card__icon {
  opacity: 0.85;
  transform: scale(1.08) rotate(-4deg);
}

.contact-card__title {
  margin-top: calc(24 * var(--s));
  color: var(--navy);
  font-size: max(18px, calc(30 * var(--s)));
  font-weight: 700;
  line-height: 1.2;
}

.contact-card__links {
  display: grid;
  margin-top: calc(24 * var(--s));
  color: var(--text-dark);
  font-size: max(15px, calc(24 * var(--s)));
  font-weight: 500;
  line-height: 1.1;
}

.contact-card__links a {
  justify-self: start;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: color 0.25s, background-size 0.35s var(--ease);
}

.contact-card__links a:hover {
  color: var(--green);
  background-size: 100% 1px;
}

.contact .cta {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Animaciones
   ========================================================================== */

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scroll-cue {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow-y {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Animaciones de entrada al cargar */
.load-in {
  animation: fade-up 1s var(--ease) both;
  animation-delay: var(--delay, 0s);
}

.header-divider {
  animation: grow-y 0.9s var(--ease) 0.2s both;
}

/* Revelado al hacer scroll (solo se activa con JavaScript) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal="left"] {
  transform: translateX(-40px);
}

.js [data-reveal="right"] {
  transform: translateX(40px);
}

.js [data-reveal="zoom"] {
  transform: scale(0.94);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .rule[data-reveal] {
  opacity: 1;
  transform: scaleX(0);
  transition-duration: 1.1s;
}

.js .rule[data-reveal].is-visible {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-cue {
    display: none;
  }
}

/* ==========================================================================
   Menú lateral (solo móvil)
   ========================================================================== */

.menu-toggle,
.mobile-menu,
.menu-backdrop,
.m-only {
  display: none;
}

/* ==========================================================================
   Móvil
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --gutter: 18px;
  }

  body {
    overflow-x: clip;
    font-size: 14px;
  }

  .d-only {
    display: none;
  }

  .m-only {
    display: inline;
  }

  /* Encabezado */
  .site-header {
    height: 64px;
    padding-inline: 18px;
  }

  .brand {
    width: 104px;
  }

  .header-divider {
    height: 36px;
    min-height: 0;
    margin-left: 14px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 -10px 0 auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--green);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 28px;
    height: 28px;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(88vw, 380px);
    padding: 10px 28px 40px;
    overflow-y: auto;
    background: rgba(242, 242, 240, 0.97);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s 0.45s;
  }

  .mobile-menu.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.45s var(--ease);
  }

  .mobile-menu__close {
    display: grid;
    place-items: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--green);
    cursor: pointer;
  }

  .mobile-menu__close svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu__nav ul {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
  }

  .mobile-menu__nav li,
  .mobile-menu__info {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  }

  .mobile-menu.is-open li,
  .mobile-menu.is-open .mobile-menu__info {
    opacity: 1;
    transform: none;
  }

  .mobile-menu.is-open li:nth-child(1) {
    transition-delay: 0.12s;
  }

  .mobile-menu.is-open li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .mobile-menu.is-open .mobile-menu__info {
    transition-delay: 0.28s;
  }

  .mobile-menu__nav a {
    display: block;
    padding: 14px 0;
    color: var(--green);
    font-family: var(--font-slab);
    font-size: 23px;
    font-weight: 700;
  }

  .mobile-menu__info {
    margin-top: 48px;
    color: #222;
  }

  .mobile-menu__info h2 {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
  }

  .mobile-menu__info p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.35;
  }

  .mobile-menu__info .mobile-menu__legal {
    margin-top: 40px;
    line-height: 2.2;
  }

  /* Inicio – portada */
  .hero {
    height: auto;
    min-height: 0;
    margin-top: 0;
    overflow: visible;
  }

  .hero__media {
    position: relative;
    inset: auto;
    aspect-ratio: 360 / 190;
    overflow: hidden;
  }

  .hero__card {
    position: static;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 40px 18px 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }

  .hero__title {
    font-size: 23px;
    line-height: 1.3;
  }

  .hero__subtitle {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 400;
  }

  .btn {
    height: 42px;
    margin-top: 28px;
    padding-inline: 20px;
    border-radius: 6px;
    font-size: 15px;
  }

  .scroll-cue {
    display: none;
  }

  /* Inicio – quiénes somos */
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 18px 16px;
  }

  .about__title {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
  }

  .about .rule {
    display: none;
  }

  .about__text {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.25;
  }

  .values {
    gap: 44px;
    margin-top: 56px;
    padding-left: 0;
  }

  .value {
    display: block;
    position: relative;
    padding-left: 26px;
  }

  .value__icon {
    position: absolute;
    left: 6px;
    top: -12px;
    width: 34px;
    min-width: 0;
    color: #c9c9c9;
  }

  .value__title {
    position: relative;
    min-width: 124px;
    border-bottom-width: 2px;
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
  }

  .value__text {
    max-width: none;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.25;
  }

  /* Inicio – CEO */
  .ceo {
    grid-template-columns: 1fr 128px;
    column-gap: 16px;
    align-items: end;
    padding: 56px 18px 40px;
  }

  .ceo__content {
    display: contents;
  }

  .ceo__photo {
    grid-column: 2;
    grid-row: 1 / span 3;
    aspect-ratio: 128 / 120;
  }

  .ceo__eyebrow {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
    font-weight: 500;
  }

  .ceo__name {
    grid-column: 1;
    grid-row: 2;
    font-size: 25px;
  }

  .ceo .rule {
    grid-column: 1;
    grid-row: 3;
    margin-top: 6px;
  }

  .ceo__block,
  .ceo__block + .ceo__block {
    grid-column: 1 / -1;
    margin-top: 22px;
  }

  .ceo .rule + .ceo__block {
    margin-top: 40px;
  }

  .ceo__heading {
    font-size: 20px;
  }

  .ceo__text {
    margin-top: 10px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }

  /* Llamado a la acción y pie */
  .cta,
  .contact .cta {
    padding: 56px 18px 40px;
    background: #fff;
    box-shadow: none;
  }

  .cta__title {
    font-size: 17px;
    line-height: 1.15;
  }

  .cta__subtitle {
    margin-top: 12px;
    font-size: 13px;
  }

  .social {
    gap: 4px;
    margin-top: 10px;
  }

  .social a {
    width: 42px;
    height: 42px;
    padding: 8px;
  }

  .site-footer {
    padding: 32px 26px 56px;
    text-align: left;
  }

  .site-footer__logo {
    width: 112px;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
  }

  .footer-grid > div + div {
    border: 0;
  }

  .footer-grid h2 {
    font-size: 16px;
  }

  .footer-grid p,
  .footer-grid address {
    font-size: 15px;
    line-height: 1.25;
  }

  .site-footer__legal {
    margin-top: 64px;
    font-size: 15px;
    line-height: 2.4;
  }

  .site-footer__legal span {
    display: block;
  }

  /* Contacto */
  .contact-hero {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: var(--green);
  }

  .contact-hero__media {
    position: relative;
    inset: auto;
    aspect-ratio: 360 / 200;
    overflow: hidden;
  }

  .contact-hero__media::after {
    display: none;
  }

  .glass-card {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    margin: -26px 0 0 15px;
    padding: 10px 24px 14px;
    background: rgba(248, 248, 248, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
  }

  .glass-card__lead {
    font-size: 12px;
    font-weight: 400;
  }

  .glass-card__title {
    padding-bottom: 6px;
    border-bottom-width: 2px;
    font-family: var(--font-sans);
    font-size: 15px;
  }

  .contact-body {
    padding-bottom: 64px;
  }

  .panel {
    width: auto;
    max-width: none;
    margin: 24px 16px 0;
    padding: 36px 16px 32px;
    background: #f0f2f0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    text-align: left;
  }

  .panel__title {
    font-size: 25px;
    font-weight: 700;
  }

  .panel__lead {
    margin-top: 40px;
    font-size: 24px;
    line-height: 1.05;
  }

  .panel__lead br,
  .contact-card__title br {
    display: none;
  }

  .panel__note {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.6;
  }

  .contact-cards {
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }

  .contact-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 18px 24px 22px;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    box-shadow: none;
  }

  .contact-card__icon {
    width: 26px;
    opacity: 1;
  }

  .contact-card__title {
    margin-top: 14px;
    font-size: 14px;
  }

  .contact-card__links {
    margin-top: 14px;
    color: #777;
    font-size: 14px;
    font-weight: 400;
  }
}
