/* =========================================================
   PROVEPLUS
   Design System / Main CSS
   Version: 1.1 — cleaned
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {

  /* -----------------------------------------
     Brand Colors
     ----------------------------------------- */

  --color-primary: #0875C9;
  --color-primary-dark: #075A9B;
  --color-primary-deep: #063A66;
  --color-primary-soft: #EAF5FC;

  --color-accent: #FFD51E;
  --color-accent-hover: #F2C900;
  --color-accent-soft: #FFF8D6;

  /* -----------------------------------------
     Neutral Colors
     ----------------------------------------- */

  --color-white: #FFFFFF;

  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;

  --color-black: #111111;

  /* -----------------------------------------
     Semantic Colors
     ----------------------------------------- */

  --color-text: var(--color-gray-900);
  --color-text-soft: var(--color-gray-600);
  --color-text-light: var(--color-gray-500);

  --color-background: var(--color-white);
  --color-background-soft: var(--color-gray-50);

  --color-border: var(--color-gray-200);

  --color-success: #198754;
  --color-warning: #F59E0B;
  --color-error: #DC2626;

  /* WhatsApp */

  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;


  /* =========================================================
     TYPOGRAPHY
     ========================================================= */

  /*
   * Primera versión:
   * sistema tipográfico nativo para máximo rendimiento.
   *
   * Posteriormente podemos incorporar una fuente corporativa
   * local mediante @font-face.
   */

  --font-primary:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  --font-display: var(--font-primary);

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 800;


  /* =========================================================
     FLUID TYPE SCALE
     ========================================================= */

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;

  --text-xl: clamp(1.20rem, 1.1rem + 0.5vw, 1.50rem);

  --text-2xl: clamp(1.50rem, 1.25rem + 1vw, 2rem);

  --text-3xl: clamp(1.85rem, 1.4rem + 2vw, 2.75rem);

  --text-4xl: clamp(2.25rem, 1.6rem + 3vw, 4rem);

  --text-hero: clamp(2.6rem, 1.8rem + 4vw, 5.25rem);


  /* =========================================================
     LINE HEIGHT
     ========================================================= */

  --leading-tight: 1.05;
  --leading-heading: 1.12;
  --leading-normal: 1.6;


  /* =========================================================
     SPACING SYSTEM
     ========================================================= */

  --space-1: 0.25rem;
  --space-2: 0.50rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.50rem;
  --space-8: 2rem;
  --space-10: 2.50rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --section-space:
    clamp(4rem, 7vw, 7.5rem);


  /* =========================================================
     CONTAINERS
     ========================================================= */

  --container-sm: 720px;
  --container-md: 960px;
  --container-lg: 1200px;
  --container-xl: 1360px;

  --container-padding:
    clamp(1.25rem, 4vw, 3rem);


  /* =========================================================
     BORDER RADIUS
     ========================================================= */

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;


  /* =========================================================
     SHADOWS
     ========================================================= */

  --shadow-sm:
    0 2px 8px rgba(15, 23, 42, 0.06);

  --shadow-md:
    0 10px 30px rgba(15, 23, 42, 0.08);

  --shadow-lg:
    0 24px 60px rgba(15, 23, 42, 0.12);


  /* =========================================================
     MOTION
     ========================================================= */

  --transition-fast: 160ms ease;
  --transition-base: 260ms ease;
  --transition-slow: 500ms ease;

}


/* =========================================================
   02. RESET
   ========================================================= */

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

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

body {
  margin: 0;

  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);

  color: var(--color-text);
  background: var(--color-background);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  margin-top: 0;
}


/* =========================================================
   03. ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);

  z-index: 9999;

  padding: var(--space-3) var(--space-5);

  color: var(--color-white);
  background: var(--color-primary-deep);

  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: var(--space-4);
}


/* =========================================================
   04. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;

  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);

  line-height: var(--leading-heading);
  letter-spacing: -0.025em;

  color: var(--color-text);
}

h1 {
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

.text-lead {
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  max-width: 65ch;
}

.text-small {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--color-text-soft);
}


/* =========================================================
   05. CONTAINERS
   ========================================================= */

.container {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-lg)
  );

  margin-inline: auto;
}

.container--wide {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-xl)
  );

  margin-inline: auto;
}

.container--small {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-sm)
  );

  margin-inline: auto;
}


/* =========================================================
   06. SECTIONS
   ========================================================= */

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

.section--soft {
  background: var(--color-background-soft);
}

.section--blue {
  color: var(--color-white);
  background: var(--color-primary-deep);
}

.section--yellow {
  background: var(--color-accent);
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .text-lead {
  margin-inline: auto;
}


/* =========================================================
   07. EYEBROWS / LABELS
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);

  margin-bottom: var(--space-4);

  color: var(--color-primary);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";

  width: 8px;
  height: 8px;

  background: var(--color-accent);

  border-radius: 50%;
}


/* =========================================================
   08. RESPONSIVE GRID
   ========================================================= */

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
}


/* Mobile first */

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}


/* Tablet */

@media (min-width: 640px) {

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

}


/* Laptop */

@media (min-width: 900px) {

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

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

}


/* =========================================================
   09. FLEX UTILITIES
   ========================================================= */

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

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

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}


/* =========================================================
   10. BUTTON SYSTEM
   ========================================================= */

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

  min-height: 48px;

  gap: var(--space-3);

  padding:
    0.85rem
    1.4rem;

  border: 2px solid transparent;
  border-radius: var(--radius-md);

  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);

  line-height: 1;

  text-decoration: none;

  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

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


/* Primary */

.btn--primary {
  color: var(--color-black);
  background: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-sm);
}


/* Blue */

.btn--blue {
  color: var(--color-white);
  background: var(--color-primary);
}

.btn--blue:hover {
  background: var(--color-primary-dark);
}


/* Outline */

.btn--outline {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}

.btn--outline:hover {
  color: var(--color-white);
  background: var(--color-primary);
}


/* Dark */

.btn--dark {
  color: var(--color-white);
  background: var(--color-gray-900);
}

.btn--dark:hover {
  background: var(--color-black);
}


/* WhatsApp */

.btn--whatsapp {
  color: var(--color-white);
  background: var(--color-whatsapp);
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-hover);
}


/* =========================================================
   11. CARDS
   ========================================================= */

.card {
  position: relative;

  overflow: hidden;

  background: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

@media (hover: hover) {

  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
  }

}

.card__body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.card__media {
  overflow: hidden;
}

.card__media img {
  width: 100%;

  transition:
    transform var(--transition-slow);
}

@media (hover: hover) {

  .card:hover .card__media img {
    transform: scale(1.035);
  }

}


/* =========================================================
   12. CATEGORY CARDS
   ========================================================= */

.category-card {
  display: flex;
  flex-direction: column;

  height: 100%;

  color: var(--color-text);

  text-decoration: none;
}

.category-card__media {
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: var(--color-gray-100);
}

.category-card__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform var(--transition-slow);
}

.category-card__content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-4);

  padding: var(--space-5);
}

.category-card__title {
  margin: 0;

  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
}

.category-card__arrow {
  transition:
    transform var(--transition-fast);
}

@media (hover: hover) {

  .category-card:hover .category-card__media img {
    transform: scale(1.04);
  }

  .category-card:hover .category-card__arrow {
    transform: translateX(5px);
  }

}


/* =========================================================
   13. FORM ELEMENTS
   ========================================================= */

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

.form-label {
  display: block;

  margin-bottom: var(--space-2);

  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.form-control {
  width: 100%;
  min-height: 50px;

  padding:
    0.8rem
    1rem;

  color: var(--color-text);
  background: var(--color-white);

  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);

  outline: none;

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

textarea.form-control {
  min-height: 140px;

  resize: vertical;
}

.form-control:focus {
  border-color: var(--color-primary);

  box-shadow:
    0 0 0 4px
    rgba(8, 117, 201, 0.12);
}

.form-control::placeholder {
  color: var(--color-gray-400);
}


/* =========================================================
   14. LINKS
   ========================================================= */

.link-arrow {
  display: inline-flex;
  align-items: center;

  gap: var(--space-2);

  color: var(--color-primary);

  font-weight: var(--font-weight-bold);

  text-decoration: none;
}

.link-arrow__icon {
  transition:
    transform var(--transition-fast);
}

@media (hover: hover) {

  .link-arrow:hover .link-arrow__icon {
    transform: translateX(5px);
  }

}


/* =========================================================
   15. IMAGE HELPERS
   ========================================================= */

.img-cover {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.img-contain {
  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* =========================================================
   16. VISIBILITY UTILITIES
   ========================================================= */

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 900px) {

  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

}


/* =========================================================
   17. SCROLL REVEAL
   Progressive enhancement
   ========================================================= */

/*
 * Por defecto TODO el contenido es visible.
 * Si JavaScript falla, nada desaparece.
 */

.reveal {
  opacity: 1;
  transform: none;
}


/*
 * Solo ocultamos elementos cuando JavaScript
 * confirma que el sistema de reveal está activo.
 */

.js-reveal-ready .reveal {
  opacity: 0;

  transform:
    translateY(18px);

  transition:
    opacity 550ms ease,
    transform 550ms ease;
}


/*
 * IntersectionObserver agrega esta clase
 * cuando el elemento entra al viewport.
 */

.js-reveal-ready
.reveal.is-visible {
  opacity: 1;

  transform: none;
}


/*
 * Accesibilidad:
 * sin animaciones si el usuario así lo solicita.
 */

@media (prefers-reduced-motion: reduce) {

  .js-reveal-ready .reveal,
  .js-reveal-ready .reveal.is-visible {
    opacity: 1;

    transform: none;

    transition: none;
  }

}


/* =========================================================
   18. SCREEN READER ONLY
   ========================================================= */

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* =========================================================
   19. MOBILE ADJUSTMENTS
   ========================================================= */

@media (max-width: 639px) {

  /*
   * Catálogo:
   * permite tarjetas compactas de dos columnas.
   */

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

    gap: var(--space-3);
  }

  .category-card__content {
    padding: var(--space-4);
  }

  .category-card__title {
    font-size: var(--text-sm);
  }

  /*
   * CTAs principales ocupan todo el ancho
   * cuando se utilice esta clase.
   */

  .btn--mobile-full {
    width: 100%;
  }

}


/* =========================================================
   20. REDUCED MOTION
   ========================================================= */

@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;

    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

/* =========================================================
   21. TOP BAR
   ========================================================= */

.topbar {
  color: var(--color-white);
  background: var(--color-gray-900);

  font-size: var(--text-xs);
}

.topbar__inner {
  min-height: 38px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-6);
}

.topbar__coverage,
.topbar__contact,
.topbar__contact a {
  display: flex;
  align-items: center;
}

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

