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

:root {
  --gold: #C28A07;
  --gold-light: #F5E9C0;
  --gold-dark: #8A6205;
  --cream: #FDFAF3;
  --dark: #1A1208;
  --gray: #6B6355;
  --light: #F0EBE0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(253,250,243,0.96);
  border-bottom: 1px solid rgba(194,138,7,0.2);
  backdrop-filter: blur(8px);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gold);
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; color: var(--dark); letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.85rem; font-weight: 400;
  color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s; padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--gold); color: white; border: none;
  padding: 0.6rem 1.4rem; border-radius: 2px;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--gold-dark); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); transition: all 0.3s ease; transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay para cerrar menú al tocar fuera */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 98;
  background: rgba(26,18,8,0.3);
}
.mobile-overlay.open { display: block; }

.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(253,250,243,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194,138,7,0.2);
  flex-direction: column; padding: 1rem 1.5rem 1.5rem;
  z-index: 99; opacity: 0; transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-link {
  text-decoration: none; font-size: 1rem; font-weight: 400; color: var(--dark);
  padding: 0.9rem 0; border-bottom: 1px solid rgba(26,18,8,0.07);
  transition: color 0.2s;
}
.mobile-link:hover, .mobile-link.active { color: var(--gold); }
.mobile-whatsapp {
  display: flex; align-items: center; gap: 10px;
  margin-top: 1rem; padding: 0.85rem 1.2rem;
  background: #25D366; color: white; text-decoration: none;
  border-radius: 4px; font-size: 0.9rem; font-weight: 500; transition: background 0.2s;
}
.mobile-whatsapp:hover { background: #1da851; }

/* ===== BARRA FLOTANTE LLAMADA (MÓVIL) ===== */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--dark);
  padding: 0.75rem 1.5rem;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1; padding: 0.7rem 1rem; border-radius: 4px;
  font-size: 0.85rem; font-weight: 500; text-decoration: none;
  letter-spacing: 0.03em;
}
.mobile-call-btn { background: var(--gold); color: white; }
.mobile-wa-btn { background: #25D366; color: white; }

/* ===== PAGE HERO (páginas internas) ===== */
.page-hero {
  padding-top: 80px;
  background: var(--dark);
  padding-bottom: 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(194,138,7,0.04) 40px, rgba(194,138,7,0.04) 41px);
}
.page-hero-inner {
  position: relative; z-index: 2;
  padding: 3.5rem 4rem 2rem;
  max-width: 700px;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.page-hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500; line-height: 1.1; color: white; margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.55);
  line-height: 1.8; max-width: 520px;
}

/* ===== SECTION BASE ===== */
section { padding: 5rem 4rem; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500;
  line-height: 1.15; color: var(--dark); margin-bottom: 1rem;
}
.section-desc { font-size: 1rem; font-weight: 300; color: var(--gray); line-height: 1.8; max-width: 580px; }

.btn-primary {
  background: var(--gold); color: white; border: none;
  padding: 0.9rem 2rem; border-radius: 2px;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--dark);
  border: 1px solid rgba(26,18,8,0.3);
  padding: 0.9rem 2rem; border-radius: 2px;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 400;
  cursor: pointer; letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: rgba(255,255,255,0.4);
  padding: 2.5rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; letter-spacing: 0.04em;
}
footer a { color: var(--gold); text-decoration: none; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: white; }
.footer-wa {
  display: flex; align-items: center; gap: 8px;
  color: #25D366; font-size: 0.82rem; font-weight: 500;
  text-decoration: none; transition: opacity 0.2s;
}
.footer-wa:hover { opacity: 0.8; color: #25D366; }
.footer-privacidad {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.2rem; margin-top: 0.5rem;
}
.footer-privacidad a { color: rgba(255,255,255,0.35); font-size: 0.75rem; }
.footer-privacidad a:hover { color: var(--gold); }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waPulse 2.5s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-tooltip {
  position: absolute; right: 70px;
  background: var(--dark); color: white;
  font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 400;
  padding: 6px 12px; border-radius: 4px; white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none;
}
.whatsapp-tooltip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--dark);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ===== ANIMACIÓN ENTRADA ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.15s; }
.fade-up:nth-child(3) { animation-delay: 0.25s; }
.fade-up:nth-child(4) { animation-delay: 0.35s; }
.fade-up:nth-child(5) { animation-delay: 0.45s; }
.fade-up:nth-child(6) { animation-delay: 0.55s; }

