/* =========================================================
   UNIDOTACIONES DEL EJE
   Hoja de estilos principal organizada
   Versión limpia: 2026-07-22
   ========================================================= */

/* =========================================================
   01. VARIABLES DE DISEÑO
   ========================================================= */

:root {
  /* Marca */
  --brand: #2d2f7b;
  --brand-dark: #20235e;
  --brand-blue: #0069ad;
  --brand-blue-dark: #005386;
  --accent: #3db34a;
  --accent-dark: #238636;
  --accent-hover: #1c6d2b;

  /* Textos y superficies */
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #dde5ef;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --surface-blue: #edf5fb;

  /* Estados */
  --success-bg: #eaf8ee;
  --success-text: #176b32;
  --error-bg: #fdecec;
  --error-text: #8b1d1d;

  /* Forma y elevación */
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 18px 45px rgba(45, 47, 123, 0.12);
  --shadow-soft: 0 8px 28px rgba(45, 47, 123, 0.08);
}


/* =========================================================
   02. BASE Y UTILIDADES
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(0, 105, 173, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  top: 20px;
  left: 20px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow);
}


/* =========================================================
   03. BARRA SUPERIOR
   ========================================================= */

.topbar {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
}

.topbar__links {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.topbar a {
  transition: color 0.2s ease;
  font-weight: 600;
}

.topbar a:hover {
  color: #8de29a;
}


/* =========================================================
   04. ENCABEZADO Y NAVEGACIÓN
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 229, 239, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(45, 47, 123, 0.06);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand));
  color: var(--surface);
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 8px 18px rgba(45, 47, 123, 0.18);
}

.brand__logo {
  width: 220px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  color: var(--brand);
  font-size: 1.05rem;
}

.brand__text small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 650;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 28px;
  color: #374151;
  transition: color 0.2s ease;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent));
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.main-nav > a:not(.button):hover,
.main-nav > a.is-active {
  color: var(--brand);
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.is-active::after {
  width: 28px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 1.5rem;
  cursor: pointer;
}


/* =========================================================
   05. BOTONES
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--surface);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(35, 134, 54, 0.18);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 12px 25px rgba(35, 134, 54, 0.25);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
}

.button--ghost {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--surface);
}

.button--ghost-dark {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}

.button--ghost-dark:hover {
  background: var(--brand);
  color: var(--surface);
  border-color: var(--brand);
}

.button--light {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--surface);
  box-shadow: none;
}

.button--light:hover {
  background: var(--surface-blue);
  color: var(--brand-dark);
  border-color: var(--surface-blue);
}


/* =========================================================
   06. PORTADA PRINCIPAL
   ========================================================= */

.hero {
  overflow: hidden;
  color: var(--surface);
  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(61, 179, 74, 0.3),
      transparent 30%
    ),
    radial-gradient(
      circle at 18% 90%,
      rgba(0, 105, 173, 0.28),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      var(--brand-dark) 0%,
      var(--brand) 56%,
      var(--brand-blue-dark) 100%
    );
}

.hero__grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 60px;
  padding-block: 72px 42px;
}

.hero__content {
  position: relative;
  z-index: 4;
}

.hero__content h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: var(--surface);
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero__content > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow--light {
  color: #92e69e;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}


/* Composición de la modelo */

.hero__visual {
  position: relative;
  align-self: end;
  width: 100%;
  min-height: 590px;
  isolation: isolate;
}

.hero__panel-clip {
  position: absolute;
  z-index: 1;
  top: 95px;
  right: 35px;
  bottom: 28px;
  left: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 36px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.14)
  );
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.hero__person-frame {
  position: absolute;
  z-index: 2;
  top: 95px;
  right: 35px;
  bottom: 28px;
  left: 28px;
  overflow: visible;
  border-radius: 36px;
  clip-path: inset(-300px 0 0 0 round 36px);
  pointer-events: none;
}

.hero__person {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: auto;
  height: 690px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.18));
  user-select: none;
}

.hero-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.hero-card--one,
.hero-card--two,
.hero-card--three {
  z-index: 5;
  min-width: 112px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

.hero-card--one {
  top: 150px;
  right: 5px;
}

.hero-card--two {
  left: 0;
  bottom: 105px;
}

.hero-card--three {
  right: 8px;
  bottom: 70px;
}


/* =========================================================
   07. FRANJA DE CONFIANZA
   ========================================================= */

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid > div {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--brand);
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}


/* =========================================================
   08. SECCIONES GENERALES
   ========================================================= */

.section {
  padding-block: 92px;
}

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

.section--dark {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(0, 105, 173, 0.3),
      transparent 32%
    ),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: var(--surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2,
.process-panel h2,
.cta-block h2,
.page-hero h1 {
  margin: 8px 0 0;
  color: var(--brand);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section--dark .cta-block h2 {
  color: var(--surface);
}

.section-heading__description {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
}

.section-heading--center {
  justify-content: center;
  text-align: center;
}

.section-heading--center > div {
  max-width: 850px;
}

.text-link {
  color: var(--brand-blue);
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--accent-dark);
}


/* =========================================================
   09. TARJETAS GENERALES Y SECTORES TRADICIONALES
   ========================================================= */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sector-grid--full {
  grid-template-columns: repeat(2, 1fr);
}

.sector-card,
.info-card,
.project-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.sector-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 105, 173, 0.32);
  box-shadow: var(--shadow);
}

.sector-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #e9f5fb, #eaf8ee);
  color: var(--brand-blue);
  font-size: 1.5rem;
}

.sector-card h3,
.sector-card h2,
.info-card h2,
.info-card h3,
.project-card h2,
.project-card h3 {
  color: var(--brand);
}

.sector-card h3,
.sector-card h2 {
  margin: 18px 0 8px;
}

.sector-card p,
.info-card p,
.project-card p {
  color: var(--muted);
}

.sector-card a:not(.button),
.product-card a {
  color: var(--brand-blue);
  font-weight: 800;
}

.sector-card a:not(.button):hover,
.product-card a:hover {
  color: var(--accent-dark);
}


/* =========================================================
   10. SOLUCIONES POR SECTOR CON MODELOS
   ========================================================= */

.sector-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
  padding-top: 55px;
}

.sector-model-card {
  position: relative;
  min-height: 310px;
  overflow: visible;
  isolation: isolate;
}

.sector-model-card__panel {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(45, 47, 123, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(61, 179, 74, 0.14),
      transparent 34%
    ),
    linear-gradient(145deg, #ffffff, #edf5fb);
  box-shadow: 0 16px 38px rgba(45, 47, 123, 0.11);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.sector-model-card__content {
  position: relative;
  z-index: 4;
  width: 58%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 30px 10px 28px 26px;
}

.sector-model-card__eyebrow {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sector-model-card h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 1.55rem;
  line-height: 1.08;
}

.sector-model-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sector-model-card__link {
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.sector-model-card__link:hover {
  color: var(--accent-dark);
}

.sector-model-card__person-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: visible;
  border-radius: 26px;
  clip-path: inset(-105px 0 0 0 round 26px);
  pointer-events: none;
}

.sector-model-card__person {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: auto;
  height: 345px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 14px 14px rgba(30, 35, 85, 0.17));
  user-select: none;
  transition: transform 0.3s ease;
}

.sector-model-card:hover .sector-model-card__panel {
  transform: translateY(-5px);
  border-color: rgba(0, 105, 173, 0.25);
  box-shadow: 0 22px 46px rgba(45, 47, 123, 0.16);
}

.sector-model-card:hover .sector-model-card__person {
  transform: translateY(-5px) scale(1.025);
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;

  min-width: 0;
  height: 100%;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--line);
  border-radius: var(--radius);

  background: var(--surface);

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

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);

  border-color: rgba(0, 105, 173, 0.3);

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


/* Imagen completa, sin recortes */

.product-card img {
  width: 100%;
  height: 285px;

  padding: 16px;

  object-fit: contain;
  object-position: center;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      var(--surface-soft)
    );

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


/* Contenido */

.product-card__body {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 22px;
}

.product-card__body > span {
  color: var(--accent-dark);

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card h3,
.product-card h2 {
  margin: 7px 0 10px;

  color: var(--brand);

  font-size: 1.2rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0 0 20px;

  color: var(--muted);

  font-size: 0.94rem;
  line-height: 1.6;
}

.product-card a {
  margin-top: auto;

  color: var(--brand-blue);

  font-weight: 800;
}

.product-card a:hover {
  color: var(--accent-dark);
}


/* =========================================================
   IMÁGENES CLICABLES DE PRODUCTOS
   ========================================================= */

.product-card__image-button {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    #ffffff,
    var(--surface-soft)
  );
  cursor: zoom-in;
}

.product-card__image-button img {
  width: 100%;
  height: 285px;
  padding: 16px;
  object-fit: contain;
  object-position: center;
  border: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.product-card__image-button:hover img {
  transform: scale(1.035);
  opacity: 0.92;
}

.product-card__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;

  padding: 7px 12px;

  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;

  background: rgba(32, 35, 94, 0.84);
  color: #ffffff;

  font-size: 0.72rem;
  font-weight: 800;

  opacity: 0;
  transform: translateY(6px);

  backdrop-filter: blur(8px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.product-card__image-button:hover .product-card__zoom,
.product-card__image-button:focus-visible .product-card__zoom {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   VISOR AMPLIADO
   ========================================================= */

.product-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 28px;

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.product-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  padding: 0;
  border: 0;

  background: rgba(14, 18, 42, 0.82);

  cursor: zoom-out;
  backdrop-filter: blur(8px);
}

.product-lightbox__dialog {
  position: relative;
  z-index: 2;

  width: min(900px, 100%);
  max-height: calc(100vh - 56px);

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 25px;

  overflow: auto;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.35);

  transform: translateY(20px) scale(0.96);

  transition: transform 0.25s ease;
}

.product-lightbox.is-open .product-lightbox__dialog {
  transform: translateY(0) scale(1);
}

.product-lightbox__image {
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 170px);

  object-fit: contain;
  object-position: center;
}

.product-lightbox__caption {
  margin: 15px 45px 0;

  color: var(--brand);

  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.product-lightbox__close {
  position: absolute;
  z-index: 3;

  top: 14px;
  right: 14px;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: var(--brand);
  color: #ffffff;

  font-size: 1.8rem;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(32, 35, 94, 0.22);
}

.product-lightbox__close:hover {
  background: var(--brand-dark);
}

body.lightbox-open {
  overflow: hidden;
}

@media screen and (max-width: 640px) {

  .product-card__image-button img {
    height: 300px;
    padding: 14px;
  }

  .product-card__zoom {
    opacity: 1;
    transform: none;
  }

  .product-lightbox {
    padding: 12px;
  }

  .product-lightbox__dialog {
    max-height: calc(100vh - 24px);
    padding: 18px;
    border-radius: 20px;
  }

  .product-lightbox__image {
    max-height: calc(100vh - 130px);
  }

  .product-lightbox__caption {
    margin: 12px 40px 0;
    font-size: 0.9rem;
  }

  .product-lightbox__close {
    top: 10px;
    right: 10px;

    width: 38px;
    height: 38px;

    font-size: 1.55rem;
  }

}



/* =========================================================
   12. PROCESO
   ========================================================= */

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 60px;
}

.process-panel {
  position: sticky;
  top: 120px;
}

.process-panel p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.steps li > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #e9f5fb, #eaf8ee);
  color: var(--brand);
  font-weight: 900;
}

.steps strong {
  color: var(--brand);
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}


/* =========================================================
   13. LLAMADOS A LA ACCIÓN
   ========================================================= */

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-block h2 {
  max-width: 760px;
}

.cta-block p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}


/* =========================================================
   14. ENCABEZADOS INTERNOS
   ========================================================= */

.page-hero {
  padding-block: 95px 75px;
  text-align: center;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(61, 179, 74, 0.11),
      transparent 30%
    ),
    linear-gradient(180deg, var(--surface-blue), var(--surface));
}

.page-hero .narrow {
  margin-inline: auto;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}


/* =========================================================
   15. FORMULARIOS
   ========================================================= */

.form-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: start;
  gap: 28px;
}

.quote-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid label,
.quote-form > label {
  display: grid;
  gap: 7px;
  color: var(--brand);
  font-weight: 700;
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd6e2;
  border-radius: var(--radius-small);
  outline: none;
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 105, 173, 0.12);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #8b97a5;
}

input[type="checkbox"] {
  accent-color: var(--accent-dark);
}

.form-span-2 {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: flex-start;
  gap: 10px !important;
  margin: 18px 0;
  color: var(--ink) !important;
  font-weight: 500 !important;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-aside {
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.22),
      transparent 35%
    ),
    linear-gradient(145deg, var(--brand-dark), var(--brand));
  color: var(--surface);
  box-shadow: var(--shadow);
}

.form-aside h2,
.form-aside h3 {
  color: var(--surface);
}

.form-aside li {
  margin-bottom: 10px;
}

.form-aside p {
  color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   16. ALERTAS
   ========================================================= */

.alert {
  grid-column: 1 / -1;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-small);
}

.alert--success {
  border: 1px solid rgba(23, 107, 50, 0.18);
  background: var(--success-bg);
  color: var(--success-text);
}

.alert--error {
  border: 1px solid rgba(139, 29, 29, 0.16);
  background: var(--error-bg);
  color: var(--error-text);
}


/* =========================================================
   17. PIE DE PÁGINA
   ========================================================= */

.site-footer {
  padding-top: 64px;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(0, 105, 173, 0.24),
      transparent 28%
    ),
    var(--brand-dark);
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 44px;
}

.footer-grid h3 {
  color: var(--surface);
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid a {
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #8de29a;
}

.brand--footer {
  color: var(--surface);
}

.brand--footer .brand__text strong {
  color: var(--surface);
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}


/* =========================================================
   18. WHATSAPP
   ========================================================= */

.whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--surface);
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(35, 134, 54, 0.3);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  background: var(--accent-hover);
}


/* =========================================================
   19. PÁGINA NOSOTROS
   ========================================================= */

.page-hero--nosotros {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(61, 179, 74, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 100%,
      rgba(0, 105, 173, 0.12),
      transparent 35%
    ),
    linear-gradient(180deg, var(--surface-blue), var(--surface));
}

