/* ============================================================
   ESTILOS v2 — CIMENTACIONES PROFUNDAS
   Paleta: navy #061C47 · naranja #F16F0D · arena #EFB685
   Fuente: Poppins 300/400/600/800/900
============================================================ */

/* ===== VARIABLES ===== */
:root {
  --naranja:      #F16F0D;
  --naranja-dark: #d8610a;
  --azul:         #8791B9;
  --arena:        #EFB685;
  --navy:         #061C47;
  --navy-mid:     #0d2452;
  --navy-light:   #1a3568;
  --blanco:       #FFFFFF;
  --gris-fondo:   #F4F6FA;
  --gris-texto:   #5a6275;
  --borde:        #e2e6ef;
  --fuente:       'Poppins', system-ui, Arial, sans-serif;
  --radio:        12px;
  --ancho:        1200px;
  --sombra:       0 12px 36px rgba(6,28,71,.1);
  --sombra-lg:    0 20px 60px rgba(6,28,71,.18);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--fuente);
  font-weight: 300;
  color: var(--navy);
  background: var(--blanco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Reducir movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -.5px; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 12px;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fuente);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radio);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  letter-spacing: .2px;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(241,111,13,.25); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

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

.btn-outline { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: rgba(255,255,255,.12); box-shadow: none; }

/* ===== ANIMACIONES BASE ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp .8s ease forwards;
}

/* Reveal al scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-right {
  transform: translateX(32px);
}
.reveal-right.visible { transform: translateX(0); }

/* Stagger para cards */
.cards-grid .card:nth-child(1) { transition-delay: .05s; }
.cards-grid .card:nth-child(2) { transition-delay: .1s; }
.cards-grid .card:nth-child(3) { transition-delay: .15s; }
.cards-grid .card:nth-child(4) { transition-delay: .2s; }
.cards-grid .card:nth-child(5) { transition-delay: .25s; }
.cards-grid .card:nth-child(6) { transition-delay: .3s; }

.projects-grid .project-card:nth-child(odd) { transition-delay: .08s; }
.projects-grid .project-card:nth-child(even) { transition-delay: .16s; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borde);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(6,28,71,.1); }

/* Navbar transparente sobre el hero */
.site-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header--transparent .nav a { color: rgba(255,255,255,.9); }
.site-header--transparent .nav a:hover { color: var(--arena); }
.site-header--transparent .menu-toggle span { background: var(--blanco); }
.site-header--transparent.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--borde);
}
.site-header--transparent.scrolled .nav a { color: var(--navy); }
.site-header--transparent.scrolled .nav a:hover { color: var(--naranja); }
.site-header--transparent.scrolled .menu-toggle span { background: var(--navy); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 0.92rem; color: var(--navy); transition: color .2s; position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--naranja);
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.nav a:hover { color: var(--naranja); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { color: var(--blanco); }
.nav .nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: .35s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO SLIDESHOW ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  color: var(--blanco);
  overflow: hidden;
  padding-top: 0; /* header es fixed, hero arranca desde top:0 */
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(6,28,71,.93) 0%, rgba(6,28,71,.78) 50%, rgba(6,28,71,.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 760px;
  padding-top: 80px;
}

.hero-tag {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--naranja);
  color: var(--blanco);
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  width: fit-content;
}
.hero-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  animation: heroTagShine 3.2s ease-in-out infinite;
}
@keyframes heroTagShine {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

.hero h1 {
  color: var(--blanco);
  margin-bottom: 20px;
  font-weight: 900;
}
.hero h1 em { font-style: normal; color: var(--arena); }
.hero p { font-size: 1.12rem; font-weight: 300; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Estadísticas hero */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.22);
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  padding-right: 44px;
  border-right: 1px solid rgba(255,255,255,.18);
  margin-right: 44px;
}
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.stat strong {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--arena);
  line-height: 1;
}
.stat-plus { font-size: 2rem; font-weight: 900; color: var(--naranja); line-height: 1; }
.stat span { font-size: 0.88rem; font-weight: 300; opacity: .85; margin-top: 6px; letter-spacing: .5px; }
.stat-divider { display: none; }

/* Dots slideshow */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.dot.active { background: var(--naranja); transform: scale(1.3); }

/* ===== BANDA DE 25 AÑOS ===== */
.years-band {
  background: var(--navy);
  padding: 28px 0;
  border-bottom: 3px solid var(--naranja);
}
.years-band-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.years-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}
.years-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--naranja);
  line-height: 1;
}
.years-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--arena);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.years-copy { flex: 1; min-width: 200px; }
.years-copy strong { color: var(--blanco); font-size: 1.05rem; font-weight: 700; display: block; margin-bottom: 4px; }
.years-copy p { color: rgba(255,255,255,.7); font-size: 0.9rem; font-weight: 300; }
.years-band .btn { flex-shrink: 0; }

