@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --cream: #FBF9F4;
  --navy: #0A2A5E;
  --navy-deep: #041B3D;
  --navy-soft: #12386F;
  --gold: #D4A842;
  --gold-soft: #F0D9A0;
  --gold-pale: #FBF1DC;
  --ink: #1C1F26;
  --ink-soft: #5B6270;
  --line: rgba(10, 42, 94, 0.14);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, .display {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.12;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  body { font-size: 16px; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--gold-pale);
  font-size: 13.5px;
  letter-spacing: 0.01em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar .badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--gold);
}
.topbar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.22);
}
.topbar .contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .contacts a:hover { color: var(--gold); }

/* ---------- Nav ---------- */
nav.main {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
nav.main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-text strong { font-family: 'Poppins'; font-weight: 700; color: var(--navy); font-size: 19px; }
.brand .brand-text span { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 34px; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; color: var(--navy); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: none;
  font-weight: 600; font-size: 15px; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #C29635; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }

.hamburger { display: none; background: none; border: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: block; }
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-pale); color: #8A6414;
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #E0862D; }

.hero h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 700;
  max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  margin-top: 22px; max-width: 46ch; color: var(--ink-soft); font-size: 18px;
}
.hero .cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: flex; margin-top: 46px; gap: 0;
}
.hero-stats .stat { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat b {
  display: block; font-family: 'Poppins'; color: var(--navy); font-size: 26px; font-weight: 700;
}
.hero-stats .stat span { font-size: 13.5px; color: var(--ink-soft); }

/* Hero layout (stacked: copy, then full-width photo) */
.hero-copy { max-width: 640px; }

.hero-photo-band {
  margin-top: 48px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(10,42,94,0.18);
}
.hero-photo-band img { width: 100%; height: auto; display: block; }

@media (max-width: 640px) {
  .hero-photo-band { margin-top: 34px; border-radius: 16px; }
}

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius);
}
.gallery-grid figcaption {
  margin-top: 14px; font-size: 14.5px; color: var(--ink-soft);
}

@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 260px; }
}

/* ---------- Services directory ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-kicker { color: var(--gold); font-weight: 700; letter-spacing: 0.01em; font-size: 14.5px; margin-bottom: 10px; display:block; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17.5px; }

.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.service-row:hover { background: rgba(212,168,66,0.06); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.service-row h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.service-row p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 52ch; }
.service-arrow { color: var(--navy); opacity: 0.35; font-size: 20px; }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 48px 1fr; }
  .service-arrow { display: none; }
}

/* ---------- Nosotros ---------- */
.about {
  background: var(--navy);
  color: #EAF0FB;
  padding: 96px 0;
}
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about .section-kicker { color: var(--gold); }
.about h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 14ch; }
.about .pull { margin-top: 22px; font-size: 18px; color: #C7D3E8; max-width: 48ch; }

.feature-list { display: flex; flex-direction: column; gap: 28px; }
.feature-item { display: flex; gap: 18px; }
.feature-item .num {
  font-family: 'Poppins'; font-weight: 700; color: var(--gold); font-size: 15px;
  width: 34px; flex-shrink: 0;
}
.feature-item h4 { color: #fff; font-size: 17.5px; margin-bottom: 6px; }
.feature-item p { margin: 0; color: #B7C3DA; font-size: 15px; }

@media (max-width: 820px) {
  .about .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Sedes ---------- */
.sedes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sede-plate {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; position: relative;
}
.sede-plate .pin {
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.sede-plate .pin svg { width: 20px; height: 20px; stroke: #8A6414; }
.sede-plate h3 { font-size: 21px; margin-bottom: 10px; }
.sede-plate .addr { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.sede-plate .meta { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.sede-plate .meta-row { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 500; }
.sede-plate .meta-row svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; }
.sede-plate .tag24 {
  position: absolute; top: 30px; right: 30px;
  background: var(--navy); color: var(--gold-pale); font-size: 12px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
}

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

/* ---------- Testimonios ---------- */
.testi-wrap { background: var(--gold-pale); border-radius: 28px; padding: 56px 48px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.testi-quote-mark { font-family: 'Poppins'; font-size: 46px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.testi-item p.quote { font-size: 16px; color: var(--ink); margin-bottom: 16px; }
.testi-item .who { font-weight: 600; color: var(--navy); font-size: 14.5px; }
.testi-item .where { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 820px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-wrap { padding: 40px 26px; }
}

/* ---------- Proceso ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; counter-reset: step; }
.process-item { position: relative; padding-top: 8px; }
.process-item .step-num {
  font-family: 'Poppins'; font-size: 15px; font-weight: 700; color: var(--gold);
  border: 1.5px solid var(--gold); width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.process-item h4 { font-size: 18.5px; margin-bottom: 10px; }
.process-item p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.process-line {
  position: absolute; top: 20px; left: 40px; right: -44px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
}
.process-item:last-child .process-line { display: none; }

@media (max-width: 820px) {
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-line { display: none; }
}

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--navy-deep);
  color: #fff;
  padding: 78px 0;
  text-align: center;
}
.cta-final .paw { font-size: 34px; margin-bottom: 18px; }
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 20ch; margin: 0 auto; }
.cta-final p { color: #AEBBD3; max-width: 46ch; margin: 18px auto 34px; font-size: 17px; }
.cta-final .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #AEBBD3; padding-top: 60px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand strong { font-family: 'Poppins'; color: #fff; font-size: 17px; }
.footer-grid p.tag { font-size: 14.5px; max-width: 32ch; }
.footer-col h5 { color: #fff; font-family: 'Poppins'; font-size: 14.5px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; padding: 22px 0 30px; font-size: 13.5px; color: #7E8CA8; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Floating WhatsApp */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}
.float-wa svg { width: 28px; height: 28px; fill: #fff; }

/* Mobile menu */
.mobile-panel {
  display: none;
  position: fixed; inset: 0; background: var(--navy); z-index: 100;
  padding: 28px 24px; color: #fff;
}
.mobile-panel.open { display: block; }
.mobile-panel .close-row { display: flex; justify-content: flex-end; }
.mobile-panel a { display: block; color: #fff; font-family: 'Poppins'; font-size: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }

@media (max-width: 900px) {
  .hamburger { display: block; }
}