.nosotros-intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.nosotros-intro__visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.nosotros-intro__content h2 {
  margin: 10px 0 22px;
  color: var(--brand);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.nosotros-intro__content > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.nosotros-intro__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.nosotros-intro__highlights div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.nosotros-intro__highlights strong,
.nosotros-intro__highlights span {
  display: block;
}

.nosotros-intro__highlights strong {
  color: var(--brand);
}

.nosotros-intro__highlights span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}


/* Tarjeta de identidad de marca */

.nosotros-brand-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 590px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(61, 179, 74, 0.28),
      transparent 36%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(0, 105, 173, 0.34),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      #20235e 0%,
      #27347c 48%,
      #005386 100%
    );
  box-shadow: 0 24px 55px rgba(32, 35, 94, 0.22);
}

.nosotros-brand-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -115px;
  width: 340px;
  height: 340px;
  border: 50px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.nosotros-brand-card__tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 26px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #123f20;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.nosotros-brand-card__logo-box {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 30px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.nosotros-brand-card__logo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  transform: scale(1.32);
  transform-origin: center;
}

.nosotros-brand-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
}

.nosotros-brand-card__label {
  display: block;
  margin-bottom: 8px;
  color: #8de29a;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.nosotros-brand-card__content h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.nosotros-brand-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.65;
}

.nosotros-brand-card__details {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 28px;
}

.nosotros-brand-card__details span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.77rem;
  font-weight: 750;
  line-height: 1;
  backdrop-filter: blur(8px);
}


/* Misión y visión */

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.purpose-card {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.purpose-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(0, 105, 173, 0.06);
}

.purpose-card--vision::after {
  background: rgba(61, 179, 74, 0.09);
}

.purpose-card__number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(45, 47, 123, 0.1);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.purpose-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--surface-blue), var(--success-bg));
  color: var(--brand-blue);
  font-size: 1.7rem;
  font-weight: 900;
}

.purpose-card__label {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purpose-card h3 {
  position: relative;
  z-index: 2;
  margin: 10px 0 20px;
  color: var(--brand);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.12;
}

.purpose-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
}


/* Valores */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 105, 173, 0.28);
  box-shadow: var(--shadow);
}

.value-card__number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(45, 47, 123, 0.12);
  font-size: 1.6rem;
  font-weight: 900;
}

.value-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-blue), var(--success-bg));
  font-size: 1.35rem;
}

.value-card h3 {
  margin: 0 0 12px;
  color: var(--brand);
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}


/* Áreas de servicio */

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.service-area-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-area-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(0, 105, 173, 0.05);
}

.service-area-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 105, 173, 0.25);
  box-shadow: var(--shadow);
}

.service-area-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-blue), var(--success-bg));
  font-size: 1.3rem;
}

.service-area-card__number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(45, 47, 123, 0.13);
  font-size: 1.45rem;
  font-weight: 900;
}

.service-area-card h3,
.service-area-card p {
  position: relative;
  z-index: 2;
}

.service-area-card h3 {
  margin: 0 0 12px;
  color: var(--brand);
}

.service-area-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}


/* =========================================================
   20. RESPONSIVE GENERAL: HASTA 1024 PX
   ========================================================= */

@media screen and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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


}


/* =========================================================
   21. NAVEGACIÓN Y ESTRUCTURA: HASTA 980 PX
   ========================================================= */

@media screen and (max-width: 980px) {
  .topbar__links a:last-child {
    display: none;
    font-weight: 600;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a:not(.button) {
    padding: 12px;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .split-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .process-panel {
    position: static;
  }

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

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

  .sector-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 22px;
  }

  .sector-model-card__person {
    height: 335px;
  }

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

  .nosotros-intro__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .nosotros-brand-card {
    min-height: 520px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    min-height: auto;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   22. PORTADA: TABLET HORIZONTAL 760–1024 PX
   ========================================================= */

@media screen and (min-width: 760px) and (max-width: 1024px) {
  .hero__grid {
    min-height: 650px;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(330px, 0.85fr);
    align-items: center;
    gap: 34px;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero__content {
    text-align: left;
  }

  .hero__content h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.1rem);
    line-height: 1.01;
  }

  .hero__actions,
  .hero__benefits {
    justify-content: flex-start;
  }

  .hero__visual {
    width: 100%;
    min-height: 505px;
    margin: 0;
  }

  .hero__panel-clip,
  .hero__person-frame {
    top: 100px;
    right: 15px;
    bottom: 20px;
    left: 15px;
  }

  .hero__person-frame {
    clip-path: inset(-245px 0 0 0 round 32px);
  }

  .hero__person {
    right: auto;
    left: 50%;
    bottom: 0;
    height: 550px;
    transform: translateX(-50%);
  }

  .hero-card--one {
    top: 145px;
    right: 0;
  }

  .hero-card--two {
    left: 0;
    bottom: 92px;
  }

  .hero-card--three {
    right: 0;
    bottom: 55px;
  }

    .team-groups {
    gap: 50px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }




}


/* =========================================================
   23. PORTADA: TABLET VERTICAL 481–759 PX
   ========================================================= */

@media screen and (min-width: 481px) and (max-width: 759px) {
  .hero {
    overflow-x: hidden;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    padding-top: 55px;
    padding-bottom: 30px;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .hero__content h1 {
    max-width: 650px;
    margin: 12px 0 18px;
    font-size: clamp(2.4rem, 7.5vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero__content > p {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__actions {
    justify-content: flex-start;
    margin: 24px 0 20px;
  }

  .hero__actions .button {
    width: auto;
    min-height: 48px;
    padding-inline: 21px;
    font-size: 0.92rem;
  }

  .hero__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    width: 100%;
    max-width: 590px;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .hero__benefits span:last-child {
    grid-column: 1 / -1;
  }

  .hero__visual {
    width: min(100%, 460px);
    min-height: 430px;
    margin: 28px auto 0;
    align-self: auto;
  }

  .hero__panel-clip,
  .hero__person-frame {
    top: 105px;
    right: 12px;
    bottom: 0;
    left: 12px;
    border-radius: 30px;
  }

  .hero__person-frame {
    clip-path: inset(-225px 0 0 0 round 30px);
  }

  .hero__person {
    right: auto;
    left: 50%;
    bottom: 0;
    height: 465px;
    transform: translateX(-50%);
  }

  .hero-card--one,
  .hero-card--two,
  .hero-card--three {
    min-width: 96px;
    padding: 11px 14px;
    border-radius: 15px;
    font-size: 0.82rem;
  }

  .hero-card--one {
    top: 145px;
    right: 0;
  }

  .hero-card--two {
    left: 0;
    bottom: 63px;
  }

  .hero-card--three {
    right: 0;
    bottom: 25px;
  }
}


/* =========================================================
   24. SECTORES: CELULAR HASTA 680 PX
   ========================================================= */

@media screen and (max-width: 680px) {
  .sector-model-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 90px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 65px 0 0;
  }

  .sector-model-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 365px;
    margin: 0;
  }

  .sector-model-card__panel {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
  }

  .sector-model-card__content {
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    padding: 195px 22px 24px;
    text-align: left;
  }

  .sector-model-card__eyebrow {
    margin: 0 0 6px;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .sector-model-card h3 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
    font-size: 1.4rem;
    line-height: 1.1;
    overflow-wrap: normal;
    word-break: normal;
  }

  .sector-model-card p {
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .sector-model-card__link {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .sector-model-card__person-frame {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 190px;
    border-radius: 24px;
    clip-path: inset(-95px 0 0 0 round 24px);
  }

  .sector-model-card__person {
    right: auto;
    left: 50%;
    bottom: 0;
    height: 280px;
    object-position: bottom center;
    transform: translateX(-50%);
  }

  .sector-model-card:hover .sector-model-card__panel {
    transform: none;
  }

  .sector-model-card:hover .sector-model-card__person {
    transform: translateX(-50%);
  }

    .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    align-items: stretch;
  }

  .team-card__media {
    min-height: 165px;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .team-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px;
  }

  .team-card__content p {
    font-size: 0.78rem;
  }

  .team-card__area {
    right: 7px;
    bottom: 7px;
    padding: 5px 8px;
    font-size: 0.59rem;
  }

  .team-group__count {
    display: none;
  }

}


/* =========================================================
   25. RESPONSIVE GENERAL: HASTA 640 PX
   ========================================================= */

@media screen and (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    justify-content: center;
    font-weight: 600;
  }

  .topbar__inner > span {
    display: none;
    font-weight: 600;
  }

  .header__inner {
    min-height: 70px;
  }

  .brand__logo {
    width: 175px;
    max-height: 46px;
  }

  .trust-grid,
  .sector-grid,
  .sector-grid--full,
  .feature-grid,
  .form-grid,
  .footer-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 68px;
  }

  .section-heading,
  .cta-block,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading__description {
    max-width: 100%;
  }

  .form-span-2 {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .hero__actions .button {
    width: auto;
  }

  .whatsapp-button {
    right: 14px;
    bottom: 14px;
  }

  .page-hero--nosotros {
    padding-top: 65px;
    padding-bottom: 55px;
  }

  .nosotros-intro__grid {
    gap: 32px;
  }

  .nosotros-brand-card {
    min-height: auto;
    height: auto;
    padding: 25px;
    border-radius: 25px;
  }

  .nosotros-brand-card::before {
    top: -100px;
    right: -110px;
    width: 280px;
    height: 280px;
    border-width: 38px;
  }

  .nosotros-brand-card__tag {
    margin-bottom: 23px;
    padding: 8px 13px;
    font-size: 0.66rem;
  }

  .nosotros-brand-card__logo-box {
    min-height: 88px;
    margin-bottom: 26px;
    padding: 12px 16px;
    border-radius: 17px;
  }

  .nosotros-brand-card__logo {
    max-height: 64px;
    transform: scale(1.25);
  }

  .nosotros-brand-card__content h3 {
    font-size: 1.65rem;
    line-height: 1.12;
  }

  .nosotros-brand-card__content p {
    font-size: 0.91rem;
    line-height: 1.6;
  }

  .nosotros-brand-card__details {
    margin-top: 25px;
    padding-top: 0;
  }

  .nosotros-brand-card__details span {
    padding: 7px 11px;
    font-size: 0.71rem;
  }

  .nosotros-intro__highlights {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    padding: 28px;
    border-radius: 22px;
  }

  .purpose-card__number {
    font-size: 3rem;
  }

  .value-card {
    min-height: auto;
  }

  .product-grid {
  grid-template-columns: 1fr;
}

.product-card img {
  height: 300px;
  padding: 14px;
}

}


/* =========================================================
   26. PORTADA: CELULAR HASTA 480 PX
   ========================================================= */

@media screen and (max-width: 480px) {
  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 30px;
    padding-bottom: 18px;
  }

  .hero__content {
    text-align: left;
  }

  .hero__content h1 {
    max-width: 100%;
    margin: 10px 0 14px;
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
    line-height: 1.02;
  }

  .hero__content > p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0 18px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 0.9rem;
  }

  .hero__visual {
    width: min(100%, 345px);
    min-height: 330px;
    margin: 18px auto 0;
  }

  .hero__panel-clip,
  .hero__person-frame {
    top: 78px;
    right: 8px;
    bottom: 0;
    left: 8px;
    border-radius: 26px;
  }

  .hero__person-frame {
    clip-path: inset(-180px 0 0 0 round 26px);
  }

  .hero__person {
    right: auto;
    left: 50%;
    bottom: 0;
    height: 355px;
    object-position: bottom center;
    transform: translateX(-50%);
  }

  .hero-card--one,
  .hero-card--two,
  .hero-card--three {
    min-width: 88px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.82rem;
  }

  .hero-card--one {
    top: 102px;
    right: 0;
  }

  .hero-card--two {
    left: 0;
    bottom: 52px;
  }

  .hero-card--three {
    right: 0;
    bottom: 12px;
  }
}


/* =========================================================
   27. CELULARES MUY PEQUEÑOS
   ========================================================= */

@media screen and (max-width: 390px) {
  .sector-model-grid {
    gap: 82px;
    padding-top: 58px;
  }

  .sector-model-card {
    min-height: 350px;
  }

  .sector-model-card__content {
    padding: 185px 18px 21px;
  }

  .sector-model-card__person-frame {
    height: 180px;
    clip-path: inset(-85px 0 0 0 round 22px);
  }

  .sector-model-card__person {
    height: 260px;
  }

  .sector-model-card h3 {
    font-size: 1.25rem;
  }

  .sector-model-card p {
    font-size: 0.82rem;
  }

  .hero__visual {
    width: min(100%, 320px);
    min-height: 315px;
  }

  .hero__panel-clip,
  .hero__person-frame {
    top: 74px;
    border-radius: 24px;
  }

  .hero__person-frame {
    clip-path: inset(-165px 0 0 0 round 24px);
  }

  .hero__person {
    height: 335px;
  }

  .hero-card--one,
  .hero-card--two,
  .hero-card--three {
    min-width: 82px;
    padding: 9px 11px;
    font-size: 0.78rem;
  }

  .hero-card--two {
    bottom: 48px;
  }

  .hero-card--three {
    bottom: 10px;
  }
}


/* =========================================================
   28. ACCESIBILIDAD: MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}



/* =========================================================
   NUESTRO EQUIPO
   ========================================================= */

.team-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.team-section::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(61, 179, 74, 0.055);
  pointer-events: none;
}

.team-groups {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 66px;
}

.team-group {
  min-width: 0;
}

.team-group__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.team-group__heading h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.35rem;
  line-height: 1.2;
}

.team-group__line {
  width: 38px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--brand-blue)
  );
}

.team-group__count {
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 105, 173, 0.25);
  box-shadow: var(--shadow);
}

.team-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(61, 179, 74, 0.18),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--surface-blue),
      #e8eef8
    );
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.team-card:hover .team-card__photo {
  transform: scale(1.035);
}

.team-card__area {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(32, 35, 94, 0.78);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.team-card__content {
  padding: 21px;
}

.team-card__content h4 {
  margin: 0 0 3px;
  color: var(--brand);
  font-size: 1.13rem;
  line-height: 1.25;
}

.team-card__role {
  display: block;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.team-card__content p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}


/* =========================================================
   EQUIPO DE TRABAJO — CUADRÍCULA CONTINUA
   ========================================================= */

.team-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.team-section::before {
  content: "";
  position: absolute;
  top: 100px;
  right: -180px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(61, 179, 74, 0.055);
  pointer-events: none;
}

.team-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.team-card {
  min-width: 0;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 24px;

  background: var(--surface);
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 105, 173, 0.25);
  box-shadow: var(--shadow);
}