.topbar__icon {
  color: var(--color-accent);
}

.topbar__contact {
  gap: var(--space-6);
}

.topbar__contact a {
  gap: var(--space-2);

  color: var(--color-white);

  text-decoration: none;

  opacity: .9;

  transition:
    opacity var(--transition-fast);
}

.topbar__contact a:hover {
  opacity: 1;
}


/* =========================================================
   22. SITE HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 255, 255, .98);

  border-bottom:
    1px solid rgba(15, 23, 42, .08);

  transition:
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}


/* =========================================================
   23. HEADER INNER
   ========================================================= */

.site-header__inner {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;

  min-height: 78px;

  gap: 1rem;
}


/* =========================================================
   24. LOGO
   ========================================================= */

.site-logo {
  display: flex;
  align-items: center;

  flex: 0 0 auto;

  margin: 0;

  text-decoration: none;
}

.site-logo img {
  display: block;

  width: 155px;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   25. DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav {
  display: none;

  flex: 1 1 auto;

  min-width: 0;
}

.desktop-nav__list {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: clamp(.2rem, .65vw, .75rem);

  margin: 0;
  padding: 0;

  list-style: none;
}

.desktop-nav__list > li > a,
.desktop-nav__trigger {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding:
    .5rem
    clamp(.4rem, .6vw, .7rem);

  gap: .35rem;

  color: var(--color-gray-900);

  background: transparent;

  border: 0;

  font-family: inherit;

  font-size: .875rem;

  font-weight: 600;

  line-height: 1;

  white-space: nowrap;

  text-decoration: none;

  cursor: pointer;

  transition:
    color var(--transition-fast);
}

.desktop-nav__list > li > a:hover,
.desktop-nav__trigger:hover {
  color: var(--color-primary);
}


.nav-chevron {
  display: inline-flex;

  align-items: center;

  font-size: .72rem;

  line-height: 1;

  transition:
    transform var(--transition-fast);
}

.has-megamenu.is-open
.nav-chevron {
  transform: rotate(180deg);
}


/* =========================================================
   26. MEGA MENU
   ========================================================= */

.has-megamenu {
  position: static;
}

.megamenu {
  position: absolute;

  top: 100%;

  right: 0;
  left: 0;

  visibility: hidden;

  opacity: 0;

  pointer-events: none;

  transform: translateY(8px);

  background: #ffffff;

  border-top:
    1px solid var(--color-gray-100);

  border-radius:
    0
    0
    var(--radius-lg)
    var(--radius-lg);

  box-shadow:
    0 22px 55px rgba(15, 23, 42, .12);

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.has-megamenu.is-open
.megamenu {
  visibility: visible;

  opacity: 1;

  pointer-events: auto;

  transform: translateY(0);
}


.megamenu__inner {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr))
    minmax(230px, 1.1fr);

  gap: clamp(1.5rem, 3vw, 3rem);

  padding:
    clamp(2rem, 4vw, 3.5rem);
}


.megamenu__column {
  display: flex;

  flex-direction: column;

  gap: .35rem;
}


.megamenu__label {
  margin-bottom: .75rem;

  color: var(--color-primary);

  font-size: .75rem;

  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;
}


.megamenu__column a {
  padding-block: .4rem;

  color: var(--color-gray-700);

  font-size: .875rem;

  text-decoration: none;

  transition:
    color 160ms ease,
    transform 160ms ease;
}

.megamenu__column a:hover {
  color: var(--color-primary);

  transform: translateX(4px);
}


.megamenu__featured {
  padding: 1.5rem;

  background: var(--color-gray-50);

  border-radius: var(--radius-lg);
}


/* =========================================================
   27. DESKTOP CTA
   ========================================================= */

.site-header__cta {
  display: none;

  flex: 0 0 auto;

  min-height: 44px;

  padding:
    .75rem
    1.25rem;

  background: var(--color-accent);

  color: var(--color-black);

  border:
    1px solid var(--color-accent);

  border-radius: var(--radius-md);

  font-size: .875rem;

  font-weight: 700;

  line-height: 1;

  text-decoration: none;

  white-space: nowrap;

  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

.site-header__cta:hover {
  background: var(--color-accent-hover);

  color: var(--color-black);

  transform: translateY(-1px);
}


/* =========================================================
   28. HAMBURGER
   ========================================================= */

.menu-toggle {
  position: relative;

  z-index: 5001;

  display: flex;

  flex: 0 0 46px;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  margin-left: auto;

  padding: 0;

  background: transparent;

  border: 0;

  cursor: pointer;
}


.menu-toggle__line {
  display: block;

  width: 26px;
  height: 2px;

  margin: 3px 0;

  background: var(--color-primary-deep);

  border-radius: 999px;

  transition:
    transform 250ms ease,
    opacity 200ms ease;
}


.menu-toggle.is-active
.menu-toggle__line:nth-child(1) {
  transform:
    translateY(8px)
    rotate(45deg);
}

.menu-toggle.is-active
.menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active
.menu-toggle__line:nth-child(3) {
  transform:
    translateY(-8px)
    rotate(-45deg);
}


/* =========================================================
   29. MOBILE NAVIGATION
   ========================================================= */

.mobile-nav {
  position: fixed;

  top: var(--mobile-header-offset, 112px);

  right: 0;
  bottom: 0;
  left: 0;

  z-index: 5000;

  display: block;

  width: 100%;

  margin: 0;

  padding: 0;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;

  background: #ffffff;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transform: translateX(100%);

  transition:
    transform 280ms ease,
    opacity 220ms ease,
    visibility 280ms ease;
}


.mobile-nav.is-open {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateX(0);
}


/*
 * MUY IMPORTANTE:
 * el contenido móvil siempre es una columna.
 */

.mobile-nav__inner {
  display: flex;

  flex-direction: column;

  align-items: stretch;

  width: 100%;

  max-width: 720px;

  min-height: 100%;

  margin: 0 auto;

  padding:
    1.25rem
    1.5rem
    3rem;
}


/* enlaces principales */

.mobile-nav__link,
.mobile-nav__trigger {
  display: flex;

  flex: 0 0 auto;

  align-items: center;
  justify-content: space-between;

  width: 100%;

  min-height: 58px;

  margin: 0;

  padding:
    .95rem
    0;

  color: var(--color-gray-900);

  background: transparent;

  border: 0;

  border-bottom:
    1px solid var(--color-gray-200);

  font-family: inherit;

  font-size: 1rem;

  font-weight: 600;

  line-height: 1.3;

  text-align: left;

  text-decoration: none;

  cursor: pointer;
}


/* grupos */

.mobile-nav__group {
  display: block;

  flex: 0 0 auto;

  width: 100%;

  margin: 0;

  border: 0;
}


.mobile-nav__group
.mobile-nav__trigger {
  border-bottom:
    1px solid var(--color-gray-200);
}


/* + */

.mobile-nav__trigger span {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  margin-left: 1rem;

  color: var(--color-primary-deep);

  font-size: 1.3rem;

  font-weight: 500;

  line-height: 1;

  transition:
    transform 200ms ease;
}


.mobile-nav__group.is-open
.mobile-nav__trigger span {
  transform: rotate(45deg);
}


/* =========================================================
   30. MOBILE SUBMENUS
   ========================================================= */

.mobile-nav__submenu {
  display: none;

  width: 100%;

  margin: 0;

  padding:
    .35rem
    0
    .75rem;

  background:
    var(--color-gray-50);

  border-bottom:
    1px solid var(--color-gray-200);
}


.mobile-nav__group.is-open
.mobile-nav__submenu {
  display: block;
}


.mobile-nav__submenu a {
  display: block;

  width: 100%;

  padding:
    .72rem
    1rem;

  color: var(--color-gray-600);

  font-size: .9rem;

  font-weight: 500;

  line-height: 1.4;

  text-decoration: none;
}


.mobile-nav__submenu a:hover {
  color: var(--color-primary);
}


/* CTA */

.mobile-nav__cta {
  display: block;

  width: 100%;

  padding-top: 1.25rem;
}


.mobile-nav__cta .btn {
  display: flex;

  width: 100%;

  min-height: 54px;

  align-items: center;
  justify-content: center;

  background:
    var(--color-accent);

  color:
    var(--color-black);

  border-color:
    var(--color-accent);

  font-weight: 700;
}


body.menu-open {
  overflow: hidden;
}


/* =========================================================
   30.1 MOBILE HEADER
   ========================================================= */

@media (max-width: 899px) {

  .site-header__inner {
    min-height: 78px;
  }

  .site-logo img {
    width: 150px;
  }


  /*
   * Topbar simplificada:
   * solamente teléfono.
   */

  .topbar__inner {
    justify-content: center;

    min-height: 36px;
  }

  .topbar__coverage {
    display: none;
  }

  .topbar__contact {
    width: 100%;

    justify-content: center;

    gap: 0;
  }

  .topbar__contact a {
    font-size: .8rem;
  }

  .topbar__contact a:last-child {
    display: none;
  }

}


/* teléfonos pequeños */

@media (max-width: 420px) {

  .site-logo img {
    width: 140px;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .mobile-nav__inner {
    padding:
      1rem
      1.25rem
      2.5rem;
  }

}


/* =========================================================
   30.2 DESKTOP HEADER
   ========================================================= */

@media (min-width: 900px) {

  .site-header__inner {
    width: calc(100% - 64px);

    max-width: 1440px;

    min-height: 84px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 0;
    padding-right: 0;

    gap: clamp(1.25rem, 2vw, 2.5rem);
  }


  .site-logo {
    flex: 0 0 175px;
  }

  .site-logo img {
    width: 175px;
  }


  .desktop-nav {
    display: block;

    flex: 1 1 auto;
  }


  .desktop-nav__list {
    justify-content: center;

    gap: clamp(
      .25rem,
      .75vw,
      .85rem
    );
  }


  .site-header__cta {
    display: inline-flex;

    flex: 0 0 auto;

    margin-left: auto;
  }


  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

}

/* =========================================================
   31. PRE-FOOTER CTA
   ========================================================= */

.footer-cta {
  position: relative;

  overflow: hidden;

  color: var(--color-white);

  background:
    var(--color-primary);
}

.footer-cta::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -180px;
  top: -220px;

  background:
    rgba(255, 213, 30, .12);

  border-radius: 50%;

  pointer-events: none;
}

.footer-cta__inner {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns: 1fr;

  gap: var(--space-8);

  align-items: center;

  padding-block:
    clamp(3rem, 6vw, 5rem);
}

.footer-cta__eyebrow {
  display: block;

  margin-bottom: var(--space-3);

  color: var(--color-accent);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);

  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 720px;

  margin-bottom: var(--space-4);

  color: var(--color-white);

  font-size:
    clamp(2rem, 4vw, 3.6rem);
}

