/* ══════════════════════════════════════════
   INSTALACIONES VERA — Estilos corporativos
   Estética: industrial moderna, limpia, seria
   ══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  /* Colores base */
  --navy:        #0d1f3c;
  --navy-2:      #162a50;
  --blue:        #1a50cb;
  --blue-dark:   #1340a8;
  --blue-light:  #e8eefb;
  --blue-mid:    rgba(26,80,203,.09);
  --orange:      #d95f0a;
  --orange-light:#fff3eb;

  /* Superficies */
  --white:       #ffffff;
  --bg:          #f4f5f8;
  --bg-2:        #ebedf2;

  /* Texto */
  --text:        #111827;
  --text-2:      #374151;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;

  /* Bordes */
  --border:      #e5e7eb;
  --border-2:    #d1d5db;

  /* Tipografía */
  --font-head:   'DM Sans', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Geometría */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;

  /* Sombras */
  --shadow-xs:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-md:   0 4px 20px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);

  --nav-h:       68px;
  --transition:  220ms cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea { font-family: inherit; font-size: 1rem; }

/* ── LAYOUT ── */
.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s);
}
.reveal-up.visible { opacity: 1; transform: none; }

/* ── SHARED COMPONENTS ── */
.rule {
  width: 36px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 1.1rem 0 1.6rem;
}
.rule--light { background: rgba(255,255,255,.5); }

.body-text {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 54ch;
}
.body-text--light { color: rgba(255,255,255,.72); }

.section-tag-wrap { margin-bottom: .6rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .3rem .8rem;
  border-radius: var(--radius-sm);
}
.section-tag--light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.02em;
}
.section-title--light { color: #ffffff; }

.section-sub {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: .9rem;
  line-height: 1.72;
}
.section-header { margin-bottom: 3rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,80,203,.25);
}
.btn-primary:active { transform: none; }
.btn-primary.btn-lg { font-size: .95rem; padding: .85rem 2rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: .72rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.35);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
  transform: translateY(-1px);
}
.btn-outline.btn-lg { font-size: .95rem; padding: .85rem 2rem; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  border: 2px solid #25d366;
}
.btn-wa:hover { background: #1fb354; transform: translateY(-1px); }

.btn-primary-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  border: 2px solid #fff;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: 2rem;
}
.btn-primary-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
}

/* ── HEADER ── */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), border-bottom var(--transition), box-shadow var(--transition);
}
#main-header.scrolled {
  background: rgba(13,31,60,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}
.logo-img { height: 42px; width: auto; object-fit: contain; }

.main-nav { flex: 1; }
.main-nav ul { display: flex; align-items: center; gap: .125rem; }
.main-nav a {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .45rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Blueprint / technical grid pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}
.hero-tag {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.75rem;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.5)) brightness(1.08) contrast(1.1);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-title-highlight { color: rgba(255,255,255,.55); font-weight: 400; }
.hero-sub {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.6);
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero right panel */
.hero-panel { position: relative; }
.hp-inner {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.hp-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,.2);
}
.hp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hp-stat {
  background: rgba(255,255,255,.04);
  padding: 1rem .75rem;
  text-align: center;
}
.hp-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .25rem;
}
.hp-stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
}
.hp-services {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.hp-svc-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  transition: background var(--transition), color var(--transition);
}
.hp-svc-item svg { color: rgba(255,255,255,.4); flex-shrink: 0; }
.hp-cta {
  display: block;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  padding: .75rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.hp-cta:hover { background: var(--blue-dark); }

/* Hero bottom badges */
.hero-badges {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.07);
}
.badges-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.1rem 0;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  padding: 0 2rem;
  flex: 1;
}
.badge-item svg { color: var(--blue); flex-shrink: 0; }
.badge-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}

/* ── SERVICIOS ── */
.section-services {
  padding: 6rem 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.1rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.srv-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.srv-card--highlight {
  border-color: rgba(26,80,203,.2);
  background: var(--blue-light);
}
.srv-card--highlight:hover { border-color: rgba(26,80,203,.4); }

.srv-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.srv-card--highlight .srv-icon-wrap {
  background: rgba(26,80,203,.12);
}
.srv-body { flex: 1; min-width: 0; }
.srv-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.srv-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: .85rem;
}
.srv-benefit {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .78rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: .9rem;
}
.srv-benefit svg { flex-shrink: 0; margin-top: 1px; }
.srv-link {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--transition);
}
.srv-link:hover { color: var(--blue-dark); }

/* ── POR QUÉ ELEGIRNOS ── */
.section-why {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
.why-feat { display: flex; gap: .85rem; align-items: flex-start; }
.why-feat-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-feat-title {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}
.why-feat-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROYECTOS ── */
.section-projects {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* Layout editorial: 2 columnas arriba + 3 abajo */
.proj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Imagen grande: ocupa 2 columnas */
.proj-item--featured {
  grid-column: 1 / 3;
}

/* Stack derecha: columna 3, 2 filas */
.proj-stack {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.proj-stack .proj-item {
  flex: 1;
}

/* Fila inferior: 3 columnas iguales */
.proj-item--sm {
  grid-row: 2 / 3;
}

/* Tarjeta de proyecto */
.proj-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}

.proj-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Alturas por tipo */
.proj-item--featured .proj-img-wrap { height: 420px; }
.proj-stack .proj-item .proj-img-wrap { height: 200px; }
.proj-item--sm .proj-img-wrap { height: 260px; }

.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.proj-item:hover .proj-img-wrap img {
  transform: scale(1.04);
}

/* Overlay */
.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,31,60,.85) 0%,
    rgba(13,31,60,.35) 45%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.proj-item:hover .proj-overlay { opacity: 1; }

/* Siempre visible en pantallas táctiles (mobile) */
@media (hover: none) {
  .proj-overlay { opacity: 1; }
}

.proj-info { width: 100%; }

.proj-cat-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  padding: .25rem .65rem;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
}