/* Fotografía */

.team-card__media {
  position: relative;
  overflow: hidden;

  aspect-ratio: 4 / 5;

  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(61, 179, 74, 0.17),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      var(--surface-blue),
      #e8eef8
    );
}

.team-card__photo {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;

  transition: transform 0.35s ease;
}

.team-card:hover .team-card__photo {
  transform: scale(1.035);
}


/* Etiqueta del área */

.team-card__area {
  position: absolute;
  right: 14px;
  bottom: 14px;

  padding: 7px 12px;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  background: rgba(32, 35, 94, 0.82);
  color: #ffffff;

  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;

  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(9px);
}


/* Información */

.team-card__content {
  padding: 21px;
}

.team-card__content h3 {
  margin: 0 0 3px;

  color: var(--brand);

  font-size: 1.15rem;
  line-height: 1.25;
}

.team-card__role {
  display: block;

  color: var(--accent-dark);

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

.team-card__content p {
  margin: 13px 0 0;

  color: var(--muted);

  font-size: 0.84rem;
  line-height: 1.5;
}

/* Tablet horizontal */

@media screen and (max-width: 1100px) {

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

}


/* Tablet vertical */

@media screen and (max-width: 760px) {

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

}


/* Celular */

@media screen and (max-width: 520px) {

  .team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .team-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .team-card__media {
    min-height: 170px;
    aspect-ratio: auto;
  }

  .team-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 17px;
  }

  .team-card__content h3 {
    font-size: 1rem;
  }

  .team-card__content p {
    font-size: 0.77rem;
    line-height: 1.45;
  }

  .team-card__area {
    right: 7px;
    bottom: 7px;

    padding: 5px 8px;

    font-size: 0.56rem;
  }

}



/* =========================================================
   DETALLE DE CADA SECTOR
   ========================================================= */

/* Evita que el encabezado fijo tape las secciones al navegar */
#prendas-sector,
#productos-sector {
  scroll-margin-top: 110px;
}


/* =========================================================
   PORTADA DEL SECTOR
   ========================================================= */

.sector-detail-hero {
  position: relative;
  overflow: hidden;

  padding: 75px 0 55px;

  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(61, 179, 74, 0.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 90%,
      rgba(0, 105, 173, 0.1),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      var(--surface-blue),
      var(--surface)
    );
}

.sector-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 65px;
}

.sector-detail-hero__content {
  position: relative;
  z-index: 3;
}

.sector-detail-hero__content h1 {
  max-width: 760px;

  margin: 10px 0 22px;

  color: var(--brand);

  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.sector-detail-hero__content > p {
  max-width: 680px;

  margin: 0;

  color: var(--muted);

  font-size: 1.08rem;
  line-height: 1.7;
}

.sector-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;

  margin-top: 30px;
}

.sector-detail-hero__visual {
  position: relative;

  min-height: 470px;

  isolation: isolate;
}

.sector-detail-hero__panel {
  position: absolute;
  z-index: 1;

  inset: 70px 10px 0;

  overflow: hidden;

  border: 1px solid rgba(45, 47, 123, 0.12);
  border-radius: 34px;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(61, 179, 74, 0.2),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #ffffff,
      #e9f3fb
    );

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

.sector-detail-hero__person-frame {
  position: absolute;
  z-index: 2;

  inset: 0 10px 0;

  overflow: visible;

  border-radius: 34px;

  clip-path: inset(-180px 0 0 0 round 34px);

  pointer-events: none;
}

.sector-detail-hero__person {
  position: absolute;

  right: 50%;
  bottom: 0;

  width: auto;
  height: 520px;
  max-width: none;

  object-fit: contain;
  object-position: bottom center;

  transform: translateX(50%);

  filter: drop-shadow(
    0 20px 18px rgba(32, 35, 94, 0.18)
  );
}


/* =========================================================
   INTRODUCCIÓN DEL SECTOR
   ========================================================= */

.sector-introduction {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 70px;
}

.sector-introduction h2 {
  margin: 10px 0 0;

  color: var(--brand);

  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sector-introduction > p {
  margin: 0;
  padding-top: 28px;

  color: var(--muted);

  font-size: 1.02rem;
  line-height: 1.8;
}


/* =========================================================
   PRENDAS DISPONIBLES POR SECTOR
   ========================================================= */

.sector-garments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.sector-garment-card {
  position: relative;
  overflow: hidden;

  min-width: 0;
  min-height: 270px;

  display: flex;
  flex-direction: column;

  padding: 28px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: var(--surface);

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

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

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

  position: absolute;

  right: -55px;
  bottom: -65px;

  width: 160px;
  height: 160px;

  border-radius: 50%;

  background: rgba(0, 105, 173, 0.05);

  pointer-events: none;
}

.sector-garment-card:hover {
  transform: translateY(-6px);

  border-color: rgba(0, 105, 173, 0.28);

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

.sector-garment-card__number {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  margin-bottom: 26px;

  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--success-bg)
    );

  color: var(--brand-blue);

  font-size: 0.82rem;
  font-weight: 900;
}

.sector-garment-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 12px;

  color: var(--brand);

  font-size: 1.12rem;
  line-height: 1.3;
}

.sector-garment-card p {
  position: relative;
  z-index: 2;

  margin: 0 0 20px;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.55;
}

.sector-garment-card a {
  position: relative;
  z-index: 2;

  margin-top: auto;

  color: var(--brand-blue);

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

.sector-garment-card a:hover {
  color: var(--accent-dark);
}


/* =========================================================
   PERSONALIZACIÓN DEL SECTOR
   ========================================================= */

.sector-customization {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(61, 179, 74, 0.09),
      transparent 30%
    ),
    var(--surface);
}

.sector-customization__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
}

.sector-customization h2 {
  margin: 10px 0 18px;

  color: var(--brand);

  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sector-customization p {
  max-width: 570px;

  margin: 0;

  color: var(--muted);
}

.sector-customization__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sector-customization__options span {
  position: relative;

  padding: 17px 18px 17px 45px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: var(--surface);

  color: var(--brand);

  font-size: 0.9rem;
  font-weight: 750;

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

.sector-customization__options span::before {
  content: "✓";

  position: absolute;
  top: 50%;
  left: 17px;

  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--success-bg);
  color: var(--accent-dark);

  font-size: 0.72rem;
  font-weight: 900;

  transform: translateY(-50%);
}


/* =========================================================
   RESPONSIVE DEL DETALLE DEL SECTOR
   ========================================================= */

@media screen and (max-width: 1100px) {

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

}


@media screen and (max-width: 980px) {

  .sector-detail-hero__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .sector-detail-hero__visual {
    width: min(100%, 520px);
    min-height: 430px;

    margin-inline: auto;
  }

  .sector-detail-hero__person {
    height: 470px;
  }

  .sector-introduction,
  .sector-customization__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sector-introduction > p {
    padding-top: 0;
  }

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

}


@media screen and (max-width: 640px) {

  .sector-detail-hero {
    padding: 55px 0 35px;
  }

  .sector-detail-hero__content h1 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .sector-detail-hero__content > p {
    font-size: 0.96rem;
  }

  .sector-detail-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sector-detail-hero__actions .button,
  .sector-detail-hero__actions .text-link {
    width: 100%;
    text-align: center;
  }

  .sector-detail-hero__visual {
    min-height: 350px;
  }

  .sector-detail-hero__panel {
    inset: 65px 0 0;
    border-radius: 26px;
  }

  .sector-detail-hero__person-frame {
    inset: 0;
    border-radius: 26px;
    clip-path: inset(-130px 0 0 0 round 26px);
  }

  .sector-detail-hero__person {
    height: 375px;
  }

  .sector-garments-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sector-garment-card {
    min-height: auto;
    padding: 23px;
  }

  .sector-garment-card__number {
    margin-bottom: 20px;
  }

  .sector-customization__options {
    grid-template-columns: 1fr;
  }

}



/* =========================================================
   PÁGINA GENERAL DE SECTORES
   ========================================================= */

.page-hero--sectores {
  padding-top: 68px;
  padding-bottom: 36px;
}

.page-hero--sectores .narrow {
  max-width: 850px;
}

.page-hero--sectores h1 {
  max-width: 850px;
  margin-inline: auto;
}

.page-hero--sectores p {
  max-width: 780px;
  margin: 22px auto 0;
}


/* Reduce el espacio entre portada y tarjetas */

.sector-list-section {
  padding-top: 28px;
  padding-bottom: 92px;
}

.sector-list-section .sector-model-grid {
  padding-top: 38px;
}

@media screen and (max-width: 680px) {

  .page-hero--sectores {
    padding-top: 52px;
    padding-bottom: 25px;
  }

  .sector-list-section {
    padding-top: 18px;
    padding-bottom: 68px;
  }

  .sector-list-section .sector-model-grid {
    padding-top: 55px;
  }

}



/* =========================================================
   CATÁLOGO DE PRODUCTOS
   ========================================================= */
/* =========================================================
   ESPACIADO DEL CATÁLOGO
   ========================================================= */

.page-hero--catalogo {
  padding-top: 65px;
  padding-bottom: 24px;
}

.page-hero--catalogo .narrow {
  max-width: 900px;
}

.page-hero--catalogo p {
  margin-bottom: 0;
}

.catalog-section {
  padding-top: 22px;
  padding-bottom: 92px;
}


/* Controles */

.catalog-controls {
  margin-bottom: 38px;
  padding: 28px;

  border: 1px solid var(--line);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.08),
      transparent 28%
    ),
    var(--surface);

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

.catalog-controls__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 20px;
}


/* Buscador */

.catalog-search {
  position: relative;
  display: block;
}

.catalog-search__icon {
  position: absolute;
  top: 50%;
  left: 18px;

  color: var(--brand-blue);

  font-size: 1.3rem;

  transform: translateY(-50%);
  pointer-events: none;
}

.catalog-search input {
  width: 100%;
  height: 56px;

  padding: 0 18px 0 50px;

  border: 1px solid #cbd6e2;
  border-radius: 16px;

  background: var(--surface);
  color: var(--ink);

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-search input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 105, 173, 0.12);
}


/* Selector de sector */

.catalog-sector-select {
  display: grid;
  gap: 7px;

  color: var(--brand);

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

.catalog-sector-select select {
  width: 100%;
  height: 56px;

  padding: 0 16px;

  border: 1px solid #cbd6e2;
  border-radius: 16px;

  background: var(--surface);
  color: var(--ink);

  outline: none;
}


/* Categorías */

.catalog-category-filter {
  margin-top: 24px;
}

.catalog-category-filter__label {
  display: block;

  margin-bottom: 10px;

  color: var(--brand);

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-category-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.catalog-filter {
  padding: 8px 14px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: var(--surface);
  color: var(--muted);

  font-size: 0.78rem;
  font-weight: 750;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.catalog-filter:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.catalog-filter.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}


/* Resumen */

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 24px;
  padding-top: 20px;

  border-top: 1px solid var(--line);
}

.catalog-summary p {
  margin: 0;

  color: var(--muted);

  font-size: 0.9rem;
}


/* Cuadrícula */

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

.catalog-product[hidden] {
  display: none !important;
}


/* Imagen faltante */

.product-card__image-placeholder {
  width: 100%;
  height: 285px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

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

  background: linear-gradient(
    180deg,
    #ffffff,
    var(--surface-soft)
  );

  color: var(--muted);
}

.product-card__image-placeholder span {
  font-size: 2.2rem;
}

.product-card__image-placeholder small {
  font-weight: 700;
}


/* Etiquetas de sectores */

.product-card__sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  margin: 0 0 20px;
}

.product-card__sector-tags span {
  padding: 5px 9px;

  border-radius: 999px;

  background: var(--surface-blue);
  color: var(--brand-blue);

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


/* Sin resultados */

.catalog-empty {
  padding: 55px 25px;

  border: 1px dashed #c8d5e4;
  border-radius: 24px;

  background: var(--surface-soft);

  text-align: center;
}

.catalog-empty > span {
  font-size: 2.5rem;
}

.catalog-empty h2 {
  margin: 14px 0 5px;
  color: var(--brand);
}

.catalog-empty p {
  margin: 0 0 22px;
  color: var(--muted);
}


/* Mostrar más */

.catalog-load-more {
  display: flex;
  justify-content: center;

  margin-top: 38px;
}

.catalog-load-more .button {
  min-width: 230px;
}


/* =========================================================
   RESPONSIVE DEL CATÁLOGO
   ========================================================= */

@media screen and (max-width: 1180px) {

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

}


@media screen and (max-width: 900px) {

  .catalog-controls__top {
    grid-template-columns: 1fr;
  }

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

}


@media screen and (max-width: 640px) {

  .page-hero--catalogo {
    padding-top: 48px;
    padding-bottom: 18px;
  }

  .catalog-section {
    padding-top: 16px;
    padding-bottom: 68px;
  }

  .catalog-controls {
    padding: 20px;
    border-radius: 20px;
  }

  .catalog-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filter {
    font-size: 0.72rem;
  }

  .catalog-load-more .button {
    width: 100%;
  }

}

/* =========================================================
   PÁGINA DE PERSONALIZACIÓN
   ========================================================= */

.page-hero--personalizacion {
  padding-top: 70px;
  padding-bottom: 42px;

  background:
    radial-gradient(
      circle at 84% 12%,
      rgba(61, 179, 74, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 100%,
      rgba(0, 105, 173, 0.1),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--surface-blue),
      var(--surface)
    );
}

.page-hero--personalizacion .narrow {
  max-width: 930px;
}

.page-hero--personalizacion p {
  max-width: 790px;
  margin: 20px auto 0;
}

.personalization-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;

  margin-top: 28px;
}


/* =========================================================
   OPCIONES DE PERSONALIZACIÓN
   ========================================================= */

.personalization-options {
  padding-top: 48px;
}

.personalization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.personalization-card {
  position: relative;
  overflow: hidden;

  min-width: 0;
  min-height: 470px;

  padding: 34px;

  border: 1px solid var(--line);
  border-radius: 26px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.07),
      transparent 30%
    ),
    var(--surface);

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

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

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

  position: absolute;
  right: -70px;
  bottom: -80px;

  width: 210px;
  height: 210px;

  border-radius: 50%;

  background: rgba(0, 105, 173, 0.045);

  pointer-events: none;
}

