/* ============================================================
   Muniente Advocats — Global Stylesheet
   Fuente: Inter
   ============================================================ */

/* 1. CUSTOM PROPERTIES */
:root {
  --navy:    #1C2951;
  --navy-dk: #141e3d;
  --brand:   #873829;
  --brand-dk:#6b2c20;
  --brand-lt:#a84535;
  --gold:    #B8964E;
  --gold-lt: #d4b06e;
  --cream:   #F7F5F2;
  --white:   #ffffff;
  --gray-50: #f9f9f9;
  --gray-100:#f0eeeb;
  --gray-300:#d1cdc7;
  --gray-500:#9e9990;
  --gray-700:#4a4740;
  --gray-900:#1a1916;
  --text:    #2d2b28;
  --text-lt: #5c5852;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.16);

  --transition: .3s ease;
  --header-h: 80px;
}

/* 2. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1rem; }
p  { line-height: 1.75; color: var(--text-lt); margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }
blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  background: var(--cream);
}

/* 4. UTILITIES */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.bg-cream  { background: var(--cream); }
.bg-navy   { background: var(--navy); }
.bg-brand  { background: var(--brand); }
.text-center { text-align: center; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* 5. BUTTONS */
.btn-primary {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--brand);
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--brand-lt); transform: translateY(-2px); }

.btn-gold {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--brand);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover { background: var(--brand-lt); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: .75rem 2rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-block;
  padding: .75rem 2rem;
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-outline-white:hover { background: var(--brand); border-color: var(--brand); color: var(--white); transform: translateY(-2px); }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.25rem;
  background: var(--brand);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition);
}
.btn-call:hover { background: var(--brand-lt); }

/* 6. HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--brand);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(107,44,32,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.site-logo img { height: 50px; width: auto; }

.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: block; }
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}
.site-header.scrolled .nav-links a { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.site-header.scrolled .nav-links a.active { color: var(--gold); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switcher {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
  padding: .3rem .6rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.site-header.scrolled .lang-switcher { color: var(--white); border-color: rgba(255,255,255,.5); }
.lang-switcher:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  /* 44×44 touch target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s ease, opacity .25s ease, width .25s ease;
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--white); }
/* gap:5px + span height:2px → center-to-center = 7px */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn-call { font-size: 1rem; padding: .75rem 2rem; }

/* 7. HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,18,14,.88) 0%, rgba(80,35,22,.65) 60%, rgba(20,10,8,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
}
.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounceY 2s ease-in-out infinite;
}
.hero-scroll svg { opacity: .6; }
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* 8. PAGE HERO (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(135deg, #1e1412 0%, #2d1915 100%);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; margin: 0; }

/* 9. INTRO / FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: .25rem; }
.feature-item p  { font-size: .875rem; margin: 0; }

/* 10. SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.service-card p  { flex: 1; font-size: .9rem; margin-bottom: 1.25rem; }
.service-card .link-arrow {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap var(--transition);
}
.service-card:hover .link-arrow { gap: .75rem; }

/* 11. SERVICE DETAIL (specialties page) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
@media (min-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .service-detail-reverse .service-detail-img { order: 2; }
  .service-detail-reverse .service-detail-text { order: 1; }
}
.service-detail-img img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p  { margin-bottom: 1rem; }

.service-list {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: .9rem;
  color: var(--text-lt);
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* 12. ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/5;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 2rem; line-height: 1; font-family: var(--font-display); }
.about-badge span   { font-size: .75rem; letter-spacing: .05em; }
.about-text { padding-top: 1rem; }
.about-text h2 { margin-bottom: .75rem; }
.about-intro { font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: 1rem; }
.about-text h3 { font-size: 1.4rem; margin: 1.75rem 0 .75rem; }

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .75rem 0 1.25rem;
}
.credentials-list li {
  font-size: .9rem;
  color: var(--text-lt);
}
.bio-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.25rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* 13. STATS */
.section-stats { padding: 4rem 0; }
.stats-tagline {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-left: .1em;
  display: inline;
}
.stat-item .stat-number { display: inline; }
.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .1rem;
}
.stat-label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
}

/* 14. CTA BAND */
.section-cta-band { padding: 4rem 0; }
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
@media (min-width: 768px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta-band-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-shrink: 0;
}

