/* ==========================================================================
   Grupo Alvicon — estilos de marca (wireframe + documento de marca)
   ========================================================================== */

:root {
  --grafito: #23282E;
  --aluminio: #8E99A4;
  --azul-cristal: #3E7FA6;
  --azul-cristal-hover: #336F93;
  --blanco-hielo: #EEF3F6;
  --fondo-suave: #F4F7F9;
  --borde: #D9E0E6;
  --borde-suave: #E3E8EC;
  --texto-muted: #4F5A63;
  --texto-suave: #5F6B75;
  --wa: #25703F;
  --blanco: #ffffff;
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 88px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-soft: 0 8px 28px rgba(35, 40, 46, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grafito);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--grafito);
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--azul-cristal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--grafito);
}

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

.container-xl {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1200px) {
  .container-xl {
    padding-left: 80px;
    padding-right: 80px;
    max-width: 1440px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--azul-cristal);
  color: var(--blanco);
  border-color: var(--azul-cristal);
}

.btn-primary:hover {
  background: var(--azul-cristal-hover);
  border-color: var(--azul-cristal-hover);
  color: var(--blanco);
}

.btn.is-loading,
.btn.is-loading:disabled {
  opacity: 1;
  cursor: wait;
  pointer-events: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

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

.btn-outline:hover {
  background: var(--grafito);
  color: var(--blanco);
}

.btn-wa {
  background: var(--wa);
  color: var(--blanco);
  border-color: var(--wa);
}

.btn-wa:hover {
  background: #1e5a32;
  color: var(--blanco);
}

.btn-light {
  background: var(--blanco);
  color: var(--grafito);
  border-color: var(--blanco);
  font-weight: 800;
}

.btn-light:hover {
  background: var(--blanco-hielo);
  color: var(--grafito);
}

.btn-sm {
  height: 44px;
  font-size: 14px;
  padding: 0 22px;
}

.btn-lg {
  height: 56px;
  padding: 0 32px;
  font-weight: 800;
}

/* Tags */
.tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul-cristal);
  margin: 0 0 12px;
}

.tag-light {
  color: #9CC4DC;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--blanco);
  border-bottom: 1px solid var(--borde-suave);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--grafito);
  text-decoration: none;
}

.brand:hover {
  color: var(--grafito);
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.18em;
}

.brand-desc {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--texto-suave);
  font-weight: 600;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--grafito);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-item.is-active > .nav-link {
  color: var(--azul-cristal);
}

.nav-link i {
  font-size: 10px;
  opacity: 0.7;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--blanco);
  border: 1px solid var(--borde-suave);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: none;
  z-index: 100;
}

/* Puente invisible: evita que el menú se cierre al bajar el cursor */
.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.has-dropdown.is-open .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  display: block;
}

@media (min-width: 992px) {
  .nav-list {
    align-self: stretch;
    height: var(--header-h);
  }

  .nav-item {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .has-dropdown .nav-link {
    height: 100%;
    display: inline-flex;
    align-items: center;
  }
}


.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--grafito);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--fondo-suave);
  color: var(--azul-cristal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--borde);
  border-radius: var(--radius-sm);
  background: var(--blanco);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--grafito);
}

/* Placeholders */
.ph {
  background: #E3E8EC;
  border: 1px dashed #A9B3BC;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--texto-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px;
  border-radius: var(--radius);
}

.ph--flush {
  border: none;
  border-radius: 0;
}

/* Hero */
.hero {
  background: var(--fondo-suave);
  padding: 56px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero {
    padding: 72px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--texto-muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-media {
  align-self: center;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Trust strip */
.trust-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--borde-suave);
}

.trust-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--texto-suave);
  text-align: center;
  margin-bottom: 20px;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

@media (min-width: 992px) {
  .trust-logos {
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
  }
}

.trust-logo {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: var(--blanco);
  border: 1px solid var(--borde-suave);
  border-radius: var(--radius-sm);
}

.trust-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform 0.2s ease;
}

.trust-logo:hover img {
  transform: scale(1.05);
}

/* Sections */
.section {
  padding: 72px 0;
}

@media (min-width: 992px) {
  .section {
    padding: 96px 0;
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 17px;
  color: var(--texto-muted);
  margin: 0;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.section--dark {
  background: var(--grafito);
  color: var(--blanco);
}

.section--dark h2,
.section--dark h3 {
  color: var(--blanco);
}

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

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

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

.service-card {
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blanco);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.service-card .ph {
  height: 200px;
  border-radius: 0;
  border: none;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-card h3 {
  font-size: 21px;
  font-weight: 700;
}

.service-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--texto-muted);
  margin: 0;
  flex: 1;
}

.link-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--azul-cristal);
}

.link-arrow:hover {
  color: var(--grafito);
}