.personalization-card:hover {
  transform: translateY(-6px);

  border-color: rgba(0, 105, 173, 0.25);

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

.personalization-card__number {
  position: absolute;
  top: 25px;
  right: 28px;

  color: rgba(45, 47, 123, 0.1);

  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.personalization-card__icon {
  position: relative;
  z-index: 2;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin-bottom: 26px;

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--success-bg)
    );

  font-size: 1.5rem;
}

.personalization-card__label {
  position: relative;
  z-index: 2;

  color: var(--accent-dark);

  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.personalization-card h3 {
  position: relative;
  z-index: 2;

  margin: 8px 0 14px;

  color: var(--brand);

  font-size: 1.65rem;
  line-height: 1.15;
}

.personalization-card p {
  position: relative;
  z-index: 2;

  margin: 0 0 22px;

  color: var(--muted);

  line-height: 1.65;
}

.personalization-card ul {
  position: relative;
  z-index: 2;

  display: grid;
  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.personalization-card li {
  position: relative;

  padding-left: 28px;

  color: var(--ink);

  font-size: 0.9rem;
}

.personalization-card li::before {
  content: "✓";

  position: absolute;
  top: 1px;
  left: 0;

  width: 19px;
  height: 19px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--success-bg);
  color: var(--accent-dark);

  font-size: 0.68rem;
  font-weight: 900;
}


/* =========================================================
   PROCESO DE PERSONALIZACIÓN
   ========================================================= */

.personalization-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 70px;
}

.personalization-process__intro {
  position: sticky;
  top: 120px;
}

.personalization-process__intro h2 {
  margin: 10px 0 20px;

  color: var(--brand);

  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.personalization-process__intro p {
  margin: 0 0 28px;

  color: var(--muted);
}

.personalization-steps {
  display: grid;
  gap: 17px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.personalization-steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: start;
  gap: 20px;

  padding: 25px;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: var(--surface);

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

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.personalization-steps li:hover {
  transform: translateX(5px);
  border-color: rgba(0, 105, 173, 0.25);
}

.personalization-steps__number {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      var(--brand),
      var(--brand-blue)
    );

  color: #ffffff;

  font-size: 0.82rem;
  font-weight: 900;
}

.personalization-steps h3 {
  margin: 2px 0 7px;

  color: var(--brand);

  font-size: 1.12rem;
}

.personalization-steps p {
  margin: 0;

  color: var(--muted);

  font-size: 0.9rem;
}


/* =========================================================
   DETALLES CONFIGURABLES
   ========================================================= */

.personalization-details {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(61, 179, 74, 0.08),
      transparent 30%
    ),
    var(--surface);
}

.personalization-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 70px;
}

.personalization-details h2 {
  margin: 10px 0 18px;

  color: var(--brand);

  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.personalization-details p {
  max-width: 540px;
  margin: 0;

  color: var(--muted);
}

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

.personalization-details__options span {
  position: relative;

  min-height: 74px;

  display: flex;
  align-items: center;

  padding: 15px 14px 15px 42px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: var(--surface);

  color: var(--brand);

  font-size: 0.82rem;
  font-weight: 750;

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

.personalization-details__options span::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 17px;

  width: 11px;
  height: 11px;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      var(--accent),
      var(--brand-blue)
    );

  transform: translateY(-50%);
}


/* =========================================================
   RESPONSIVE DE PERSONALIZACIÓN
   ========================================================= */

@media screen and (max-width: 980px) {

  .personalization-process__layout,
  .personalization-details__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .personalization-process__intro {
    position: static;
  }

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

}


@media screen and (max-width: 700px) {

  .personalization-grid {
    grid-template-columns: 1fr;
  }

  .personalization-card {
    min-height: auto;
  }

}


@media screen and (max-width: 640px) {

  .page-hero--personalizacion {
    padding-top: 52px;
    padding-bottom: 30px;
  }

  .personalization-options {
    padding-top: 34px;
  }

  .personalization-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .personalization-card {
    padding: 26px;
    border-radius: 22px;
  }

  .personalization-card__number {
    top: 22px;
    right: 22px;
    font-size: 2.2rem;
  }

  .personalization-steps li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    padding: 20px;
  }

  .personalization-steps__number {
    width: 44px;
    height: 44px;
  }

  .personalization-details__options {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   PÁGINA DE CONTACTO
   ========================================================= */

.page-hero--contacto {
  padding-top: 68px;
  padding-bottom: 34px;

  background:
    radial-gradient(
      circle at 84% 10%,
      rgba(61, 179, 74, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 100%,
      rgba(0, 105, 173, 0.09),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--surface-blue),
      var(--surface)
    );
}

.page-hero--contacto .narrow {
  max-width: 900px;
}

.page-hero--contacto p {
  max-width: 760px;
  margin: 20px auto 0;
}


/* =========================================================
   TARJETAS DE PERSONAS DE CONTACTO
   ========================================================= */

.contact-team-section {
  padding-top: 48px;
}

.contact-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-person-card {
  min-width: 0;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);

  border: 1px solid var(--line);
  border-radius: 28px;

  background: var(--surface);

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

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-person-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 105, 173, 0.25);
  box-shadow: var(--shadow);
}


/* Fotografía */

.contact-person-card__media {
  position: relative;
  overflow: hidden;

  min-height: 570px;

  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(61, 179, 74, 0.18),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--surface-blue),
      #e7eef8
    );
}

.contact-person-card__photo {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;

  transition: transform 0.35s ease;
}

.contact-person-card:hover .contact-person-card__photo {
  transform: scale(1.025);
}

.contact-person-card__placeholder {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  min-height: 570px;

  font-size: 5rem;
}

.contact-person-card__area {
  position: absolute;
  right: 16px;
  bottom: 16px;

  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  background: rgba(32, 35, 94, 0.84);
  color: #ffffff;

  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  backdrop-filter: blur(9px);
}


/* Contenido */

.contact-person-card__content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 32px;
}

.contact-person-card__label {
  color: var(--accent-dark);

  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.contact-person-card__content h3 {
  margin: 7px 0 3px;

  color: var(--brand);

  font-size: 1.75rem;
  line-height: 1.15;
}

.contact-person-card__role {
  display: block;

  color: var(--brand-blue);

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

.contact-person-card__content > p {
  margin: 18px 0 24px;

  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.6;
}


/* Canales personales */

.contact-person-card__channels {
  display: grid;
  gap: 10px;

  margin-bottom: 24px;
}

.contact-person-card__channel {
  min-width: 0;

  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;

  padding: 11px 13px;

  border: 1px solid var(--line);
  border-radius: 14px;

  background: var(--surface-soft);

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-person-card__channel:hover {
  border-color: rgba(0, 105, 173, 0.3);
  background: var(--surface-blue);
}

.contact-person-card__channel > span:first-child {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: var(--success-bg);
  color: var(--accent-dark);

  font-weight: 900;
}

.contact-person-card__channel small,
.contact-person-card__channel strong {
  display: block;
}

.contact-person-card__channel small {
  color: var(--muted);
  font-size: 0.66rem;
}

.contact-person-card__channel strong {
  overflow-wrap: anywhere;

  color: var(--brand);

  font-size: 0.78rem;
}


/* Botones */

.contact-person-card__actions {
  display: grid;
  gap: 10px;

  margin-top: auto;
}

.contact-person-card__actions .button {
  width: 100%;
  min-height: 45px;

  padding-inline: 15px;

  font-size: 0.78rem;
}


/* =========================================================
   CANALES GENERALES
   ========================================================= */

.contact-channels-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px;
}

.contact-info-card,
.contact-quote-card {
  min-width: 0;

  padding: 36px;

  border-radius: 26px;

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

.contact-info-card {
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-info-card__icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin-bottom: 24px;

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--success-bg)
    );

  color: var(--brand-blue);

  font-size: 1.4rem;
}

.contact-info-card h2,
.contact-quote-card h2 {
  margin: 8px 0 14px;

  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 1.1;
}

.contact-info-card h2 {
  color: var(--brand);
}

.contact-info-card > div > p {
  color: var(--muted);
}

.contact-info-card__list {
  display: grid;
  gap: 10px;

  margin-top: 26px;
}

.contact-info-card__list a,
.contact-info-card__list > div {
  display: grid;
  gap: 3px;

  padding: 15px 17px;

  border: 1px solid var(--line);
  border-radius: 15px;

  background: var(--surface-soft);
}

.contact-info-card__list span {
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-info-card__list strong {
  overflow-wrap: anywhere;

  color: var(--brand);
  font-size: 0.9rem;
}


/* Tarjeta de cotización */

.contact-quote-card {
  border: 1px solid rgba(255, 255, 255, 0.14);

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.23),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--brand-dark),
      var(--brand)
    );

  color: #ffffff;
}

.contact-quote-card h2 {
  color: #ffffff;
}

.contact-quote-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-quote-card ul {
  display: grid;
  gap: 9px;

  margin: 24px 0 28px;
  padding: 0;

  list-style: none;
}

.contact-quote-card li {
  position: relative;

  padding-left: 26px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 0.88rem;
}

.contact-quote-card li::before {
  content: "✓";

  position: absolute;
  left: 0;

  color: #8de29a;

  font-weight: 900;
}


/* =========================================================
   RESPONSIVE DE CONTACTO
   ========================================================= */

@media screen and (max-width: 1100px) {

  .contact-team-grid {
    grid-template-columns: 1fr;
  }

  .contact-person-card__media {
    min-height: 500px;
  }

}


@media screen and (max-width: 800px) {

  .contact-person-card {
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 640px) {

  .page-hero--contacto {
    padding-top: 50px;
    padding-bottom: 28px;
  }

  .contact-team-section {
    padding-top: 34px;
  }

  .contact-person-card {
    grid-template-columns: 1fr;
  }

  .contact-person-card__media {
    min-height: 390px;
    max-height: 470px;
  }

  .contact-person-card__content {
    padding: 25px;
  }

  .contact-info-card,
  .contact-quote-card {
    padding: 26px;
    border-radius: 22px;
  }

}


/* =========================================================
   UBICACIÓN Y SEDE - PÁGINA DE CONTACTO
   ========================================================= */

.contact-location-section {
  padding-top: 82px;
  padding-bottom: 96px;

  background:
    radial-gradient(
      circle at 8% 90%,
      rgba(0, 105, 173, 0.07),
      transparent 30%
    ),
    var(--surface);
}

.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 28px;
}


/* =========================================================
   IMAGEN DE LA EMPRESA
   ========================================================= */

.contact-company-card {
  min-width: 0;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 28px;

  background: var(--surface);

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

.contact-company-card__image {
  position: relative;
  overflow: hidden;

  height: 350px;

  background: var(--surface-soft);
}

.contact-company-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.4s ease;
}

.contact-company-card:hover .contact-company-card__image img {
  transform: scale(1.035);
}

.contact-company-card__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;

  padding: 9px 14px;

  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;

  background: rgba(32, 35, 94, 0.88);
  color: #ffffff;

  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  backdrop-filter: blur(8px);
}

.contact-company-card__content {
  padding: 30px;
}

.contact-company-card__content h3 {
  margin: 8px 0 14px;

  color: var(--brand);

  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.15;
}

.contact-company-card__content > p {
  margin: 0 0 24px;

  color: var(--muted);

  line-height: 1.65;
}

.contact-company-card__address {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;

  padding: 15px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: var(--surface-soft);
}

.contact-company-card__address > span {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background: var(--surface-blue);

  font-size: 1.25rem;
}

.contact-company-card__address small,
.contact-company-card__address strong {
  display: block;
}

.contact-company-card__address small {
  margin-bottom: 2px;

  color: var(--muted);

  font-size: 0.7rem;
}

.contact-company-card__address strong {
  color: var(--brand);

  font-size: 0.9rem;
  line-height: 1.4;
}


/* =========================================================
   MAPA
   ========================================================= */

.contact-map-card {
  min-width: 0;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--line);
  border-radius: 28px;

  background: var(--surface);

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

.contact-map-card__map {
  min-height: 515px;
  flex: 1;

  background: var(--surface-soft);
}

.contact-map-card__map iframe {
  width: 100%;
  height: 100%;
  min-height: 515px;

  display: block;

  border: 0;
}

.contact-map-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 22px 24px;

  border-top: 1px solid var(--line);
}

.contact-map-card__footer > div {
  min-width: 0;
}

.contact-map-card__footer span,
.contact-map-card__footer strong {
  display: block;
}

.contact-map-card__footer span {
  margin-bottom: 3px;

  color: var(--muted);

  font-size: 0.7rem;
}

.contact-map-card__footer strong {
  color: var(--brand);

  font-size: 0.84rem;
  line-height: 1.4;
}

.contact-map-card__footer .button {
  flex-shrink: 0;

  padding-inline: 18px;

  font-size: 0.78rem;
}


/* =========================================================
   RESPONSIVE DE UBICACIÓN
   ========================================================= */

@media screen and (max-width: 950px) {

  .contact-location-grid {
    grid-template-columns: 1fr;
  }

  .contact-company-card__image {
    height: 420px;
  }

  .contact-map-card__map,
  .contact-map-card__map iframe {
    min-height: 450px;
  }

}


@media screen and (max-width: 640px) {

  .contact-location-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .contact-company-card,
  .contact-map-card {
    border-radius: 22px;
  }

  .contact-company-card__image {
    height: 300px;
  }

  .contact-company-card__content {
    padding: 24px;
  }

  .contact-map-card__map,
  .contact-map-card__map iframe {
    min-height: 350px;
  }

  .contact-map-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-map-card__footer .button {
    width: 100%;
  }

}

/* =========================================================
   PÁGINA DE COTIZACIÓN
   ========================================================= */

.page-hero--cotizar {
  padding-top: 68px;
  padding-bottom: 30px;

  background:
    radial-gradient(
      circle at 86% 8%,
      rgba(61, 179, 74, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 100%,
      rgba(0, 105, 173, 0.09),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--surface-blue),
      var(--surface)
    );
}

.page-hero--cotizar .narrow {
  max-width: 900px;
}

.page-hero--cotizar p {
  max-width: 760px;
  margin: 20px auto 0;
}


/* =========================================================
   SECCIÓN Y DISTRIBUCIÓN
   ========================================================= */

.quote-section {
  padding-top: 38px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: start;
  gap: 30px;
}