/* ===== SECCIONES ===== */
.section { padding: 96px 0; }
.section-muted { background: var(--gris-fondo); }
.section-dark { background: var(--navy); color: var(--blanco); }
.section-dark h2 { color: var(--blanco); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--gris-texto); font-size: 1.05rem; margin-top: 12px; }
.section-head-light p { color: rgba(255,255,255,.75); }

/* ===== NOSOTROS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radio);
  box-shadow: var(--sombra-lg);
  height: 520px;
  object-fit: cover;
  width: 100%;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--naranja);
  color: var(--blanco);
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(241,111,13,.4);
}
.badge-num { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.badge-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }

.about-text p { color: var(--gris-texto); margin-top: 16px; }
.about-text h2 { margin-top: 6px; }

/* Badge moderno nosotros */
@keyframes badgeShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(6,28,71,.18), 0 0 0 0 rgba(241,111,13,0); }
  50%       { box-shadow: 0 8px 32px rgba(6,28,71,.18), 0 0 0 8px rgba(241,111,13,.08); }
}

.about-badge-modern {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(6, 28, 71, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--blanco);
  border-radius: 16px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.12);
  animation: badgePulse 3s ease-in-out infinite;
  min-width: 240px;
}
.abm-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, var(--naranja) 0%, var(--arena) 40%, var(--naranja) 80%, var(--arena) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: badgeShimmer 3s linear infinite;
}
.abm-plus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--naranja);
  line-height: 1;
  margin-right: 6px;
  -webkit-text-fill-color: var(--naranja);
}
.abm-text {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

.checklist { margin: 26px 0; display: grid; gap: 13px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-weight: 400;
  color: var(--navy);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--naranja)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center/12px no-repeat;
}

/* ===== CARDS SERVICIOS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 34px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-lg);
  border-color: rgba(241,111,13,.2);
}
.service-card p { color: var(--gris-texto); margin-top: 10px; line-height: 1.6; }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(241,111,13,.1);
  color: var(--naranja);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .25s, transform .25s;
}
.card:hover .card-icon { background: var(--naranja); color: var(--blanco); transform: scale(1.08); }
.card-icon svg { width: 28px; height: 28px; }

.service-card-cta {
  background: var(--navy);
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: transparent;
}
.service-card-cta h3 { color: var(--blanco); }
.service-card-cta p { color: rgba(255,255,255,.8); margin: 10px 0 22px; }
.service-card-cta:hover { border-color: transparent; }

/* ===== PROYECTOS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.07); }
.project-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 18px 20px;
  background: linear-gradient(transparent, rgba(6,28,71,.94));
  color: var(--blanco);
  transform: translateY(4px);
  transition: transform .3s ease;
}
.project-card:hover .project-info { transform: translateY(0); }
.project-info span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--arena);
}
.project-info h3 { color: var(--blanco); margin-top: 4px; font-size: 1.1rem; }

/* Slider de imágenes por proyecto */
.project-slider {
  position: relative;
  width: 100%; height: 100%;
}
.project-slider img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .4s ease;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.project-slider img.ps-active { opacity: 1; position: relative; }
.project-card:hover .project-slider img.ps-active { transform: scale(1.07); }
.ps-dots {
  position: absolute;
  bottom: 54px;
  right: 12px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.ps-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: background .25s;
}
.ps-dot.active { background: var(--naranja); }

/* Lista de proyectos */
.projects-list-wrap {
  margin-top: 56px;
  background: var(--gris-fondo);
  border-radius: var(--radio);
  padding: 38px;
  border-left: 4px solid var(--naranja);
}
.projects-list-title { margin-bottom: 22px; font-size: 1.1rem; }
.projects-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px 32px;
}
.projects-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 400;
  color: var(--navy);
  font-size: 0.95rem;
}
.projects-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--naranja);
  border-radius: 2px;
}

/* ===== GALERÍA EQUIPO ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Galería featured con item grande */
.gallery-featured {
  grid-template-columns: 1.6fr 1fr 1fr;
}
.gallery-item-large {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-mid);
}
.gallery-item-large { aspect-ratio: auto; min-height: 380px; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .9;
  transition: transform .5s ease, opacity .3s;
}
.gallery-item:hover img { transform: scale(1.06); opacity: 1; }
.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  background: linear-gradient(transparent, rgba(6,28,71,.92));
  color: var(--blanco);
}

