/* =========================================================
   SMART POP VISUAL — Stylesheet
   Tipografías: Montserrat (títulos) + Open Sans (cuerpo)
   Colores marca: Verde #93D500 / Gris #7B868C
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
}

/* ---------- 2. DESIGN TOKENS ---------- */

:root {
  /* Colores */
  --verde: #93D500;
  --verde-claro: #EAF3DE;
  --verde-oscuro: #7AB300;
  --gris: #7B868C;
  --gris-oscuro: #5A6166;
  --gris-claro: #F4F4F4;
  --gris-medio: #D5D5D5;
  --negro: #2C2C2C;
  --texto: #555555;
  --texto-muted: #888888;
  --blanco: #FFFFFF;
  --overlay: rgba(30, 30, 30, 0.55);
  --overlay-fuerte: rgba(20, 20, 20, 0.7);
  --overlay-suave: rgba(255, 255, 255, 0.7);

  /* Tipografías */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Spacing y layout */
  --container-max: 1280px;
  --container-pad: 1.5rem;
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Transiciones */
  --t-base: 0.3s ease;
  --t-slow: 0.6s ease;
}

@media (min-width: 768px) {
  :root {
    --container-pad: 2.5rem;
  }
}

/* ---------- 3. UTILIDADES GLOBALES ---------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section--tight {
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 1rem;
  display: inline-block;
}

.eyebrow--light {
  color: var(--verde);
}

.eyebrow--on-dark {
  color: var(--verde);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--negro);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- 4. BOTONES ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--verde);
  color: var(--blanco);
}

.btn--primary:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--gris);
  color: var(--blanco);
}

.btn--secondary:hover {
  background: var(--gris-oscuro);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--blanco);
  border: 1px solid var(--blanco);
}

.btn--ghost-light:hover {
  background: var(--blanco);
  color: var(--verde);
}

.btn--inverse-green {
  background: var(--negro);
  color: var(--verde);
}

.btn--inverse-green:hover {
  background: var(--negro);
  color: var(--blanco);
}

.btn--arrow::after {
  content: "→";
  margin-left: 0.6rem;
  font-size: 1rem;
}

/* ---------- 5. HEADER ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base);
  padding: 1.25rem 0;
}

.header.is-scrolled {
  background: var(--blanco);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco);
  letter-spacing: 0.5px;
  transition: color var(--t-base);
}

.header.is-scrolled .header__logo,
.header.has-light-bg .header__logo {
  color: var(--gris);
}

.header__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-weight: 700;
  border-radius: 2px;
}


.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--blanco);
  position: relative;
  transition: color var(--t-base);
}

.header.is-scrolled .nav__link,
.header.has-light-bg .nav__link {
  color: var(--gris);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--verde) !important;
}

.nav__link.is-external::after {
  content: "↗";
  margin-left: 0.3rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blanco);
  transition: all var(--t-base);
}

.header.is-scrolled .nav-toggle span,
.header.has-light-bg .nav-toggle span {
  background: var(--gris);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--gris);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--gris);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 360px;
  background: var(--blanco);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--t-base);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--negro);
  border-bottom: 1px solid var(--gris-medio);
  transition: color var(--t-base);
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  color: var(--verde);
}

/* ---------- 6. HERO ---------- */

.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: var(--blanco);
  overflow: hidden;
  padding: 8rem 0 4rem;
  border-bottom-left-radius: clamp(140px, 22vw, 300px);
}

.hero--compact {
  min-height: 60vh;
  padding: 9rem 0 4rem;
  border-bottom-right-radius: clamp(110px, 17vw, 240px);
}

.hero--solid {
  background: var(--gris);
  padding: 9rem 0 5rem;
  min-height: 0;
  border-bottom-right-radius: clamp(110px, 17vw, 240px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 3;
}

.hero__title {
  color: var(--blanco);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blanco);
  backdrop-filter: blur(4px);
}



.hero__accent {
  position: absolute;
  top: 40%;
  left: -5px;
  width: 10px;
  height: 130px;
  background: var(--verde);
  transform: translateX(50%);
  z-index: 3;
}