/* Why block */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr 2fr;
    gap: 64px;
  }
}

.why-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.why-point {
  border-top: 2px solid var(--aluminio);
  padding-top: 20px;
}

.why-point h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-point p {
  font-size: 15px;
  line-height: 1.6;
  color: #C9D1D8;
  margin: 0;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.project-item .ph {
  height: 240px;
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .project-item .ph {
    height: 280px;
  }
}

.project-item p {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--borde);
  background: var(--blanco);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--grafito);
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--grafito);
  color: var(--blanco);
  border-color: var(--grafito);
}

.project-item[hidden] {
  display: none !important;
}

/* Zones */
.zones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .zones-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.zones-grid .ph {
  height: 260px;
}

.zone-map {
  margin: 0;
  background: #E3E8EC;
  border: 1px dashed #A9B3BC;
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
}

.zone-map svg {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}

.zone-water {
  fill: #D4E4F0;
}

.zone-neighbor {
  fill: #E6EBEE;
  stroke: #C5CED6;
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.zone-qr {
  fill: #fff;
  stroke: #8E99A4;
  stroke-width: 1;
  stroke-linejoin: round;
}

.zone-region {
  fill: #8E99A4;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.zone-pin circle {
  fill: var(--azul-cristal);
  stroke: #fff;
  stroke-width: 2;
}

.zone-pin text {
  fill: var(--grafito);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
}

.zone-sea {
  fill: var(--azul-cristal);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .faq-layout {
    grid-template-columns: 1fr 2fr;
    gap: 64px;
  }
}

.faq-item {
  border-top: 1px solid var(--borde);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--borde);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--grafito);
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--aluminio);
}

.faq-answer {
  padding: 0 0 22px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--texto-muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  margin: 0 0 80px;
}

.cta-band-inner {
  background: var(--azul-cristal);
  color: var(--blanco);
  border-radius: 10px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-band-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 72px;
  }
}

.cta-band h2 {
  color: var(--blanco);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 8px;
}

.cta-band p {
  color: #E4EEF4;
  font-size: 18px;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--grafito);
  color: #C9D1D8;
  padding: 64px 0 40px;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-slogan {
  font-size: 13px;
  color: var(--aluminio);
  margin: 8px 0 0;
}

.footer-title {
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.9;
}

.footer-links a {
  color: #C9D1D8;
}

.footer-links a:hover {
  color: var(--blanco);
}

.footer-bottom {
  border-top: 1px solid #3A4149;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: #C9D1D8;
  font-size: 16px;
}

.footer-social a:hover {
  color: var(--blanco);
}

/* WA float */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 112, 63, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  color: var(--blanco);
  transform: scale(1.06);
  background: #1e5a32;
}

.wa-float i {
  font-size: 26px;
  line-height: 1;
}

.wa-float-label {
  font-size: 9px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  display: none;
}

/* Breadcrumb */
.breadcrumb-bar {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--texto-suave);
}

.breadcrumb-bar a {
  color: var(--texto-suave);
}

.breadcrumb-bar a:hover {
  color: var(--azul-cristal);
}

.breadcrumb-bar .sep {
  margin: 0 6px;
  color: var(--aluminio);
}

/* Service page */
.service-hero {
  padding: 32px 0 80px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .service-hero-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.service-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.service-hero .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--texto-muted);
  margin-bottom: 24px;
}

.service-shot {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
  background: var(--fondo-suave);
}

.service-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.service-shot--frame {
  height: 320px;
}

.service-shot--frame img {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .service-shot--frame {
    height: 460px;
  }
}

.service-shot--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 3px;
}

.service-shot--pair img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
}

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

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

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

.photo-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid var(--borde-suave);
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-grid--portrait {
  grid-template-columns: 1fr;
}

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

.photo-grid--portrait img {
  height: auto;
  object-fit: contain;
}

.photo-grid--doors img {
  height: 360px;
  object-position: center;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: calc((100% - 32px) / 3 * 2 + 16px);
  }
}

.video-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--borde-suave);
  line-height: 0;
}

.video-grid video {
  width: 100%;
  height: auto;
  display: block;
}

.service-card > img,
.project-item > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-card-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 3px;
  height: 200px;
  overflow: hidden;
}

.service-card-shots img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.project-item > img {
  height: 240px;
  border-radius: 16px;
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .project-item > img {
    height: 280px;
  }
}

.service-hero .ph {
  min-height: 320px;
}

@media (min-width: 992px) {
  .service-hero .ph {
    height: 460px;
  }
}

.type-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.type-card {
  background: var(--blanco);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.type-card .ph,
.type-card > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  border-radius: 0;
}

.type-card-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 3px;
  height: 420px;
  overflow: hidden;
  background: var(--blanco-hielo);
}