.footer-cta__content p {
  max-width: 680px;

  margin: 0;

  color:
    rgba(255,255,255,.82);

  font-size: var(--text-lg);
}

.footer-cta__actions {
  display: flex;

  flex-direction: column;

  gap: var(--space-3);
}

.footer-cta__whatsapp {
  color: var(--color-white);

  background: transparent;

  border-color:
    rgba(255,255,255,.45);
}

.footer-cta__whatsapp:hover {
  color: var(--color-white);

  background: var(--color-whatsapp);

  border-color: var(--color-whatsapp);
}


/* =========================================================
   32. MAIN FOOTER
   ========================================================= */

.site-footer {
  color:
    rgba(255,255,255,.75);

  background: var(--color-gray-900);
}

.site-footer__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap:
    var(--space-10)
    var(--space-8);

  padding-block:
    clamp(3.5rem, 7vw, 6rem);
}


/* =========================================================
   33. FOOTER BRAND
   ========================================================= */

.site-footer__brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-flex;

  margin-bottom: var(--space-6);
}

.footer-logo img {
  width: 190px;
  height: auto;

  /*
   * Si el logo definitivo no funciona
   * sobre fondo oscuro, crearemos una
   * variante blanca específica.
   */
}

.site-footer__brand p {
  max-width: 36ch;

  color:
    rgba(255,255,255,.65);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;

  gap: var(--space-3);

  margin-top: var(--space-6);
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;

  gap: var(--space-3);

  color: var(--color-white);

  font-size: var(--text-sm);

  text-decoration: none;

  transition:
    color var(--transition-fast);
}

.site-footer__contact svg {
  flex: 0 0 auto;

  color: var(--color-accent);
}

.site-footer__contact a:hover {
  color: var(--color-accent);
}


/* =========================================================
   34. FOOTER COLUMNS
   ========================================================= */

.site-footer__column h3 {
  margin-bottom: var(--space-5);

  color: var(--color-white);

  font-size: var(--text-base);

  letter-spacing: 0;
}

.site-footer__column ul {
  padding: 0;
  margin: 0;

  list-style: none;
}

.site-footer__column li + li {
  margin-top: .65rem;
}

.site-footer__column a {
  color:
    rgba(255,255,255,.65);

  font-size: var(--text-sm);

  text-decoration: none;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.site-footer__column a:hover {
  color: var(--color-white);
}


/* =========================================================
   35. COVERAGE
   ========================================================= */

.site-footer__coverage p {
  color:
    rgba(255,255,255,.6);

  font-size: var(--text-sm);
}

.coverage-list {
  display: flex;

  flex-wrap: wrap;

  gap: .5rem;
}

.coverage-list li {
  margin: 0 !important;

  padding:
    .35rem
    .65rem;

  color:
    rgba(255,255,255,.78);

  background:
    rgba(255,255,255,.07);

  border:
    1px solid
    rgba(255,255,255,.08);

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

  font-size: var(--text-xs);
}

.footer-coverage-link {
  display: inline-flex;

  align-items: center;

  gap: var(--space-2);

  margin-top: var(--space-5);

  color:
    var(--color-accent) !important;

  font-weight:
    var(--font-weight-semibold);
}


/* =========================================================
   36. TRUST BAR
   ========================================================= */

.footer-trust {
  display: grid;

  grid-template-columns: 1fr;

  border-top:
    1px solid rgba(255,255,255,.1);

  border-bottom:
    1px solid rgba(255,255,255,.1);
}

.footer-trust__item {
  padding:
    var(--space-5)
    0;

  border-bottom:
    1px solid rgba(255,255,255,.08);
}

.footer-trust__item:last-child {
  border-bottom: 0;
}

.footer-trust__item strong {
  display: block;

  margin-bottom: .2rem;

  color: var(--color-white);

  font-size: var(--text-sm);
}

.footer-trust__item span {
  color:
    rgba(255,255,255,.55);

  font-size: var(--text-xs);
}


/* =========================================================
   37. FOOTER BOTTOM
   ========================================================= */

.site-footer__bottom {
  display: flex;

  flex-direction: column;

  gap: var(--space-4);

  padding-block:
    var(--space-6);

  color:
    rgba(255,255,255,.45);

  font-size: var(--text-xs);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;

  flex-wrap: wrap;

  gap: var(--space-5);
}

.site-footer__legal a {
  color:
    rgba(255,255,255,.55);

  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--color-white);
}


/* =========================================================
   38. FLOATING WHATSAPP
   ========================================================= */

.floating-whatsapp {
  position: fixed;

  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);

  z-index: 900;

  min-height: 52px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: .55rem;

  padding:
    .8rem
    1rem;

  color: var(--color-white);

  background: var(--color-whatsapp);

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

  box-shadow:
    0 12px 30px
    rgba(0,0,0,.18);

  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);

  text-decoration: none;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.floating-whatsapp:hover {
  transform:
    translateY(-3px);

  background:
    var(--color-whatsapp-hover);

  box-shadow:
    0 16px 36px
    rgba(0,0,0,.22);
}


/* =========================================================
   39. FOOTER RESPONSIVE
   ========================================================= */

@media (min-width: 640px) {

  .footer-cta__actions {
    flex-direction: row;

    flex-wrap: wrap;
  }

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

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

  .footer-trust__item {
    padding:
      var(--space-5);

    border-bottom:
      1px solid rgba(255,255,255,.08);
  }

}


@media (min-width: 900px) {

  .footer-cta__inner {
    grid-template-columns:
      minmax(0, 1.5fr)
      minmax(320px, .5fr);
  }

  .footer-cta__actions {
    justify-content: flex-end;
  }

  .site-footer__grid {
    grid-template-columns:
      minmax(280px, 1.4fr)
      repeat(3, minmax(150px, .7fr));
  }

  .footer-trust {
    grid-template-columns:
      repeat(4, minmax(0,1fr));
  }

  .footer-trust__item {
    border-bottom: 0;

    border-right:
      1px solid rgba(255,255,255,.08);
  }

  .footer-trust__item:first-child {
    padding-left: 0;
  }

  .footer-trust__item:last-child {
    border-right: 0;
  }

  .site-footer__bottom {
    flex-direction: row;

    justify-content: space-between;

    align-items: center;
  }

}


@media (max-width: 639px) {

  .floating-whatsapp {
    width: 54px;
    height: 54px;

    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }

}


/* =========================================================
   REUSABLE COMPONENTS
   WhatsApp · CTA Banner · Quote Form
   ========================================================= */


/* ---------------------------------------------------------
   CTA BANNER
   --------------------------------------------------------- */

.cta-banner {
  padding-block:
    clamp(3rem, 6vw, 5.5rem);
}

.cta-banner__inner {
  position: relative;

  display: grid;

  gap: var(--space-8);

  overflow: hidden;

  padding:
    clamp(2rem, 5vw, 4.5rem);

  background:
    linear-gradient(
      135deg,
      var(--color-primary-deep),
      var(--color-primary)
    );

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}


.cta-banner__inner::after {
  content: "";

  position: absolute;

  width: 280px;
  height: 280px;

  right: -100px;
  bottom: -170px;

  border:
    55px solid rgba(255, 255, 255, .06);

  border-radius: 50%;

  pointer-events: none;
}


.cta-banner__content {
  position: relative;

  z-index: 1;

  max-width: 720px;
}


.cta-banner__eyebrow {
  color: var(--color-accent);
}


.cta-banner__title {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);

  color: var(--color-white);
}


.cta-banner__text {
  max-width: 650px;

  margin: 0;

  color: rgba(255, 255, 255, .78);

  font-size: var(--text-lg);
}


.cta-banner__actions {
  position: relative;

  z-index: 1;

  display: flex;

  flex-direction: column;

  gap: var(--space-3);
}


.cta-banner__actions .btn {
  width: 100%;
}


.cta-banner__whatsapp {
  color: var(--color-white);

  background: transparent;

  border:
    1px solid rgba(255, 255, 255, .4);
}


.cta-banner__whatsapp:hover {
  color: var(--color-primary-deep);

  background: var(--color-white);

  border-color: var(--color-white);
}


/* ---------------------------------------------------------
   QUOTE SECTION
   --------------------------------------------------------- */

.quote-section {
  padding-block:
    clamp(4rem, 8vw, 7rem);

  background: var(--color-gray-50);
}


.quote-layout {
  display: grid;

  gap:
    clamp(2.5rem, 6vw, 6rem);

  align-items: start;
}


.quote-content {
  max-width: 620px;
}


.quote-content h2 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}


.quote-content > p {
  color: var(--color-text-soft);

  font-size: var(--text-lg);
}


.quote-content__support {
  margin-top: var(--space-8);

  padding-top: var(--space-6);

  border-top:
    1px solid var(--color-gray-200);
}


.quote-content__support strong {
  display: block;

  margin-bottom: var(--space-2);

  color: var(--color-gray-900);

  font-size: var(--text-lg);
}


.quote-content__support p {
  margin-bottom: var(--space-5);

  color: var(--color-text-soft);
}


/* ---------------------------------------------------------
   QUOTE FORM
   --------------------------------------------------------- */

.quote-form-wrap {
  padding:
    clamp(1.5rem, 4vw, 2.5rem);

  background: var(--color-white);

  border:
    1px solid var(--color-gray-200);

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-md);
}


.quote-form {
  width: 100%;
}


.quote-form__submit {
  width: 100%;

  margin-top: var(--space-6);
}


.quote-form__note {
  margin-top: var(--space-3);
  margin-bottom: 0;

  color: var(--color-gray-500);

  font-size: var(--text-xs);

  text-align: center;
}


/* ---------------------------------------------------------
   PRIVACY
   --------------------------------------------------------- */

.form-consent {
  display: flex;

  align-items: flex-start;

  gap: .75rem;

  margin-top: var(--space-5);

  color: var(--color-gray-600);

  font-size: var(--text-sm);

  line-height: 1.5;

  cursor: pointer;
}


.form-consent input {
  flex: 0 0 auto;

  width: 18px;
  height: 18px;

  margin-top: .15rem;

  accent-color: var(--color-primary);
}


.form-consent a {
  color: var(--color-primary);

  font-weight: var(--font-weight-semibold);
}


/* ---------------------------------------------------------
   HONEYPOT
   --------------------------------------------------------- */

.form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  white-space: nowrap !important;

  pointer-events: none !important;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (min-width: 700px) {

  .cta-banner__actions {
    flex-direction: row;
  }

  .cta-banner__actions .btn {
    width: auto;
  }

}


@media (min-width: 900px) {

  .cta-banner__inner {
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    align-items: center;
  }


  .cta-banner__actions {
    justify-content: flex-end;
  }


  .quote-layout {
    grid-template-columns:
      minmax(0, .8fr)
      minmax(460px, 1.2fr);
  }

}