.hero__accent__white {
  position: absolute;
  top: 45%;
  left: -5px;
  width: 10px;
  height: 120px;
  background: var(--blanco);
  transform: translateX(50%);
  z-index: 3;
}

/* ---------- 7. SECCIONES CON LAYOUT ---------- */

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .split--reverse > *:first-child {
    order: 2;
  }
}

/* ---------- 8. BLOQUE "PRODUCTOS HOME" — overlap composition ---------- */

.products-block {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .products-block {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

.products-composition {
  position: relative;
  min-height: 480px;
}

/* Panel gris sólido — arriba, alineado al borde derecho */
.products-composition__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 58%;
  background: var(--gris);
  border-bottom-left-radius: clamp(80px, 13vw, 170px);
}

/* Imagen inferior con corner redondeado (continuidad con el hero) */
.products-composition__image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72%;
  height: 64%;
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: clamp(80px, 13vw, 170px);
  overflow: hidden;
  z-index: 2;
}

/* Velo claro sobre la imagen (opcional — sacar para verla a full color) */
.products-composition__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 244, 244, 0.18);
}

/* Acento verde vertical que asoma por el borde derecho */
.products-composition__accent {
  position: absolute;
  top: 26%;
  right: 1%;
  width: 12px;
  height: 110px;
  background: var(--verde);
  transform: translateX(50%);
  z-index: 3;
}

.products-composition__main {
  position: absolute;
  top: -25%;
  left: 22%;
  width: 100%;
  height: 135%;
  background-size: cover;
  background-position: bottom;
}

@media (max-width: 768px) {
  .products-composition {
    min-height: 400px;
  }
  .products-composition__accent {
    height: 80px;
  }
}


/* ---------- 9. PILLARS — 4 íconos circulares ---------- */

.pillars {
  background: var(--gris-claro);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .pillars__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.pillar {
  text-align: center;
}

.pillar__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--verde-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  transition: background var(--t-base);
}

.pillar:hover .pillar__icon {
  background: var(--verde);
  color: var(--blanco);
}

.pillar__icon svg {
  width: 36px;
  height: 36px;
}

.pillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--negro);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.pillar__desc {
  font-size: 0.875rem;
  color: var(--texto);
}

/* ---------- 10. BLOQUE "SERVICIO INTEGRAL" — composición espejada ---------- */

.service-composition {
  position: relative;
  min-height: 540px;
}

/* Panel gris sólido — arriba, alineado al borde izquierdo */
.service-composition__panel {
  position: absolute;
  top: 20%;
  left: 0;
  width: 80%;
  height: 52%;
  background: var(--gris);
  border-bottom-right-radius: clamp(80px, 13vw, 170px);
}

/* Imagen inferior con corner redondeado a la DERECHA (espejo de productos) */
.service-composition__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 54%;
  background-size: cover;
  background-position: center;
  border-bottom-right-radius: clamp(80px, 13vw, 170px);
  overflow: hidden;
  z-index: 2;
}

/* Velo claro sobre la imagen (opcional — sacar para verla a full color) */
.service-composition__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 244, 244, 0.18);
}

/* Acento verde vertical que asoma por el borde izquierdo */
.service-composition__accent {
  position: absolute;
  top: 44%;
  left: 1%;
  width: 12px;
  height: 120px;
  background: var(--verde);
  transform: translateX(-50%);
  z-index: 3;
}

.service-block__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- 11. LOGOS CLIENTES ---------- */

.clients {
  background: var(--blanco);
  text-align: center;
}

.clients__header {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

@media (min-width: 640px) {
  .clients__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .clients__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.client-logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all var(--t-base);
}

.client-logo img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- 12. BANNER MERCHANDISING ---------- */

.merch-banner {
  background: var(--verde);
  color: var(--blanco);
}

.merch-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .merch-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
  }
}

.merch-banner .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.merch-banner__title {
  color: var(--blanco);
  margin-bottom: 0.5rem;
}

.merch-banner__desc {
  color: rgba(255, 255, 255, 0.95);
  max-width: 480px;
}

/* ---------- 13. CTA FINAL ---------- */

.final-cta {
  position: relative;
  text-align: center;
  color: var(--blanco);
  padding: 6rem 0;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-fuerte);
  z-index: 2;
}