/* =========================================================
   MENSAJES DE RESPUESTA
   ========================================================= */

.quote-alert {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;

  margin-bottom: 26px;
  padding: 17px 20px;

  border-radius: 17px;
}

.quote-alert > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  font-weight: 900;
}

.quote-alert strong,
.quote-alert p {
  display: block;
}

.quote-alert p {
  margin: 3px 0 0;
}

.alert--success.quote-alert > span {
  background: rgba(61, 179, 74, 0.14);
  color: var(--accent-dark);
}

.alert--error.quote-alert > span {
  background: rgba(190, 48, 48, 0.12);
  color: #a32626;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.quote-form--organized {
  min-width: 0;

  padding: 34px;

  border: 1px solid var(--line);
  border-radius: 28px;

  background: var(--surface);

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

.quote-form__section {
  min-width: 0;

  margin: 0;
  padding: 0 0 32px;

  border: 0;
}

.quote-form__section + .quote-form__section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.quote-form__section legend {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 14px;

  margin: 0 0 24px;
  padding: 0;
}

.quote-form__section legend > span:last-child {
  display: grid;
  gap: 3px;
}

.quote-form__section legend strong {
  color: var(--brand);

  font-size: 1.08rem;
}

.quote-form__section legend small {
  color: var(--muted);

  font-size: 0.76rem;
  font-weight: 500;
}

.quote-form__section-number {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      var(--brand),
      var(--brand-blue)
    );

  color: #ffffff;

  font-size: 0.75rem;
  font-weight: 900;
}


/* Campos */

.quote-form--organized .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote-form--organized label {
  min-width: 0;
}

.quote-form--organized label > span:first-child {
  display: block;

  margin-bottom: 8px;

  color: var(--ink);

  font-size: 0.82rem;
  font-weight: 750;
}

.quote-form--organized label > span:first-child strong {
  color: var(--accent-dark);
}

.quote-form--organized input:not([type="checkbox"]),
.quote-form--organized select,
.quote-form--organized textarea {
  width: 100%;

  border: 1px solid #cbd6e2;
  border-radius: 14px;

  background: var(--surface);
  color: var(--ink);

  font: inherit;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quote-form--organized input:not([type="checkbox"]),
.quote-form--organized select {
  height: 52px;
  padding: 0 15px;
}

.quote-form--organized textarea {
  min-height: 155px;

  padding: 15px;

  line-height: 1.55;

  resize: vertical;
}

.quote-form--organized input:focus,
.quote-form--organized select:focus,
.quote-form--organized textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 105, 173, 0.11);
}

.quote-form--organized input::placeholder,
.quote-form--organized textarea::placeholder {
  color: #94a0ad;
}

.quote-form--organized .form-span-2 {
  grid-column: 1 / -1;
}

.form-help {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-size: 0.7rem;
  line-height: 1.45;
}


/* Autorización */

.quote-form__authorization {
  padding: 20px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: var(--surface-soft);
}

.quote-form__authorization .checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;

  margin: 0;
}

.quote-form__authorization input[type="checkbox"] {
  width: 18px;
  height: 18px;

  margin-top: 2px;

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

.quote-form__authorization .checkbox span {
  margin: 0;

  color: var(--muted);

  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}


/* Pie del formulario */

.quote-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 25px;
}

.quote-form__footer p {
  margin: 0;

  color: var(--muted);

  font-size: 0.72rem;
}

.quote-form__footer p strong {
  color: var(--accent-dark);
}

.quote-form__submit {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  min-width: 190px;
}

.quote-form__submit span {
  font-size: 1.1rem;
}


/* =========================================================
   INFORMACIÓN LATERAL
   ========================================================= */

.quote-aside {
  position: sticky;
  top: 110px;

  display: grid;
  gap: 18px;
}

.quote-aside__main {
  overflow: hidden;

  padding: 30px;

  border-radius: 26px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.24),
      transparent 33%
    ),
    linear-gradient(
      145deg,
      var(--brand-dark),
      var(--brand)
    );

  color: #ffffff;

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

.quote-aside__main h2 {
  margin: 9px 0 25px;

  color: #ffffff;

  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.quote-aside__main ul {
  display: grid;
  gap: 20px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.quote-aside__main li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.quote-aside__main li > span {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);
  color: #92e69e;

  font-size: 0.67rem;
  font-weight: 900;
}

.quote-aside__main li strong {
  display: block;

  margin-bottom: 4px;

  color: #ffffff;

  font-size: 0.86rem;
}

.quote-aside__main li p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.76rem;
  line-height: 1.5;
}


/* Contacto lateral */

.quote-aside__contact {
  padding: 23px;

  border: 1px solid var(--line);
  border-radius: 21px;

  background: var(--surface);

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

.quote-aside__contact-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  margin-bottom: 15px;

  border-radius: 14px;

  background: var(--success-bg);

  font-size: 1.2rem;
}

.quote-aside__contact h3 {
  margin: 0 0 7px;

  color: var(--brand);
}

.quote-aside__contact p {
  margin: 0 0 18px;

  color: var(--muted);

  font-size: 0.8rem;
}

.quote-aside__contact .button {
  width: 100%;
}


/* Nota */

.quote-aside__note {
  margin: 0;
  padding: 18px;

  border-left: 4px solid var(--brand-blue);
  border-radius: 0 14px 14px 0;

  background: var(--surface-blue);
  color: var(--muted);

  font-size: 0.72rem;
  line-height: 1.55;
}

.quote-aside__note strong {
  color: var(--brand);
}


/* =========================================================
   SIGUIENTES PASOS
   ========================================================= */

.quote-next-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.quote-next-steps__grid article {
  padding: 27px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: var(--surface);

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

.quote-next-steps__grid article > span {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  margin-bottom: 20px;

  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--success-bg)
    );

  color: var(--brand);

  font-size: 0.72rem;
  font-weight: 900;
}

.quote-next-steps__grid h3 {
  margin: 0 0 9px;

  color: var(--brand);

  font-size: 1.08rem;
}

.quote-next-steps__grid p {
  margin: 0;

  color: var(--muted);

  font-size: 0.83rem;
}


/* =========================================================
   RESPONSIVE DE COTIZACIÓN
   ========================================================= */

@media screen and (max-width: 1050px) {

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-aside {
    position: static;

    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    align-items: start;
  }

  .quote-aside__note {
    grid-column: 1 / -1;
  }

}


@media screen and (max-width: 760px) {

  .quote-form--organized .form-grid {
    grid-template-columns: 1fr;
  }

  .quote-form--organized .form-span-2 {
    grid-column: auto;
  }

  .quote-aside {
    grid-template-columns: 1fr;
  }

  .quote-aside__note {
    grid-column: auto;
  }

  .quote-next-steps__grid {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 640px) {

  .page-hero--cotizar {
    padding-top: 50px;
    padding-bottom: 22px;
  }

  .quote-section {
    padding-top: 28px;
  }

  .quote-form--organized {
    padding: 23px;

    border-radius: 22px;
  }

  .quote-form__section legend {
    align-items: flex-start;
  }

  .quote-form__section-number {
    width: 42px;
    height: 42px;
  }

  .quote-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-form__submit {
    width: 100%;
  }

  .quote-aside__main {
    padding: 25px;

    border-radius: 22px;
  }

}
/* =========================================================
   VARIAS PRENDAS EN LA COTIZACIÓN
   ========================================================= */

.quote-products {
  display: grid;
  gap: 18px;
}

.quote-product-row {
  padding: 22px;

  border: 1px solid var(--line);
  border-radius: 19px;

  background: var(--surface-soft);
}

.quote-product-row__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 18px;
}

.quote-product-row__header strong {
  color: var(--brand);
  font-size: 0.9rem;
}

.quote-product-row__remove {
  padding: 6px 10px;

  border: 1px solid rgba(180, 45, 45, 0.2);
  border-radius: 999px;

  background: rgba(180, 45, 45, 0.07);
  color: #a32626;

  font-size: 0.7rem;
  font-weight: 800;

  cursor: pointer;
}

.quote-product-row__remove:hover {
  border-color: #a32626;
  background: #a32626;
  color: #ffffff;
}

.quote-product-row__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 18px;
}

.quote-product-row__details {
  grid-column: 1 / -1;
}

.quote-product-row__details textarea {
  min-height: 95px;
}

.quote-add-product {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: 16px;
  padding: 13px 18px;

  border: 1px dashed var(--brand-blue);
  border-radius: 15px;

  background: var(--surface-blue);
  color: var(--brand-blue);

  font-size: 0.82rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.quote-add-product span {
  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--brand-blue);
  color: #ffffff;

  font-size: 1rem;
}

.quote-add-product:hover:not(:disabled) {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.quote-add-product:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.quote-order-general {
  margin-top: 24px;
  padding-top: 24px;

  border-top: 1px solid var(--line);
}


@media screen and (max-width: 640px) {

  .quote-product-row {
    padding: 18px;
  }

  .quote-product-row__grid {
    grid-template-columns: 1fr;
  }

  .quote-product-row__details {
    grid-column: auto;
  }

}




/* =========================================================
   PÁGINA DE PROYECTOS
   ========================================================= */

.page-hero--proyectos {
  padding-top: 62px;
  padding-bottom: 54px;

  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(61, 179, 74, 0.15),
      transparent 29%
    ),
    radial-gradient(
      circle at 8% 100%,
      rgba(0, 105, 173, 0.09),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--surface-blue),
      var(--surface)
    );
}

.project-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.project-hero__content {
  text-align: left;
}

.project-hero__content h1 {
  max-width: 760px;

  margin: 12px 0 22px;

  font-size: clamp(2.8rem, 5.7vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-hero__content > p {
  max-width: 670px;

  margin: 0;

  color: var(--muted);

  font-size: 1.04rem;
  line-height: 1.7;
}

.project-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 28px;
}

.project-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin-top: 32px;
}

.project-hero__features span {
  padding: 7px 11px;

  border: 1px solid rgba(0, 105, 173, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-blue);

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


/* Imagen principal */

.project-hero__visual {
  position: relative;

  min-height: 570px;
  overflow: hidden;

  border: 1px solid rgba(45, 47, 123, 0.12);
  border-radius: 34px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      #e4edf8
    );

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

.project-hero__visual > img {
  width: 100%;
  height: 100%;
  min-height: 570px;

  display: block;

  object-fit: cover;
  object-position: center top;
}

.project-hero__floating-card {
  position: absolute;
  right: 20px;
  bottom: 20px;

  max-width: 245px;

  padding: 17px 19px;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 17px;

  background: rgba(32, 35, 94, 0.88);
  color: #ffffff;

  backdrop-filter: blur(9px);
}

.project-hero__floating-card span,
.project-hero__floating-card strong {
  display: block;
}

.project-hero__floating-card span {
  margin-bottom: 4px;

  color: #8de29a;

  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-hero__floating-card strong {
  font-size: 0.84rem;
  line-height: 1.4;
}


/* =========================================================
   TARJETAS DE PROYECTOS
   ========================================================= */

.project-showcase-section {
  padding-top: 68px;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.project-case-card {
  min-width: 0;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--line);
  border-radius: 26px;

  background: var(--surface);

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

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.project-case-card:hover {
  transform: translateY(-7px);

  border-color: rgba(0, 105, 173, 0.24);

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

.project-case-card__media {
  position: relative;

  height: 390px;
  overflow: hidden;

  background: var(--surface-soft);
}

.project-case-card__image-button {
  width: 100%;
  height: 100%;

  display: block;

  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
}

.project-case-card__image-button img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center top;

  transition: transform 0.35s ease;
}

.project-case-card:hover
.project-case-card__image-button img {
  transform: scale(1.035);
}

.project-case-card__sector {
  position: absolute;
  top: 17px;
  left: 17px;

  z-index: 3;

  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;

  background: rgba(32, 35, 94, 0.88);
  color: #ffffff;

  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  pointer-events: none;
  backdrop-filter: blur(8px);
}


/* Contenido */

.project-case-card__content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 27px;
}

.project-case-card__label {
  color: var(--accent-dark);

  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-case-card h3 {
  margin: 8px 0 13px;

  color: var(--brand);

  font-size: 1.42rem;
  line-height: 1.17;
}

.project-case-card__content > p {
  margin: 0 0 20px;

  color: var(--muted);

  font-size: 0.85rem;
  line-height: 1.6;
}

.project-case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-bottom: 21px;
}

.project-case-card__tags span {
  padding: 6px 9px;

  border-radius: 999px;

  background: var(--surface-blue);
  color: var(--brand-blue);

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


/* Enfoque */

.project-case-card__result {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  align-items: center;
  gap: 11px;

  margin-top: auto;
  padding: 13px;

  border: 1px solid rgba(61, 179, 74, 0.16);
  border-radius: 15px;

  background: var(--success-bg);
}

.project-case-card__result > span {
  width: 37px;
  height: 37px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: rgba(61, 179, 74, 0.14);
  color: var(--accent-dark);

  font-weight: 900;
}

.project-case-card__result small,
.project-case-card__result strong {
  display: block;
}

.project-case-card__result small {
  margin-bottom: 2px;

  color: var(--accent-dark);

  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-case-card__result strong {
  color: var(--ink);

  font-size: 0.75rem;
  line-height: 1.4;
}


/* Enlaces */

.project-case-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;

  margin-top: 21px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.project-case-card__actions .text-link {
  font-size: 0.74rem;
}


/* =========================================================
   PLACEHOLDER DE IMÁGENES
   ========================================================= */

.project-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 25px;

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(61, 179, 74, 0.11),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--surface-soft)
    );

  color: var(--muted);

  text-align: center;
}

.project-image-placeholder > span {
  font-size: 2.8rem;
}

.project-image-placeholder strong {
  color: var(--brand);
}

.project-image-placeholder small {
  overflow-wrap: anywhere;

  color: var(--muted);
}


/* =========================================================
   LOGROS Y CAPACIDADES
   ========================================================= */

.project-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.project-achievement-card {
  position: relative;
  overflow: hidden;

  min-height: 260px;

  padding: 28px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: var(--surface);

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

.project-achievement-card::after {
  content: "";

  position: absolute;
  right: -55px;
  bottom: -65px;

  width: 150px;
  height: 150px;

  border-radius: 50%;

  background: rgba(0, 105, 173, 0.045);
}

.project-achievement-card__number {
  display: block;

  margin-bottom: 35px;

  color: rgba(45, 47, 123, 0.18);

  font-size: 2rem;
  font-weight: 900;
}

.project-achievement-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 10px;

  color: var(--brand);

  font-size: 1.08rem;
}

.project-achievement-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: var(--muted);

  font-size: 0.8rem;
  line-height: 1.6;
}