/* 15. CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  margin-bottom: 1rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: .875rem; color: var(--navy); margin-bottom: .15rem; }
.contact-detail-text span,
.contact-detail-text a { font-size: .9rem; color: var(--text-lt); }
.contact-detail-text a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,41,81,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .5rem;
}
.form-privacy a { color: var(--gold); }

/* 16. SEO SERVICE PAGE */
.seo-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
}
.seo-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .seo-hero-inner { grid-template-columns: 1.2fr 1fr; }
}
.seo-hero h1 { color: var(--white); margin-bottom: 1rem; }
.seo-hero p  { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.seo-hero-img img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
}
.seo-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2rem;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
}

.seo-faq { padding: 5rem 0; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 600px; padding-top: 1rem; }
.faq-a p { font-size: .95rem; margin: 0; }

/* 17. LEGAL PAGES */
.legal-content { padding: 5rem 0; }
.legal-content h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; font-size: .95rem; }
.legal-content ul { margin: .75rem 0 1rem 1.5rem; list-style: disc; }
.legal-content ul li { font-size: .95rem; color: var(--text-lt); margin-bottom: .4rem; }
.legal-content a { color: var(--gold); }
.legal-content a:hover { text-decoration: underline; }

/* 18. FOOTER */
.site-footer {
  background: var(--brand-dk);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }

.footer-brand p {
  margin-top: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}
.footer-brand address {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.footer-brand address a:hover { color: var(--gold); }

.footer-nav h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-nav ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin: 0;
}

/* 19. MAP */
.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* 20. INTRO TEXT SECTION */
.intro-section { padding: 4.5rem 0; }
.intro-section p { font-size: 1.05rem; max-width: 800px; }

/* 21. BREADCRUMB */
.breadcrumb {
  padding: calc(var(--header-h) + 1rem) 0 0;
  background: var(--gray-50);
}
.breadcrumb-inner {
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--gray-500);
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .breadcrumb-inner { padding: .75rem 0; }
}
.breadcrumb-inner a { color: var(--gray-500); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner span { color: var(--text-lt); }

/* 22. RESPONSIVE MISC */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; }
  .stats-grid { gap: 1rem; }
  .contact-form { padding: 1.5rem; }
  .about-badge { bottom: -1rem; right: -.5rem; padding: 1rem; }
  .about-badge strong { font-size: 1.6rem; }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

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

/* ============================================================
   24. HERO ANIMATIONS
   ============================================================ */
.hero-eyebrow {
  animation: fadeSlideUp .7s ease both;
  animation-delay: .1s;
}
.hero h1 {
  animation: fadeSlideUp .8s ease both;
  animation-delay: .25s;
}
.hero-subtitle {
  animation: fadeSlideUp .8s ease both;
  animation-delay: .4s;
}
.hero-ctas {
  animation: fadeSlideUp .8s ease both;
  animation-delay: .55s;
}
.hero-scroll {
  animation: fadeSlideUp .6s ease both, bounceY 2s ease-in-out 1.2s infinite;
  animation-delay: .8s, 1.2s;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ken Burns suave en hero bg */
.hero-bg {
  animation: kenBurns 22s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translateX(0)   translateY(0); }
  50%  { transform: scale(1.04) translateX(-8px) translateY(-4px); }
  100% { transform: scale(1.07) translateX(4px)  translateY(-8px); }
}

/* ============================================================
   25. STAGGER EN CARDS
   ============================================================ */
.service-card:nth-child(1) { --card-delay: 0s; }
.service-card:nth-child(2) { --card-delay: .08s; }
.service-card:nth-child(3) { --card-delay: .16s; }
.service-card:nth-child(4) { --card-delay: .24s; }
.service-card:nth-child(5) { --card-delay: .32s; }
.service-card:nth-child(6) { --card-delay: .40s; }

.service-card.reveal {
  transition-delay: var(--card-delay, 0s);
}

/* Stagger features */
.feature-item:nth-child(1) { --fi-delay: 0s; }
.feature-item:nth-child(2) { --fi-delay: .1s; }
.feature-item:nth-child(3) { --fi-delay: .2s; }
.feature-item:nth-child(4) { --fi-delay: .3s; }
.feature-item.reveal { transition-delay: var(--fi-delay, 0s); }

/* ============================================================
   26. DECORATIVE GOLD SEPARATOR
   ============================================================ */