/* =========================================================
   40. HOME HERO
   ========================================================= */

.home-hero {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #ffffff 58%,
      var(--color-primary-soft) 100%
    );
}

.home-hero__grid {
  min-height: min(760px, calc(100vh - 120px));

  display: grid;
  grid-template-columns: 1fr;

  align-items: center;

  gap: clamp(2.5rem, 6vw, 6rem);

  padding-block:
    clamp(3rem, 7vw, 6.5rem);
}

.home-hero__content {
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  max-width: 880px;

  margin-bottom: var(--space-6);
}

.home-hero h1 span {
  display: block;

  color: var(--color-primary);
}

.home-hero__lead {
  max-width: 680px;

  margin-bottom: var(--space-8);

  color: var(--color-text-soft);

  font-size:
    clamp(1.05rem, 1rem + .4vw, 1.3rem);
}

.home-hero__actions {
  display: flex;
  flex-direction: column;

  gap: var(--space-3);

  margin-bottom: var(--space-8);
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;

  gap:
    var(--space-3)
    var(--space-6);

  color: var(--color-gray-600);

  font-size: var(--text-sm);
}

.home-hero__trust span::first-letter {
  color: var(--color-primary);
}


/* Hero visual */

.home-hero__visual {
  position: relative;

  min-height: 380px;

  overflow: hidden;

  border-radius:
    var(--radius-xl);

  background:
    var(--color-gray-100);
}

.home-hero__visual picture,
.home-hero__visual img {
  width: 100%;
  height: 100%;
}

.home-hero__visual img {
  position: absolute;

  inset: 0;

  object-fit: cover;
}

.home-hero__visual::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(6,58,102,.55) 100%
    );

  pointer-events: none;
}

.home-hero__badge {
  position: absolute;

  z-index: 2;

  left: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);

  padding: var(--space-5);

  /* Glassmorphism */
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .26),
      rgba(255, 255, 255, .12)
    );

  border:
    1px solid rgba(255, 255, 255, .38);

  border-radius: var(--radius-lg);

  -webkit-backdrop-filter:
    blur(16px) saturate(140%);

  backdrop-filter:
    blur(16px) saturate(140%);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, .14),
    inset 0 1px 0 rgba(255, 255, 255, .22);

  color: var(--color-white);
}

.home-hero__badge span {
  display: block;

  margin-bottom: .35rem;

  color: var(--color-accent);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);

  letter-spacing: .12em;
}

.home-hero__badge strong {
  display: block;

  max-width: 350px;

  color: var(--color-white);

  font-size: var(--text-xl);
  line-height: var(--leading-heading);

  text-shadow:
    0 2px 12px rgba(0, 0, 0, .22);
}


/* =========================================================
   41. HOME BENEFITS
   ========================================================= */

.home-benefits {
  position: relative;

  z-index: 3;

  background: var(--color-white);

  border-bottom:
    1px solid var(--color-border);
}

.home-benefits__grid {
  display: grid;

  grid-template-columns: 1fr;
}

.home-benefit {
  display: flex;

  align-items: flex-start;

  gap: var(--space-4);

  padding:
    var(--space-6)
    0;

  border-bottom:
    1px solid var(--color-border);
}

.home-benefit:last-child {
  border-bottom: 0;
}

.home-benefit__icon {
  flex: 0 0 48px;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  color: var(--color-primary);

  background:
    var(--color-primary-soft);

  border-radius:
    var(--radius-md);
}

.home-benefit strong {
  display: block;

  margin-bottom: .25rem;

  color: var(--color-gray-900);

  font-size: var(--text-sm);
}

.home-benefit span {
  display: block;

  color: var(--color-text-soft);

  font-size: var(--text-xs);
}


/* =========================================================
   42. HOME SECTION HEADINGS
   ========================================================= */

.home-section-heading {
  display: flex;

  flex-direction: column;

  gap: var(--space-5);
}

.home-section-heading h2 {
  max-width: 760px;

  margin-bottom: 0;
}

.home-section-heading .text-lead {
  margin-bottom: 0;
}


/* =========================================================
   43. HOME CATALOG
   ========================================================= */

.home-catalog {
  background: var(--color-white);
}

.home-catalog__mobile-link {
  margin-top: var(--space-8);
}


/* =========================================================
   44. OPERATION FINDER
   ========================================================= */

.home-finder {
  padding-top: 0;
}

.home-finder__box {
  position: relative;

  overflow: hidden;

  display: grid;

  grid-template-columns: 1fr;

  gap: clamp(2rem, 5vw, 5rem);

  padding:
    clamp(2rem, 5vw, 5rem);

  color: var(--color-white);

  background:
    var(--color-primary-deep);

  border-radius:
    var(--radius-xl);
}

.home-finder__box::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -240px;
  top: -250px;

  background:
    rgba(255,213,30,.12);

  border-radius: 50%;

  pointer-events: none;
}

.home-finder__intro {
  position: relative;
  z-index: 1;
}

.home-finder__intro .eyebrow {
  color: var(--color-accent);
}

.home-finder__intro h2 {
  color: var(--color-white);
}

.home-finder__intro p {
  max-width: 520px;

  margin: 0;

  color:
    rgba(255,255,255,.7);
}

.home-finder__options {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
}

.home-finder__options a {
  min-height: 66px;

  display: grid;

  grid-template-columns:
    40px 1fr auto;

  align-items: center;

  gap: var(--space-4);

  padding:
    var(--space-4)
    0;

  color: var(--color-white);

  border-bottom:
    1px solid rgba(255,255,255,.15);

  font-weight:
    var(--font-weight-semibold);

  text-decoration: none;

  transition:
    padding-left var(--transition-fast),
    color var(--transition-fast);
}

.home-finder__options a:first-child {
  border-top:
    1px solid rgba(255,255,255,.15);
}

.home-finder__options a span {
  color: var(--color-accent);

  font-size: var(--text-xs);
}

.home-finder__options a strong {
  color: var(--color-accent);

  font-size: 1.3rem;
}

@media (hover: hover) {

  .home-finder__options a:hover {
    padding-left: .5rem;

    color: var(--color-accent);
  }

}


/* =========================================================
   45. BRAND GRID
   ========================================================= */

.home-brands {
  overflow: hidden;
}

.brand-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  border-top:
    1px solid var(--color-border);

  border-left:
    1px solid var(--color-border);
}

.brand-item {
  min-height: 120px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: var(--space-5);

  background: var(--color-white);

  border-right:
    1px solid var(--color-border);

  border-bottom:
    1px solid var(--color-border);

  text-decoration: none;
}

.brand-item img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .72;
  transition:
    filter var(--transition-base),
    opacity var(--transition-base),
    transform var(--transition-base);
}

@media (hover: hover) {

  .brand-item:hover img {
    filter: grayscale(0);

    opacity: 1;

    transform: scale(1.05);
  }

}

.brand-item--all {
  flex-direction: column;

  gap: .3rem;

  color: var(--color-white);

  background: var(--color-primary);

  font-weight: var(--font-weight-semibold);
}

.brand-item--all strong {
  color: var(--color-accent);

  font-size: 1.4rem;
}


/* =========================================================
   46. SECTORS
   ========================================================= */

.home-sectors__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: var(--space-4);
}

.sector-card {
  position: relative;

  min-height: 390px;

  overflow: hidden;

  color: var(--color-white);

  background: var(--color-gray-900);

  border-radius: var(--radius-lg);

  text-decoration: none;
}

.sector-card img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 700ms ease;
}

.sector-card::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.05) 15%,
      rgba(15,23,42,.86) 100%
    );
}

.sector-card__overlay {
  position: absolute;

  z-index: 2;

  left: var(--space-6);
  right: var(--space-6);
  bottom: var(--space-6);
}

.sector-card__overlay span {
  display: block;

  margin-bottom: .35rem;

  color: var(--color-accent);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);

  letter-spacing: .1em;
  text-transform: uppercase;
}

.sector-card__overlay h3 {
  max-width: 260px;

  margin: 0;

  color: var(--color-white);

  font-size: var(--text-xl);
}

.sector-card__overlay strong {
  position: absolute;

  right: 0;
  bottom: 0;

  font-size: 1.5rem;

  transition:
    transform var(--transition-fast);
}

@media (hover: hover) {

  .sector-card:hover img {
    transform: scale(1.04);
  }

  .sector-card:hover
  .sector-card__overlay strong {
    transform: translateX(5px);
  }

}

.home-sectors__action {
  display: flex;

  justify-content: center;

  margin-top: var(--space-10);
}


/* =========================================================
   47. PARTNER / WHY PROVEPLUS
   ========================================================= */

.home-partner__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap:
    clamp(3rem, 7vw, 7rem);

  align-items: center;
}

.home-partner__visual {
  position: relative;

  min-height: 480px;

  overflow: hidden;

  background: var(--color-gray-100);

  border-radius: var(--radius-xl);
}

.home-partner__visual img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.home-partner__visual-label {
  position: absolute;

  left: var(--space-5);
  bottom: var(--space-5);

  max-width: 280px;

  padding:
    var(--space-4)
    var(--space-5);

  color: var(--color-gray-900);

  background: var(--color-accent);

  border-radius: var(--radius-md);

  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);

  text-transform: uppercase;
}

.home-partner__content h2 {
  max-width: 650px;
}

.home-partner__list {
  margin:
    var(--space-8)
    0;
}

.home-partner__list > div {
  display: grid;

  grid-template-columns:
    42px 1fr;

  gap: var(--space-4);

  padding:
    var(--space-5)
    0;

  border-bottom:
    1px solid var(--color-border);
}

.home-partner__list > div > span {
  color: var(--color-primary);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
}

.home-partner__list p {
  margin: 0;

  color: var(--color-text-soft);
}

.home-partner__list strong {
  display: block;

  margin-bottom: .25rem;

  color: var(--color-gray-900);
}


/* =========================================================
   48. COVERAGE
   ========================================================= */

.home-coverage {
  overflow: hidden;

  color: var(--color-white);

  background:
    var(--color-primary-deep);
}

.home-coverage__inner {
  display: grid;

  grid-template-columns: 1fr;

  gap: var(--space-10);

  align-items: center;

  min-height: 520px;

  padding-block:
    clamp(4rem, 8vw, 7rem);
}

.home-coverage__eyebrow {
  display: block;

  margin-bottom: var(--space-4);

  color: var(--color-accent);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);

  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-coverage h2 {
  max-width: 620px;

  color: var(--color-white);
}

.home-coverage__content > p {
  max-width: 580px;

  color:
    rgba(255,255,255,.7);

  font-size: var(--text-lg);
}