/* =========================================================
   PROCESO DE DOCUMENTACIÓN
   ========================================================= */

.project-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 70px;
}

.project-process__intro h2 {
  margin: 10px 0 18px;

  color: var(--brand);

  font-size: clamp(2rem, 3.7vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.project-process__intro p {
  max-width: 540px;

  margin: 0;

  color: var(--muted);
}

.project-process__steps {
  display: grid;
  gap: 16px;
}

.project-process__steps article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 17px;

  padding: 23px;

  border: 1px solid var(--line);
  border-radius: 19px;

  background: var(--surface);

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

.project-process__steps article > span {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      var(--brand),
      var(--brand-blue)
    );

  color: #ffffff;

  font-size: 0.73rem;
  font-weight: 900;
}

.project-process__steps h3 {
  margin: 2px 0 7px;

  color: var(--brand);

  font-size: 1.05rem;
}

.project-process__steps p {
  margin: 0;

  color: var(--muted);

  font-size: 0.82rem;
}


/* =========================================================
   RESPONSIVE DE PROYECTOS
   ========================================================= */

@media screen and (max-width: 1100px) {

  .project-hero__layout {
    gap: 45px;
  }

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

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

}


@media screen and (max-width: 900px) {

  .project-hero__layout {
    grid-template-columns: 1fr;
  }

  .project-hero__content {
    text-align: center;
  }

  .project-hero__content > p {
    margin-inline: auto;
  }

  .project-hero__actions,
  .project-hero__features {
    justify-content: center;
  }

  .project-hero__visual {
    width: min(100%, 600px);

    margin-inline: auto;
  }

  .project-process__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

}


@media screen and (max-width: 650px) {

  .page-hero--proyectos {
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .project-hero__content h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .project-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-hero__visual,
  .project-hero__visual > img {
    min-height: 470px;
  }

  .project-showcase-section {
    padding-top: 48px;
  }

  .project-showcase-grid,
  .project-achievements-grid {
    grid-template-columns: 1fr;
  }

  .project-case-card__media {
    height: 410px;
  }

  .project-achievement-card {
    min-height: auto;
  }

}


/* =========================================================
   LISTADO COMPACTO DE PRENDAS POR SECTOR
   ========================================================= */

.sector-garments-compact {
  padding-top: 68px;
  padding-bottom: 78px;
}

.sector-garments-panel {
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 26px;

  background: var(--surface);

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


/* Encabezado del panel */

.sector-garments-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 28px 30px;

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

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.09),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--surface)
    );
}

.sector-garments-panel__header > div {
  min-width: 0;
}

.sector-garments-panel__count {
  display: inline-flex;

  margin-bottom: 7px;
  padding: 6px 10px;

  border-radius: 999px;

  background: var(--success-bg);
  color: var(--accent-dark);

  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sector-garments-panel__header h3 {
  margin: 0 0 7px;

  color: var(--brand);

  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.sector-garments-panel__header p {
  max-width: 680px;

  margin: 0;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.55;
}

.sector-garments-panel__header .button {
  flex-shrink: 0;
}


/* Lista compacta */

.sector-garments-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;

  padding: 24px;
}

.sector-garment-item {
  min-width: 0;
  min-height: 68px;

  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;

  padding: 12px 13px;

  border: 1px solid var(--line);
  border-radius: 15px;

  background: var(--surface-soft);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.sector-garment-item:hover {
  transform: translateY(-3px);

  border-color: rgba(0, 105, 173, 0.3);

  background: var(--surface-blue);

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

.sector-garment-item__icon {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--success-bg);
  color: var(--accent-dark);

  font-size: 0.75rem;
  font-weight: 900;
}

.sector-garment-item strong {
  overflow-wrap: anywhere;

  color: var(--brand);

  font-size: 0.78rem;
  line-height: 1.35;
}

.sector-garment-item__arrow {
  color: var(--brand-blue);

  font-size: 1rem;
  font-weight: 900;

  transition: transform 0.2s ease;
}

.sector-garment-item:hover
.sector-garment-item__arrow {
  transform: translateX(3px);
}


/* Botón para desplegar el resto */

.sector-garments-more {
  border-top: 1px solid var(--line);
}

.sector-garments-more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 17px 24px;

  background: var(--surface-soft);
  color: var(--brand-blue);

  font-size: 0.82rem;
  font-weight: 850;

  cursor: pointer;

  list-style: none;
}

.sector-garments-more summary::-webkit-details-marker {
  display: none;
}

.sector-garments-more summary:hover {
  background: var(--surface-blue);
}

.sector-garments-more__icon {
  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--brand-blue);
  color: #ffffff;

  font-size: 1rem;
  line-height: 1;

  transition: transform 0.25s ease;
}

.sector-garments-more[open]
.sector-garments-more__icon {
  transform: rotate(45deg);
}

.sector-garments-list--more {
  padding-top: 24px;

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

  background: #fbfcfe;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1050px) {

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

}


@media screen and (max-width: 820px) {

  .sector-garments-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

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

}


@media screen and (max-width: 560px) {

  .sector-garments-compact {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .sector-garments-panel {
    border-radius: 21px;
  }

  .sector-garments-panel__header {
    padding: 23px;
  }

  .sector-garments-panel__header .button {
    width: 100%;
  }

  .sector-garments-list {
    grid-template-columns: 1fr;

    padding: 18px;
  }

  .sector-garment-item {
    min-height: 62px;
  }

}

/* =========================================================
   LOGO DEL PIE DE PÁGINA
   ========================================================= */

.brand__logo--footer {
  width: auto;
  height: 64px;
  max-width: 250px;

  display: block;

  object-fit: contain;
}

@media screen and (max-width: 640px) {

  .brand__logo--footer {
    height: 54px;
    max-width: 210px;
  }

}


/* =========================================================
   CARRUSEL DE FOTOGRAFÍAS DEL EQUIPO
   ========================================================= */

.team-gallery-section {
  padding-top: 78px;
  padding-bottom: 92px;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(61, 179, 74, 0.07),
      transparent 30%
    ),
    var(--surface);
}

.team-gallery {
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 30px;

  background: var(--surface);

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


/* Carril */

.team-gallery__track {
  display: flex;

  overflow-x: auto;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;

  outline: none;
}

.team-gallery__track::-webkit-scrollbar {
  display: none;
}

.team-gallery__track:focus-visible {
  outline: 3px solid rgba(0, 105, 173, 0.22);
  outline-offset: -3px;
}


/* Cada fotografía */

.team-gallery__slide {
  min-width: 100%;

  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);

  scroll-snap-align: start;
  scroll-snap-stop: always;
}


/* Imagen */

.team-gallery__media {
  min-width: 0;
  min-height: 530px;

  overflow: hidden;

  background: var(--surface-soft);
}

.team-gallery__image-button {
  width: 100%;
  height: 100%;
  min-height: 530px;

  display: block;

  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
}

.team-gallery__image-button img {
  width: 100%;
  height: 100%;
  min-height: 530px;

  display: block;

  object-fit: cover;
  object-position: center;

  transition: transform 0.4s ease;
}

.team-gallery__slide:hover
.team-gallery__image-button img {
  transform: scale(1.025);
}

.team-gallery__placeholder {
  width: 100%;
  height: 100%;
  min-height: 530px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(61, 179, 74, 0.12),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--surface-soft)
    );

  color: var(--muted);
}

.team-gallery__placeholder span {
  font-size: 3rem;
}

.team-gallery__placeholder strong {
  color: var(--brand);
}


/* Información */

.team-gallery__content {
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 46px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(61, 179, 74, 0.1),
      transparent 32%
    ),
    var(--surface);
}

.team-gallery__counter {
  align-self: flex-start;

  margin-bottom: 27px;
  padding: 7px 11px;

  border-radius: 999px;

  background: var(--surface-blue);
  color: var(--brand-blue);

  font-size: 0.7rem;
  font-weight: 850;
}

.team-gallery__content h3 {
  margin: 10px 0 17px;

  color: var(--brand);

  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.team-gallery__content > p {
  margin: 0;

  color: var(--muted);

  line-height: 1.7;
}

.team-gallery__message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 13px;

  margin-top: 30px;
  padding: 15px;

  border: 1px solid rgba(61, 179, 74, 0.17);
  border-radius: 16px;

  background: var(--success-bg);
}

.team-gallery__message > span {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: rgba(61, 179, 74, 0.15);
  color: var(--accent-dark);

  font-weight: 900;
}

.team-gallery__message p {
  margin: 0;

  color: var(--ink);

  font-size: 0.78rem;
  line-height: 1.5;
}


/* Navegación */

.team-gallery__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 18px 24px;

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

  background: var(--surface-soft);
}

.team-gallery__buttons {
  display: flex;
  gap: 8px;
}

.team-gallery__arrow {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid var(--line);
  border-radius: 50%;

  background: var(--surface);
  color: var(--brand);

  font-size: 1.15rem;
  font-weight: 900;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.team-gallery__arrow:hover:not(:disabled) {
  transform: translateY(-2px);

  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.team-gallery__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


/* Puntos */

.team-gallery__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-gallery__dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: #bdc8d5;

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.team-gallery__dot.is-active {
  width: 29px;

  background: var(--brand-blue);
}


/* =========================================================
   RESPONSIVE DEL CARRUSEL
   ========================================================= */

@media screen and (max-width: 900px) {

  .team-gallery__slide {
    grid-template-columns: 1fr;
  }

  .team-gallery__media,
  .team-gallery__image-button,
  .team-gallery__image-button img,
  .team-gallery__placeholder {
    min-height: 450px;
  }

  .team-gallery__content {
    padding: 36px;
  }

}


@media screen and (max-width: 640px) {

  .team-gallery-section {
    padding-top: 55px;
    padding-bottom: 68px;
  }

  .team-gallery {
    border-radius: 22px;
  }

  .team-gallery__media,
  .team-gallery__image-button,
  .team-gallery__image-button img,
  .team-gallery__placeholder {
    min-height: 310px;
  }

  .team-gallery__content {
    padding: 27px;
  }

  .team-gallery__counter {
    margin-bottom: 20px;
  }

  .team-gallery__navigation {
    padding: 15px 18px;
  }

  .team-gallery__arrow {
    width: 41px;
    height: 41px;
  }

}

/* =========================================================
   TAMAÑO COMPACTO DEL CARRUSEL DEL EQUIPO
   ========================================================= */

.team-gallery {
  width: min(100%, 1150px);
  margin-inline: auto;
}

.team-gallery__slide {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.team-gallery__media,
.team-gallery__image-button,
.team-gallery__image-button img,
.team-gallery__placeholder {
  min-height: 400px;
  height: 400px;
}

.team-gallery__content {
  padding: 34px;
}

.team-gallery__content h3 {
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
}

.team-gallery__counter {
  margin-bottom: 18px;
}

.team-gallery__message {
  margin-top: 22px;
}

@media screen and (max-width: 900px) {

  .team-gallery {
    width: min(100%, 720px);
  }

  .team-gallery__media,
  .team-gallery__image-button,
  .team-gallery__image-button img,
  .team-gallery__placeholder {
    min-height: 360px;
    height: 360px;
  }

  .team-gallery__content {
    padding: 30px;
  }

}

@media screen and (max-width: 640px) {

  .team-gallery {
    width: 100%;
  }

  .team-gallery__media,
  .team-gallery__image-button,
  .team-gallery__image-button img,
  .team-gallery__placeholder {
    min-height: 245px;
    height: 245px;
  }

  .team-gallery__content {
    padding: 23px;
  }

  .team-gallery__content h3 {
    font-size: 1.55rem;
  }

  .team-gallery__message {
    margin-top: 18px;
  }

}

/* =========================================================
   FOTOGRAFÍAS COMPLETAS EN EL CARRUSEL
   ========================================================= */

.team-gallery__media {
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      145deg,
      var(--surface-soft),
      var(--surface-blue)
    );
}

.team-gallery__image-button {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px;

  background:
    linear-gradient(
      145deg,
      var(--surface-soft),
      var(--surface-blue)
    );
}

.team-gallery__image-button img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center;

  background: transparent;

  transition: none;
}

.team-gallery__slide:hover
.team-gallery__image-button img {
  transform: none;
}

.hero__person--portada {
  right: 40px;
}


/* =========================================================
   CARRUSEL DE MODELOS DE LA PORTADA
   ========================================================= */

.hero-model-carousel {
  position: absolute;
  inset: 0;

  z-index: 3;

  width: 100%;
  height: 100%;

  pointer-events: none;
}

.hero-model-carousel__image {
  position: absolute;

  left: 50%;
  bottom: 0;

  width: auto;
  height: 145%;
  max-width: none;

  display: block;

  object-fit: contain;
  object-position: center bottom;

  opacity: 0;
  visibility: hidden;

  transform:
    translateX(-50%)
    translateY(12px)
    scale(0.97);

  transform-origin: center bottom;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    visibility 0.8s ease;
}

.hero-model-carousel__image.is-active {
  opacity: 1;
  visibility: visible;

  transform:
    translateX(-50%)
    translateY(0)
    scale(1);
}


/* Mantener los textos flotantes por encima */

.hero-feature,
.hero-floating-card,
.hero__floating-card {
  position: relative;
  z-index: 5;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

  .hero-model-carousel {
    right: 10px;
    width: min(52vw, 560px);
  }

}


@media screen and (max-width: 760px) {

  .hero-model-carousel {
    position: relative;
    right: auto;
    bottom: auto;

    width: 100%;
    height: 480px;

    margin-top: 25px;
  }

}


@media screen and (max-width: 520px) {

  .hero-model-carousel {
    height: 390px;
  }

}


/* =========================================================
   CARRUSEL DE IMÁGENES DENTRO DE CADA PROYECTO
   ========================================================= */

.project-case-gallery {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      var(--surface-soft),
      var(--surface-blue)
    );
}

.project-case-gallery__slides {
  position: relative;

  width: 100%;
  height: 100%;
}

.project-case-gallery__slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateX(15px);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0.55s ease;
}

.project-case-gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(0);
}