.gold-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 220px;
  justify-content: center;
}
.gold-sep::before,
.gold-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.gold-sep::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.gold-sep span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   27. GOLD SHIMMER BUTTON
   ============================================================ */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.25) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-gold:hover::after { left: 130%; }

/* ============================================================
   28. STAT PULSE
   ============================================================ */
@keyframes statPulse {
  0%, 100% { text-shadow: 0 0 0px rgba(184,150,78,0); }
  50%       { text-shadow: 0 0 20px rgba(184,150,78,.4); }
}
.stat-number.counted {
  animation: statPulse 1.5s ease forwards;
}

/* ============================================================
   29. FLOATING CALL BUTTON (mobile)
   ============================================================ */
.fab-call {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 1.4rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(135,56,41,.5);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fabPop .5s cubic-bezier(.34,1.56,.64,1) both;
  animation-delay: 1.5s;
}
@keyframes fabPop {
  from { opacity: 0; transform: scale(.5); }
  to   { opacity: 1; transform: scale(1); }
}
.fab-call:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(135,56,41,.65); }
@media (max-width: 1023px) { .fab-call { display: flex; } }

/* ============================================================
   30. SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 2000;
  transition: width .08s linear;
  pointer-events: none;
}

/* ============================================================
   31. IMAGE HOVER ZOOM
   ============================================================ */
.service-detail-img,
.about-image {
  overflow: hidden;
  border-radius: var(--radius);
}
.service-detail-img img,
.about-image img {
  transition: transform .55s ease;
  will-change: transform;
}
.service-detail-img:hover img,
.about-image:hover img {
  transform: scale(1.04);
}

/* ============================================================
   32. SECTION INTRO GRADIENT LINE
   ============================================================ */
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-top: .35rem;
  border-radius: 2px;
}
.text-center .section-label::after {
  margin-inline: auto;
}

/* ============================================================
   33. NAV LINK ACTIVE GOLD DOT
   ============================================================ */
.nav-links a.active::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: .35rem;
  vertical-align: middle;
  margin-bottom: 2px;
}

/* ============================================================
   34. HEADER LOGO TRANSITION
   ============================================================ */
.site-logo img {
  transition: opacity var(--transition), filter var(--transition);
}
.site-logo:hover img {
  opacity: .85;
  filter: brightness(1.05);
}

/* ============================================================
   35. PAGE HERO ANIMATED GRADIENT
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #1e1412 0%, #3d2018 50%, #1e1412 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   36. HOME INTRO GRID
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.intro-text h2 { margin-bottom: 1rem; }
.intro-text p  { margin-bottom: 1.25rem; }
.intro-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.intro-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-direction: row;
}
.intro-features .feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.intro-features strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .2rem;
}
.intro-features p { font-size: .85rem; margin: 0; }

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap var(--transition), color var(--transition);
}
.btn-text-link:hover { color: var(--brand-lt); gap: .6rem; }

/* ============================================================
   37. HOME SERVICES GRID (with images)
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-desc {
  font-size: 1rem;
  color: var(--text-lt);
  margin: 0;
}

/* Service card with image (homepage variant) */
.service-card .service-img {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16/10;
  margin: -2rem -2rem 1.5rem;  /* bleed to card edges */
}
.service-card .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  display: block;
}
.service-card:hover .service-img img { transform: scale(1.05); }

.service-body { display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: .75rem; font-size: 1.2rem; }
.service-body p  { flex: 1; font-size: .9rem; margin-bottom: 1.25rem; color: var(--text-lt); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: .75rem; color: var(--brand-lt); }

.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: .5rem;
}
.section-cta .btn-primary {
  padding: .9rem 2.75rem;
  font-size: 1rem;
}

/* ============================================================
   38. HERO CTAs CENTERED
   ============================================================ */
.hero-ctas {
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .hero-ctas {
    align-items: flex-start;
  }
}

/* ============================================================
   39. CONTACT ITEMS (homepage / contact page)
   ============================================================ */
.contact-form-wrap {}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .875rem; color: var(--navy); margin-bottom: .15rem; font-weight: 600; }
.contact-item span,
.contact-item p,
.contact-item address,
.contact-item a { font-size: .9rem; color: var(--text-lt); }
.contact-item a:hover { color: var(--brand); }

/* ============================================================
   40. MOBILE NAV CLOSE BUTTON
   ============================================================ */
.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: .5rem;
  opacity: .75;
  transition: opacity var(--transition);
}
.mobile-nav-close:hover { opacity: 1; }