.home-coverage__cities {
  display: flex;

  flex-wrap: wrap;

  gap: var(--space-2);

  margin:
    var(--space-7, 1.75rem)
    0
    var(--space-8);
}

.home-coverage__cities span {
  padding:
    .45rem
    .8rem;

  color:
    rgba(255,255,255,.85);

  background:
    rgba(255,255,255,.08);

  border:
    1px solid rgba(255,255,255,.12);

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

  font-size: var(--text-sm);
}


/* Coverage graphic */

.home-coverage__graphic {
  display: grid;

  place-items: center;

  min-height: 330px;
}

.coverage-orbit {
  position: relative;

  width:
    min(76vw, 370px);

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  border:
    1px solid rgba(255,255,255,.12);

  border-radius: 50%;
}

.coverage-orbit::before {
  content: "";

  position: absolute;

  inset: 17%;

  border:
    1px solid rgba(255,255,255,.14);

  border-radius: 50%;
}

.coverage-orbit__ring {
  position: absolute;

  inset: 34%;

  border:
    1px solid rgba(255,213,30,.4);

  border-radius: 50%;
}

.coverage-orbit__center {
  position: relative;

  z-index: 2;

  width: 130px;
  height: 130px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  background: var(--color-accent);

  border-radius: 50%;

  box-shadow:
    0 0 0 14px
    rgba(255,213,30,.08);

  color: var(--color-gray-900);

  text-align: center;
}

.coverage-orbit__center strong {
  font-size: var(--text-xl);
}

.coverage-orbit__center span {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
}

.coverage-dot {
  position: absolute;

  width: 10px;
  height: 10px;

  background: var(--color-accent);

  border-radius: 50%;

  box-shadow:
    0 0 0 7px
    rgba(255,213,30,.12);
}

.coverage-dot--1 {
  top: 10%;
  left: 50%;
}

.coverage-dot--2 {
  top: 32%;
  right: 7%;
}

.coverage-dot--3 {
  bottom: 15%;
  right: 22%;
}

.coverage-dot--4 {
  bottom: 16%;
  left: 18%;
}

.coverage-dot--5 {
  top: 30%;
  left: 6%;
}


/* =========================================================
   49. HOME QUOTE
   ========================================================= */

.home-quote {
  background:
    var(--color-background-soft);
}

.home-quote__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap:
    clamp(3rem, 7vw, 7rem);

  align-items: start;
}

.home-quote__intro {
  max-width: 580px;
}

.home-quote__contact {
  display: flex;

  flex-direction: column;

  gap: var(--space-2);

  margin-top: var(--space-8);
}

.home-quote__contact span {
  margin-bottom: var(--space-2);

  color: var(--color-text-soft);

  font-size: var(--text-sm);
}

.home-quote__contact a {
  color: var(--color-primary);

  font-weight: var(--font-weight-semibold);

  text-decoration: none;
}

.home-quote__form-wrap {
  padding:
    clamp(1.5rem, 4vw, 3rem);

  background: var(--color-white);

  border:
    1px solid var(--color-border);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-sm);
}

.form-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap:
    0 var(--space-5);
}

.form-honeypot {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0 0 0 0);

  white-space: nowrap;
}

.home-quote__submit {
  width: 100%;
}

.home-quote__privacy {
  margin:
    var(--space-4)
    0
    0;

  color: var(--color-text-light);

  font-size: var(--text-xs);
}

.home-quote__privacy a {
  color: var(--color-primary);
}


/* =========================================================
   50. HOME RESPONSIVE
   ========================================================= */

@media (min-width: 640px) {

  .home-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }


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

  .home-benefit {
    padding: var(--space-6);

    border-right:
      1px solid var(--color-border);
  }


  .brand-grid {
    grid-template-columns:
      repeat(3, minmax(0,1fr));
  }


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


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

}


@media (min-width: 900px) {

  .home-hero__grid {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(420px, .95fr);
  }

  .home-hero__visual {
    min-height: 610px;
  }

  .home-hero__badge {
    left: auto;

    width: min(78%, 390px);

    padding: var(--space-6);
  }


  .home-benefits__grid {
    grid-template-columns:
      repeat(4, minmax(0,1fr));
  }

  .home-benefit {
    border-bottom: 0;
  }

  .home-benefit:last-child {
    border-right: 0;
  }


  .home-section-heading {
    flex-direction: row;

    align-items: end;
    justify-content: space-between;
  }

  .home-section-heading .text-lead {
    max-width: 460px;
  }


  .home-finder__box {
    grid-template-columns:
      minmax(0,.85fr)
      minmax(420px,1.15fr);

    align-items: center;
  }


  .brand-grid {
    grid-template-columns:
      repeat(6, minmax(0,1fr));
  }


  .home-sectors__grid {
    grid-template-columns:
      repeat(4, minmax(0,1fr));
  }


  .home-partner__grid {
    grid-template-columns:
      minmax(400px,.9fr)
      minmax(0,1.1fr);
  }

  .home-partner__visual {
    min-height: 690px;
  }


  .home-coverage__inner {
    grid-template-columns:
      minmax(0,1.15fr)
      minmax(380px,.85fr);
  }


  .home-quote__grid {
    grid-template-columns:
      minmax(0,.8fr)
      minmax(480px,1.2fr);
  }

}


@media (min-width: 1200px) {

  .home-hero__grid {
    min-height: 720px;
  }

  .home-hero__content {
    padding-right: var(--space-6);
  }

}


@media (max-width: 639px) {

  .home-hero__grid {
    padding-top: 2.5rem;
  }

  .home-hero h1 {
    font-size:
      clamp(2.45rem, 12vw, 3.6rem);
  }

  .home-hero__visual {
    min-height: 420px;
  }

  .home-hero__badge {
    padding: var(--space-4);
  }


  /*
   * El catálogo conserva dos columnas en móvil,
   * pero hacemos las imágenes más compactas.
   */

  .home-catalog
  .category-card__media {
    aspect-ratio: 1 / 1;
  }


  .sector-card {
    min-height: 360px;
  }


  .home-partner__visual {
    min-height: 440px;
  }


  .home-coverage__graphic {
    min-height: 290px;
  }

}

@media (min-width: 900px) {

  .has-megamenu {
    position: static;
  }

  .megamenu {
    top: calc(100% - 1px);
  }

}
/* =========================================================
   THANK YOU PAGE
   ========================================================= */

.thank-you {
  display: flex;

  align-items: center;

  min-height:
    clamp(620px, 72vh, 820px);

  padding-block:
    clamp(4rem, 9vw, 8rem);

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(8, 117, 201, .10),
      transparent 32%
    ),
    var(--color-gray-50);
}


.thank-you__card {
  width: min(100%, 820px);

  margin-inline: auto;

  padding:
    clamp(2rem, 6vw, 5rem);

  background:
    var(--color-white);

  border:
    1px solid var(--color-gray-200);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-lg);

  text-align: center;
}


.thank-you__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin:
    0
    auto
    var(--space-6);

  color:
    var(--color-primary-deep);

  background:
    var(--color-accent);

  border-radius: 50%;

  font-size: 1.8rem;

  font-weight: 800;
}


.thank-you h1 {
  max-width: 680px;

  margin:
    var(--space-4)
    auto
    var(--space-5);
}


.thank-you__lead {
  max-width: 660px;

  margin-inline: auto;

  color:
    var(--color-gray-700);

  font-size:
    var(--text-xl);

  line-height: 1.6;
}


.thank-you__card > p:not(
  .thank-you__lead
) {
  max-width: 650px;

  margin-inline: auto;

  color:
    var(--color-text-soft);
}


.thank-you__actions {
  display: flex;

  flex-direction: column;

  justify-content: center;

  gap:
    var(--space-3);

  margin-top:
    var(--space-8);
}


.thank-you__actions .btn {
  width: 100%;
}


.thank-you__contact {
  display: flex;

  flex-direction: column;

  gap: .3rem;

  margin-top:
    var(--space-8);

  padding-top:
    var(--space-6);

  border-top:
    1px solid var(--color-gray-200);

  color:
    var(--color-gray-500);

  font-size:
    var(--text-sm);
}


.thank-you__contact a {
  color:
    var(--color-primary);

  font-weight:
    var(--font-weight-bold);

  text-decoration: none;
}


@media (min-width: 640px) {

  .thank-you__actions {
    flex-direction: row;
  }

  .thank-you__actions .btn {
    width: auto;
  }

}

/* =========================================================
   THANK YOU PAGE
   ========================================================= */

.thank-you {
  display: flex;
  align-items: center;

  min-height: 680px;

  padding:
    clamp(4rem, 8vw, 7rem)
    0;

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(8, 117, 201, 0.10),
      transparent 32%
    ),
    #f8fafc;
}


.thank-you .container {
  width: min(
    calc(100% - 40px),
    1200px
  );

  margin-inline: auto;
}


.thank-you__card {
  width: min(100%, 820px);

  margin-inline: auto;

  padding:
    clamp(2rem, 6vw, 5rem);

  background: #ffffff;

  border:
    1px solid #e2e8f0;

  border-radius: 24px;

  box-shadow:
    0 24px 60px
    rgba(15, 23, 42, 0.10);

  text-align: center;
}


.thank-you__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin:
    0
    auto
    1.5rem;

  color: #0f172a;

  background: #ffcc16;

  border-radius: 50%;

  font-size: 1.8rem;
  font-weight: 800;
}


.thank-you__card .eyebrow {
  display: block;

  margin-bottom: 1rem;
}


.thank-you h1 {
  max-width: 680px;

  margin:
    0
    auto
    1.5rem;

  font-size:
    clamp(2.4rem, 5vw, 4.5rem);

  line-height: 1.02;

  letter-spacing: -0.04em;
}


.thank-you__lead {
  max-width: 660px;

  margin:
    0
    auto
    1rem;

  color: #334155;

  font-size:
    clamp(1.05rem, 2vw, 1.25rem);

  line-height: 1.65;
}


.thank-you__card > p:not(
  .thank-you__lead
) {
  max-width: 650px;

  margin:
    0
    auto;

  color: #64748b;

  line-height: 1.7;
}


.thank-you__actions {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 0.75rem;

  margin-top: 2rem;
}


.thank-you__actions .btn {
  width: 100%;
}


.thank-you__contact {
  display: flex;

  flex-direction: column;

  gap: 0.35rem;

  margin-top: 2rem;

  padding-top: 1.5rem;

  border-top:
    1px solid #e2e8f0;

  color: #64748b;

  font-size: 0.9rem;
}


.thank-you__contact a {
  color: #0875c9;

  font-weight: 700;

  text-decoration: none;
}


.thank-you__contact a:hover {
  text-decoration: underline;
}