/* ===== INDEX HERO ===== */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 80px; position: relative; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 3rem 6rem 4rem; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 500;
  line-height: 1.1; color: var(--dark); margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc {
  font-size: 1rem; font-weight: 300; color: var(--gray);
  line-height: 1.8; max-width: 440px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-right {
  background: var(--dark); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Hero con imagen */
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.55;
}
.hero-right::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(26,18,8,0.2), rgba(26,18,8,0.5));
}
.hero-emblem { position: relative; z-index: 2; text-align: center; }
.hero-cross {
  font-size: 5rem; color: var(--gold); display: block;
  font-family: 'Cormorant Garamond', serif; line-height: 1; margin-bottom: 1rem; opacity: 0.9;
}
.hero-brand {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500;
  color: white; letter-spacing: 0.08em; display: block;
}
.hero-brand-sub {
  font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-top: 0.5rem;
}
.hero-divider { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem auto; }
.hero-location { font-size: 0.8rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }
.hero-phones { margin-top: 2rem; display: flex; flex-direction: column; gap: 4px; }
.hero-phones a {
  font-size: 0.9rem; color: var(--gold-light); text-decoration: none;
  letter-spacing: 0.06em; transition: color 0.2s;
}
.hero-phones a:hover { color: var(--gold); }
.hero-stats {
  position: absolute; bottom: 2rem; left: 4rem;
  display: flex; gap: 3rem; z-index: 2;
}
.stat { text-align: left; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* ===== INDEX: RESUMEN DE SECCIONES ===== */
.index-sections { background: white; }
.index-sections-header { max-width: 600px; margin-bottom: 3.5rem; }
.index-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px; background: var(--light);
}
.index-card {
  background: white; padding: 2.5rem 2rem;
  text-decoration: none; display: flex; flex-direction: column; gap: 0.75rem;
  transition: background 0.2s;
}
.index-card:hover { background: var(--cream); }
.index-card-icon {
  width: 44px; height: 44px; border: 1px solid var(--gold);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold);
}
.index-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500; color: var(--dark);
}
.index-card-desc { font-size: 0.86rem; font-weight: 300; color: var(--gray); line-height: 1.65; }
.index-card-link {
  font-size: 0.78rem; font-weight: 500; color: var(--gold);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: auto;
}