.type-card-shots img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.type-card-shots img:first-child {
  grid-column: 1 / -1;
}

.type-card-shots--2 {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.type-card-shots--2 img:first-child {
  grid-column: auto;
}

.type-card-shots--pair {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
}

.type-card-shots--pair img:first-child {
  grid-column: auto;
}

.type-card-shots--duo {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.type-card-shots--duo img:first-child {
  grid-column: auto;
}

.type-card-body {
  padding: 24px;
}

.type-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.type-card p {
  font-size: 15px;
  color: var(--texto-muted);
  margin: 0;
}

.season-box {
  background: var(--grafito);
  color: var(--blanco);
  border-radius: 10px;
  padding: 40px 32px;
}

.season-box h2 {
  color: var(--blanco);
  font-size: 30px;
  margin-bottom: 16px;
}

.season-bar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin: 16px 0 12px;
}

.season-bar span {
  height: 40px;
  background: #3A4149;
  border-radius: 2px;
}

.season-bar span.is-quote {
  background: var(--azul-cristal);
}

.season-bar span.is-season {
  background: var(--aluminio);
}

.season-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #C9D1D8;
  margin-bottom: 16px;
  gap: 8px;
  flex-wrap: wrap;
}

.season-box p {
  font-size: 15px;
  color: #C9D1D8;
  margin: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.related-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--grafito);
  display: block;
}

.related-card:hover {
  border-color: var(--azul-cristal);
  color: var(--azul-cristal);
}

/* Cotiza */
.cotiza-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .cotiza-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.cotiza-grid h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 18px;
}

.contact-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--borde);
}

.contact-block h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-block p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--texto-muted);
}

@media (max-width: 575px) {
  .cotiza-grid .btn-wa {
    width: 100%;
    height: auto;
    min-height: 56px;
    padding: 14px 20px;
    line-height: 1.35;
    white-space: normal;
  }
}

.contact-map {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius);
}

.form-panel {
  background: var(--fondo-suave);
  border-radius: 10px;
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .form-panel {
    padding: 48px;
  }
}

.form-panel h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-control-alv {
  height: 48px;
  border: 1px solid #A9B3BC;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--blanco);
  color: var(--grafito);
  width: 100%;
}

textarea.form-control-alv {
  height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.form-control-alv:focus {
  outline: 2px solid var(--azul-cristal);
  border-color: var(--azul-cristal);
}

.file-drop {
  height: 90px;
  margin-bottom: 18px;
  cursor: pointer;
  position: relative;
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.alert-alv {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15px;
}

.alert-alv--success {
  background: #e8f5ec;
  color: #1e5a32;
  border: 1px solid #b7dfc4;
}

.alert-alv--error {
  background: #fdeeee;
  color: #8a1f1f;
  border: 1px solid #f0c0c0;
}

/* Clients wall */
.client-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

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

.client-wall-item {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  background: var(--blanco);
  border: 1px solid var(--borde-suave);
  border-radius: var(--radius-sm);
}

.client-wall-item img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-wall .ph {
  height: 80px;
  font-size: 12px;
}

/* Comparison table */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 40px;
  font-size: 15px;
}

.cmp-table th,
.cmp-table td {
  border: 1px solid var(--borde);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.cmp-table th {
  background: var(--fondo-suave);
  font-family: var(--font-display);
  font-weight: 700;
}

/* Blog pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.pillar-card {
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--blanco);
  height: 100%;
}

.pillar-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.pillar-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--texto-muted);
  font-size: 14px;
}

.pillar-card li {
  margin-bottom: 6px;
}

.pillar-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aluminio);
  margin-bottom: 10px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

.value-card {
  border-top: 2px solid var(--azul-cristal);
  padding-top: 20px;
}

.value-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--texto-muted);
  margin: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

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

.story-card {
  background: var(--blanco-hielo);
  border-radius: 16px;
  border-top: 3px solid var(--azul-cristal);
  padding: 24px 22px 26px;
}

.story-card h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.story-card p {
  color: var(--texto-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .btn-header-cta.d-none.d-lg-inline-flex {
    display: none !important;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blanco);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid var(--borde-suave);
  }

  .nav-link {
    width: 100%;
    padding: 16px 0;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 12px;
    min-width: 0;
  }

  .has-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .has-dropdown.is-open:hover .dropdown-menu,
  .has-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 10px 8px;
  }

  .site-nav .btn-header-cta {
    width: 100%;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Prose helpers */
.prose-muted {
  color: var(--texto-muted);
  font-size: 16px;
  line-height: 1.65;
}

.team-logo {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fondo-suave);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.team-logo img {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .content-split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.page-intro {
  max-width: 820px;
  margin-bottom: 40px;
}

.page-intro h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.text-white-soft {
  color: #C9D1D8 !important;
}