@media (min-width: 640px) {

  .thank-you__actions {
    flex-direction: row;
  }


  .thank-you__actions .btn {
    width: auto;
  }

}


@media (max-width: 639px) {

  .thank-you {
    min-height: auto;

    padding:
      3.5rem
      0;
  }


  .thank-you .container {
    width:
      min(
        calc(100% - 28px),
        1200px
      );
  }


  .thank-you__card {
    padding:
      2.25rem
      1.25rem;

    border-radius: 20px;
  }

}

/* =========================================================
   QUOTE FORM
   Formulario reutilizable ProvePlus
   ========================================================= */

.quote-form-wrap {
  width: 100%;

  padding:
    clamp(1.5rem, 3vw, 2.5rem);

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-radius: 24px;

  box-shadow:
    0 18px 50px rgba(15, 23, 42, 0.08);
}


.quote-form {
  width: 100%;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.quote-form .form-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 1.35rem;
}


.quote-form .form-group {
  display: flex;

  flex-direction: column;

  gap: 0.5rem;

  min-width: 0;
}


.quote-form .form-group--full {
  grid-column: 1 / -1;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.quote-form .form-group label {
  display: block;

  margin: 0;

  color: #0f172a;

  font-size: 0.92rem;

  font-weight: 700;

  line-height: 1.4;
}


.quote-form .form-group label span {
  color: #0875c9;
}


/* ---------------------------------------------------------
   INPUTS / SELECT / TEXTAREA
   --------------------------------------------------------- */

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  display: block;

  width: 100%;

  min-width: 0;

  margin: 0;

  padding:
    0.9rem
    1rem;

  color: #0f172a;

  background: #ffffff;

  border:
    1px solid #cbd5e1;

  border-radius: 10px;

  outline: none;

  font: inherit;

  font-size: 1rem;

  line-height: 1.45;

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}


.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select {
  min-height: 52px;
}


.quote-form textarea {
  min-height: 145px;

  resize: vertical;
}


/* ---------------------------------------------------------
   PLACEHOLDER
   --------------------------------------------------------- */

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #94a3b8;

  opacity: 1;
}


/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.quote-form input[type="text"]:focus,
.quote-form input[type="email"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #0875c9;

  box-shadow:
    0 0 0 4px
    rgba(8, 117, 201, 0.12);
}


/* ---------------------------------------------------------
   SELECT
   --------------------------------------------------------- */

.quote-form select {
  cursor: pointer;

  appearance: auto;
}


/* ---------------------------------------------------------
   PRIVACIDAD
   --------------------------------------------------------- */

.quote-form .form-consent {
  display: flex;

  align-items: flex-start;

  gap: 0.75rem;

  margin-top: 1.5rem;

  color: #64748b;

  font-size: 0.9rem;

  line-height: 1.55;

  cursor: pointer;
}


.quote-form .form-consent input[type="checkbox"] {
  flex: 0 0 auto;

  width: 18px;
  height: 18px;

  margin:
    0.12rem
    0
    0;

  accent-color: #0875c9;

  cursor: pointer;
}


.quote-form .form-consent a {
  color: #0875c9;

  font-weight: 700;

  text-decoration: underline;

  text-underline-offset: 2px;
}


/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.quote-form__submit {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 0.65rem;

  width: 100%;

  min-height: 54px;

  margin-top: 1.5rem;

  padding:
    0.9rem
    1.5rem;

  color: #0f172a;

  background: #ffcc16;

  border: 0;

  border-radius: 10px;

  font: inherit;

  font-weight: 800;

  cursor: pointer;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}


.quote-form__submit:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 24px
    rgba(15, 23, 42, 0.12);
}


.quote-form__submit:active {
  transform: translateY(0);
}


.quote-form__submit span {
  transition:
    transform 180ms ease;
}


.quote-form__submit:hover span {
  transform: translateX(4px);
}


/* ---------------------------------------------------------
   NOTA
   --------------------------------------------------------- */

.quote-form__note {
  margin:
    0.85rem
    0
    0;

  color: #64748b;

  font-size: 0.78rem;

  line-height: 1.5;

  text-align: center;
}


/* ---------------------------------------------------------
   HONEYPOT
   --------------------------------------------------------- */

.form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  clip-path: inset(50%) !important;

  white-space: nowrap !important;

  pointer-events: none !important;
}


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

@media (min-width: 700px) {

  .quote-form .form-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    column-gap: 1.5rem;

    row-gap: 1.35rem;
  }

}


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

@media (max-width: 699px) {

  .quote-form-wrap {
    padding:
      1.4rem
      1.1rem;

    border-radius: 18px;
  }


  .quote-form input[type="text"],
  .quote-form input[type="email"],
  .quote-form input[type="tel"],
  .quote-form select,
  .quote-form textarea {
    /*
     * 16px evita el zoom automático
     * de Safari/iPhone al enfocar.
     */
    font-size: 16px;
  }


  .quote-form__submit {
    min-height: 56px;
  }

}

/* =========================================================
   CATÁLOGO GENERAL
   ========================================================= */


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

.catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding:
    clamp(5rem, 9vw, 8rem) 0;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 204, 22, 0.18),
      transparent 27%
    ),
    #0f172a;

  color: #ffffff;
}


/* FOTOGRAFÍA */

.catalog-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background-image:
    url("/assets/img/banners/catalogo-hero.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.20;

  pointer-events: none;
}


/* CAPA DE INTEGRACIÓN */

.catalog-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.55) 0%,
      rgba(15, 23, 42, 0.20) 55%,
      rgba(15, 23, 42, 0.35) 100%
    );

  pointer-events: none;
}


.catalog-hero__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(260px, 0.6fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}


.catalog-hero__content {
  max-width: 760px;
}


.catalog-hero .eyebrow {
  color: #ffcc16;
}


.catalog-hero h1 {
  margin:
    1rem
    0
    1.5rem;

  color: #ffffff;

  font-size:
    clamp(3rem, 6vw, 5.8rem);

  line-height: 0.98;

  letter-spacing: -0.05em;
}


.catalog-hero h1 span {
  color: #ffcc16;
}


.catalog-hero__lead {
  max-width: 660px;

  margin: 0;

  color: #cbd5e1;

  font-size:
    clamp(1.05rem, 2vw, 1.25rem);

  line-height: 1.65;
}


.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;

  gap: 0.8rem;

  margin-top: 2rem;
}


.catalog-hero .btn--outline {
  color: #ffffff;

  border-color:
    rgba(255, 255, 255, 0.35);
}


.catalog-hero .btn--outline:hover {
  border-color: #ffffff;
}


/* HERO ASIDE */

.catalog-hero__aside {
  display: flex;
  flex-direction: column;

  padding:
    clamp(2rem, 4vw, 3rem);

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius: 24px;

  background:
    rgba(255, 255, 255, 0.06);

  backdrop-filter:
    blur(12px);
}


.catalog-hero__aside-label {
  color: #94a3b8;

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: 0.12em;
}


.catalog-hero__aside strong {
  margin:
    0.5rem
    0;

  color: #ffcc16;

  font-size:
    clamp(5rem, 10vw, 8rem);

  line-height: 1;

  letter-spacing: -0.07em;
}


.catalog-hero__aside-text {
  color: #e2e8f0;

  line-height: 1.55;
}



/* INTRO
   ========================================================= */

.catalog-intro {
  padding:
    clamp(4rem, 8vw, 7rem)
    0;
}


.catalog-intro__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.85fr);

  gap:
    clamp(3rem, 8vw, 8rem);
}


.catalog-intro h2 {
  max-width: 620px;

  margin:
    0.8rem
    0
    0;

  font-size:
    clamp(2.2rem, 4vw, 4rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}


.catalog-intro__text {
  align-self: end;
}


.catalog-intro__text p {
  margin:
    0
    0
    1rem;

  color: #64748b;

  font-size: 1.05rem;

  line-height: 1.75;
}



/* FAMILIAS
   ========================================================= */

.catalog-families {
  padding:
    clamp(4rem, 8vw, 7rem)
    0;

  background: #f8fafc;
}


.catalog-families__grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1.5rem;

  margin-top: 3rem;
}


.catalog-family-card {
  position: relative;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  min-width: 0;

  color: inherit;

  background: #ffffff;

  border:
    1px solid #e2e8f0;

  border-radius: 18px;

  text-decoration: none;

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}


.catalog-family-card:hover {
  transform:
    translateY(-6px);

  border-color:
    #cbd5e1;

  box-shadow:
    0 22px 45px
    rgba(15, 23, 42, 0.10);
}


.catalog-family-card__number {
  position: absolute;

  z-index: 2;

  top: 1rem;
  left: 1rem;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: #0f172a;

  background: #ffcc16;

  border-radius: 50%;

  font-size: 0.75rem;

  font-weight: 900;
}


.catalog-family-card__media {
  overflow: hidden;

  aspect-ratio: 4 / 3;

  background: #e2e8f0;
}


.catalog-family-card__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 450ms ease;
}


.catalog-family-card:hover
.catalog-family-card__media img {
  transform:
    scale(1.045);
}


.catalog-family-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 1.5rem;
}


.catalog-family-card h3 {
  margin:
    0
    0
    0.75rem;

  color: #0f172a;

  font-size:
    clamp(1.25rem, 2vw, 1.55rem);

  line-height: 1.15;

  letter-spacing: -0.02em;
}


.catalog-family-card h3 span {
  white-space: nowrap;
}


.catalog-family-card p {
  margin:
    0
    0
    1.5rem;

  color: #64748b;

  line-height: 1.65;
}


.catalog-family-card__link {
  display: flex;

  align-items: center;

  gap: 0.5rem;

  margin-top: auto;

  color: #0875c9;

  font-size: 0.9rem;

  font-weight: 800;
}


.catalog-family-card__link span {
  transition:
    transform 180ms ease;
}


.catalog-family-card:hover
.catalog-family-card__link span {
  transform:
    translateX(5px);
}



/* AYUDA
   ========================================================= */

.catalog-help {
  padding:
    clamp(4rem, 8vw, 7rem)
    0;

  background: #ffffff;
}


.catalog-help__inner {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap:
    clamp(3rem, 8vw, 8rem);
}