/* ===== VALORES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 30px 24px;
  border-top: 4px solid var(--naranja);
  box-shadow: var(--sombra);
  transition: transform .3s, box-shadow .3s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.value-icon {
  color: var(--naranja);
  margin-bottom: 16px;
}
.value p { color: var(--gris-texto); margin-top: 10px; font-size: 0.93rem; }

/* ===== CONTACTO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info p { color: var(--gris-texto); margin-top: 14px; }
.contact-list { margin-top: 30px; display: grid; gap: 20px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong {
  font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--naranja); margin-bottom: 4px;
}
.contact-list a, .contact-list span { font-size: 1rem; font-weight: 500; word-break: break-all; }
.contact-list a:hover { color: var(--naranja); }

.contact-social { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--borde);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.social-btn:hover {
  background: var(--navy);
  color: var(--blanco);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.contact-form {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: calc(var(--radio) * 1.5);
  padding: 36px;
  box-shadow: var(--sombra-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label { font-weight: 500; font-size: 0.88rem; margin-bottom: 7px; color: var(--navy); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--fuente);
  font-weight: 300;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--borde);
  border-radius: 8px;
  background: var(--blanco);
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(241,111,13,.12);
}

.radio-group { display: flex; gap: 24px; margin-top: 5px; }
.radio { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--naranja); }
.form-note { margin-top: 14px; color: var(--naranja); font-weight: 500; text-align: center; font-size: 0.9rem; }

/* Estados de error del formulario */
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217,45,32,.12);
}
.field-error-msg {
  color: #d92d20;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 6px;
}

/* ===== FOOTER REDISEÑADO ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); }

@keyframes footerFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.footer-main { padding: 64px 0 48px; }
.footer-main .container { animation: footerFadeUp .8s ease both; }

/* Logos en el footer */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.footer-logo { height: 56px; width: auto; opacity: .95; transition: opacity .3s; }
.footer-logo:hover { opacity: 1; }
.footer-logo-color { filter: none; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Bloque de 25 años */
.footer-brand {}
.footer-years {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.fy-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--naranja);
  line-height: 1;
  flex-shrink: 0;
}
.fy-text { padding-top: 4px; }
.fy-text strong { display: block; color: var(--blanco); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.fy-text span { font-size: 0.82rem; color: rgba(255,255,255,.55); font-weight: 300; }

.footer-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--arena);
  word-break: break-all;
  transition: color .2s;
}
.footer-email:hover { color: var(--naranja); }

/* Nav footer */
.footer-nav h4 { color: var(--blanco); font-size: 0.88rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer-nav a {
  display: block;
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  transition: color .2s, padding-left .2s;
}
.footer-nav a:hover { color: var(--blanco); padding-left: 6px; }

/* Redes sociales */
.footer-connect h4 { color: var(--blanco); font-size: 0.88rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer-socials { display: flex; flex-direction: column; gap: 12px; }

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s, color .2s, border-color .2s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,.08);
  color: var(--blanco);
  border-color: rgba(255,255,255,.2);
}
.footer-wa:hover { background: rgba(37,211,102,.15); border-color: rgba(37,211,102,.3); color: #25D366; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
}
.privacy-link {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.privacy-link:hover { color: var(--naranja); }

/* ===== MODAL AVISO DE PRIVACIDAD ===== */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(6,28,71,.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--blanco);
  border-radius: calc(var(--radio) * 1.5);
  padding: 40px;
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(6,28,71,.35);
  animation: fadeUp .4s ease;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--gris-fondo);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gris-texto);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--borde); }

.modal-content h2 { font-size: 1.6rem; margin-bottom: 6px; }
.modal-date { font-size: 0.82rem; color: var(--gris-texto); margin-bottom: 28px; }
.modal-content h3 { font-size: 1rem; font-weight: 700; margin: 22px 0 8px; color: var(--navy); }
.modal-content p { color: var(--gris-texto); font-size: 0.93rem; line-height: 1.7; }
.modal-content a { color: var(--naranja); text-decoration: underline; text-underline-offset: 3px; }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s ease;
  animation: whatsapp-pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }

@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gallery-featured { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-large { grid-row: span 1; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media img { height: 360px; }
  .about-badge { right: 16px; bottom: -16px; }
  .about-badge-modern { right: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .projects-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .years-band-inner { gap: 24px; }

  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 88px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
    padding: 8px 24px 20px;
    box-shadow: var(--sombra);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--borde); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 12px; border-bottom: none; text-align: center; }
}

@media (max-width: 640px) {
  .header-inner { height: 72px; }
  .logo img { height: 46px; }
  .nav { top: 72px; }
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-featured { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .projects-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .hero-stats { gap: 30px; }
  .stat strong { font-size: 2.2rem; }
  .years-band .btn { width: 100%; }
  .years-band-inner { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
  .hero { height: auto; min-height: 100svh; }
  .modal-box { padding: 28px 20px; }
  .about-badge-modern { right: 12px; bottom: -16px; min-width: 0; max-width: calc(100% - 24px); padding: 14px 18px; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 4px 24px;
  box-shadow: var(--sombra);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.4rem;
  color: var(--naranja);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--gris-texto);
  padding-bottom: 20px;
  line-height: 1.6;
}