/* ===== GALERÍA HERO (carrusel de imágenes en inicio) ===== */
.hero-gallery {
  background: white;
  overflow: hidden;
  padding: 0;
}
.gallery-track {
  display: flex;
  gap: 0;
  animation: galleryScroll 30s linear infinite;
  width: max-content;
}
.gallery-track:hover { animation-play-state: paused; }
.gallery-item {
  width: 280px; height: 340px; flex-shrink: 0; overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(15%);
}
.gallery-item:hover img { transform: scale(1.04); filter: grayscale(0); }
@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SERVICIOS ===== */
.servicios-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px; background: var(--light); margin-top: 3rem;
}
.servicio-card {
  background: white; padding: 0; transition: background 0.2s; overflow: hidden;
}
.servicio-card:hover { background: var(--cream); }
.servicio-img {
  width: 100%; height: 220px; object-fit: cover;
  display: block; transition: transform 0.4s ease;
}
.servicio-card:hover .servicio-img { transform: scale(1.03); }
.servicio-body { padding: 1.8rem 2rem; }
.servicio-icon {
  width: 44px; height: 44px; border: 1px solid var(--gold);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--gold);
}
.servicio-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500; color: var(--dark); margin-bottom: 0.75rem;
}
.servicio-desc { font-size: 0.88rem; font-weight: 300; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.servicio-price { font-size: 0.8rem; font-weight: 500; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }

/* COBERTURA */
.cobertura { background: var(--gold); }
.cobertura .section-eyebrow { color: rgba(255,255,255,0.7); }
.cobertura .section-eyebrow::before { background: rgba(255,255,255,0.7); }
.cobertura .section-title { color: white; }
.cobertura-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.cobertura-item {
  background: rgba(255,255,255,0.12); border-radius: 2px;
  padding: 1.5rem; border: 1px solid rgba(255,255,255,0.2);
}
.cobertura-icon { font-size: 1.4rem; margin-bottom: 0.75rem; }
.cobertura-title { font-size: 0.9rem; font-weight: 500; color: white; margin-bottom: 4px; }
.cobertura-desc { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ===== PLANES ===== */
.planes-header { max-width: 600px; margin-bottom: 1rem; }
.planes-note {
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
  margin-bottom: 3rem; font-style: italic;
}
.planes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: rgba(255,255,255,0.08);
}
.plan-card {
  background: var(--dark); padding: 2rem 1.5rem;
  border-top: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.plan-card:hover { border-top-color: var(--gold); background: rgba(194,138,7,0.05); }
.plan-card.destacado { border-top-color: var(--gold); background: rgba(194,138,7,0.07); }
.plan-img {
  width: 100%; height: 130px; object-fit: cover; object-position: center;
  border-radius: 2px; margin-bottom: 1.2rem; opacity: 0.85;
}
.plan-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 500; color: white; margin-bottom: 4px;
}
.plan-sub { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.plan-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 1.2rem; }
.plan-precio-label { font-size: 0.7rem; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.plan-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.plan-plazo { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.plan-pago { font-size: 0.88rem; font-weight: 500; color: var(--gold-light); }

/* Previsión página: sección intro */
.prevision-intro { background: var(--cream); }
.prevision-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
.prevision-visual {
  border-radius: 2px; overflow: hidden;
  position: relative;
}
.prevision-visual img {
  width: 100%; height: 500px; object-fit: cover;
  display: block; border-radius: 2px; object-position: center 80%;
}
.prevision-beneficios { display: flex; flex-direction: column; gap: 1.8rem; }
.prevision-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.prevision-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; flex-shrink: 0; width: 36px;
}
.prevision-item-title { font-size: 0.95rem; font-weight: 500; color: var(--dark); margin-bottom: 4px; }
.prevision-item-desc { font-size: 0.85rem; font-weight: 300; color: var(--gray); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-grid { border: 1px solid rgba(26,18,8,0.08); margin-top: 3rem; }
.faq-item { border-bottom: 1px solid rgba(26,18,8,0.08); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 1.8rem; background: white; border: none; cursor: pointer;
  text-align: left; font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  font-weight: 500; color: var(--dark); transition: background 0.2s, color 0.2s;
}
.faq-question:hover { background: var(--cream); color: var(--gold); }
.faq-question[aria-expanded="true"] { color: var(--gold); background: var(--cream); }
.faq-icon {
  font-size: 1.4rem; font-weight: 300; color: var(--gold);
  flex-shrink: 0; transition: transform 0.3s ease; line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease; background: var(--cream);
}
.faq-answer.open { max-height: 400px; }
.faq-answer p {
  padding: 1rem 1.8rem 1.4rem;
  font-size: 0.88rem; font-weight: 300; color: var(--gray); line-height: 1.8;
}
.faq-answer a { color: var(--gold); }

/* ===== NOSOTROS ===== */
.nosotros-valores { background: white; }
.valores-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px; background: var(--light); margin-top: 3rem;
}
.valor-card { background: white; padding: 2.5rem 2rem; }
.valor-icon {
  width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.2rem;
}
.valor-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; color: var(--dark); margin-bottom: 0.6rem; }
.valor-desc { font-size: 0.87rem; font-weight: 300; color: var(--gray); line-height: 1.7; }

.nosotros-historia { background: var(--dark); }
.nosotros-historia .section-title { color: white; }
.nosotros-historia .section-desc { color: rgba(255,255,255,0.5); }
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.historia-text { display: flex; flex-direction: column; gap: 1.2rem; }
.historia-text p { font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.85; }
.historia-visual {
  border-radius: 2px; overflow: hidden; position: relative; height: 480px;
}
.historia-visual img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; opacity: 0.75;
}
.historia-visual-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.95) 0%, transparent 60%);
  padding: 2rem 2rem 2.5rem;
}
.historia-stats { display: flex; flex-direction: column; gap: 1.2rem; }
.historia-stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; color: var(--gold); line-height: 1;
}
.historia-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== CONTACTO ===== */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contacto-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.contacto-item { display: flex; gap: 1rem; align-items: flex-start; }
.contacto-icon {
  width: 36px; height: 36px; background: var(--gold-light); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0; color: var(--gold-dark);
}
.contacto-label { font-size: 0.72rem; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contacto-value { font-size: 0.95rem; color: var(--dark); font-weight: 400; }
.contacto-value a { color: var(--gold); text-decoration: none; }
.contacto-value a:hover { text-decoration: underline; }

/* Foto de la oficina en contacto */
.contacto-foto {
  width: 100%; height: 500px; object-fit: cover; object-position: center 70%;
  border-radius: 2px; margin-bottom: 1.5rem; display: block;
}

.contacto-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.75rem; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid rgba(26,18,8,0.15); border-radius: 2px;
  padding: 0.75rem 1rem; font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; color: var(--dark); background: var(--cream);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #c0392b; }
.form-error-msg { font-size: 0.72rem; color: #c0392b; margin-top: 2px; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  background: var(--gold); color: white; border: none;
  padding: 1rem 2rem; border-radius: 2px;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; letter-spacing: 0.04em; transition: background 0.2s; align-self: flex-start;
}
.form-submit:hover { background: var(--gold-dark); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.segunda-oficina { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(26,18,8,0.08); }
.segunda-oficina-label { font-size: 0.72rem; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }

/* MAPA */
.mapas-section { background: var(--light); }
.mapas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.mapa-card { display: flex; flex-direction: column; gap: 0.75rem; }
.mapa-label { font-size: 0.8rem; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.mapa-info { font-size: 0.82rem; color: var(--gray); }
.mapa-info a { color: var(--gold); text-decoration: none; }
.mapa-info a:hover { text-decoration: underline; }
.mapa-embed {
  width: 100%; height: 280px; border: none; border-radius: 2px;
  display: block;
}

/* ===== AVISO DE PRIVACIDAD ===== */
.privacidad-section { padding: 5rem 4rem; max-width: 860px; margin: 0 auto; }
.privacidad-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 500; margin-bottom: 1.5rem; margin-top: 2.5rem; color: var(--dark); }
.privacidad-section p { font-size: 0.92rem; color: var(--gray); line-height: 1.9; margin-bottom: 1rem; }

/* ===== PÁGINA 404 ===== */
.not-found {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.not-found-cross { font-size: 5rem; color: var(--gold); font-family: 'Cormorant Garamond', serif; margin-bottom: 1.5rem; }
.not-found h1 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 500; color: var(--dark); margin-bottom: 1rem; }
.not-found p { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 420px; margin: 0 auto 2rem; }

/* ===== RESPONSIVE ===== */
/* Tablet */
@media (max-width: 1024px) {
  nav { padding: 1rem 2rem; }
  section { padding: 4rem 2.5rem; }
  .hero-left { padding: 5rem 2rem 5rem 2.5rem; }
  .hero-stats { left: 2.5rem; }
  .page-hero-inner { padding: 3rem 2.5rem 2rem; }
  footer { padding: 2rem 2.5rem; }
}
@media (max-width: 900px) {
  .prevision-intro-grid, .historia-grid { grid-template-columns: 1fr; gap: 3rem; }
  .prevision-visual { height: 300px; }
  .historia-visual { height: 320px; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none !important; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 3.5rem 1.5rem; }
  .page-hero-inner { padding: 3rem 1.5rem 2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 1.5rem 6rem; }
  .hero-stats { left: 1.5rem; gap: 1.5rem; bottom: 1.5rem; }
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .mapas-grid { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 1.5rem; right: 1.2rem; width: 52px; height: 52px; }
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }
  .gallery-item { width: 200px; height: 260px; }
  .servicio-img { height: auto; max-height: 300px; object-fit: contain; }
  .prevision-visual img { height: auto; object-fit: contain; }
  .plan-img { height: auto; object-fit: contain; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
  .planes-grid { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }

}

.oficinas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .oficinas-grid {
    grid-template-columns: 1fr;
  }
}