.catalog-help__content h2 {
  max-width: 580px;

  margin:
    0.8rem
    0
    1.5rem;

  font-size:
    clamp(2.2rem, 4vw, 3.8rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}


.catalog-help__content p {
  max-width: 600px;

  color: #64748b;

  font-size: 1.05rem;

  line-height: 1.75;
}


.catalog-help__steps {
  display: flex;

  flex-direction: column;
}


.catalog-help__step {
  display: grid;

  grid-template-columns:
    55px
    minmax(0, 1fr);

  gap: 1.25rem;

  padding:
    1.5rem
    0;

  border-bottom:
    1px solid #e2e8f0;
}


.catalog-help__step:first-child {
  border-top:
    1px solid #e2e8f0;
}


.catalog-help__step > span {
  color: #0875c9;

  font-size: 0.8rem;

  font-weight: 900;
}


.catalog-help__step strong {
  display: block;

  margin-bottom: 0.4rem;

  color: #0f172a;

  font-size: 1.1rem;
}


.catalog-help__step p {
  margin: 0;

  color: #64748b;

  line-height: 1.6;
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .catalog-hero__inner,
  .catalog-intro__grid,
  .catalog-help__inner {
    grid-template-columns:
      1fr;
  }


  .catalog-hero__aside {
    max-width: 480px;
  }


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

}


@media (max-width: 640px) {

  .catalog-hero {
    padding:
      4rem
      0;
  }


  .catalog-hero h1 {
    font-size:
      clamp(2.7rem, 13vw, 4rem);
  }


  .catalog-hero__actions {
    flex-direction: column;
  }


  .catalog-hero__actions .btn {
    width: 100%;
  }


  .catalog-hero__aside {
    padding: 1.5rem;
  }


  .catalog-families__grid {
    grid-template-columns:
      1fr;

    gap: 1rem;
  }


  .catalog-family-card__content {
    padding: 1.25rem;
  }


  .catalog-help__step {
    grid-template-columns:
      42px
      minmax(0, 1fr);
  }

}
/* =========================================================
   CATEGORY PAGE · MASTER
   ========================================================= */


/* BREADCRUMB
   ========================================================= */

.category-breadcrumb {
  padding: 1rem 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.category-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: .82rem;
}

.category-breadcrumb a {
  color: #475569;
  text-decoration: none;
}

.category-breadcrumb a:hover {
  color: #0875c9;
}

.category-breadcrumb [aria-current="page"] {
  color: #0f172a;
  font-weight: 700;
}


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

.category-hero {
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #ffffff;
}

.category-hero__grid {
  display: grid;
  grid-template-columns:
    minmax(0, .9fr)
    minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.category-hero__content {
  max-width: 650px;
}

.category-hero h1 {
  margin: .9rem 0 1.5rem;
  color: #0f172a;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.category-hero h1 span {
  display: block;
  color: #0875c9;
}

.category-hero__lead {
  max-width: 600px;
  margin: 0;
  color: #64748b;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.category-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: #475569;
  font-size: .86rem;
  font-weight: 650;
}

.category-hero__points li::before {
  content: "✓";
  margin-right: .45rem;
  color: #0875c9;
  font-weight: 900;
}

.category-hero__media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  background: #e2e8f0;
}

.category-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.category-hero__badge {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  color: #ffffff;
  background: rgba(15, 23, 42, .88);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.category-hero__badge strong {
  color: #ffcc16;
}

.category-hero__badge span {
  color: #e2e8f0;
  font-size: .85rem;
}


/* INTRO
   ========================================================= */

.category-intro {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #0f172a;
  color: #ffffff;
}

.category-intro__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, .85fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.category-intro .eyebrow {
  color: #ffcc16;
}

.category-intro h2 {
  max-width: 650px;
  margin: .8rem 0 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.category-intro__text {
  align-self: end;
}

.category-intro__text p {
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
}


/* SOLUCIONES
   ========================================================= */

.category-solutions {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f8fafc;
}

.category-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.solution-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.solution-card__number {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: #0875c9;
  font-size: .8rem;
  font-weight: 900;
}

.solution-card h3 {
  margin: 0 0 .8rem;
  color: #0f172a;
  font-size: 1.4rem;
}

.solution-card p {
  color: #64748b;
  line-height: 1.65;
}

.solution-card ul {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid #e2e8f0;
  list-style: none;
}

.solution-card li {
  padding: .35rem 0;
  color: #475569;
  font-size: .9rem;
}

.solution-card li::before {
  content: "→";
  margin-right: .5rem;
  color: #0875c9;
}


/* APLICACIONES
   ========================================================= */

/* =========================================================
   APLICACIONES · BLOQUE AMARILLO
   ========================================================= */

.category-applications {
  position: relative;
  overflow: hidden;

  padding:
    clamp(4.5rem, 8vw, 7.5rem)
    0;

  background:
    linear-gradient(
      135deg,
      #ffcc16 0%,
      #ffd52f 55%,
      #ffcc16 100%
    );

  color: #0f172a;
}


/* ELEMENTO DECORATIVO */

.category-applications::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -180px;
  bottom: -250px;

  border:
    70px solid
    rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  pointer-events: none;
}


.category-applications__grid {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  align-items: center;

  gap:
    clamp(3rem, 8vw, 8rem);
}


/* =========================================================
   COLUMNA IZQUIERDA
   ========================================================= */

.category-applications .eyebrow {
  color: #0f4f80;
}


.category-applications__content h2 {
  max-width: 580px;

  margin:
    0.8rem
    0
    1.5rem;

  color: #0f172a;

  font-size:
    clamp(2.4rem, 4vw, 4rem);

  line-height: 1.03;

  letter-spacing: -0.045em;
}


.category-applications__content p {
  max-width: 540px;

  margin: 0;

  color:
    rgba(15, 23, 42, 0.78);

  font-size: 1.05rem;

  line-height: 1.75;
}


/* =========================================================
   LISTA DE APLICACIONES
   ========================================================= */

.category-applications__list {
  overflow: hidden;

  padding:
    0
    clamp(1.5rem, 3vw, 2.25rem);

  background:
    rgba(255, 255, 255, 0.92);

  border:
    1px solid
    rgba(15, 23, 42, 0.08);

  border-radius: 20px;

  box-shadow:
    0 24px 55px
    rgba(15, 23, 42, 0.12);
}


/* =========================================================
   CADA APLICACIÓN
   ========================================================= */

.category-applications .application-item {
  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr);

  gap: 1rem;

  padding:
    1.5rem
    0;

  border-bottom:
    1px solid #e2e8f0;
}


.category-applications
.application-item:last-child {
  border-bottom: 0;
}


/* NÚMERO */

.category-applications
.application-item > span {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  color: #ffffff;

  background: #0875c9;

  border-radius: 50%;

  font-size: 0.72rem;

  font-weight: 900;
}


/* TÍTULO */

.category-applications
.application-item strong {
  display: block;

  margin-bottom: 0.35rem;

  color: #0f172a;

  font-size: 1rem;

  font-weight: 800;
}


/* DESCRIPCIÓN */

.category-applications
.application-item p {
  margin: 0;

  color: #64748b;

  font-size: 0.9rem;

  line-height: 1.55;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .category-applications__grid {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }


  .category-applications__content {
    max-width: 680px;
  }

}


@media (max-width: 640px) {

  .category-applications {
    padding:
      3.75rem
      0;
  }


  .category-applications::after {
    width: 280px;
    height: 280px;

    right: -160px;
    bottom: -170px;

    border-width: 50px;
  }


  .category-applications__content h2 {
    font-size:
      clamp(2.2rem, 10vw, 3rem);
  }


  .category-applications__list {
    padding:
      0
      1.1rem;

    border-radius: 16px;
  }


  .category-applications
  .application-item {
    grid-template-columns:
      42px
      minmax(0, 1fr);

    gap: 0.8rem;

    padding:
      1.25rem
      0;
  }


  .category-applications
  .application-item > span {
    width: 34px;
    height: 34px;
  }

}


/* GUÍA
   ========================================================= */

.category-guide {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f8fafc;
}

.category-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.guide-card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.guide-card > span {
  display: block;
  margin-bottom: 3rem;
  color: #0875c9;
  font-size: .78rem;
  font-weight: 900;
}

.guide-card strong {
  display: block;
  margin-bottom: .5rem;
  color: #0f172a;
  font-size: 1.05rem;
}

.guide-card p {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.55;
}


/* ASESORÍA
   ========================================================= */

.category-advice {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #0875c9;
  color: #ffffff;
}

.category-advice__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.category-advice .eyebrow {
  color: #ffcc16;
}

.category-advice h2 {
  max-width: 650px;
  margin: .8rem 0 1.25rem;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.category-advice__content p {
  max-width: 650px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

.category-advice__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  max-width: 300px;
}

.category-advice__action > span {
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  line-height: 1.5;
}


/* RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .category-hero__grid,
  .category-intro__grid,
  .category-applications__grid,
  .category-advice__inner {
    grid-template-columns: 1fr;
  }

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

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

  .category-advice__action {
    max-width: none;
  }

}


@media (max-width: 640px) {

  .category-hero {
    padding: 3.5rem 0;
  }

  .category-hero h1 {
    font-size:
      clamp(2.7rem, 13vw, 4rem);
  }

  .category-hero__actions {
    flex-direction: column;
  }

  .category-hero__actions .btn {
    width: 100%;
  }

  .category-hero__points {
    flex-direction: column;
  }

  .category-hero__media,
  .category-hero__media img {
    min-height: 340px;
  }

  .category-hero__badge {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .category-solutions__grid,
  .category-guide__grid {
    grid-template-columns: 1fr;
  }

  .solution-card__number,
  .guide-card > span {
    margin-bottom: 1.5rem;
  }

}

/* =========================================================
   PRODUCT CATALOG · MASTER
   ========================================================= */

.product-catalog {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: #ffffff;
}

.product-catalog__header {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, .55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.product-catalog__header h2 {
  max-width: 680px;
  margin: .8rem 0 0;
  color: #0f172a;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.product-catalog__header > p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}


/* FILTROS */

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 3rem;
}

.product-filter {
  min-height: 42px;
  padding: .65rem 1rem;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.product-filter:hover {
  color: #0875c9;
  border-color: #0875c9;
}

.product-filter.is-active {
  color: #ffffff;
  background: #0875c9;
  border-color: #0875c9;
}

.product-catalog__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  padding-bottom: 1rem;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  font-size: .82rem;
}

.product-catalog__meta strong {
  color: #0f172a;
}


/* GRID */

.product-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}


/* TARJETA */

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow:
    0 20px 45px rgba(15, 23, 42, .09);
}

.product-card[hidden] {
  display: none !important;
}


/* FOTO */

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-card__brand {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  padding: .4rem .65rem;
  color: #475569;
  background: rgba(255,255,255,.94);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}


/* CUERPO */

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.product-card__type {
  margin-bottom: .65rem;
  color: #0875c9;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.product-card h3 {
  margin: 0 0 .75rem;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.product-card__application {
  margin: 0 0 1.25rem;
  color: #64748b;
  font-size: .92rem;
  line-height: 1.6;
}


/* PRESENTACIÓN */

.product-card__presentation {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: auto;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
}

.product-card__presentation span {
  color: #94a3b8;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-card__presentation strong {
  color: #334155;
  font-size: .88rem;
}


/* DETAILS / ACORDEÓN */

.product-card__details {
  border-top: 1px solid #e2e8f0;
}

.product-card__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.product-card__details summary::-webkit-details-marker {
  display: none;
}

.product-card__details-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #0875c9;
  background: #eff6ff;
  border-radius: 50%;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.product-card__details[open]
.product-card__details-icon {
  transform: rotate(45deg);
}

.product-card__details-content {
  padding: 0 0 1.2rem;
}

.product-card__details-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__details-content li {
  position: relative;
  padding: .35rem 0 .35rem 1.1rem;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.5;
}

.product-card__details-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0875c9;
  font-weight: 900;
}

.product-card__details-content small {
  display: block;
  margin-top: .8rem;
  color: #94a3b8;
  line-height: 1.45;
}


/* ACCIONES */

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.product-card__quote {
  width: 100%;
  min-height: 52px;
}

.product-card__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0875c9;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.product-card__whatsapp:hover {
  text-decoration: underline;
}


/* =========================================================
   CTA FINAL DE CATEGORÍA
   ========================================================= */

.category-final-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f8fafc;
}