.project-case-gallery__slide
.project-case-card__image-button {
  width: 100%;
  height: 100%;
}

.project-case-gallery__slide
.project-case-card__image-button img {
  width: 100%;
  height: 100%;

  display: block;

  background:
    linear-gradient(
      145deg,
      var(--surface-soft),
      var(--surface-blue)
    );
}


/* Flechas */

.project-case-gallery__arrow {
  position: absolute;
  top: 50%;

  z-index: 5;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  background: rgba(32, 35, 94, 0.78);
  color: #ffffff;

  font-size: 1rem;
  font-weight: 900;

  cursor: pointer;

  transform: translateY(-50%);

  backdrop-filter: blur(7px);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.project-case-gallery__arrow:hover {
  background: var(--brand);

  transform:
    translateY(-50%)
    scale(1.07);
}

.project-case-gallery__arrow--prev {
  left: 12px;
}

.project-case-gallery__arrow--next {
  right: 12px;
}


/* Puntos */

.project-case-gallery__dots {
  position: absolute;
  right: 50%;
  bottom: 16px;

  z-index: 5;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 7px 10px;

  border-radius: 999px;

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

  transform: translateX(50%);

  backdrop-filter: blur(7px);
}

.project-case-gallery__dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: #b3bfcc;

  cursor: pointer;

  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.project-case-gallery__dot.is-active {
  width: 21px;
  background: var(--brand-blue);
}


/* Contador */

.project-case-gallery__counter {
  position: absolute;
  top: 17px;
  right: 17px;

  z-index: 5;

  padding: 7px 10px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.88);
  color: var(--brand);

  font-size: 0.68rem;
  font-weight: 800;

  backdrop-filter: blur(7px);
}


/* El sector ya ocupa la esquina izquierda */

.project-case-card__sector {
  z-index: 6;
}


@media screen and (max-width: 640px) {

  .project-case-gallery__arrow {
    width: 35px;
    height: 35px;
  }

  .project-case-gallery__dots {
    bottom: 12px;
  }

}


/* =========================================================
   VISOR AMPLIADO DE FOTOGRAFÍAS
   ========================================================= */

body.lightbox-open {
  overflow: hidden;
}


.site-lightbox {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: grid;
  place-items: center;

  padding: 30px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* Fondo */

.site-lightbox__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(8, 15, 31, 0.9);

  backdrop-filter: blur(7px);
}


/* Ventana */

.site-lightbox__dialog {
  position: relative;
  z-index: 1;

  width: min(1100px, 94vw);
  height: min(780px, 88vh);

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;

  background: #111827;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45);

  transform: scale(0.96);

  transition: transform 0.3s ease;
}


.site-lightbox.is-open
.site-lightbox__dialog {
  transform: scale(1);
}


/* Área de la imagen */

.site-lightbox__image-area {
  flex: 1;
  min-height: 0;

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

  padding: 20px 70px;

  overflow: hidden;

  background: #111827;
}


.site-lightbox__image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center;

  opacity: 1;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}


.site-lightbox__image.is-changing {
  opacity: 0;
  transform: scale(0.985);
}


/* Botón cerrar */

.site-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;

  z-index: 10;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;

  font-size: 1.8rem;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(8px);
}


/* Flechas */

.site-lightbox__arrow {
  position: absolute;
  top: 50%;

  z-index: 10;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;

  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;

  font-size: 2rem;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);

  backdrop-filter: blur(8px);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.site-lightbox__arrow:hover {
  background: var(--brand-blue);

  transform:
    translateY(-50%)
    scale(1.07);
}


.site-lightbox__arrow--prev {
  left: 16px;
}


.site-lightbox__arrow--next {
  right: 16px;
}


/* Pie de la imagen */

.site-lightbox__footer {
  min-height: 70px;

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

  padding: 16px 24px;

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

  background: rgba(17, 24, 39, 0.96);
  color: #ffffff;
}


.site-lightbox__footer p {
  margin: 0;

  color: rgba(255, 255, 255, 0.84);

  font-size: 0.9rem;
}


.site-lightbox__counter {
  flex: 0 0 auto;

  padding: 7px 12px;

  border-radius: 999px;

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

  font-size: 0.8rem;
  font-weight: 700;
}


/* Celular */

@media screen and (max-width: 640px) {

  .site-lightbox {
    padding: 12px;
  }

  .site-lightbox__dialog {
    width: 100%;
    height: 84vh;

    border-radius: 18px;
  }

  .site-lightbox__image-area {
    padding: 60px 12px 15px;
  }

  .site-lightbox__arrow {
    top: auto;
    bottom: 82px;

    width: 44px;
    height: 44px;
  }

  .site-lightbox__arrow--prev {
    left: 18px;
  }

  .site-lightbox__arrow--next {
    right: 18px;
  }

  .site-lightbox__footer {
    min-height: 65px;

    padding: 13px 16px;
  }

  .site-lightbox__footer p {
    max-width: 72%;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
  }

}


/* =========================================================
   CONTROLES ELEGANTES DEL VISOR AMPLIADO
   ========================================================= */

/*
 * Este bloque reemplaza visualmente los controles anteriores
 * del visor de productos y proyectos.
 */

.product-lightbox__dialog {
  position: relative;
  isolation: isolate;
}


/* Área de la fotografía */

.product-lightbox__image-area {
  width: 100%;
  min-height: 0;

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

  overflow: hidden;
  border-radius: 20px;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(0, 105, 173, 0.07),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #f8fafd,
      #eef4fa
    );
}


.product-lightbox__image {
  max-width: 100%;
  max-height: 78vh;

  display: block;

  object-fit: contain;
  object-position: center;

  opacity: 1;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}


.product-lightbox__image.is-changing {
  opacity: 0;
  transform: scale(0.985);
}


/* =========================================================
   ESTILO COMPARTIDO DE LOS CONTROLES
   ========================================================= */

.product-lightbox__close,
.product-lightbox__arrow {
  display: grid;
  place-items: center;

  margin: 0;
  padding: 0;

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

  background:
    rgba(32, 35, 94, 0.68);

  color: #ffffff;

  box-shadow:
    0 12px 30px rgba(20, 28, 65, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);

  cursor: pointer;

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}


/*
 * Compatible tanto con los símbolos × ‹ ›
 * como con íconos SVG.
 */

.product-lightbox__close svg,
.product-lightbox__arrow svg {
  width: 24px;
  height: 24px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}


/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.product-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;

  z-index: 30;

  width: 46px;
  height: 46px;

  border-radius: 15px;

  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
}


.product-lightbox__close:hover {
  border-color: rgba(255, 255, 255, 0.68);

  background:
    linear-gradient(
      145deg,
      #dc4257,
      #a91935
    );

  box-shadow:
    0 15px 34px rgba(169, 25, 53, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  transform:
    translateY(-2px)
    rotate(3deg);
}


.product-lightbox__close:active {
  transform:
    translateY(0)
    scale(0.94);
}


/* =========================================================
   FLECHAS DE NAVEGACIÓN
   ========================================================= */

.product-lightbox__arrow {
  position: absolute;
  top: 50%;

  z-index: 25;

  width: 54px;
  height: 54px;

  border-radius: 18px;

  font-size: 2rem;
  font-weight: 500;
  line-height: 1;

  transform: translateY(-50%);
}


.product-lightbox__arrow--prev {
  left: 20px;
}


.product-lightbox__arrow--next {
  right: 20px;
}


.product-lightbox__arrow:hover {
  border-color: rgba(255, 255, 255, 0.7);

  background:
    linear-gradient(
      145deg,
      var(--brand-blue),
      var(--brand)
    );

  box-shadow:
    0 16px 38px rgba(0, 105, 173, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}


.product-lightbox__arrow--prev:hover {
  transform:
    translateY(-50%)
    translateX(-3px)
    scale(1.05);
}


.product-lightbox__arrow--next:hover {
  transform:
    translateY(-50%)
    translateX(3px)
    scale(1.05);
}


.product-lightbox__arrow:active {
  transform:
    translateY(-50%)
    scale(0.94);
}


/* Ocultar correctamente cuando solo hay una fotografía */

.product-lightbox__arrow[hidden] {
  display: none;
}


/* Enfoque visible para teclado */

.product-lightbox__close:focus-visible,
.product-lightbox__arrow:focus-visible {
  outline: 3px solid rgba(61, 179, 74, 0.82);
  outline-offset: 4px;
}


/* =========================================================
   INFORMACIÓN INFERIOR
   ========================================================= */

.product-lightbox__information {
  width: 100%;

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

  padding: 16px 4px 0;
}


.product-lightbox__caption {
  margin: 0;

  color: var(--brand);

  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
}


.product-lightbox__counter {
  flex: 0 0 auto;

  min-width: 64px;

  padding: 8px 13px;

  border: 1px solid rgba(45, 47, 123, 0.12);
  border-radius: 999px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      #ffffff
    );

  color: var(--brand);

  font-size: 0.8rem;
  font-weight: 850;
  text-align: center;

  box-shadow:
    0 6px 16px rgba(45, 47, 123, 0.08);
}


.product-lightbox__counter[hidden] {
  display: none;
}


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

@media screen and (max-width: 900px) {

  .product-lightbox__arrow {
    width: 49px;
    height: 49px;

    border-radius: 16px;
  }

  .product-lightbox__arrow--prev {
    left: 14px;
  }

  .product-lightbox__arrow--next {
    right: 14px;
  }

}


/* =========================================================
   CELULARES
   ========================================================= */

@media screen and (max-width: 640px) {

  .product-lightbox__dialog {
    padding: 14px;
  }


  .product-lightbox__image-area {
    border-radius: 15px;
  }


  .product-lightbox__close {
    top: 10px;
    right: 10px;

    width: 42px;
    height: 42px;

    border-radius: 13px;

    font-size: 1.45rem;
  }


  .product-lightbox__arrow {
    top: 50%;
    bottom: auto;

    width: 44px;
    height: 44px;

    border-radius: 14px;

    font-size: 1.65rem;
  }


  .product-lightbox__arrow--prev {
    left: 8px;
  }


  .product-lightbox__arrow--next {
    right: 8px;
  }


  .product-lightbox__information {
    gap: 10px;
    padding-top: 12px;
  }


  .product-lightbox__caption {
    max-width: calc(100% - 72px);

    overflow: hidden;

    font-size: 0.86rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }


  .product-lightbox__counter {
    min-width: 58px;
    padding: 7px 10px;

    font-size: 0.74rem;
  }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

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

  .product-lightbox__close,
  .product-lightbox__arrow,
  .product-lightbox__image {
    transition: none;
  }

}

/* =========================================================
   PAGINACIÓN DEL CATÁLOGO
   ========================================================= */

.catalog-pagination {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 42px;
}


.catalog-pagination[hidden] {
  display: none;
}


.catalog-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


.catalog-pagination__page,
.catalog-pagination__arrow {
  min-width: 44px;
  height: 44px;

  display: inline-grid;
  place-items: center;

  padding: 0 12px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background: var(--surface);
  color: var(--brand);

  font-size: 0.9rem;
  font-weight: 850;

  cursor: pointer;

  box-shadow:
    0 6px 18px rgba(45, 47, 123, 0.07);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.catalog-pagination__arrow {
  font-size: 1.55rem;
  line-height: 1;
}


.catalog-pagination__page:hover,
.catalog-pagination__arrow:hover:not(:disabled) {
  transform: translateY(-2px);

  border-color: var(--brand-blue);

  background: var(--surface-blue);
  color: var(--brand-blue);

  box-shadow:
    0 10px 24px rgba(0, 105, 173, 0.14);
}


.catalog-pagination__page.is-active {
  border-color: var(--brand);

  background:
    linear-gradient(
      145deg,
      var(--brand),
      var(--brand-blue)
    );

  color: #ffffff;

  box-shadow:
    0 10px 24px rgba(45, 47, 123, 0.22);
}


.catalog-pagination__arrow:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}


.catalog-pagination__ellipsis {
  min-width: 25px;

  color: var(--muted);

  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}


/* Celulares */

@media screen and (max-width: 640px) {

  .catalog-pagination {
    gap: 6px;
    margin-top: 32px;
  }


  .catalog-pagination__pages {
    gap: 5px;
  }


  .catalog-pagination__page,
  .catalog-pagination__arrow {
    min-width: 38px;
    height: 38px;

    padding-inline: 8px;

    border-radius: 11px;

    font-size: 0.8rem;
  }


  .catalog-pagination__arrow {
    font-size: 1.35rem;
  }


  .catalog-pagination__ellipsis {
    min-width: 15px;
  }

}


/* =========================================================
   VIDEO EMPRESARIAL EN BUCLE
   ========================================================= */

.company-video {
  width: min(1100px, 100%);
  height: 520px;

  margin-inline: auto;

  overflow: hidden;

  border-radius: 28px;

  background: var(--surface-soft);

  box-shadow:
    0 22px 55px rgba(45, 47, 123, 0.16);
}

.company-video video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 760px) {

  .company-video {
    height: 340px;
    border-radius: 20px;
  }

}


/* =========================================================
   REDES SOCIALES EN EL FOOTER
   ========================================================= */

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 20px;
}

.footer-socials a {
  width: 44px;
  height: 44px;

  display: inline-grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    );

  color: #ffffff;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 255, 255, 0.38);

  background:
    linear-gradient(
      145deg,
      var(--brand-blue),
      var(--accent-dark)
    );

  box-shadow:
    0 12px 24px rgba(0, 105, 173, 0.2);
}

.footer-socials a:focus-visible {
  outline: 3px solid rgba(141, 226, 154, 0.7);
  outline-offset: 3px;
}

.footer-socials svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}

.footer-socials__fill {
  fill: currentColor;
  stroke: none;
}


/* Ocultar beneficios de la portada solamente en celular */

@media screen and (max-width: 640px) {
  .hero__benefits {
    display: none;
  }
}

/* Bajar la modelo solamente en celular */

@media screen and (max-width: 640px) {

  .hero-model-carousel__image {
    bottom: -25px;
  }

  /* Compatibilidad si todavía usas la imagen anterior */
  .hero__person {
    bottom: -25px;
  }

}

/* =========================================================
   PORTADA EN TABLET HORIZONTAL Y PANTALLAS INTERMEDIAS
   ========================================================= */