.proj-name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .4rem;
}
.proj-item--featured .proj-name { font-size: 1.2rem; }

.proj-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}
.proj-loc svg { flex-shrink: 0; }

/* CTA footer */
.proj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.proj-footer-text {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 48ch;
}

/* Responsive proyectos */
@media (max-width: 900px) {
  .proj-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .proj-item--featured { grid-column: 1 / 3; }
  .proj-stack {
    grid-column: 1 / 3;
    grid-row: auto;
    flex-direction: row;
  }
  .proj-stack .proj-item .proj-img-wrap { height: 220px; }
  .proj-item--sm { grid-row: auto; }
  .proj-item--featured .proj-img-wrap { height: 340px; }
  .proj-item--sm .proj-img-wrap { height: 220px; }
  .proj-overlay { opacity: 1; }
}
@media (max-width: 600px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }
  .proj-item--featured { grid-column: 1 / 2; }
  .proj-item--featured .proj-img-wrap { height: 280px; }
  .proj-stack {
    grid-column: 1 / 2;
    flex-direction: column;
  }
  .proj-stack .proj-item .proj-img-wrap { height: 200px; }
  .proj-item--sm .proj-img-wrap { height: 200px; }
  .proj-footer { flex-direction: column; align-items: flex-start; }
}

/* ── ALQUILER ── */
.section-rental {
  padding: 6rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.section-rental::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.rental-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}
.rental-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}
.rental-occ {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  padding: .4rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
}

.rental-steps { display: flex; flex-direction: column; }
.rental-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.rental-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.rs-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
}
.rs-title {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .35rem;
  padding-top: .55rem;
}
.rs-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.62;
}

/* ── QUIÉNES SOMOS ── */
.section-about {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { display: flex; flex-direction: column; gap: 1rem; }
.about-card-main {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.acm-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.acm-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .6rem;
}
.acm-num span {
  font-size: 1.25rem;
  color: rgba(255,255,255,.45);
  font-weight: 400;
  margin-left: .25rem;
}
.acm-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  max-width: 26ch;
}
.about-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-card-mini {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.abm-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}
.abm-label {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.about-quote {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.65;
}

/* ── CONTACTO ── */
.section-contact {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Cabecera de la sección: título a la izq, subtítulo a la der */
.contact-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.contact-header-sub {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 44ch;
  flex-shrink: 0;
  padding-bottom: .15rem;
}

/* Grid de 4 tarjetas de contacto */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
a.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}
.contact-card--wa .contact-card-icon {
  background: #dcfce7;
  color: #16a34a;
}
.contact-card--loc { cursor: default; }
.contact-card--loc .contact-card-icon {
  background: #fef3c7;
  color: #b45309;
}

.contact-card-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.contact-card-value {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  word-break: break-word;
}
.contact-card-action {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: .35rem;
}
.contact-card--wa .contact-card-action { color: #16a34a; }
.contact-card--loc .contact-card-action {
  color: var(--text-muted);
  font-weight: 400;
}

/* Mapa a ancho completo */
.contact-map-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 340px;
}
.contact-map-full iframe { display: block; width: 100%; height: 100%; }

/* Responsive contacto */
@media (max-width: 900px) {
  .contact-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .contact-header-sub { max-width: 100%; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-map-full { height: 280px; }
  .datos-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-map-full { height: 240px; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  /* se coloca a la izquierda del botón WhatsApp (52px ancho + 1.75rem + 0.625rem gap) */
  right: calc(1.75rem + 52px + 0.625rem);
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-light);
  border: 1.5px solid rgba(26,80,203,.18);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  box-shadow: 0 2px 12px rgba(26,80,203,.12);
  transition: opacity .3s ease, transform .3s ease,
              background var(--transition), box-shadow var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover {
  background: #d4e0f7;
  box-shadow: 0 4px 18px rgba(26,80,203,.2);
}

/* ── DATOS TELEFÓNICOS ── */
.section-datos {
  padding: 2.25rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.datos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dato-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
a.dato-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.dato-item--fax { cursor: default; }
.dato-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dato-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.dato-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dato-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

/* ── FOOTER ── */
.site-footer { background: var(--navy); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  padding: 3.5rem 0;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 32ch;
  margin-bottom: 1.5rem;
}
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,211,102,.12);
  color: #4ade80;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(37,211,102,.2);
  transition: background var(--transition), border-color var(--transition);
}
.footer-wa:hover { background: rgba(37,211,102,.2); border-color: rgba(37,211,102,.35); }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav-title {
  font-family: var(--font-head);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,.9); }
.footer-nav li:not(:has(a)) { font-size: .85rem; color: rgba(255,255,255,.3); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.1rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-panel { display: none; }
  .badges-row { flex-wrap: wrap; gap: .75rem; padding: 1.25rem 0; }
  .badge-item { flex: none; }
  .badge-sep { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .why-features { grid-template-columns: 1fr 1fr; }
  .rental-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: .2rem; align-items: stretch; }
  .main-nav a { display: block; padding: .7rem 1rem; font-size: .95rem; border-radius: var(--radius-sm); }
  .btn-wa { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: .5rem; }

  .hero-grid { padding: 3.5rem 0 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .srv-card { flex-direction: column; gap: .85rem; }
  .why-features { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-cards-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary.btn-lg, .btn-outline.btn-lg { width: 100%; justify-content: center; }
  .about-cards-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .badges-row { flex-direction: column; gap: .65rem; }
  .badge-item { width: 100%; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal-up { opacity: 1; transform: none; }
}
