:root {
  --header-dark: #2c324d;
  --vm-overlay: rgba(9,16,42,.6);
  --red: #c4040d;
  --red-light: #7ba3db;
  --navy: #1527a2;
  --dark: #2c324d;
  --ink: #252525;
  --grey: #8a8f9c;
  --text: #334155;
  --display: "Belanosima", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Roboto", system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

.title { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: clamp(32px, 4vw, 40px); line-height: 1.5; margin: 0 0 12px; text-align: center; }
.title--grey { color: #b4b6bd; }
.title--white { color: #fff; }

.btn { display: inline-block; font-weight: 500; font-size: 13px; padding: 9px 22px; border-radius: 6px; transition: .2s; }
.btn--outline { border: 2px solid var(--ink); color: var(--ink); background: rgba(255,255,255,.4); border-radius: 10px; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; border: 2px solid #fff; border-radius: 20px; }
.btn--navy:hover { background: var(--red); }

/* Header */
.header { position: absolute; inset: 0 0 auto; z-index: 10; padding: 14px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__logo img { width: 190px; height: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: #1f2937; }
.nav a:hover { color: var(--red); }
.header__toggle { display: none; background: #111; border: 0; padding: 10px 9px; border-radius: 3px; cursor: pointer; }
.header__toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; }

/* Hero */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: #fafafa; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(255,255,255,.47); }
.hero__content { position: relative; padding-top: 140px; }
.hero__title { font-family: "Gudea", sans-serif; font-weight: 700; color: var(--red); font-size: clamp(56px, 9vw, 110px); line-height: 1; text-shadow: 0 0 10px rgba(0,0,0,.3); margin: 0; }
.hero__subtitle { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: clamp(17px, 2.3vw, 30px); line-height: 1.1; letter-spacing: 2px; text-shadow: 0 0 10px rgba(0,0,0,.3); margin: 10px 0 22px; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 28px; align-items: center; padding: 80px 0 60px; }
.about__img { width: 100%; height: 340px; object-fit: cover; }
.about__img--tall { height: 440px; }
.about__text p { font-family: "Sintony", sans-serif; text-align: justify; font-size: 14px; letter-spacing: -.3px; line-height: 1.65; color: #272727; margin: 0; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 70px; }
.value { min-width: 0; display: grid; justify-items: center; gap: 10px; padding: 34px 12px; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.12); transition: transform .2s; }
.value:hover { transform: translateY(-4px); }
.value svg { width: auto; height: 40px; fill: var(--red); }
.value span { font-family: "Sarala", sans-serif; font-weight: 700; color: var(--navy); font-size: clamp(16px, 2.2vw, 27px); line-height: 1.4; }

/* Servicios */
.services { padding: 40px 0 70px; text-align: center; }
.services .title { border-bottom: 2px solid #ddd; display: inline-block; padding: 0 40px 10px; margin-bottom: 40px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; max-width: 900px; margin: 0 auto 36px; }
.services__grid figure { margin: 0; }
.services__grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; transition: transform .3s; }
.services__grid figure:hover img { transform: scale(1.03); }
.services__grid figcaption { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 20px; margin-top: 12px; }

/* Fortalezas */
.strengths { position: relative; background: var(--dark); color: #d6d8e0; padding: 120px 0 80px; }
.strengths__shape { position: absolute; top: -1px; left: 0; width: 100%; height: 90px; fill: #fff; transform: scaleY(-1); }
.strengths .title { margin-bottom: 4px; }
.strengths__kicker { font-family: "Bellota Text", sans-serif; font-weight: 700; text-align: center; color: #838383; margin: 0; font-size: clamp(17px, 1.7vw, 23px); }
.strengths__line { width: 120px; border: 0; border-top: 1px solid #838383; margin: 18px auto 50px; }
.strengths__list { display: grid; gap: 26px; max-width: 900px; margin: 0 auto 80px; }
.strength { display: flex; gap: 20px; align-items: flex-start; }
.strength__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.strength__icon svg { width: 30px; height: 30px; fill: #344383; }
.strength h3 { color: var(--red-light); font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
.strength p { margin: 0; font-size: 14px; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.vm__card { position: relative; isolation: isolate; overflow: hidden; background: var(--bg) center / cover; border-radius: 0 48px; padding: 40px 32px 44px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s; }
.vm__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,11,24,.6); }
.vm__card:hover { transform: translateY(-6px); }
.vm__card h2 { font-family: "Roboto", sans-serif; font-weight: 600; font-size: clamp(42px, 5vw, 62px); line-height: 1.3; color: #f8f8f8; text-shadow: 0 0 11px rgba(255,255,255,.67); margin: 0 0 14px; }
.vm__card p { font-family: "Sintony", sans-serif; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; letter-spacing: -.3px; color: #dadada; text-align: justify; margin: 0; }

/* CTA */
.cta { background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)), url(assets/cta.jpg) center / cover; color: #fff; padding: 110px 0; }
.cta__kicker { font-family: "Sarala", sans-serif; font-weight: 700; font-size: 16px; color: #dcdbff; margin: 0; }
.cta__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 64px); line-height: 1.1; margin: 6px 0 26px; }

/* Footer */
.footer { background: #1d1d1d; color: #ddd; text-align: center; padding: 40px 16px 30px; font-size: 13px; }
.footer--band { border-top: 70px solid var(--dark); }
.footer__nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; }
.footer__nav a:hover { color: var(--red-light); }
.footer img { margin: 0 auto 24px; width: 120px; height: auto; }

/* Páginas internas */
.header--solid { position: relative; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.nav a[aria-current] { color: var(--red); font-weight: 500; }
.page-title { font-family: var(--display); font-weight: 600; color: var(--red); font-size: clamp(44px, 6vw, 67px); margin: 0 0 32px; }
.btn--green { background: #2fb84c; color: #fff; border-radius: 4px; }
.btn--green:hover { background: #24963c; }

.svc { background: #dde7f5; padding-top: 40px; }
.svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.svc-card { min-width: 0; overflow-wrap: break-word; background: #fff; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(7,54,109,.08); }
.svc-card h2 { display: flex; align-items: center; gap: 14px; color: var(--red); font-size: clamp(20px, 6vw, 26px); min-width: 0; font-weight: 500; margin: 0 0 16px; }
.svc-card__icon { flex: none; width: 46px; height: 46px; border-radius: 8px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E") center / 26px no-repeat; }
.svc-card ul { margin: 0 0 22px; padding-left: 20px; font-size: 14px; color: #333; flex: 1; }
.svc-card li { margin-bottom: 4px; }
.svc-card .btn { align-self: center; }
.svc-card--wide { max-width: 640px; margin: 0 auto 70px; }
.svc-card__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.svc-card__pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

.carousel { position: relative; margin: 50px 0; }
.carousel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track img { flex: 0 0 calc((100% - 24px) / 3); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }

.quote { position: relative; overflow: hidden; color: #fff; padding: 60px 0 0; background: radial-gradient(circle at 85% 30%, rgba(196,4,13,.28), transparent 45%), linear-gradient(120deg, var(--navy), var(--dark) 60%); }
.quote::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.quote__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.quote__inner > div { padding-bottom: 60px; max-width: 560px; }
.quote__kicker { font-family: "Sarala", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; color: #dcdbff; margin: 0 0 6px; }
.quote h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 14px; }
.quote__text { color: #cfd4e6; font-size: 16px; margin: 0 0 26px; }
.quote__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quote .btn { padding: 12px 26px; font-size: 14px; }
.btn--call { background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: 20px; }
.btn--call:hover { background: transparent; }
.quote img { width: min(340px, 40%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }

.contact { padding: 40px 0 70px; text-align: center; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.contact-card { padding: 32px 20px; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.1); display: grid; justify-items: center; align-content: start; gap: 10px; }
.contact-card svg { width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h2 { font-size: 22px; color: #15063f; margin: 0; }
.contact-card p { margin: 0 0 6px; word-break: break-word; }
.contact__map-title { font-size: clamp(40px, 5vw, 60px); color: #313131; margin: 0 0 20px; }
.contact__map { width: 100%; height: 420px; border: 0; border-radius: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .header__inner { position: relative; }
  .header__toggle { display: block; position: relative; z-index: 2; }
  .header__toggle span { transition: transform .25s, opacity .2s; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: calc(100% + 10px); right: 0; flex-direction: column; gap: 0; min-width: 220px; padding: 8px; background: #fff; border-radius: 12px; border-top: 3px solid var(--red); box-shadow: 0 14px 40px rgba(7,54,109,.22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-radius: 8px; font-size: 16px; font-weight: 500; color: var(--navy); }
  .nav a + a { margin-top: 2px; }
  .nav a::after { content: "›"; font-size: 20px; line-height: 1; color: #b4b6bd; transition: transform .2s, color .2s; }
  .nav a:hover, .nav a[aria-current] { background: #f1f4fa; color: var(--red); }
  .nav a:hover::after { transform: translateX(3px); color: var(--red); }
  .about { grid-template-columns: 1fr 1fr; }
  .about__text { grid-column: 1 / -1; order: -1; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .carousel__track img { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 640px) {
  .header__logo img { width: 140px; }
  .hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; }
  .hero__content { padding: 0 0 18vh; }
  .about { grid-template-columns: 1fr; padding-top: 50px; }
  .about__img, .about__img--tall { height: 260px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .services__grid figcaption { font-size: 16px; }
  .vm { grid-template-columns: 1fr; }
  .values { gap: 14px; }
  .value { padding: 24px 8px; }
  .value svg { height: 32px; }
  /* Divisor móvil: corte diagonal limpio con línea de acento en lugar de la onda comprimida */
  .strengths { padding-top: 90px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .strengths__shape { display: none; }
  .strengths::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom right, transparent calc(50% - 2px), var(--red) calc(50% - 2px), var(--red) calc(50% + 2px), transparent calc(50% + 2px)); }
  .svc__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .page-title { text-align: center; }
  .svc-card { padding: 22px 16px; }
  .svc-card h2 { gap: 10px; }
  .svc-card__icon { width: 38px; height: 38px; background-size: 22px; }
  .svc-card ul { padding-left: 18px; }
  .carousel__track img { flex-basis: 100%; }
  .quote__inner { flex-direction: column; align-items: center; text-align: center; gap: 0; }
  .quote__inner > div { padding-bottom: 28px; }
  .quote__actions { justify-content: center; }
  .quote img { width: min(260px, 80%); }
  .strength { gap: 14px; }
  .strength__icon { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero { background: url(assets/nosotros-1.jpg) center / cover; }
}
.footer p a { color: var(--red-light); }
.footer p a:hover { text-decoration: underline; }

/* ===== Variantes reutilizables de la plantilla ===== */
/* Header oscuro (páginas internas) */
.header--dark { background: var(--header-dark, #161a33); }
.header--dark .nav a { color: #fff; }
.header--dark .nav a:hover, .header--dark .nav a[aria-current] { color: var(--red-light); }
/* Hero con imagen de fondo en lugar de video */
.hero--image { background: var(--hero-img) center / cover; }
.hero--image .hero__overlay { background: rgba(255,255,255,var(--hero-overlay, .55)); }
.hero__kicker { font-family: var(--display); color: #161616; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; margin: 0 0 6px; }
.hero__title--light { color: #fff; text-shadow: 0 0 12px #000; letter-spacing: -1.6px; font-size: clamp(40px, 6vw, 76px); line-height: 1.15; }
.hero__text { font-family: var(--display); color: #161616; font-size: clamp(17px, 1.9vw, 25px); line-height: 1.1; max-width: 900px; margin: 10px 0 24px; }
.btn--outline-red { border: 2px solid #f00; color: #0f0f0f; border-radius: 12px 0; background: rgba(255,255,255,.35); }
.btn--outline-red:hover { background: #f00; color: #fff; }
/* Nosotros a dos columnas */
.about--2col { grid-template-columns: 1fr 1.6fr; gap: 48px; }
/* Características con imagen */
.value img { height: 64px; width: auto; }
.value small { text-align: center; font-size: 15px; color: #7a7a7a; line-height: 1.4; }
.values--img .value span { color: var(--red); text-align: center; }
/* Servicios con foto y título superpuesto */
.services__grid--boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services__grid--boxes figure { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.services__grid--boxes img { aspect-ratio: 3 / 4; border-radius: 20px; }
.services__grid--boxes figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 12px; background: rgba(20,22,42,.82); color: #fff; font-family: "Roboto", sans-serif; font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.25; }
.btn--dark { background: var(--dark); color: #fff; border-radius: 3px; }
.btn--dark:hover { background: var(--red); }
/* Visión/Misión con brillo */
.vm--glow .vm__card { box-shadow: 0 0 10px rgba(255,255,255,.5); }
.vm--glow .vm__card::before { background: var(--vm-overlay, rgba(23,29,51,.58)); }
/* Servicios con intro y subtítulos */
.svc-card__intro { font-size: 15px; color: #333; margin: 0 0 12px; }
.svc-card h3 { font-size: 15px; color: var(--navy); margin: 6px 0 4px; }
.svc-card h3 + ul { flex: none; margin-bottom: 8px; }
.svc-card .btn { margin-top: auto; }
.svc__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto 60px; }
.svc__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.contact__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 100%; height: 100%; display: block; }
@media (max-width: 1024px) {
  .header--dark .nav a { color: var(--navy); }
  .about--2col { grid-template-columns: 1fr; }
  .about--2col .about__img { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .services__grid--boxes { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
  .svc__photos, .contact__grid--2 { grid-template-columns: minmax(0, 1fr); }
  .hero--image .hero__content { padding-bottom: 12vh; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* ===== Variantes nuevas (M&M) ===== */
.hero--dark .hero__overlay { background: rgba(0,0,0,var(--hero-overlay, .68)); }
.hero__kicker--light { color: #8ca4f5; text-shadow: 0 0 10px rgba(0,0,0,.3); font-size: clamp(22px, 2.6vw, 33px); }
.hero__title--white { color: #fff; text-shadow: 0 0 22px #000; }
.btn--outline-white { border: 2px solid #fdfdfd; color: #fff; border-radius: 12px 0; }
.btn--outline-white:hover { background: #fff; color: var(--ink); }
.about__video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.values--plain .value svg { fill: #000; }
.services__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
.services__grid--3 img { aspect-ratio: 310 / 212; border-radius: 26px; }
.services__grid--3 figcaption { color: #171b6d; font-size: 24px; line-height: 1.25; }
.brands { padding: 30px 0 70px; }
.brands__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.brands__grid a { display: grid; place-items: center; padding: 10px; border-radius: 10px; transition: transform .2s, background .2s; }
.brands__grid a:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); }
.brands__grid img { max-height: 80px; width: auto; }
.social { text-align: center; padding: 10px 0 60px; }
.social h2 { font-family: "Sarala", sans-serif; font-weight: 500; color: #dfdfdf; font-size: 30px; margin: 0 0 18px; }
.social__icons { display: flex; justify-content: center; gap: 14px; }
.social__icons a { width: 52px; height: 52px; border-radius: 10%; display: grid; place-items: center; transition: transform .2s; }
.social__icons a:hover { transform: scale(1.08); }
.social__icons svg { width: 28px; height: 28px; fill: #fff; }
.social__icons .wa { background: #25d366; } .social__icons .fb { background: #3b5998; } .social__icons .ig { background: #262626; }
.svc-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: auto; }
.svc-card .svc-card__actions .btn { margin-top: 0; display: inline-flex; align-items: center; gap: 8px; }
.btn--black { background: #0a0a0a; color: #fff; border-radius: 3px; }
.btn--black:hover { background: var(--navy); }
.btn--green svg { width: 16px; height: 16px; fill: currentColor; }
.svc-card__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; margin: 4px 0 22px; padding: 14px; background: var(--dark); border-radius: 10px; }
.svc-card__logos a { display: grid; place-items: center; }
.svc-card__logos img { max-height: 50px; width: auto; }
.contact__areas { max-width: 760px; margin: -12px auto 36px; color: #444; }
.contact__areas b { color: var(--navy); }
.contact-card p a { color: inherit; }
.social--light h2 { color: #313131; }
.brand-page { padding: 50px 0 80px; text-align: center; }
.brand-page__logo { max-width: min(520px, 100%); max-height: 160px; width: auto; margin: 0 auto 36px; }
.brand-page__catalogs { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.brand-page__catalogs .btn { padding: 14px 20px; font-size: 15px; }
.brand-page__gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.brand-page__gallery img { width: 100%; border-radius: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.12); }
@media (max-width: 1024px) {
  .brands__grid, .brand-page__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .services__grid--3 { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin-inline: auto; }
  .svc-card__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__grid img { max-height: 56px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Variantes nuevas (Aleyan) ===== */
.header--overlay .nav a { color: #fff; }
.header--overlay .header__logo { visibility: hidden; }
.hero--center .hero__content { text-align: center; padding-top: 60px; }
.hero__logo { width: min(520px, 80%); margin: 0 auto; filter: drop-shadow(0 6px 20px rgba(0,0,0,.4)); }
.services__grid--3 figure p { margin: 6px auto 0; max-width: 300px; color: #4d4949; font-family: var(--display); font-size: 16px; line-height: 1.35; }
.vm--plain .vm__card { background: #1d2238; }
.vm__logo { width: 150px; margin: 22px auto 0; opacity: .9; }
.testimonials { padding: 80px 0 20px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testimonial { background: #fff; border-radius: 24px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.testimonial__stars { color: #ff9437; letter-spacing: 2px; font-size: 18px; }
.testimonial p { margin: 0; color: #101010; font-size: 14px; line-height: 1.6; flex: 1; }
.testimonial cite { font-style: normal; font-weight: 500; color: #6d6d6d; font-size: 14px; }
.svc-card__icon--svg { background-image: none; display: grid; place-items: center; }
.svc-card__icon--svg svg { width: 24px; height: 24px; fill: #fff; }
.svc-card ul.svc-card__list { list-style: none; padding-left: 0; }
.svc-card ul.svc-card__list li::before { content: "▪ "; color: var(--navy); }
@media (max-width: 1024px) { .testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .testimonials__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1024px) { .header--overlay .nav a { color: var(--navy); } }
@media (max-width: 640px) { .hero--center { align-items: center; } .hero--center .hero__content { padding: 0; } }

/* ===== Variantes nuevas (Ratas) ===== */
.header--light .nav a { color: #f3f3f3; }
.header .header__logo img[width="96"] { width: 96px; height: auto; }
.services__sub { font-family: "Sarala", sans-serif; font-weight: 400; color: #6f6f6f; font-size: clamp(20px, 2.4vw, 27px); margin: 0 0 30px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto 40px; text-align: center; }
.products figure { margin: 0; }
.products img { width: 100%; max-width: 200px; margin: 0 auto; }
.products figcaption { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 22px; }
.svc-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 20px; }
.gallery { padding: 40px 0 70px; text-align: center; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.gallery__grid img, .gallery__grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; }
.gallery__grid--video { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery__grid--video video { aspect-ratio: 9 / 16; }
@media (max-width: 1024px) { .header--light .nav a { color: var(--navy); } .gallery__grid--video { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery__grid { grid-template-columns: minmax(0, 1fr); } .gallery__grid--video { grid-template-columns: repeat(2, minmax(0, 1fr)); } .products figcaption { font-size: 17px; } }

@media (max-width: 640px) { .page-title { font-size: clamp(30px, 9vw, 44px); overflow-wrap: anywhere; } }
.header__logo img { max-height: 72px; width: auto; }
/* ===== Variantes nuevas (Bonetty) ===== */
.gallery__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery__grid--3 img { aspect-ratio: 1; }
.svc__links { list-style: none; padding: 0; margin: 0 auto 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.svc__links li { background: #fff; border-radius: 30px; padding: 8px 18px; font-weight: 500; color: var(--navy); }
.svc__links a { color: var(--red); text-decoration: underline; }
@media (max-width: 640px) { .gallery__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Variantes nuevas (MRMI) ===== */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: center; max-width: 980px; margin: 0 auto; }
.clients img { width: 100%; max-height: 90px; object-fit: contain; background: #fff; border-radius: 10px; padding: 10px; }
.contact__person { font-size: 24px; color: var(--navy); margin: 10px 0 20px; }
.contact__person small { display: block; font-size: 15px; color: #777; font-weight: 400; }
@media (max-width: 640px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Variantes nuevas (Dunas) ===== */
.header--brown .nav a { color: #2c1f04; }
.header--brown .header__toggle { background: #ffe7e7; }
.header--brown .header__toggle span { background: #2c1f04; }

/* ===== Variantes nuevas (PYSIIME) ===== */
.hero--gradient { background: linear-gradient(323deg, #386fdb 0%, #fff 94%); }
.hero__split { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding-top: 110px; }
.hero__split img { width: 100%; max-width: 520px; justify-self: center; }
.hero__lead { font-family: var(--display); font-size: clamp(18px, 2vw, 26px); color: #fff; text-shadow: 0 0 10px rgba(0,0,0,.35); margin: 10px 0 24px; max-width: 560px; }
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.portfolio { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; background: #fff; }
.portfolio th { background: var(--dark); color: #fff; padding: 12px; }
.portfolio td { padding: 10px 12px; border-bottom: 1px solid #e6e8ef; vertical-align: top; }
.portfolio tr:nth-child(even) td { background: #f5f7fb; }
.gallery__grid--recon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__grid--recon img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.gal-group { margin-bottom: 40px; }
.gal-group h2 { font-family: var(--display); color: var(--navy); font-size: 22px; margin: 0 0 4px; }
.gal-group p { margin: 0 0 14px; color: #666; }
@media (max-width: 640px) {
  .hero__split { grid-template-columns: 1fr; padding-top: 90px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .portfolio { min-width: 640px; }
  .gallery__grid--recon { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Variantes nuevas (P+T) ===== */
.header--navy .nav a { color: #172865; }
.services__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1100px; }
.press { padding-bottom: 50px; }
.press__band { background: #161616; padding: 18px 16px; text-align: center; }
.press__band img { max-height: 90px; width: auto; margin: 0 auto; }
.press__body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-top: 30px; }
.press__body p { font-size: 17px; margin: 0 0 18px; }
.press__body img { border-radius: 10px; }
.clients-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; text-align: left; }
.clients-list article { background: #f4f6fb; border-radius: 12px; padding: 24px; }
.clients-list h2 { font-family: var(--display); color: #172865; font-size: 22px; margin: 0 0 12px; }
.checklist { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.checklist li { padding-left: 24px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: #5aa560; font-weight: 700; }
@media (max-width: 1024px) { .services__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .header--navy .nav a { color: var(--navy); } }
@media (max-width: 640px) { .press__body, .clients-list { grid-template-columns: 1fr; } .services__grid--4 { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin-inline: auto; } }
/* ===== Variantes nuevas (Ruby) ===== */
.hero__video--movil { display: none; }
@media (max-width: 640px) { .hero__video--desk { display: none; } .hero__video--movil { display: block; } }
.header--overlay.header--light .header__logo { visibility: hidden; }
.header__logo img { max-height: 72px; width: auto; }
/* ===== Variantes nuevas (Vellano) ===== */
.svc-card__gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 20px; padding-bottom: 6px; }
.svc-card__gallery img { flex: 0 0 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; scroll-snap-align: start; }
.material__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 50px 0 40px; }
.material__intro h2 { font-family: var(--display); color: var(--navy); font-size: 26px; margin: 0 0 10px; }
.material__intro img, .material__help img { width: 100%; border-radius: 14px; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.benefit { background: #f4f6fb; border-radius: 12px; padding: 20px; }
.benefit h3 { color: var(--navy); font-size: 17px; margin: 0 0 8px; }
.benefit p { margin: 0; font-size: 14px; }
.material__help { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: var(--dark); color: #fff; border-radius: 16px; padding: 30px; margin: 50px auto; }
.material__help h2 { font-family: var(--display); font-size: 32px; margin: 0 0 10px; }
.material__help img { max-width: 260px; justify-self: center; }
@media (max-width: 1024px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .material__intro, .material__help { grid-template-columns: 1fr; } .benefits { grid-template-columns: minmax(0, 1fr); } .svc-card__gallery img { flex-basis: 80%; } }
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: center; max-width: 980px; margin: 0 auto; }
.clients img { width: 100%; max-height: 90px; object-fit: contain; background: #fff; border-radius: 10px; padding: 10px; }
@media (max-width: 640px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