.category-final-cta__box {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #ffffff;
  background: #0f172a;
  border-radius: 24px;
}

.category-final-cta .eyebrow {
  color: #ffcc16;
}

.category-final-cta h2 {
  max-width: 680px;
  margin: .75rem 0 1rem;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.category-final-cta p {
  max-width: 650px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.category-final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 220px;
}

.category-final-cta__whatsapp {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
}

.category-final-cta__whatsapp:hover {
  border-color: #ffffff;
}


/* =========================================================
   PRODUCT CATALOG RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .product-catalog__header,
  .category-final-cta__box {
    grid-template-columns: 1fr;
  }

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

  .category-final-cta__actions {
    width: 100%;
    min-width: 0;
  }

}


@media (max-width: 640px) {

  .product-catalog {
    padding: 4rem 0;
  }

  .product-catalog__header h2 {
    font-size:
      clamp(2.2rem, 10vw, 3rem);
  }

  .product-filters {
    gap: .5rem;
    margin-top: 2rem;
  }

  .product-filter {
    min-height: 44px;
    padding: .65rem .9rem;
  }

  .product-catalog__meta {
    flex-direction: column;
    gap: .3rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card__media {
    aspect-ratio: 16 / 11;
  }

  .product-card__body {
    padding: 1.25rem;
  }

  .product-card__details summary {
    min-height: 56px;
  }

  .product-card__quote {
    min-height: 56px;
  }

  .category-final-cta {
    padding: 3.5rem 0;
  }

  .category-final-cta__box {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .category-final-cta__actions .btn {
    width: 100%;
    min-height: 54px;
  }

}

/* =========================================================
   QUÍMICOS · CATÁLOGO POR LÍNEAS
   ========================================================= */
.chemical-catalog{padding:clamp(4.5rem,8vw,7.5rem) 0;background:#f8fafc}.chemical-catalog__header{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:2.5rem}.chemical-catalog__header h2{max-width:760px;margin:.7rem 0 1rem;color:#0f172a;font-size:clamp(2.4rem,4vw,4rem);line-height:1.02;letter-spacing:-.045em}.chemical-catalog__header p{max-width:690px;margin:0;color:#64748b;font-size:1.05rem;line-height:1.7}.chemical-catalog__stats{display:grid;grid-template-columns:auto auto 1px auto auto;align-items:baseline;gap:.45rem .6rem;flex:0 0 auto;padding:1.15rem 1.3rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.06)}.chemical-catalog__stats strong{color:#0f172a;font-size:1.75rem;line-height:1}.chemical-catalog__stats span{color:#64748b;font-size:.82rem;font-weight:700}.chemical-catalog__stats i{width:1px;height:28px;margin:0 .5rem;background:#e2e8f0}.chemical-lines-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.chemical-line-card{overflow:hidden;display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06)}.chemical-line-card__media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#e2e8f0}.chemical-line-card__media img{width:100%;height:100%;display:block;object-fit:cover}.chemical-line-card__brand{position:absolute;left:1rem;top:1rem;padding:.45rem .7rem;border-radius:999px;background:rgba(255,255,255,.92);color:#0f172a;font-size:.72rem;font-weight:900;box-shadow:0 6px 18px rgba(15,23,42,.12)}.chemical-line-card__body{display:flex;flex:1;flex-direction:column;padding:1.5rem}.chemical-line-card__eyebrow{color:#0875c9;font-size:.7rem;font-weight:900;letter-spacing:.12em}.chemical-line-card h3{margin:.45rem 0 .65rem;color:#0f172a;font-size:1.55rem;line-height:1.08}.chemical-line-card__body>p{margin:0 0 1.4rem;color:#64748b;line-height:1.6}.chemical-line-card__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:auto;padding-top:1rem;border-top:1px solid #e2e8f0}.chemical-line-card__footer>span{color:#64748b;font-size:.86rem}.chemical-line-card__footer>span strong{color:#0f172a}.chemical-line-toggle{min-height:46px;padding:.75rem 1rem}.chemical-products-panels{margin-top:2rem}.chemical-products-panel{scroll-margin-top:120px;padding:clamp(1.5rem,3vw,2.4rem);border:1px solid #dbe4ee;border-radius:24px;background:#fff;box-shadow:0 20px 50px rgba(15,23,42,.08)}.chemical-products-panel[hidden]{display:none}.chemical-products-panel__header{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.5rem;padding-bottom:1.4rem;border-bottom:1px solid #e2e8f0}.chemical-products-panel__header h3{margin:.4rem 0 .45rem;color:#0f172a;font-size:clamp(2rem,3vw,3rem);line-height:1}.chemical-products-panel__header p{max-width:650px;margin:0;color:#64748b;line-height:1.6}.chemical-products-panel__count{white-space:nowrap;padding:.6rem .85rem;border-radius:999px;background:#fff6cc;color:#715900;font-size:.8rem;font-weight:900}.chemical-products-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.chemical-product-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.05rem;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.chemical-product-row__key{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#0f172a;color:#fff;font-size:.75rem;font-weight:900}.chemical-product-row__content h4{margin:0 0 .25rem;color:#0f172a;font-size:1rem}.chemical-product-row__content p{margin:0;color:#64748b;font-size:.86rem;line-height:1.45}.chemical-product-row__actions{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem}.chemical-product-row__quote,.chemical-product-row__whatsapp{font-size:.78rem;font-weight:800;text-decoration:none}.chemical-product-row__quote{color:#0f4f80}.chemical-product-row__whatsapp{color:#64748b}.chemical-product-row__quote:hover,.chemical-product-row__whatsapp:hover{text-decoration:underline}.chemical-line-toggle[aria-expanded="true"] span{display:inline-block;transform:rotate(180deg)}
@media(max-width:980px){.chemical-catalog__header{align-items:flex-start;flex-direction:column}.chemical-lines-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chemical-products-list{grid-template-columns:1fr}}
@media(max-width:640px){.chemical-catalog{padding:3.75rem 0}.chemical-lines-grid{grid-template-columns:1fr}.chemical-catalog__stats{width:100%;justify-content:center}.chemical-line-card__footer{align-items:stretch;flex-direction:column}.chemical-line-toggle{width:100%}.chemical-products-panel{padding:1.1rem;border-radius:18px}.chemical-products-panel__header{align-items:flex-start;flex-direction:column;gap:.8rem}.chemical-product-row{grid-template-columns:38px minmax(0,1fr)}.chemical-product-row__actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;padding-top:.65rem;border-top:1px solid #eef2f7}.chemical-product-row__quote,.chemical-product-row__whatsapp{padding:.35rem .2rem}.chemical-product-row__whatsapp{margin-left:1rem}}

/* =========================================================
   QUÍMICOS · VOLVER A LAS LÍNEAS
   ========================================================= */

.chemical-products-panel__back {
  display: flex;
  justify-content: flex-end;

  margin-top: 2rem;
  padding-top: 1.25rem;

  border-top:
    1px solid rgba(15, 23, 42, 0.10);
}


.chemical-products-panel__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.7rem 1rem;

  border-radius: 999px;

  color: #475569;

  font-size: 0.85rem;
  font-weight: 700;

  text-decoration: none;

  background:
    rgba(15, 23, 42, 0.05);

  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}


.chemical-products-panel__back-link span {
  color: #2563eb;

  font-size: 1rem;
  line-height: 1;
}


.chemical-products-panel__back-link:hover {
  color: #0f172a;

  background:
    rgba(255, 204, 22, 0.22);

  transform: translateY(-2px);
}


.chemical-products-panel__back-link:focus-visible {
  outline:
    3px solid rgba(255, 204, 22, 0.55);

  outline-offset: 3px;
}


@media (max-width: 640px) {

  .chemical-products-panel__back {
    justify-content: center;

    margin-top: 1.5rem;
  }

  .chemical-products-panel__back-link {
    justify-content: center;

    width: 100%;
  }
  


/* PRUEBA VISUAL - CUARTA TARJETA */
.home-sectors__grid > .sector-card--cta {
    background: #082a4a !important;
    color: #ffffff !important;
    padding: 35px !important;
    display: flex !important;
    align-items: flex-end !important;
}

.home-sectors__grid > .sector-card--cta h3 {
    color: #ffffff !important;
}
  

}

/* =========================================================
   HOME: CUARTA TARJETA / CTA DE SECTORES
   ========================================================= */
.home-sectors__grid > .sector-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  background: #082a4a;
  color: #fff;
  isolation: isolate;
}
.home-sectors__grid > .sector-card--cta::after {
  background: linear-gradient(145deg, rgba(8,42,74,.04), rgba(0,0,0,.2));
  pointer-events: none;
}
.home-sectors__grid > .sector-card--cta > :not(img) {
  position: relative;
  z-index: 2;
}
.home-sectors__grid > .sector-card--cta .sector-card__overlay {
  position: relative;
  inset: auto;
  width: 100%;
}
.home-sectors__grid > .sector-card--cta h3,
.home-sectors__grid > .sector-card--cta p,
.home-sectors__grid > .sector-card--cta strong {
  color: #fff;
}
.home-sectors__grid > .sector-card--cta h3 {
  margin: 0 0 .75rem;
  max-width: 100%;
}
.home-sectors__grid > .sector-card--cta p {
  margin: 0;
  line-height: 1.55;
}
.home-sectors__grid > .sector-card--cta .sector-card__overlay strong {
  position: static;
  display: inline-block;
  margin-top: 1rem;
  color: #ffd51f;
}
@media (hover: hover) {
  .home-sectors__grid > .sector-card--cta:hover {
    background: #0c385f;
  }
}