.final-cta__inner {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta__title {
  color: var(--blanco);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.final-cta__lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

/* ---------- 14. FOOTER ---------- */

.footer {
  background: var(--gris);
  color: var(--blanco);
  padding: 4rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer__logo_img {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.footer__about {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--blanco);
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer__list a:hover {
  color: var(--verde);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base);
}

.footer__social a:hover {
  background: var(--verde);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 15. WHATSAPP FLOAT ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--blanco);
}

/* ---------- 16. PÁGINA NOSOTROS ---------- */

.metrics {
  background: var(--blanco);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .metrics__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--verde);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric__label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gris);
  text-transform: uppercase;
}

/* Process timeline */
.process {
  background: var(--gris-claro);
}

.process__steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--blanco);
  padding: 2rem;
  position: relative;
  border-top: 3px solid var(--verde);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.step__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--texto);
}

/* ---------- 17. PÁGINA PRODUCTOS ---------- */

.categories {
  background: var(--blanco);
}

.categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category {
  position: relative;
  overflow: hidden;
  background: var(--gris-claro);
  aspect-ratio: 4 / 3;
  transition: transform var(--t-base);
}

.category:hover {
  transform: translateY(-4px);
}

.category__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--t-slow);
}

.category:hover .category__bg {
  transform: scale(1.05);
}

.category__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

.category__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--blanco);
}

.category__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--blanco);
}

.category__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.category__accent {
  position: absolute;
  top: 65%;
  left: 0;
  width: 15px;
  height: 75px;
  background: var(--verde);
  transform: translateX(-50%);
  z-index: 3;
}

/* Gallery */
.gallery {
  background: var(--gris-claro);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  background: var(--gris-medio);
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gallery__item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--blanco);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- 18. PÁGINA SERVICIOS ---------- */

.services-cards {
  background: var(--blanco);
}

.services-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  background: var(--gris-claro);
  border-left: 3px solid var(--verde);
  transition: background var(--t-base);
}

.service-card:hover {
  background: var(--verde-claro);
}

.service-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--texto);
  margin: 0;
}

/* Tech section */
.tech {
  background: var(--negro);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}

.tech__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.tech__inner {
  position: relative;
  z-index: 2;
}

.tech__title {
  color: var(--blanco);
}

.tech__lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 640px;
}

.tech__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech__capability {
  background: rgba(147, 213, 0, 0.15);
  border: 1px solid var(--verde);
  padding: 0.6rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--verde);
}

/* ---------- 19. PÁGINA CONTACTO ---------- */

.contact-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-block {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
  }
}

.form-title {
  margin-bottom: 1.5rem;
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form__row--cols {
    grid-template-columns: 1fr 1fr;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.5rem;
}

.form__label .req {
  color: var(--verde);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--gris-medio);
  background: var(--blanco);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--negro);
  transition: border-color var(--t-base);
  border-radius: 0;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--verde);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__submit {
  justify-self: start;
  margin-top: 0.5rem;
}

.form__disclaimer {
  font-size: 0.8rem;
  color: var(--texto-muted);
  margin-top: 0.5rem;
}

.form__success {
  display: none;
  padding: 1.25rem;
  background: var(--verde-claro);
  border-left: 3px solid var(--verde);
  color: var(--negro);
  font-size: 0.95rem;
}

.form__success.is-visible {
  display: block;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gris-medio);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--verde-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
}

.contact-info__icon svg {
  width: 18px;
  height: 18px;
}

.contact-info__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--negro);
  font-weight: 500;
}

/* WhatsApp standalone CTA */
.whatsapp-cta {
  background: var(--verde);
  color: var(--blanco);
  text-align: center;
  padding: 4rem 0;
}

.whatsapp-cta .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.whatsapp-cta__title {
  color: var(--blanco);
  margin-bottom: 0.75rem;
}

.whatsapp-cta__lead {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 20. ANIMACIONES ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 21. RESPONSIVE FIXES ---------- */

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  .products-composition {
    min-height: 400px;
  }
  .products-composition__accent,
  .service-composition__accent {
    height: 80px;
  }
  .service-composition {
    min-height: 400px;
  }
}