@media screen and (min-width: 1025px) and (max-width: 1280px) {

  .hero__grid {
    min-height: 650px;

    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(390px, 0.95fr);

    gap: 35px;

    padding-top: 55px;
    padding-bottom: 35px;
  }


  .hero__visual {
    min-height: 570px;
  }


  .hero__panel-clip,
  .hero__person-frame {
    top: 105px;
    right: 20px;
    bottom: 25px;
    left: 20px;
  }


  .hero__person-frame {
    clip-path:
      inset(
        -230px 0 0 0
        round 32px
      );
  }


  /* Carrusel actual de modelos */

  .hero-model-carousel {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
  }


  .hero-model-carousel__image {
    left: 50%;
    bottom: -10px;

    width: auto;
    height: 138%;
    max-width: none;

    object-fit: contain;
    object-position: center bottom;
  }


  .hero-model-carousel__image.is-active {
    transform:
      translateX(-50%)
      translateY(0)
      scale(1);
  }


  /* Compatibilidad con la imagen anterior */

  .hero__person {
    right: auto;
    left: 50%;
    bottom: -10px;

    height: 600px;

    transform: translateX(-50%);
  }


  /* Etiquetas flotantes un poco más pequeñas */

  .hero-card--one,
  .hero-card--two,
  .hero-card--three {
    min-width: 100px;
    padding: 11px 15px;

    font-size: 0.82rem;
  }


  .hero-card--one {
    top: 155px;
    right: 0;
  }


  .hero-card--two {
    left: 0;
    bottom: 95px;
  }


  .hero-card--three {
    right: 0;
    bottom: 55px;
  }

}

/* =========================================================
   EVITAR QUE LA MODELO SE CORTE EN TABLETS
   ========================================================= */

@media screen and (min-width: 760px) and (max-width: 1180px) {

  /*
   * Mover la modelo ligeramente hacia la izquierda
   * para que el lado derecho quede dentro de la pantalla.
   */

  .hero-model-carousel__image {
    right: auto !important;
    left: 37% !important;

    height: 145%;
  }


  /* Compatibilidad con la modelo anterior */

  .hero__person {
    right: auto !important;
    left: 44% !important;

    transform: translateX(-50%);
  }

}

/* =========================================================
   MODELO EN TABLET VERTICAL
   Ejemplo: iPad Pro 1024 × 1366
   ========================================================= */

@media screen
  and (min-width: 760px)
  and (max-width: 1180px)
  and (orientation: portrait) {

  .hero-model-carousel__image {
    right: auto !important;
    left: 50% !important;

    height: 106%;
  }

  /* Compatibilidad con modelo sin carrusel */

  .hero__person {
    right: auto !important;
    left: 50% !important;

    transform: translateX(-50%);
  }

}

/* =========================================================
   GALERÍA DE NOSOTROS EN CELULARES
   ========================================================= */

@media screen and (max-width: 640px) {

  /* Imagen arriba y contenido abajo */

  .team-gallery__slide {
    display: grid !important;
    grid-template-columns: 1fr !important;

    min-height: 0 !important;
  }


  /* Contenedor de la fotografía */

  .team-gallery__media {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;

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

    overflow: hidden;

    background:
      linear-gradient(
        145deg,
        var(--surface-soft),
        var(--surface-blue)
      );
  }


  /* Botón que contiene la fotografía */

  .team-gallery__image-button {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
    border: 0 !important;

    background: transparent;

    cursor: zoom-in;
  }


  /* Fotografía completa */

  .team-gallery__image-button img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    display: block;

    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    transform: none !important;
  }


  /* Evitar aumento al pasar el cursor */

  .team-gallery__slide:hover
  .team-gallery__image-button img {
    transform: none !important;
  }


  /* Contenido debajo de la fotografía */

  .team-gallery__content {
    width: 100% !important;

    padding: 25px 20px 28px !important;
  }


  /* Ocultar el botón que actualmente queda sobre la foto */

  .team-gallery__image-button
  .product-card__zoom {
    display: none !important;
  }


  /* Navegación inferior */

  .team-gallery__navigation {
    padding: 15px 14px !important;
  }

}


/* Modelo más grande solamente en tablet vertical */

@media screen
  and (min-width: 760px)
  and (max-width: 1180px)
  and (orientation: portrait) {

  .hero__visual {
    min-height: 560px;
  }

  .hero-model-carousel__image {
    right: auto !important;
    left: 50% !important;
    bottom: -8px;

    width: auto;
    height: 132%;
    max-width: none;
    max-height: none;

    object-fit: contain;
    object-position: center bottom;
  }

  .hero__person {
    right: auto !important;
    left: 46% !important;
    bottom: -8px;

    width: auto;
    height: 650px;
    max-width: none;
    max-height: none;

    transform: translateX(-50%);
  }

}

/* =========================================================
   COTIZADOR RÁPIDO MULTIPRODUCTO
   Máximo 12 unidades por cada referencia
   ========================================================= */

.page-hero--cotizador {
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(61, 179, 74, 0.13),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      var(--surface-blue),
      var(--surface)
    );
}

.multi-quote-section {
  padding-top: 70px;
}

.multi-quote {
  display: block;
}

.multi-quote-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(330px, 380px);
  align-items: start;
  gap: 30px;
}

.multi-quote-main {
  min-width: 0;
}

.multi-quote-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 25px;
}

.multi-quote-heading h2,
.multi-quote-customer__heading h2 {
  margin: 7px 0 8px;
  color: var(--brand);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.multi-quote-heading p,
.multi-quote-customer__heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.multi-quote-heading__limit {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  min-width: 112px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 105, 173, 0.16);
  border-radius: 17px;
  background: var(--surface-blue);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.multi-quote-heading__limit strong {
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1.1;
}


/* Buscador */

.multi-quote-toolbar {
  margin-bottom: 14px;
}

.multi-quote-search {
  display: grid;
  gap: 7px;
}

.multi-quote-search > span,
.multi-quote-field > span,
.multi-quote-product__field > span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.multi-quote-search input,
.multi-quote-field input,
.multi-quote-field textarea,
.multi-quote-product__field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.multi-quote-search input:focus,
.multi-quote-field input:focus,
.multi-quote-field textarea:focus,
.multi-quote-product__field select:focus,
.multi-quote-quantity input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 105, 173, 0.11);
}


/* Categorías */

.multi-quote-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 23px;
}

.multi-quote-categories button {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.multi-quote-categories button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 105, 173, 0.35);
  color: var(--brand);
}

.multi-quote-categories button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}


/* Mensajes */

.multi-quote-message {
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 13px;
  background: #fff2f0;
  color: #8f241b;
  font-size: 0.82rem;
  font-weight: 700;
}

.multi-quote-message[data-type="success"] {
  border-color: rgba(23, 107, 50, 0.18);
  background: var(--success-bg);
  color: var(--success-text);
}


/* Catálogo */

.multi-quote-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.multi-quote-product {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.multi-quote-product:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 105, 173, 0.3);
  box-shadow: var(--shadow);
}

.multi-quote-product.is-selected {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px rgba(61, 179, 74, 0.1),
    var(--shadow);
}

.multi-quote-product[hidden] {
  display: none !important;
}

.multi-quote-product__media {
  position: relative;
  height: 225px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(
      145deg,
      #ffffff,
      var(--surface-soft)
    );
}

.multi-quote-product__media img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.multi-quote-product:hover .multi-quote-product__media img {
  transform: scale(1.025);
}

.multi-quote-product__placeholder {
  font-size: 3.4rem;
}

.multi-quote-product__category {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.multi-quote-product__selected {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 850;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.multi-quote-product.is-selected
.multi-quote-product__selected {
  opacity: 1;
  transform: translateY(0);
}

.multi-quote-product__body {
  display: grid;
  gap: 17px;
  padding: 19px;
}

.multi-quote-product__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.multi-quote-product__title h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1rem;
  line-height: 1.3;
}

.multi-quote-product__title > strong {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 0.85rem;
}

.multi-quote-product__field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.multi-quote-product__field small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}


/* Control de cantidad */

.multi-quote-quantity {
  display: grid;
  grid-template-columns: 43px minmax(62px, 1fr) 43px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.multi-quote-quantity button {
  min-height: 43px;
  padding: 0;
  border: 0;
  background: var(--surface-blue);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.multi-quote-quantity button:hover:not(:disabled) {
  background: var(--brand);
  color: #ffffff;
}

.multi-quote-quantity button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.multi-quote-quantity input {
  min-width: 0;
  width: 100%;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

.multi-quote-quantity input::-webkit-outer-spin-button,
.multi-quote-quantity input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.multi-quote-product__line-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.multi-quote-product__line-total span {
  color: var(--muted);
  font-size: 0.73rem;
}

.multi-quote-product__line-total strong {
  color: var(--brand);
  font-size: 0.95rem;
}


/* Catálogo vacío */

.multi-quote-empty-catalog {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  text-align: center;
}

.multi-quote-empty-catalog strong {
  color: var(--brand);
}

.multi-quote-empty-catalog p {
  margin-bottom: 0;
  color: var(--muted);
}


/* Datos del cliente */

.multi-quote-customer {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.multi-quote-customer__heading {
  margin-bottom: 22px;
}

.multi-quote-customer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.multi-quote-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.multi-quote-field textarea {
  resize: vertical;
}


/* Resumen */

.multi-quote-summary {
  position: sticky;
  top: 120px;
  padding: 27px;
  border: 1px solid rgba(45, 47, 123, 0.13);
  border-radius: 25px;
  background:
    linear-gradient(
      145deg,
      var(--surface),
      var(--surface-blue)
    );
  box-shadow:
    0 20px 52px rgba(45, 47, 123, 0.13);
}

.multi-quote-summary__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.multi-quote-summary__label {
  color: var(--brand-blue);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.multi-quote-summary h2 {
  margin: 5px 0 0;
  color: var(--brand);
  font-size: 1.8rem;
}

.multi-quote-summary__clear {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.multi-quote-summary__clear:hover:not(:disabled) {
  color: var(--accent-dark);
  text-decoration: underline;
}

.multi-quote-summary__clear:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.multi-quote-summary__items {
  display: grid;
  gap: 11px;
}

.multi-quote-summary__empty {
  display: grid;
  justify-items: center;
  padding: 25px 17px;
  border: 1px dashed var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.multi-quote-summary__empty > span {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.multi-quote-summary__empty strong {
  color: var(--brand);
  font-size: 0.86rem;
}

.multi-quote-summary__empty p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.multi-quote-summary-item {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.multi-quote-summary-item > img,
.multi-quote-summary-item__placeholder {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  padding: 4px;
  border-radius: 11px;
  background: var(--surface-soft);
  object-fit: contain;
}

.multi-quote-summary-item__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.multi-quote-summary-item__content strong,
.multi-quote-summary-item__content span,
.multi-quote-summary-item__content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-quote-summary-item__content strong {
  color: var(--brand);
  font-size: 0.76rem;
}

.multi-quote-summary-item__content span {
  color: var(--muted);
  font-size: 0.67rem;
}

.multi-quote-summary-item__content small {
  color: var(--muted);
  font-size: 0.62rem;
}

.multi-quote-summary-item > b {
  color: var(--ink);
  font-size: 0.72rem;
  white-space: nowrap;
}

.multi-quote-summary__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.multi-quote-summary__metrics > div {
  padding: 13px;
  border-radius: 14px;
  background: var(--surface);
}

.multi-quote-summary__metrics span,
.multi-quote-summary__metrics strong {
  display: block;
}

.multi-quote-summary__metrics span {
  color: var(--muted);
  font-size: 0.65rem;
}

.multi-quote-summary__metrics strong {
  margin-top: 3px;
  color: var(--brand);
  font-size: 1.15rem;
}

.multi-quote-summary__totals {
  display: grid;
  gap: 0;
  margin: 0;
}

.multi-quote-summary__totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.multi-quote-summary__totals dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.multi-quote-summary__totals dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.multi-quote-summary__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      var(--brand),
      var(--brand-blue)
    );
  color: #ffffff;
}

.multi-quote-summary__total span {
  font-size: 0.72rem;
  font-weight: 700;
}

.multi-quote-summary__total strong {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
}

.multi-quote-summary__notice {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.48;
}

.multi-quote-summary__actions {
  display: grid;
  gap: 9px;
  margin-top: 19px;
}

.multi-quote-summary__actions .button {
  width: 100%;
}

.multi-quote-whatsapp:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.multi-quote-summary__professional {
  display: block;
  margin-top: 15px;
  color: var(--brand-blue);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.multi-quote-summary__professional:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}


/* Información complementaria */

.automatic-quote-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.automatic-quote-info-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}

.automatic-quote-info-grid article > span {
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.automatic-quote-info-grid h3 {
  margin: 12px 0 7px;
  color: var(--brand);
  font-size: 1rem;
}

.automatic-quote-info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}


/* =========================================================
   RESPONSIVE DEL COTIZADOR
   ========================================================= */

@media screen and (max-width: 1050px) {

  .multi-quote-layout {
    grid-template-columns: 1fr;
  }

  .multi-quote-summary {
    position: static;
  }

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

}

@media screen and (max-width: 760px) {

  .multi-quote-heading {
    align-items: flex-start;
  }

  .multi-quote-product-grid {
    gap: 15px;
  }

  .multi-quote-product__media {
    height: 205px;
  }

}

@media screen and (max-width: 640px) {

  .multi-quote-section {
    padding-top: 52px;
  }

  .multi-quote-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .multi-quote-heading__limit {
    grid-template-columns: auto auto auto;
    justify-content: start;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    width: fit-content;
  }

  .multi-quote-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .multi-quote-categories button {
    flex: 0 0 auto;
  }

  .multi-quote-product-grid {
    grid-template-columns: 1fr;
  }

  .multi-quote-product__media {
    height: 255px;
  }

  .multi-quote-customer {
    padding: 22px 17px;
    border-radius: 19px;
  }

  .multi-quote-customer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .multi-quote-summary {
    padding: 22px 17px;
    border-radius: 20px;
  }

  .multi-quote-summary-item {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .multi-quote-summary-item > b {
    grid-column: 2;
  }

  .multi-quote-summary__total {
    align-items: flex-start;
    flex-direction: column;
  }

  .automatic-quote-info-grid {
    grid-template-columns: 1fr;
  }

}

@media screen and (max-width: 390px) {

  .multi-quote-product__media {
    height: 220px;
  }

  .multi-quote-product__title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

}
