/*
Theme Name:  Notaria Publica Global
Theme URI:   https://www.notariapublicaglobal.com
Description: Tema profesional para Notaria Publica Global. Servicios notariales para la comunidad latina en Nueva York.
Author:      Notaria Publica Global
Author URI:  https://www.notariapublicaglobal.com
Version:     1.1.0
Text Domain: notaria-global
Tags:        legal, professional, spanish, notary
*/
/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — styles.css  (v2 redesign)
   Colores: #0D2B4E (navy) · #C9A227 (gold)
=================================================== */

/* ── Google Fonts import (HP single-family: Manrope, fallback Inter) ── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  --navy:        #0D2B4E;
  --navy-dark:   #081D38;
  --navy-mid:    #1A4A7A;
  --navy-light:  #2563A8;
  --gold:        #C9A227;
  --gold-dark:   #A8861E;
  --gold-light:  #F5D87C;
  --gold-bg:     #FEF9EC;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;
  --gray-700:    #334155;
  --text:        #1E293B;
  --success:     #10B981;
  --error:       #EF4444;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(13,43,78,.08), 0 1px 3px rgba(13,43,78,.05);
  --shadow-md: 0 4px 20px rgba(13,43,78,.10), 0 2px 8px rgba(13,43,78,.06);
  --shadow-lg: 0 8px 32px rgba(13,43,78,.14), 0 4px 12px rgba(13,43,78,.08);
  --shadow-xl: 0 20px 60px rgba(13,43,78,.20), 0 8px 24px rgba(13,43,78,.12);

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --trans-fast: 0.15s ease;
  --trans:      0.25s ease;
  --trans-slow: 0.4s cubic-bezier(0.4,0,0.2,1);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --section-py: clamp(4rem, 8vw, 6rem);

  /* Legacy aliases (keep for compatibility) */
  --navy2:  #081D38;
  --gold2:  #A8861E;
  --gray:   #F8FAFC;
  --gray2:  #E2E8F0;
  --gray3:  #64748B;
  --dark:   #081D38;
  --shadow: var(--shadow-md);
  --shadow2: var(--shadow-xl);
  --radius2: var(--radius-lg);
  --trans-legacy: all .25s ease;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}
h2 { font-weight: 800; }
h3 { font-weight: 700; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── UTILITIES ── */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.bg-navy     { background: var(--navy); }
.bg-gold     { background: var(--gold); }
.bg-gray     { background: var(--off-white); }
.text-center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.section-subtitle {
  font-size: 1.12rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-family: var(--font-body);
  font-weight: 400;
}
.section-header { text-align: center; margin-bottom: 2rem; }
.divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: .75rem auto 1rem;
  border-radius: 2px;
}

.section-padding { padding: var(--section-py) 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); color: var(--white); }
.bg-navy-section {
  background: var(--navy);
  padding: 80px 0;
}
.bg-navy-section h2 { color: var(--white); }
.bg-navy-section p  { color: rgba(255,255,255,.75); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .2s;
}
.btn:active::after { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-green {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-green:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
/* Reservar Cita en hero card — box-shadow dorado mínimo */
.hero-card .btn-green {
  box-shadow: 0 4px 16px rgba(201,162,39,.28);
}
.hero-card .btn-green:hover {
  box-shadow: 0 6px 22px rgba(201,162,39,.4);
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media(max-width:600px) {
  .btn-lg { padding: 14px 24px; font-size: .97rem; }
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
#navbar.scrolled {
  background: rgba(8,29,56,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-line1 {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.logo-divider-bar {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 5px;
  margin: 4px 0;
}
.logo-divider-bar::before,
.logo-divider-bar::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}
.logo-divider-dot {
  color: var(--gold);
  font-size: .36rem;
  line-height: 1;
}
.logo-line2 {
  display: block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .45em;
  text-transform: uppercase;
}
/* ── Logo responsive mobile ── */
@media (max-width: 600px) {
  .nav-logo { gap: 8px; }
  .nav-logo-img { height: 32px; }
  .logo-line1 { font-size: .68rem; letter-spacing: .1em; }
  .logo-line2 { font-size: .46rem; letter-spacing: .3em; }
  .logo-divider-bar { margin: 3px 0; }
}

/* compatibilidad footer si usa clase antigua */
.nav-logo .logo-text { color: var(--white); }
.nav-logo .logo-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.2;
}
.nav-logo .logo-text span {
  font-size: .7rem;
  letter-spacing: .08em;
  opacity: .8;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  transition: var(--trans);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(255,255,255,.08);
}
.nav-cta {
  margin-left: 8px;
  padding: 8px 18px;
  font-size: .9rem;
  white-space: nowrap;
  line-height: 1;
  transform: translateY(-5px);
}
.nav-cta:hover { transform: translateY(-8px) !important; }

/* Native <details>/<summary> dropdown — bulletproof */
details.nav-dropdown { display: inline-block; position: relative; }
.nav-dd-summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 500;
  padding: 10px 14px;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--trans);
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
}
.nav-dd-summary::-webkit-details-marker { display: none; }
.nav-dd-summary:hover { color: var(--gold); background: rgba(255,255,255,.08); }
.nav-dd-summary i { font-size: .65rem; opacity: .75; transition: transform .3s; }
details.nav-dropdown:hover > .nav-dd-summary i,
details.nav-dropdown[open] > .nav-dd-summary i { transform: rotate(180deg); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 10000;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV — Full-screen overlay ── */
@media(max-width:900px) {
  #navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    min-height: 100%;
    z-index: 9999;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 72px 20px 32px;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .nav-links.open {
    display: flex;
    animation: navFadeIn .25s ease;
  }
  @keyframes navFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .nav-links > a {
    font-size: 1.2rem;
    padding: 13px 24px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .nav-links > a:hover { background: rgba(255,255,255,.08); }
  .nav-cta {
    margin: 6px 0 0;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px;
    min-height: 50px;
    box-sizing: border-box;
    transform: none;
  }
  .nav-cta:hover { transform: none !important; }

  /* Dropdown wrapper */
  details.nav-dropdown {
    width: 100%;
    display: block;
    margin: 2px 0;
  }
  .nav-dd-summary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 14px 24px;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255,255,255,.88);
    border-radius: var(--radius);
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-dd-summary i { font-size: .85rem; opacity: .85; transition: transform .3s; pointer-events: none; }
  .nav-dd-summary:hover, .nav-dd-summary:active { background: rgba(255,255,255,.08); }
  details.nav-dropdown[open] > .nav-dd-summary {
    background: rgba(255,255,255,.1);
    color: var(--gold);
  }
  details.nav-dropdown[open] > .nav-dd-summary i { transform: rotate(180deg); }

  /* Submenu */
  .nav-dropdown-menu {
    display: none;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(13,43,78,.6) !important;
    margin: 2px 0 6px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    width: 100% !important;
    padding: 6px 0 !important;
    animation: none !important;
  }
  details.nav-dropdown[open] > .nav-dropdown-menu { display: block !important; }
  details.nav-dropdown:hover > .nav-dropdown-menu { display: none; }
  details.nav-dropdown[open] > .nav-dropdown-menu { display: block !important; }
  .nav-dropdown-menu a {
    color: var(--white) !important;
    padding: 12px 20px !important;
    font-size: .98rem !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-dropdown-menu a i { color: var(--gold); width: 18px; text-align: center; }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:active {
    background: rgba(255,255,255,.12) !important;
    color: var(--gold) !important;
  }
}

/* ── NAV DROPDOWN (desktop submenu) ── */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  min-width: 260px;
  padding: 8px;
  z-index: 1100;
  animation: dropdownFade .2s ease;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
details.nav-dropdown:hover > .nav-dropdown-menu,
details.nav-dropdown[open] > .nav-dropdown-menu {
  display: block !important;
}
details.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  display: none;
}
details.nav-dropdown:hover::after { display: block; }
.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm) !important;
  color: var(--white) !important;
  font-size: .9rem !important;
  transition: var(--trans);
  background: transparent !important;
  width: 100% !important;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,.1) !important;
  color: var(--gold) !important;
  padding-left: 18px !important;
}
.nav-dropdown-menu a i {
  color: var(--gold);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
/* Dot pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Radial glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,.18);
  border: 1px solid rgba(201,162,39,.4);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2.25rem;
  max-width: 580px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-img-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 40px;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 340px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}
.hero-card-icon {
  width: 190px;
  height: 190px;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.hero-card-icon-img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
}
.hero-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; }
.hero-card p  { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1rem; }
.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; color: var(--gold); font-weight: 700; font-family: var(--font-heading); }
.stat span   { font-size: .75rem; color: rgba(255,255,255,.65); display: block; }
.hero-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media(max-width:900px) {
  .hero-layout { flex-direction: column; }
  .hero-img-wrap { padding-left: 0; justify-content: center; width: 100%; }
  .hero-card { max-width: 100%; }
}

/* ── TRUST BAND ── */
.trust-band {
  background: linear-gradient(135deg, #060F1E 0%, #0D2B4E 60%, #0F3060 100%);
  padding: 2.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.trust-item i {
  width: 48px; height: 48px;
  background: rgba(201,162,39,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #C9A227 !important;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: .95rem; font-weight: 700; color: #fff !important; }
.trust-item span   { font-size: .8rem; color: rgba(255,255,255,.8) !important; }
.trust-item        { color: #fff !important; }
.trust-item i      { color: #fff !important; background: rgba(6,15,30,.35) !important; }
.trust-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(8,29,56,.14);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--navy-dark);
  flex-shrink: 0;
}

/* ── SERVICES SECTION ── */
.services-section { padding: var(--section-py) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--trans-slow);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
/* Top accent bar */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-slow);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: var(--trans);
  box-shadow: 0 4px 12px rgba(13,43,78,.25);
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(13,43,78,.35);
}
.service-card h3 {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.service-card .btn { font-size: .82rem; padding: 9px 18px; }

/* ── WHY US ── */
.why-section {
  padding: var(--section-py) 0;
  background: linear-gradient(160deg, #060F1E 0%, #081D38 40%, #0D2B4E 70%, #0F3460 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.why-section .section-title { color: var(--white); }
.why-section .section-subtitle { color: rgba(255,255,255,.6); }
.why-section .text-gold { color: var(--gold); }
.geo-section .text-gold { color: var(--navy); }
.why-section .divider { background: var(--gold); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: why-counter;
}
/* 4 columnas fijas en desktop */
.why-grid.why-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .why-grid.why-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .why-grid.why-grid-4 { grid-template-columns: 1fr; }
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--trans-slow);
  position: relative;
  overflow: hidden;
  counter-increment: why-counter;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.why-card::before {
  content: counter(why-counter, decimal-leading-zero);
  position: absolute; top: 12px; right: 16px;
  font-size: 3.5rem; font-weight: 900; opacity: .06;
  color: var(--white); font-family: var(--font-heading); line-height: 1;
}
.why-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,162,39,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.why-icon {
  width: 72px; height: 72px;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--gold);
  margin: 0 auto 1.5rem;
  transition: var(--trans);
}
.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: scale(1.08) rotate(3deg);
}
.why-card h3 { font-size: 1.2rem; margin-bottom: .6rem; font-family: var(--font-body); font-weight: 700; color: var(--white); }
.why-card p  { font-size: .97rem; color: rgba(255,255,255,.65); line-height: 1.75; }

/* ── ABOUT PREVIEW ── */
.about-preview { padding: var(--section-py) 0; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  max-height: 480px;
}
.about-img-box i { font-size: 6rem; color: rgba(255,255,255,.15); }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.about-badge strong { display: block; font-size: 1.4rem; font-weight: 700; }
.about-badge span   { font-size: .8rem; font-weight: 600; }
.about-content { padding-bottom: 20px; }
.about-content .badge-tag {
  display: inline-block;
  background: rgba(201,162,39,.12);
  color: var(--gold-dark);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.about-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 1rem; }
.about-content p  { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 1rem; }
.about-list { margin: 1.25rem 0; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.about-list li i { color: var(--gold); font-size: .95rem; }

@media(max-width:800px) {
  .about-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
  .about-badge { bottom: -10px; right: 10px; }
}

/* ── TESTIMONIALS ── */
.testimonials { padding: var(--section-py) 0; background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  transition: var(--trans-slow);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 10px; right: 20px;
  font-size: 8rem; line-height: 1;
  color: var(--gold); opacity: .07;
  font-family: Georgia, serif; font-weight: 900;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 3px; }
.testimonial-card p {
  font-size: .97rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: 1rem; flex-shrink: 0;
  border: 2px solid var(--gold);
}
.author-info strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); }
.author-info span   { font-size: .8rem; color: var(--gray-500); }

/* ── FAQ ACCORDION ── */
.faq-section { padding: var(--section-py) 0; }
.faq-section.compact { padding: 40px 0; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--trans);
}
.accordion-item.open { box-shadow: var(--shadow-md); }
.accordion-item.open .accordion-header { background: var(--gold-bg); }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  transition: var(--trans);
  gap: 12px;
}
.accordion-header:hover { background: var(--off-white); }
.accordion-header h3, .accordion-header h4 {
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}
.accordion-icon {
  width: 28px; height: 28px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: var(--navy);
  transition: var(--trans);
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(180deg);
}
/* Smooth accordion animation */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1), padding .3s ease;
  padding: 0 24px;
  background: var(--white);
}
.accordion-item.open .accordion-body {
  max-height: 500px;
  padding: 0 24px 20px;
}
.accordion-body p {
  font-size: .93rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* FAQ categories */
.faq-category { margin-bottom: 2.5rem; }
.faq-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  font-family: var(--font-body);
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-mid) 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,162,39,.12), transparent);
  pointer-events: none;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta-band p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}


/* eliminar espacio inferior de main */
main, #main-content { display: block; padding-bottom: 0 !important; margin-bottom: 0 !important; }
footer, .cta-band { margin-bottom: 0 !important; }
body > footer { margin-top: 0 !important; }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: clamp(3rem,6vw,5rem) 0 0;
  color: rgba(255,255,255,.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo .logo-text strong,
.footer-brand .nav-logo .logo-text span {
  color: rgba(255,255,255,.9);
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.8;
  margin: 1.25rem 0;
  opacity: .7;
}
.footer-col h3, .footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px;
  transition: var(--trans);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: .65rem; color: var(--gold); opacity: .6; }
.social-icons { display: flex; gap: 10px; margin-top: 1rem; }
.social-icons a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  transition: var(--trans);
  border: 1px solid rgba(255,255,255,.1);
}
.social-icons a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
}
.contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contact-item a { color: rgba(255,255,255,.88); transition: var(--trans); }
.contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}
.footer-bottom a { color: var(--gold); text-decoration: underline; }
.footer-bottom a:hover { text-decoration: underline; }

@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid  { grid-template-columns: 1fr; }
  .trust-grid  { grid-template-columns: 1fr 1fr; }
  .mission-vision { grid-template-columns: 1fr !important; }
  .page-hero-cta { flex-direction: column; align-items: stretch; }
  .page-hero-cta .btn, .page-hero-cta button { width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .hero-stats { justify-content: center; }
  .section-header { padding: 0 4px; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: clamp(100px, 15vw, 160px) 0 clamp(50px, 8vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.02) 40px,
    rgba(255,255,255,.02) 80px
  );
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border: 2px solid rgba(201,162,39,.2);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: .75rem;
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
/* ── Animaciones botones ── */
@keyframes btn-pulse-gold {
  0%, 100% { transform: translateY(0);    box-shadow: 0 4px 14px rgba(201,162,39,.35); }
  50%       { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(201,162,39,.55); }
}
@keyframes btn-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* Botones "Reservar Cita Gratis" en page-hero — bg mostaza + ancho auto + animación */
.page-hero-cta .btn-booking {
  background: #C9A227 !important;
  color: #0D2B4E !important;
  border-color: #C9A227 !important;
  width: auto !important;
  padding: 15px 48px !important;
  animation: btn-pulse-gold 2.2s ease-in-out infinite;
}
.page-hero-cta .btn-booking:hover {
  animation-play-state: paused;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(201,162,39,.6) !important;
}

/* Hero index — solo animación palpitante en "Reservar Cita" de la card */
.hero-card .btn-green {
  animation: btn-pulse-gold 2.2s ease-in-out infinite;
}
.hero-card .btn-green:hover { animation-play-state: paused; }

.page-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
}
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans);
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  color: var(--white);
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  position: relative;
}
.breadcrumb a {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: var(--trans);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: .65rem; color: rgba(255,255,255,.3); }
.breadcrumb span { font-size: .85rem; color: var(--gold); font-weight: 600; }

/* ── CONTACT PAGE ── */
.contact-section { padding: 80px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
@media (max-width: 800px) {
  .contact-form-box { position: static; }
}
.contact-form-box h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.contact-form-box > p { color: var(--gray-500); font-size: .95rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 20px; }
.contact-form-group { margin-bottom: 20px; }
.form-group label,
.contact-form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea,
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group .btn { width: 100%; justify-content: center; }
.contact-info-box { position: sticky; top: 100px; }
.contact-info-box h3 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.contact-card i { font-size: 1.4rem; color: var(--gold); margin-bottom: .75rem; }
.contact-card h3, .contact-card h4 { font-size: 1rem; margin-bottom: .4rem; font-family: var(--font-body); font-weight: 600; }
.contact-card p,
.contact-card a { font-size: .92rem; color: var(--gray-500); }
.contact-card a:hover { color: var(--gold); }
.whatsapp-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--trans);
  margin-bottom: 20px;
}
.whatsapp-big:hover { background: #20ba58; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.whatsapp-big i { font-size: 1.5rem; }
.map-placeholder {
  background: var(--gray-200);
  border-radius: var(--radius);
  height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: .95rem;
  margin-top: 16px;
}
.map-placeholder i { font-size: 2.5rem; color: var(--navy); }
@media(max-width:800px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-box { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
}

/* ── SERVICE SEC1 GRID (texto + imagen) ── */
.service-sec1-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.service-sec1-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 560px;
  box-shadow: var(--shadow-lg);
}
.service-sec1-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-lg);
}
@media (max-width: 860px) {
  .service-sec1-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-sec1-img { height: 320px; }
}

/* ── CONTACT MAP ── */
.contact-map-section {
  background: var(--navy-dark);
}
.contact-map-header {
  text-align: center;
  padding: 50px 20px 36px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-map-header h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: .5rem 0 .75rem;
}
.contact-map-header p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
}
.contact-map-wrap {
  width: 100%;
  line-height: 0;
}
.contact-map-wrap iframe {
  width: 100%;
  display: block;
  border: none;
  min-height: 420px;
}

/* ── BLOG ── */
.blog-section { padding: 80px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-slow);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img i { font-size: 3rem; color: rgba(255,255,255,.2); }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-category {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold-dark);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.blog-cat {
  background: rgba(13,43,78,.08);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; color: var(--gray-400);
  margin-bottom: .75rem;
}
.blog-meta i { color: var(--gold); }
.blog-date { font-size: .8rem; color: var(--gray-500); }
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.blog-card p { font-size: .88rem; color: var(--gray-500); margin-bottom: 1.25rem; flex: 1; }
.blog-link,
.blog-read-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}
.blog-link:hover,
.blog-read-more:hover { color: var(--gold); gap: 10px; }

/* ── ABOUT PAGE ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--trans);
}
.value-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
}
.value-card:hover h3,
.value-card:hover h4,
.value-card:hover p { color: var(--white); }
.value-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: .75rem; }
.value-card h3, .value-card h4 {
  font-size: 1rem;
  margin-bottom: .4rem;
  font-family: var(--font-body);
  font-weight: 600;
  transition: var(--trans);
  color: var(--text);
}
.value-card p { font-size: .85rem; color: var(--gray-500); transition: var(--trans); }

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 3rem 0;
}
.mv-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201,162,39,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.mv-card h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 1rem; }
.mv-card p  { color: rgba(255,255,255,.82); font-size: .97rem; line-height: 1.75; }
@media(max-width:700px) { .mission-vision { grid-template-columns: 1fr; } }

.countries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}
.country-tag {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 500;
  transition: var(--trans);
}
.country-tag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.country-tag i { color: var(--gold); font-size: .85rem; }

/* ── SERVICES PAGE categories ── */
.services-page-section { padding: var(--section-py) 0; }
.services-page-section.alt { background: var(--off-white); }
.services-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--navy);
  margin-bottom: .5rem;
}
.services-category-title i {
  width: 44px; height: 44px;
  background: var(--gold-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.services-category-sub { color: var(--gray-500); font-size: .97rem; margin-bottom: 2rem; font-family: var(--font-body); }

/* ── PROCESO/STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: steps;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: var(--trans);
  counter-increment: steps;
}
.step-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
}
.step-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.step-card p  { font-size: .88rem; color: var(--gray-500); }

/* ── GEO SECTION ── */
.geo-section { padding: var(--section-py) 0; background: var(--off-white); }
.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 1.5rem;
}
.geo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: var(--trans);
  cursor: default;
}
.geo-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.geo-card i { color: var(--gold); font-size: 1.4rem; margin-bottom: 8px; }
.geo-card h4 {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .2rem;
  color: var(--text);
  transition: var(--trans);
}
.geo-card span { display: block; font-size: .78rem; color: var(--gray-400); transition: var(--trans); }

/* ── COUNTRIES BAND ── */
.countries-band {
  background: var(--navy);
  padding: clamp(3rem,6vw,5rem) 0;
}
.countries-band h2 { color: var(--white); text-align: center; margin-bottom: .5rem; }
.countries-band .divider { margin: .75rem auto 1.5rem; }
.countries-band p { color: rgba(255,255,255,.72); text-align: center; margin-bottom: 2rem; }
.countries-flex { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: .85rem;
  font-weight: 500;
  transition: var(--trans);
}
.country-chip:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.country-chip i { color: var(--gold); font-size: .8rem; }
.country-chip:hover i { color: var(--navy); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 990;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
@media(max-width:768px) { .whatsapp-float { bottom: 90px; right: 18px; } }
.whatsapp-float a.float-btn,
.float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--trans);
  position: relative;
}
.whatsapp-float a.float-btn:hover,
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.6); }
.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: pulse-wa 2.5s ease infinite;
}
@keyframes pulse-wa {
  0%   { transform: scale(1); opacity: .6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
/* Legacy pulse alias */
@keyframes pulse {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.float-tooltip {
  position: absolute;
  right: 70px; top: 50%;
  transform: translateY(-50%);
  background: var(--navy-dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--trans);
  font-weight: 500;
}
.float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy-dark);
}
.whatsapp-float:hover .float-tooltip { opacity: 1; }

/* ── ANIMATIONS — Scroll fade with stagger ── */
.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity .65s ease, transform .65s cubic-bezier(0.4,0,0.2,1);
  transition-delay: calc(var(--delay, 0) * 1ms);
}
.fade-in       { transform: translateY(28px); }
.fade-in-left  { transform: translateX(-32px); }
.fade-in-right { transform: translateX(32px); }
.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0,0);
}

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 28px; left: 24px;
  z-index: 990;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(13,43,78,.85);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--trans);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
#scrollTop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scrollTop:hover { background: var(--gold); color: var(--navy); }

/* ── MISC ── */
.badge-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.objetivos-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 1.5rem;
}
.objetivo-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
}
.objetivo-item i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.objetivo-item p { font-size: .92rem; color: var(--text); line-height: 1.6; }

/* Radial glow corner on service cards */
.service-card .service-glow {
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(201,162,39,.1) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
  transition: var(--trans-slow);
}
.service-card:hover .service-glow {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
  top: -40px; right: -40px;
}

/* ── EYEBROW LABELS ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: .75rem;
  font-family: var(--font-body);
}
.eyebrow { color: var(--navy); }
.eyebrow i { font-size: .6rem; }
.eyebrow-dark { color: var(--navy-dark); }
.why-section .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }

/* ── STAT BLOCK ── */
.stat-block {
  text-align: center;
  padding: 20px 16px;
}
.stat-number {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
  line-height: 1;
}
.stat-plus { font-size: .55em; vertical-align: super; }
.stat-label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-family: var(--font-body);
}

/* ── CERT BADGE ── */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(201,162,39,.1);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 1.5rem;
}
.cert-icon {
  width: 46px; height: 46px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.2rem; flex-shrink: 0;
}
.cert-text strong { display: block; font-size: .9rem; color: var(--white); font-weight: 700; }
.cert-text span   { font-size: .78rem; color: rgba(255,255,255,.6); }

/* ── SECTION DIVIDER WAVE ── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── HERO PATTERN ── */
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── ABOUT IMG DECORATIONS ── */
.about-img-deco {
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: .2;
  pointer-events: none;
}

/* ── SECTION STATS ROW ── */
.stats-row {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}
.stats-row .stat-block {
  flex: 1;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stats-row .stat-block:last-child { border-right: none; }
@media(max-width:600px) {
  .stats-row { flex-wrap: wrap; }
  .stats-row .stat-block { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ════════════════════════════════════════════
   BOOKING MODAL
════════════════════════════════════════════ */
.booking-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
.booking-modal.open { display: flex; }
.booking-overlay {
  position: absolute; inset: 0;
  background: rgba(13,43,78,.65); backdrop-filter: blur(4px);
}
.booking-container {
  position: relative; z-index: 1;
  background: #fff; border-radius: 20px;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); overflow-y: auto;
  box-shadow: 0 20px 60px rgba(13,43,78,.25);
  animation: bookingSlideIn .3s ease;
}
@keyframes bookingSlideIn {
  from { opacity:0; transform: translateY(30px) scale(.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.booking-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: #f0f2f5; cursor: pointer;
  font-size: 1.2rem; color: #555; display: flex;
  align-items: center; justify-content: center;
  transition: all .2s;
}
.booking-close:hover { background: #e0e2e6; }
.booking-header { padding: 28px 28px 0; }
.booking-header h2 { font-size: 1.5rem; color: #0D2B4E; margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.booking-header p { color: #6b7280; font-size: .9rem; }

/* Progress */
.booking-progress {
  display: flex; gap: 0; padding: 20px 28px;
  border-bottom: 1px solid #e8eaf0;
}
.progress-step {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: #9ca3af; font-weight: 500;
  position: relative;
}
.progress-step::after {
  content: ''; flex: 1; height: 2px;
  background: #e8eaf0; margin: 0 6px;
}
.progress-step:last-child::after { display: none; }
.progress-step span {
  width: 26px; height: 26px; border-radius: 50%;
  background: #e8eaf0; color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.progress-step.active span { background: #C9A227; color: #fff; }
.progress-step.active { color: #0D2B4E; }
.progress-step.done span { background: #10B981; color: #fff; }

/* Body */
.booking-body { padding: 24px 28px 28px; }

/* Form fields */
.booking-field { margin-bottom: 18px; }
.booking-field label {
  display: block; font-size: .875rem; font-weight: 600;
  color: #1a1a2e; margin-bottom: 6px;
}
.booking-field label span.req { color: #C9A227; margin-left: 2px; }
.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%; padding: 11px 14px; border: 2px solid #e8eaf0;
  border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: .95rem; color: #1a1a2e; outline: none;
  transition: border-color .2s; background: #fff;
}
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus { border-color: #C9A227; }
.booking-field input.error,
.booking-field select.error { border-color: #EF4444; }
.booking-field .field-error {
  font-size: .8rem; color: #EF4444; margin-top: 4px; display: none;
}
.booking-field.has-error .field-error { display: block; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.booking-field.shake input,
.booking-field.shake select,
.booking-field.shake { animation: shake .3s ease; }

/* Time slots */
.time-slots-group { margin-bottom: 12px; }
.time-slots-group h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.time-slots-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.time-slot {
  padding: 8px 14px; border-radius: 8px;
  border: 2px solid #e8eaf0; background: #fff;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  color: #1a1a2e; transition: all .2s;
}
.time-slot:hover { border-color: #C9A227; color: #C9A227; }
.time-slot.selected { border-color: #0D2B4E; background: #0D2B4E; color: #fff; }
.time-slot.unavailable { opacity: .4; cursor: not-allowed; pointer-events: none; }
.time-slots-error { font-size: .8rem; color: #EF4444; margin-top: 6px; display: none; }
.time-slots-error.show { display: block; }

/* Summary card */
.booking-summary {
  background: #F4F7FA; border-radius: 14px; padding: 20px;
  margin-bottom: 20px;
}
.booking-summary-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 6px 0; border-bottom: 1px solid #e8eaf0;
  font-size: .9rem;
}
.booking-summary-row:last-child { border-bottom: none; }
.booking-summary-row .s-icon { font-size: 1rem; flex-shrink: 0; width: 20px; }
.booking-summary-row .s-label { color: #6b7280; font-size: .82rem; min-width: 70px; }
.booking-summary-row .s-val { font-weight: 600; color: #1a1a2e; }

/* Nav buttons */
.booking-nav { display: flex; gap: 12px; margin-top: 4px; }
.booking-nav .btn-back {
  flex: 0 0 auto; padding: 12px 20px; border-radius: 10px;
  border: 2px solid #e8eaf0; background: none; cursor: pointer;
  color: #6b7280; font-size: .9rem; font-weight: 600; transition: all .2s;
}
.booking-nav .btn-back:hover { border-color: #0D2B4E; color: #0D2B4E; }
.booking-nav .btn-next,
.booking-nav .btn-confirm {
  flex: 1; padding: 13px; border-radius: 10px;
  border: none; background: #0D2B4E; color: #fff;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all .2s; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.booking-nav .btn-confirm { background: #10B981; }
.booking-nav .btn-next:hover { background: #1A4A7A; }
.booking-nav .btn-confirm:hover { background: #059669; }

/* ════════════════════════════════════════════
   STICKY MOBILE CTA BAR
════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: #0D2B4E; padding: 10px 16px 14px;
  grid-template-columns: 1fr;
  gap: 10px; box-shadow: 0 -4px 20px rgba(13,43,78,.2);
}
.mobile-cta-bar button {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; color: #0D2B4E;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  background: #C9A227; width: 100%;
}
@media(max-width:768px) {
  .mobile-cta-bar { display: grid; }
  footer { padding-bottom: 72px; }
}

/* ════════════════════════════════════════════
   BOOKING BUTTON
════════════════════════════════════════════ */
.btn-booking {
  width: 100%; margin-top: 12px; padding: 10px 16px;
  background: #0D2B4E; color: #fff; border: none; border-radius: 8px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s; font-family: 'Inter', sans-serif;
}
.btn-booking:hover { background: #1A4A7A; }

/* Nav CTA "Reservar" — restaurar estilo original + borde mostaza */
.nav-cta.btn-booking {
  width: auto;
  margin-top: 0;
  padding: 8px 18px;
  background: var(--gold);
  color: var(--navy);
  font-size: .9rem;
  border: 1.5px dashed rgba(201,162,39,.75);
  box-shadow: 0 0 8px rgba(201,162,39,.22);
}

/* ══════════════════════════════════════════════
   MOBILE FIXES — comprehensive responsive patch
══════════════════════════════════════════════ */
@media(max-width:480px) {
  /* Nav */
  .nav-links a { font-size: 1.15rem; padding: 12px 20px; }
  .nav-dropdown-menu a { font-size: 1rem; }

  /* Page hero */
  .page-hero { padding: 90px 0 50px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-hero p { font-size: .93rem; }

  /* Section headings */
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* Cards */
  .service-card { padding: 24px 18px; }
  .why-card { padding: 24px 18px; }
  .testimonial-card { padding: 24px 18px; }
  .step-card { padding: 28px 18px 20px; }

  /* about-layout: force single column on smallest screens too */
  .about-layout { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* Stats row */
  .stats-row { flex-direction: column; }
  .stats-row .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 0; flex: unset; }
  .stats-row .stat-block:last-child { border-bottom: none; }

  /* Geo grid */
  .geo-grid { grid-template-columns: 1fr 1fr; }

  /* Trust grid — single column, stacked layout */
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-item {
    padding: 12px 14px;
    background: rgba(8,29,56,.06);
    border-radius: 10px;
  }
  .trust-item strong { font-size: 1rem; }
  .trust-item span { font-size: .85rem; }
  .trust-icon-wrap { width: 42px; height: 42px; font-size: 1.2rem; }

  /* Blog */
  .blog-card-img { height: 160px; }

  /* Buttons */
  .btn-lg { padding: 13px 22px; font-size: .95rem; }
  .btn-group { gap: 10px; }

  /* Footer */
  .footer-bottom span { font-size: .78rem; }

  /* Section padding */
  :root { --section-py: clamp(3rem, 7vw, 5rem); }
}

/* ══════════════════════════════════════════════
   WORDPRESS BLOG STYLES
══════════════════════════════════════════════ */

/* Blog card placeholder (sin imagen destacada) */
.blog-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.blog-card-placeholder i {
  font-size: 3rem;
  color: rgba(255,255,255,.2);
}

/* Post content typography */
.post-content { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.post-content h2 { font-family: var(--font-heading); color: var(--navy); margin: 2.5rem 0 1rem; font-size: clamp(1.4rem,3vw,1.9rem); }
.post-content h3 { color: var(--navy); margin: 2rem 0 .75rem; font-size: 1.25rem; }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: .5rem; }
.post-content strong { color: var(--navy); }
.post-content a  { color: var(--gold-dark); text-decoration: underline; }
.post-content a:hover { color: var(--navy); }
.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--off-white);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--gray-500);
}
.post-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}
.post-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: .93rem;
}
.post-content th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; }
.post-content td { padding: 10px 16px; border-bottom: 1px solid var(--gray-200); }
.post-content tr:nth-child(even) td { background: var(--off-white); }

/* WP Pagination */
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--gray-200);
  color: var(--navy); font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: var(--trans);
}
.page-numbers:hover, .page-numbers.current {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.page-numbers.prev, .page-numbers.next { font-size: .75rem; }
ul.page-numbers { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
ul.page-numbers li { display: inline; }

/* ── HERO CARD NAME (a11y: h2 heading) ── */
h2.hero-card-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 .5rem;
}

/* ── ABOUT — Full image display (like team card) ── */
.about-img-box-full {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  position: relative;
}
.about-img-box-full img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-position: center top;
}
.about-img-box-full i {
  font-size: 7rem;
  color: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* ══════════════════════════════════════════════
   BLOG FIXES
══════════════════════════════════════════════ */
.blog-card-img { position: relative; }

.blog-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: #C9A227;
  color: #0d2b4e;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   CONTACT FORM MESSAGES
══════════════════════════════════════════════ */
.notaria-form-success {
  display: flex; gap: 16px; align-items: flex-start;
  background: #f0fdf4; border: 1.5px solid #bbf7d0;
  border-radius: 10px; padding: 20px 24px; margin-bottom: 1.5rem;
}
.notaria-form-success i { color: #16a34a; font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.notaria-form-success strong { display: block; color: #15803d; font-size: 1rem; margin-bottom: .25rem; }
.notaria-form-success p { color: #166534; font-size: .88rem; margin: 0; }
.notaria-form-error {
  display: flex; gap: 10px; align-items: center;
  background: #fef2f2; border: 1.5px solid #fecaca;
  border-radius: 10px; padding: 14px 18px; margin-bottom: 1.25rem;
  color: #dc2626; font-size: .88rem; font-weight: 600;
}
.notaria-form-error i { font-size: 1.1rem; flex-shrink: 0; }
.form-group .req { color: #dc2626; margin-left: 2px; }

/* ══════════════════════════════════════════════
   NOSOTROS — Stats Bar + Info Cards
══════════════════════════════════════════════ */
.nosotros-stats-bar {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #060F1E, #0D2B4E);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2.5rem 0;
}
.nsb-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.nsb-item:last-child { border-right: none; }
.nsb-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #C9A227;
  line-height: 1;
  margin-bottom: .35rem;
  font-family: var(--font-heading);
}
.nsb-item span {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.nosotros-info-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 220px));
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}
@media (max-width: 800px) {
  .nosotros-info-row { grid-template-columns: repeat(2, minmax(140px, 220px)); }
}
@media (max-width: 420px) {
  .nosotros-info-row { grid-template-columns: repeat(2, 1fr); }
}
.ni-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--trans);
}
.ni-card:hover {
  border-color: #C9A227;
  box-shadow: 0 8px 24px rgba(201,162,39,.12);
  transform: translateY(-3px);
}
.ni-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #0D2B4E, #1A4A7A);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  color: #C9A227;
}
.ni-card h3, .ni-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.ni-card p  { font-size: .85rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* ══════════════════════════════════════════════
   NOSOTROS — Team Cards
══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 1rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-slow);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* Full-width image at top */
.team-card-img {
  width: 100%;
  height: 280px;
  background: linear-gradient(160deg, #060F1E, #0D2B4E, #1A4A7A);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card-img .team-placeholder {
  font-size: 6rem;
  color: rgba(255,255,255,.18);
}
/* Gold accent bar at bottom of image */
.team-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C9A227, #D4AE35);
}

/* Card body */
.team-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.team-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}
.team-role {
  display: inline-block;
  background: rgba(201,162,39,.12);
  color: #8a6c10;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.team-card-body p {
  font-size: .87rem;
  color: var(--gray-500);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1rem;
}
.team-tagline {
  font-size: .82rem;
  color: var(--navy);
  font-style: italic;
  font-weight: 600;
  border-top: 1px solid var(--gray-200);
  padding-top: .8rem;
  margin-top: auto;
}
.team-tagline i { color: #C9A227; margin-right: 5px; font-size: .68rem; }

@media (max-width: 600px) {
  .nsb-item { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .team-grid { grid-template-columns: 1fr; }
  .team-card-img { height: 220px; }
}

/* ══════════════════════════════════════════════
   NOSOTROS — Team Photo Cards (hover overlay)
══════════════════════════════════════════════ */
.team-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;        /* cada card a la altura natural de su foto */
  gap: 20px;
  margin-top: 1rem;
}

.team-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;       /* todas las cards a la misma proporción 4:5 */
  background: linear-gradient(160deg, #060F1E 0%, #0D2B4E 55%, #1A4A7A 100%);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--trans-slow), transform var(--trans-slow);
}
.team-photo-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Full photo */
.team-photo-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* llena la card 4:5; recorte mínimo centrado en la cara */
  object-position: center top;
  display: block;
  transition: transform 0.55s ease;
}
.team-photo-card:hover > img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #060F1E 0%, #0D2B4E 55%, #1A4A7A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder i {
  font-size: 7rem;
  color: rgba(255,255,255,.15);
}

/* Gold accent bar — always at bottom */
.team-photo-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C9A227, #E0BE58);
  z-index: 4;
}

/* Name strip — always visible, fades out on hover */
.tpc-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 72px 24px 20px;
  background: linear-gradient(to top, rgba(6,15,30,.96) 45%, transparent);
  z-index: 2;
  transition: opacity 0.3s ease;
}
.team-photo-card:hover .tpc-strip {
  opacity: 0;
  pointer-events: none;
}
.tpc-strip h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 5px;
  line-height: 1.3;
}
.tpc-strip span {
  color: #C9A227;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hover overlay — slides in */
.tpc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 30, 0.91);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px 28px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}
.team-photo-card:hover .tpc-overlay {
  opacity: 1;
}
.tpc-overlay h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}
.tpc-overlay .tpo-role {
  display: block;
  color: #C9A227;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,162,39,.3);
}
.tpc-overlay p {
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  line-height: 1.72;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tpc-overlay em {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: .78rem;
  font-style: italic;
}
.tpc-overlay em i {
  color: #C9A227;
  margin-right: 5px;
  font-size: .65rem;
}

/* Touch devices — overlay shown on tap via JS (.tpc-active) */
@media (hover: none) {
  .team-photo-card.tpc-active .tpc-overlay { opacity: 1; }
}

@media (max-width: 900px) {
  .team-photo-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .tpc-overlay { padding: 24px 20px 20px; }
}


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v3 "Editorial Dorado"
   Capa de rediseño estético (override layer).
   Sube la jerarquía, da brillo a los botones, aporta
   profundidad a las tarjetas y aire entre secciones,
   manteniendo la seriedad de una firma notarial.
=================================================== */

/* ── 1. Ritmo y tokens de respiración ── */
:root {
  --section-py: clamp(5rem, 9vw, 7.5rem);
  --ease-soft: cubic-bezier(.22,1,.36,1);
  --gold-grad: linear-gradient(135deg, #F5D87C 0%, #C9A227 55%, #A8861E 100%);
  --navy-grad: linear-gradient(135deg, #081D38 0%, #0D2B4E 55%, #1A4A7A 100%);
}
body { font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ── 2. Jerarquía tipográfica ── */
h1, h2 { letter-spacing: -.018em; }
.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
}
.section-subtitle { font-size: 1.14rem; line-height: 1.7; color: var(--gray-500); }

/* Eyebrow con filete dorado de entrada */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .85;
}

/* Divider con rombo central (guiño al logo ◆) */
.divider {
  position: relative;
  width: 72px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider::after {
  content: "◆";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: .6rem;
  color: var(--gold);
  background: inherit;
}
.why-section .divider, .countries-band .divider, .cta-band .divider { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }

/* ── 3. Botones con presencia y brillo ── */
.btn { padding: 14px 30px; font-size: .98rem; letter-spacing: .015em; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.btn-primary {
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(201,162,39,.34);
}
/* Barrido de brillo */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease-soft);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--gold-grad);
  color: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(201,162,39,.5);
}
.btn-primary:hover::before { left: 130%; }

.btn-outline { border-color: rgba(255,255,255,.85); font-weight: 600; }
.btn-outline:hover { box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.btn-outline-navy { border-width: 2px; font-weight: 700; }
.btn-outline-navy:hover { box-shadow: 0 10px 26px rgba(13,43,78,.22); }

/* ── 4. Tarjetas de servicio: más comerciales ── */
.service-card {
  padding: 34px 30px;
  border-color: var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), border-color .3s;
}
/* Columna dorada lateral que crece */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gold-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease-soft);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(13,43,78,.18);
  border-color: rgba(201,162,39,.45);
}
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--navy-grad);
  position: relative;
  box-shadow: 0 8px 20px rgba(13,43,78,.28);
}
.service-icon::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  transition: border-color .3s;
}
.service-card:hover .service-icon { transform: translateY(-2px) scale(1.06); }
.service-card:hover .service-icon::after { border-color: rgba(201,162,39,.6); }
.service-card h3 { font-size: 1.24rem; letter-spacing: -.01em; transition: color .25s; }
.service-card:hover h3 { color: var(--navy); }
.service-card .btn-booking { font-weight: 600; }

/* ── 5. Héroes: aura dorada viva ── */
.hero { padding: 130px 0 90px; }
.hero::after {
  background: radial-gradient(circle, rgba(201,162,39,.22) 0%, transparent 70%);
  animation: npgFloatA 14s ease-in-out infinite;
}
.hero::before { opacity: .9; }
/* Segundo orbe (aura inferior izquierda) */
.hero .hero-dots::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -15%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(37,99,168,.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: npgFloatB 18s ease-in-out infinite;
}
@keyframes npgFloatA { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-26px, 28px); } }
@keyframes npgFloatB { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(30px, -22px); } }

.hero h1 { font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; }
.hero h1 span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}
.hero-badge { backdrop-filter: blur(6px); box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.hero-card { background: rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.35); }

/* Héroes: sin borde superior (evita línea blanca) */
.hero, .page-hero { border-top: 0; }
.hero::after, .page-hero::after { z-index: 0; }
.page-hero { padding-top: clamp(110px, 16vw, 175px); }
.page-hero h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.3rem); }
.page-hero::after { animation: npgFloatA 16s ease-in-out infinite; }

/* ── 6. Trust band: tarjetas glass ── */
.trust-band { padding: 3rem 0; }
.trust-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px 18px;
  transition: transform .35s var(--ease-soft), border-color .3s, background .3s;
}
.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,.4);
  background: rgba(255,255,255,.08);
}
.trust-icon-wrap { background: rgba(201,162,39,.16) !important; color: var(--gold) !important; }

/* ── 7. Por qué elegirnos ── */
.why-card { padding: 38px 30px; }
.why-card:hover { transform: translateY(-8px); }

/* ── 8. FAQ refinado ── */
.accordion-header { padding: 22px 26px; }
.accordion-header h3, .accordion-header h4 { font-size: 1.04rem; font-weight: 600; }
.accordion-item { transition: box-shadow .3s, border-color .3s; }
.accordion-item.open { box-shadow: var(--shadow-md); }
.accordion-item.open .accordion-header { border-left: 3px solid var(--gold); }
.accordion-icon { width: 30px; height: 30px; }

/* Buscador FAQ — foco dorado */
#faqSearch:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 4px rgba(201,162,39,.16) !important; }

/* ── 9. CTA band con más fuerza ── */
.cta-band { padding: clamp(4.5rem, 8vw, 6.5rem) 0; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }

/* ── 10. Chips de país y geo ── */
.country-chip {
  transition: transform .3s var(--ease-soft), background .3s, color .3s, box-shadow .3s;
}
.country-chip:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.geo-card { transition: transform .4s var(--ease-soft), box-shadow .4s, border-color .3s; }
.geo-card:hover { transform: translateY(-8px); }

/* ── 11. Reveal al hacer scroll (más suave) ── */
.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
  transition-delay: calc(var(--delay, 0) * 1ms);
}
.fade-in-left  { transform: translateX(-32px); }
.fade-in-right { transform: translateX(32px); }
.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: none;
}

/* ── 12. Separación entre secciones (aire) ── */
.services-page-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

/* ── 13. Navbar más nítida al hacer scroll ── */
#navbar.scrolled { box-shadow: 0 6px 28px rgba(6,15,30,.28); }

/* ── 14. Selección de texto on-brand ── */
::selection { background: rgba(201,162,39,.28); color: var(--navy-dark); }

/* ── 15. Respeto a usuarios con movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero .hero-dots::after, .page-hero::after { animation: none !important; }
  .btn-primary::before { transition: none; }
}

/* ── 16. Ajustes responsive del rediseño ── */
@media (max-width: 600px) {
  .btn-lg { padding: 15px 30px; font-size: 1rem; }
  .service-card { padding: 28px 22px; }
}


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v4 "El Sello"
   Visión: documento oficial certificado. Papel marfil,
   grabado guilloché, sol radiante de sello, filigrana
   dorada y medallones. Todo aditivo y on-brand notarial.
=================================================== */

/* ── 1. Papel marfil cálido (calienta TODAS las secciones alternas a la vez) ── */
:root {
  --off-white: #FBF7EE;   /* marfil documento */
  --gray-100:  #F4EEE0;   /* hover cálido */
  --paper:     #FBF7EE;
  --ink:       #14233B;
  --seal:      #B8932E;   /* dorado sello (un punto más profundo) */
  --engrave:   rgba(184,147,46,.05);
}

/* Grabado fino diagonal en secciones de papel (sensación de certificado) */
.services-page-section.alt,
.section-alt,
.faq-section,
.gr-section {
  position: relative;
}
.services-page-section.alt::before,
.section-alt::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, var(--engrave) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, var(--engrave) 0 1px, transparent 1px 9px);
  pointer-events: none;
  z-index: 0;
}
.services-page-section.alt > .container,
.section-alt > .container { position: relative; z-index: 1; }

/* ── 2. Sol radiante de sello + guilloché en bandas oscuras ── */
.hero, .why-section, .cta-band, .countries-band, .page-hero, .trust-band {
  position: relative;
}
.hero::before {
  /* sobre el patrón de puntos base, añadimos rayos de sello muy tenues */
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    repeating-conic-gradient(from 0deg at 72% 32%, rgba(201,162,39,.05) 0deg 0.5deg, transparent 0.5deg 9deg);
  background-size: 32px 32px, 100% 100%;
}
.why-section::before {
  background-image:
    radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    repeating-conic-gradient(from 0deg at 28% 26%, rgba(201,162,39,.045) 0deg 0.5deg, transparent 0.5deg 11deg);
  background-size: 28px 28px, 100% 100%;
}

/* ── 3. Medallón de sello giratorio detrás de la tarjeta del héroe ── */
.hero-img-wrap { position: relative; }
.hero-img-wrap::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 440px; height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(201,162,39,.16) 0 1.6deg, transparent 1.6deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%, #000 68%, transparent 69%);
          mask: radial-gradient(circle, transparent 50%, #000 51%, #000 68%, transparent 69%);
  animation: npgSeal 70s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.hero-img-wrap .hero-card { position: relative; z-index: 2; }
@keyframes npgSeal { to { transform: rotate(360deg); } }

/* Tarjeta del héroe — sombra de certificado (el fondo lo define el inline blanco) */
.hero-card {
  box-shadow: 0 28px 64px rgba(0,0,0,.4);
}

/* ── 4. Marco de filigrana doble en el page-hero (placa de certificado) ── */
.page-hero { border-bottom: 1px solid rgba(201,162,39,.28); }
.page-hero::after {
  /* reutiliza el círculo decorativo como sello radiante */
  background: repeating-conic-gradient(from 0deg, rgba(201,162,39,.10) 0 1.4deg, transparent 1.4deg 10deg);
  border: none;
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%, #000 70%, transparent 71%);
          mask: radial-gradient(circle, transparent 46%, #000 47%, #000 70%, transparent 71%);
  width: 360px; height: 360px;
  animation: npgSeal 80s linear infinite;
}
.page-hero .container {
  position: relative; z-index: 1;
  padding-block: clamp(1rem, 3vw, 2.2rem);
}
.page-hero .breadcrumb { position: relative; z-index: 2; }

/* ── 5. Encabezados de sección con ornamento de filigrana ── */
.section-header .divider { width: 92px; height: 2px; }
.section-header .section-title { position: relative; }
.eyebrow { font-variant: small-caps; }

/* ── 6. Tarjetas de servicio: marco interior dorado + esquina de sello ── */
.service-card {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(160deg, var(--gray-200), var(--gray-200)) border-box;
  border: 1px solid transparent;
}
.service-card:hover {
  box-shadow: 0 28px 64px rgba(13,43,78,.20), inset 0 0 0 1px rgba(201,162,39,.30);
}
/* Marca de agua ◆ en la esquina (filigrana notarial) */
.service-card .service-icon { position: relative; }
.services-grid .service-card::after {
  /* refuerza la barra superior base con tono sello */
  background: linear-gradient(90deg, var(--navy), var(--seal));
}

/* ── 7. Imágenes de certificación con marco dorado y resplandor de sello ── */
section[aria-labelledby="certificaciones-heading"] img {
  border: 1px solid rgba(201,162,39,.5);
  box-shadow: 0 12px 50px rgba(0,0,0,.4), 0 0 0 6px rgba(201,162,39,.06);
  transition: transform .5s var(--ease-soft), box-shadow .5s;
}
section[aria-labelledby="certificaciones-heading"] img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 64px rgba(0,0,0,.5), 0 0 0 8px rgba(201,162,39,.12);
}

/* ── 8. Logo corporativo del héroe con halo de sello ── */
.hero-card img[alt*="NOTAR"], .hero-card img[alt*="GLOBAL"] {
  filter: drop-shadow(0 0 18px rgba(201,162,39,.35));
}

/* ── 9. Trust band: rótulos como sellos lacrados ── */
.trust-icon-wrap {
  background: var(--gold-grad) !important;
  color: var(--navy-dark) !important;
  box-shadow: 0 6px 16px rgba(201,162,39,.4), inset 0 1px 1px rgba(255,255,255,.5);
  border-radius: 50% !important;
}

/* ── 10. Banda de países: hilo guilloché superior ── */
.countries-band::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: .5;
}
.countries-band { position: relative; }

/* ── 11. Botón primario: borde grabado + sello de cera al pulsar ── */
.btn-primary { box-shadow: 0 6px 18px rgba(201,162,39,.36), inset 0 1px 1px rgba(255,255,255,.45); }

/* ── 12. CTA band: filete doble superior e inferior ── */
.cta-band { border-block: 1px solid rgba(201,162,39,.3); }

/* ── 13. Tipografía de cuerpo: itálica editorial en citas/eyebrows oscuros ── */
.gr-card p { font-style: italic; }

/* ── 14. Movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
  .hero-img-wrap::after, .page-hero::after { animation: none !important; }
}

/* ── 15. Responsive: el medallón no debe desbordar en móvil ── */
@media (max-width: 900px) {
  .hero-img-wrap::after { width: 340px; height: 340px; margin: -170px 0 0 -170px; opacity: .7; }
}
@media (max-width: 560px) {
  .hero-img-wrap::after { display: none; }
  .services-page-section.alt::before, .section-alt::before { background-size: auto; }
}


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v5 placeholders elegantes
   Panel decorativo on-brand para secciones sin foto.
   Se reemplaza automáticamente al subir una imagen.
=================================================== */
.sec1-placeholder {
  background: var(--navy-grad);
  border: 1px solid rgba(201,162,39,.28);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
/* Sol radiante de sello detrás del contenido */
.sec1-placeholder::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  background: repeating-conic-gradient(from 0deg, rgba(201,162,39,.10) 0 1.4deg, transparent 1.4deg 10deg);
  -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%, #000 66%, transparent 67%);
          mask: radial-gradient(circle, transparent 42%, #000 43%, #000 66%, transparent 67%);
  animation: npgSeal 80s linear infinite;
  pointer-events: none;
}
.sec1-ph-inner { position: relative; z-index: 1; }
.sec1-ph-icon {
  width: 96px; height: 96px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(201,162,39,.14);
  border: 1px solid rgba(201,162,39,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: var(--gold);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.03);
}
.sec1-ph-title {
  color: #fff; font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem;
}
.sec1-ph-text {
  color: rgba(255,255,255,.7); font-size: .92rem;
  line-height: 1.6; max-width: 320px; margin: 0 auto 1.4rem;
}
.sec1-ph-flags {
  display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center;
  font-size: 1.5rem;
}
.sec1-ph-rings { font-size: 2.2rem; letter-spacing: .3rem; color: var(--gold-light); }
@media (max-width: 860px) {
  .sec1-placeholder { padding: 2rem 1.5rem; }
  .sec1-ph-icon { width: 76px; height: 76px; font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sec1-placeholder::before { animation: none !important; }
}


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v6 "Binance Dark"
   Reestructura visual estilo Binance (dark + amarillo),
   manteniendo TODO el contenido. Se logra retuneando los
   design tokens + overrides puntuales. Reversible.
=================================================== */

:root {
  /* Paleta Binance */
  --bn-bg:        #0B0E11;
  --bn-surface:   #181A20;
  --bn-surface-2: #1E2329;
  --bn-border:    #2B3139;
  --bn-yellow:    #FCD535;
  --bn-yellow-d:  #F0B90B;
  --bn-text:      #EAECEF;
  --bn-text-2:    #848E9C;

  /* ── Retune de tokens existentes (afecta CSS e inline que usan var()) ── */
  --navy:        #1E2329;
  --navy-dark:   #0B0E11;
  --navy-mid:    #2B3139;
  --navy-light:  #2B3139;
  --gold:        #FCD535;
  --gold-dark:   #F0B90B;
  --gold-light:  #F8D12F;
  --gold-bg:     #1E2329;
  --off-white:   #181A20;
  --gray-100:    #1E2329;
  --gray-200:    #2B3139;
  --gray-300:    #2B3139;
  --gray-400:    #5E6673;
  --gray-500:    #848E9C;
  --gray-700:    #B7BDC6;
  --text:        #EAECEF;

  /* Aliases legacy usados en plantillas */
  --navy2:  #0B0E11;
  --gold2:  #F0B90B;
  --gray:   #181A20;
  --gray2:  #2B3139;
  --gray3:  #848E9C;
  --dark:   #0B0E11;

  --navy-grad: linear-gradient(135deg, #0B0E11 0%, #181A20 60%, #1E2329 100%);
  --gold-grad: linear-gradient(135deg, #FCD535 0%, #F0B90B 100%);

  --radius-sm: 8px;
  --radius:    10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ── Base oscura ── */
html, body { background: var(--bn-bg) !important; color: var(--bn-text); }
body { font-size: 16px; }

/* Texto claro por defecto en encabezados (antes navy → invisible) */
h1, h2, h3, h4, h5 { color: var(--bn-text); }
.section-title { color: var(--bn-text); }
.section-subtitle { color: var(--bn-text-2); }
p { color: inherit; }

/* Eyebrows en amarillo Binance */
.eyebrow, .eyebrow-dark { color: var(--bn-yellow) !important; }
.text-navy { color: var(--bn-text) !important; }
/* Texto navy inline (sección abogados, etc.) → claro */
[style*="color:var(--navy)"] { color: var(--bn-text) !important; }
/* …salvo chips con fondo amarillo, que llevan texto oscuro */
.country-tag[style*="--gold"], .country-chip[style*="--gold"] { color: #0B0E11 !important; }
.text-gold, .why-section .text-gold, .geo-section .text-gold { color: var(--bn-yellow) !important; }

/* ── Secciones de fondo claro → superficies oscuras ── */
.services-section,
.about-preview,
.section-padding,
.gr-section,
.faq-section,
.contact-map-section,
[style*="background:var(--white)"],
[style*="background: var(--white)"],
[style*="background:#fff"],
[style*="background:#FFF"],
[style*="background:var(--gray)"],
[style*="background: var(--gray)"] {
  background: var(--bn-bg) !important;
}
section[style*="background:var(--off-white)"],
.section-alt,
.services-page-section.alt { background: #0E1115 !important; }

/* Quitar grabado guilloché claro de v4 sobre fondo oscuro */
.services-page-section.alt::before,
.section-alt::before { opacity: .35; }

/* ── Tarjetas → superficie oscura con borde Binance ── */
.service-card,
.gr-card,
.mv-card,
.geo-card,
.value-card,
.ni-card,
.nsb-item,
.team-photo-card,
.objetivo-item,
.blog-card,
.accordion,
.accordion-header,
.accordion-item,
.country-tag,
.country-chip {
  background: var(--bn-surface) !important;
  border: 1px solid var(--bn-border) !important;
  color: var(--bn-text);
}
.service-card h3, .geo-card h3, .mv-card h3, .value-card h3, .ni-card h3 { color: var(--bn-text) !important; }
.service-card p, .geo-card span, .mv-card p, .value-card p, .ni-card p { color: var(--bn-text-2) !important; }
.accordion-header h3, .accordion-header h4 { color: var(--bn-text) !important; }
.accordion-header:hover { background: var(--bn-surface-2) !important; }
.accordion-body { background: var(--bn-surface) !important; }
.accordion-body p { color: var(--bn-text-2) !important; }
.accordion-item.open .accordion-body { background: #14171C !important; }
.value-card i, .geo-card i, .ni-icon, .mv-card h3 i { color: var(--bn-yellow) !important; }

/* Hover de tarjetas con glow amarillo (sello Binance) */
.service-card:hover, .geo-card:hover {
  border-color: var(--bn-yellow) !important;
  box-shadow: 0 0 0 1px var(--bn-yellow), 0 18px 40px rgba(0,0,0,.5) !important;
}

/* ── Botones estilo Binance ── */
.btn { border-radius: 8px; }
.btn-lg { border-radius: 8px; }
.btn-primary {
  background: var(--bn-yellow) !important;
  border-color: var(--bn-yellow) !important;
  color: #0B0E11 !important;
  font-weight: 700;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--bn-yellow-d) !important;
  border-color: var(--bn-yellow-d) !important;
  color: #0B0E11 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(252,213,53,.28);
}
.btn-outline {
  color: var(--bn-text) !important;
  border-color: var(--bn-border) !important;
  background: transparent !important;
}
.btn-outline:hover {
  background: var(--bn-surface-2) !important;
  color: var(--bn-text) !important;
  border-color: var(--bn-text-2) !important;
}
.btn-outline-navy {
  color: var(--bn-text) !important;
  border-color: var(--bn-border) !important;
  background: transparent !important;
}
.btn-outline-navy:hover {
  background: var(--bn-yellow) !important;
  color: #0B0E11 !important;
  border-color: var(--bn-yellow) !important;
}
.btn-secondary { color: var(--bn-text) !important; border-color: var(--bn-border) !important; }
.btn-secondary:hover { background: var(--bn-yellow) !important; color: #0B0E11 !important; border-color: var(--bn-yellow) !important; }
.btn-booking, .service-card .btn-booking {
  background: var(--bn-yellow) !important;
  color: #0B0E11 !important;
  border-color: var(--bn-yellow) !important;
}

/* ── Navbar ── */
#navbar.scrolled { background: rgba(11,14,17,.95) !important; box-shadow: 0 1px 0 var(--bn-border) !important; }
.nav-links a { color: var(--bn-text) !important; }
.nav-links a:hover, .nav-links a.active { color: var(--bn-yellow) !important; }
.nav-dropdown-menu { background: var(--bn-surface) !important; border: 1px solid var(--bn-border) !important; }
.nav-dropdown-menu a { color: var(--bn-text) !important; }
.nav-dropdown-menu a:hover { background: var(--bn-surface-2) !important; color: var(--bn-yellow) !important; }

/* ── Footer ── */
footer[role="contentinfo"] { background: #0B0E11 !important; border-top: 1px solid var(--bn-border); }
.footer-bottom { background: #0B0E11 !important; border-top: 1px solid var(--bn-border); }
.footer-col h3, .footer-brand p strong { color: var(--bn-text) !important; }
.footer-links a, .footer-contact a, .contact-item div { color: var(--bn-text-2) !important; }
.footer-links a:hover { color: var(--bn-yellow) !important; }
.social-icons a { background: var(--bn-surface-2) !important; color: var(--bn-text) !important; border: 1px solid var(--bn-border); }
.social-icons a:hover { background: var(--bn-yellow) !important; color: #0B0E11 !important; }

/* ── Trust band / bandas oscuras → neutral Binance ── */
.trust-band { background: #0E1115 !important; border-block: 1px solid var(--bn-border); }
.trust-item { background: var(--bn-surface) !important; border-color: var(--bn-border) !important; }
.trust-icon-wrap { background: rgba(252,213,53,.12) !important; color: var(--bn-yellow) !important; }
.why-section, .cta-band, .countries-band { background: var(--bn-bg) !important; }
.why-card { background: var(--bn-surface) !important; border-color: var(--bn-border) !important; }
.why-card:hover { border-color: var(--bn-yellow) !important; }
.why-icon { background: rgba(252,213,53,.12) !important; border-color: rgba(252,213,53,.3) !important; color: var(--bn-yellow) !important; }
.why-card:hover .why-icon { background: var(--bn-yellow) !important; color: #0B0E11 !important; }

/* ── Testimonios (Google reviews) ── */
.gr-big-score, .gr-author strong { color: var(--bn-text) !important; }
.gr-author span, .gr-card p, .gr-card-footer small, .gr-stars-wrap small { color: var(--bn-text-2) !important; }
.gr-google-badge { background: var(--bn-surface-2) !important; color: var(--bn-text-2) !important; border: 1px solid var(--bn-border); }
.gr-arrow { background: var(--bn-surface) !important; border-color: var(--bn-border) !important; color: var(--bn-text) !important; }
.gr-arrow:hover { background: var(--bn-yellow) !important; color: #0B0E11 !important; border-color: var(--bn-yellow) !important; }
.gr-dot { background: var(--bn-border) !important; }
.gr-dot.active { background: var(--bn-yellow) !important; }

/* ── Page hero / CTA: dark Binance ── */
.page-hero { background: var(--navy-grad); }
.cta-band h2, .cta-band p { color: var(--bn-text) !important; }

/* ── Hero card (home): superficie oscura Binance, números en amarillo ── */
.hero-card { background: var(--bn-surface-2) !important; border: 1px solid var(--bn-border) !important; box-shadow: 0 20px 50px rgba(0,0,0,.5) !important; }
.hero-card p, .hero-card span { color: var(--bn-text-2) !important; }
.hero-card strong { color: var(--bn-yellow) !important; }
.hero-card [style*="--off-white"] { background: var(--bn-bg) !important; border-color: var(--bn-border) !important; }
.hero-badge { background: rgba(252,213,53,.12) !important; border-color: rgba(252,213,53,.4) !important; color: var(--bn-yellow) !important; }
.hero h1 span { -webkit-text-fill-color: var(--bn-yellow); color: var(--bn-yellow); }

/* ── Inputs / buscador FAQ ── */
#faqSearch { background: var(--bn-surface-2) !important; color: var(--bn-text) !important; border-color: var(--bn-border) !important; }
#faqSearch::placeholder { color: var(--bn-text-2) !important; }
#faqSearch:focus { border-color: var(--bn-yellow) !important; box-shadow: 0 0 0 3px rgba(252,213,53,.15) !important; }
.faq-category-title { color: var(--bn-yellow) !important; }

/* ── Booking modal (dark) ── */
.booking-container { background: var(--bn-surface) !important; color: var(--bn-text); }
.booking-header h2 { color: var(--bn-text) !important; }
.booking-field label { color: var(--bn-text) !important; }
.booking-field input, .booking-field select, .booking-field textarea {
  background: var(--bn-surface-2) !important; color: var(--bn-text) !important; border-color: var(--bn-border) !important;
}
.time-slot { background: var(--bn-surface-2) !important; color: var(--bn-text) !important; border-color: var(--bn-border) !important; }
.time-slot.selected { background: var(--bn-yellow) !important; color: #0B0E11 !important; }
.btn-next, .btn-confirm { background: var(--bn-yellow) !important; color: #0B0E11 !important; }
.booking-summary { background: var(--bn-surface-2) !important; }

/* ── Inline placeholders y bandas con texto blanco se mantienen claros ── */
[style*="color:rgba(255,255,255"], .sec1-ph-title { color: inherit; }

/* ── Selección y barras de scroll on-brand ── */
::selection { background: rgba(252,213,53,.3); color: #0B0E11; }

/* ── Chips de país ── */
.country-chip:hover, .country-tag:hover { background: var(--bn-surface-2) !important; border-color: var(--bn-yellow) !important; color: var(--bn-yellow) !important; }
.country-chip--more { background: var(--bn-yellow) !important; color: #0B0E11 !important; border-color: var(--bn-yellow) !important; }

/* ── WhatsApp flotante conserva su verde (no tocar) ── */
.whatsapp-float .float-btn { box-shadow: 0 8px 24px rgba(0,0,0,.5); }


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v7 "Binance Dark — cobertura total"
   Completa el dark en blog, contacto, formularios, single,
   archivo y 404. Estructura intacta, solo estilo.
=================================================== */

/* ── Breadcrumb en page-hero ── */
.breadcrumb a { color: var(--bn-text-2) !important; }
.breadcrumb a:hover { color: var(--bn-yellow) !important; }
.breadcrumb span { color: var(--bn-text) !important; }

/* ── Formulario de contacto ── */
.contact-section { background: var(--bn-bg) !important; }
.contact-form-box,
.contact-info-box,
.contact-card { background: var(--bn-surface) !important; border: 1px solid var(--bn-border) !important; }
.contact-form-box h2, .contact-info-box h2, .contact-card h3, .contact-card h4 { color: var(--bn-text) !important; }
.contact-card p, .contact-card a, .contact-info-box p { color: var(--bn-text-2) !important; }
.contact-card i { color: var(--bn-yellow) !important; }
.form-group label { color: var(--bn-text) !important; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bn-surface-2) !important;
  color: var(--bn-text) !important;
  border: 1px solid var(--bn-border) !important;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--bn-text-2) !important; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--bn-yellow) !important;
  box-shadow: 0 0 0 3px rgba(252,213,53,.15) !important;
}
.notaria-form-success, .notaria-form-error { background: var(--bn-surface-2) !important; color: var(--bn-text) !important; border: 1px solid var(--bn-border) !important; }
.contact-card .social-icons a { background: var(--bn-surface-2) !important; color: var(--bn-text) !important; border: 1px solid var(--bn-border); }
.contact-card .social-icons a:hover { background: var(--bn-yellow) !important; color: #0B0E11 !important; }
.contact-map-section { background: var(--bn-bg) !important; }
.contact-map-header h2 { color: var(--bn-text) !important; }
.whatsapp-big { box-shadow: 0 10px 28px rgba(0,0,0,.45); }

/* ── Blog: tarjetas y grid ── */
.blog-grid { gap: 22px; }
.blog-card { background: var(--bn-surface) !important; border: 1px solid var(--bn-border) !important; overflow: hidden; }
.blog-card:hover { border-color: var(--bn-yellow) !important; box-shadow: 0 0 0 1px var(--bn-yellow), 0 18px 40px rgba(0,0,0,.5) !important; }
.blog-card-img { background: var(--bn-surface-2) !important; }
.blog-card-placeholder { background: var(--bn-surface-2) !important; color: var(--bn-text-2) !important; }
.blog-card-cat { background: var(--bn-yellow) !important; color: #0B0E11 !important; font-weight: 700; }
.blog-card-body { background: var(--bn-surface) !important; }
.blog-card-body h3, .blog-card-body h3 a { color: var(--bn-text) !important; }
.blog-card-body h3 a:hover { color: var(--bn-yellow) !important; }
.blog-card-body p { color: var(--bn-text-2) !important; }
.blog-card-meta, .blog-card-meta span { color: var(--bn-text-2) !important; }
.blog-card-meta i { color: var(--bn-yellow) !important; }
.blog-read-more { color: var(--bn-yellow) !important; }

/* ── Single post ── */
.post-content { color: var(--bn-text) !important; }
.post-content h2, .post-content h3, .post-content h4 { color: var(--bn-text) !important; }
.post-content p, .post-content li { color: #C7CCD3 !important; }
.post-content a { color: var(--bn-yellow) !important; }
.post-content blockquote { background: var(--bn-surface) !important; border-left: 3px solid var(--bn-yellow) !important; color: var(--bn-text-2) !important; }
.post-content code, .post-content pre { background: var(--bn-surface-2) !important; color: var(--bn-text) !important; }
.post-tags a, .post-meta span { color: var(--bn-text-2) !important; }
.post-nav a { background: var(--bn-surface) !important; border: 1px solid var(--bn-border) !important; color: var(--bn-text) !important; }
.post-nav a:hover { border-color: var(--bn-yellow) !important; }

/* ── Archivo / paginación ── */
.pagination a, .pagination span, .page-numbers {
  background: var(--bn-surface) !important;
  color: var(--bn-text) !important;
  border: 1px solid var(--bn-border) !important;
}
.pagination .current, .page-numbers.current { background: var(--bn-yellow) !important; color: #0B0E11 !important; border-color: var(--bn-yellow) !important; }

/* ── 404 ── */
.error-404, .not-found { color: var(--bn-text) !important; }

/* ── Misión y Visión / Objetivos (nosotros) ── */
.mission-vision .mv-card { background: var(--bn-surface) !important; border: 1px solid var(--bn-border) !important; }
.mv-card h3 i { color: var(--bn-yellow) !important; }
.objetivo-item i { color: var(--bn-yellow) !important; }
.objetivo-item p { color: var(--bn-text-2) !important; }

/* ── Bandas/franjas de banderas y comunidades ── */
.flag-marquee .country-chip { background: var(--bn-surface) !important; border: 1px solid var(--bn-border) !important; color: var(--bn-text) !important; }
.countries-band h2, .countries-band p { color: var(--bn-text) !important; }
.countries-band p { color: var(--bn-text-2) !important; }

/* ── Hairlines de estructura entre secciones (look Binance) ── */
.services-section, .why-section, .gr-section, .faq-section, .geo-section, .countries-band, .cta-band, .about-preview {
  border-top: 1px solid var(--bn-border);
}

/* ── Modal: overlay más oscuro ── */
.booking-overlay { background: rgba(0,0,0,.75) !important; }
.booking-progress .progress-step { color: var(--bn-text-2) !important; }
.booking-progress .progress-step.active { color: var(--bn-yellow) !important; }

/* ── Scrollbar on-brand (webkit) ── */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bn-bg); }
::-webkit-scrollbar-thumb { background: var(--bn-border); border-radius: 8px; border: 3px solid var(--bn-bg); }
::-webkit-scrollbar-thumb:hover { background: #3a424d; }


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v8 "Híbrido"
   Cuerpo Binance dark, pero HEADER y FOOTER en azul
   corporativo y la CARD del hero en blanco (como antes).
=================================================== */
:root {
  --corp-navy:   #0D2B4E;
  --corp-navy-d: #081D38;
  --corp-gold:   #C9A227;
}

/* ── HEADER azul corporativo ── */
#navbar { background: var(--corp-navy) !important; box-shadow: 0 1px 0 rgba(255,255,255,.05); }
#navbar.scrolled { background: var(--corp-navy-d) !important; box-shadow: 0 4px 22px rgba(0,0,0,.4) !important; }
.nav-links a { color: #fff !important; }
.nav-links a:hover, .nav-links a.active { color: var(--corp-gold) !important; }
.nav-dropdown-menu { background: var(--corp-navy-d) !important; border: 1px solid rgba(255,255,255,.12) !important; }
.nav-dropdown-menu a { color: #fff !important; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.07) !important; color: var(--corp-gold) !important; }
.nav-dd-summary { color: #fff !important; }
.logo-line1, .logo-line2 { color: #fff !important; }
.logo-divider-dot { color: var(--corp-gold) !important; }
/* Menú móvil overlay también azul */
.nav-links.open { background: var(--corp-navy) !important; }
/* CTA "Reservar" en dorado corporativo sobre el azul */
.nav-cta.btn-primary {
  background: var(--corp-gold) !important;
  border-color: var(--corp-gold) !important;
  color: var(--corp-navy) !important;
}
.nav-cta.btn-primary:hover { background: #b8901f !important; border-color: #b8901f !important; color: #fff !important; }

/* ── FOOTER azul corporativo ── */
footer[role="contentinfo"] { background: var(--corp-navy-d) !important; border-top: 3px solid var(--corp-gold) !important; }
.footer-bottom { background: #06101F !important; border-top: 1px solid rgba(255,255,255,.08) !important; }
.footer-col h3 { color: #fff !important; }
.footer-brand p { color: rgba(255,255,255,.85) !important; }
.footer-links a, .footer-contact a, .contact-item div { color: rgba(255,255,255,.72) !important; }
.footer-links a:hover, .footer-contact a:hover { color: var(--corp-gold) !important; }
.footer-links a i, .footer-contact i, .contact-item i { color: var(--corp-gold) !important; }
.footer-bottom span { color: rgba(255,255,255,.6) !important; }
footer .social-icons a { background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.14) !important; }
footer .social-icons a:hover { background: var(--corp-gold) !important; color: var(--corp-navy) !important; }
/* texto de invitación a redes en dorado corporativo */
.footer-brand p[style*="color:var(--gold)"] { color: var(--corp-gold) !important; }

/* ── HERO CARD blanca translúcida con texto oscuro (como antes) ── */
.hero-card {
  background: rgba(255,255,255,.97) !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 28px 64px rgba(0,0,0,.5) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-card p { color: var(--corp-navy) !important; }
.hero-card strong { color: var(--corp-navy) !important; }
.hero-card span { color: #475569 !important; }
.hero-card > div:first-child { border-bottom-color: #E2E8F0 !important; }
.hero-card [style*="--off-white"] { background: #F8FAFC !important; border-color: #E2E8F0 !important; }
.hero-card .fa-check-circle { color: var(--corp-gold) !important; }
.hero-card img[alt*="NOTAR"] { filter: none !important; }


/* ===================================================
   NOTARÍA PÚBLICA GLOBAL — v9 "Íconos modernos"
   Sistema de íconos cohesivo, tipo app moderna:
   tiles redondeados, acento amarillo, micro-interacción.
=================================================== */

/* ── Tiles grandes (servicios, pasos, por qué) ── */
.service-icon,
.why-icon {
  border-radius: 16px !important;
  background: linear-gradient(145deg, #20252D, #14171C) !important;
  border: 1px solid rgba(252,213,53,.22) !important;
  color: var(--bn-yellow) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.45) !important;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s, background .3s !important;
}
.service-card:hover .service-icon,
.why-card:hover .why-icon {
  border-color: var(--bn-yellow) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 0 0 1px rgba(252,213,53,.5), 0 12px 28px rgba(0,0,0,.5) !important;
}
.why-card:hover .why-icon { background: var(--bn-yellow) !important; color: #0B0E11 !important; }

/* ── Convertir íconos sueltos en chips modernos ── */
.value-card > i,
.geo-card > i,
.contact-card > i,
.ni-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #20252D, #14171C);
  border: 1px solid rgba(252,213,53,.22);
  color: var(--bn-yellow) !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 16px rgba(0,0,0,.4);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s, background .3s, color .3s;
}
.value-card:hover > i,
.geo-card:hover > i,
.contact-card:hover > i {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--bn-yellow);
}

/* ── Íconos inline / acentos en amarillo Binance, más finos ── */
.eyebrow i,
.breadcrumb i,
.section-header .divider + * i,
.about-list i,
.footer-links a i,
.blog-card-meta i,
.objetivo-item i,
.mv-card h3 i,
.faq-category-title i { color: var(--bn-yellow) !important; }

/* Chevrons del acordeón: más sutiles y modernos */
.accordion-icon {
  background: var(--bn-surface-2) !important;
  border: 1px solid var(--bn-border) !important;
  color: var(--bn-yellow) !important;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s;
}
.accordion-item.open .accordion-icon { background: var(--bn-yellow) !important; color: #0B0E11 !important; transform: rotate(180deg); }

/* Badge/hero: ícono con leve glow */
.hero-badge i { filter: drop-shadow(0 0 6px rgba(252,213,53,.5)); }

/* Íconos sociales (cuerpo): trato moderno (header/footer ya tienen su estilo azul) */
.social-icons a { transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s, color .3s; }
.social-icons a:hover { transform: translateY(-3px); }

/* Suavizado/anti-alias para que se vean más nítidos */
.fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
  -webkit-font-smoothing: antialiased;
  text-rendering: auto;
}

/* WhatsApp flotante: pulso un poco más moderno */
.whatsapp-float .float-btn i { font-size: 1.6rem; }


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v10 "HP white-paper enterprise"
   Reskin total al lenguaje de diseño HP (DESIGN-hp.md):
     · Lienzo blanco puro + tinta casi negra (#1a1a1a)
     · Azul Eléctrico HP (#024ad8) como ÚNICO color de acción/acento
     · Tipografía sans única (Manrope, sustituto de Forma DJR Micro)
     · Botones rectos 4px en MAYÚSCULAS · tarjetas suaves 16px
     · Slabs tinta para hero interior, banda de ayuda y footer
   Capa autoritaria final: redefine TODOS los grupos de tokens previos
   (--navy/--gold base, --bn-* Binance, --corp-* híbrido) y neutraliza
   los fondos oscuros + textos-sobre-acento heredados.
   ========================================================================= */

:root {
  /* ── Paleta HP canónica ── */
  --hp-blue:        #024ad8;
  --hp-blue-bright: #296ef9;
  --hp-blue-deep:   #0e3191;
  --hp-blue-soft:   #eef4ff;
  --hp-blue-line:   #c9e0fc;
  --hp-ink:         #1a1a1a;
  --hp-ink-deep:    #000000;
  --hp-ink-soft:    #292929;
  --hp-cloud:       #f7f7f7;
  --hp-fog:         #e8e8e8;
  --hp-steel:       #c2c2c2;
  --hp-graphite:    #636363;
  --hp-charcoal:    #3d3d3d;

  /* ── Remap de tokens base v2 (afecta CSS + estilos inline var()) ── */
  --navy:        #1a1a1a;
  --navy-dark:   #000000;
  --navy-mid:    #292929;
  --navy-light:  #3d3d3d;
  --gold:        #024ad8;
  --gold-dark:   #0e3191;
  --gold-light:  #296ef9;
  --gold-bg:     #eef4ff;
  --off-white:   #f7f7f7;
  --gray-100:    #f7f7f7;
  --gray-200:    #e8e8e8;
  --gray-300:    #c2c2c2;
  --gray-400:    #c2c2c2;
  --gray-500:    #636363;
  --gray-700:    #3d3d3d;
  --text:        #1a1a1a;
  --seal:        #024ad8;
  --navy2:  #000000;
  --gold2:  #0e3191;
  --gray:   #f7f7f7;
  --gray2:  #e8e8e8;
  --gray3:  #636363;
  --dark:   #1a1a1a;
  --navy-grad: linear-gradient(135deg, #1a1a1a 0%, #111111 58%, #000000 100%);
  --gold-grad: linear-gradient(135deg, #296ef9 0%, #024ad8 100%);

  /* Sombras HP: planas, "Soft Lift" via contraste de color */
  --shadow-xs: 0 1px 2px rgba(26,26,26,.06);
  --shadow-sm: 0 2px 8px rgba(26,26,26,.08);
  --shadow-md: 0 2px 8px rgba(26,26,26,.08);
  --shadow-lg: 0 8px 24px rgba(26,26,26,.12);
  --shadow-xl: 0 12px 32px rgba(26,26,26,.14);
  --shadow: 0 2px 8px rgba(26,26,26,.08);
  --shadow2: 0 12px 32px rgba(26,26,26,.14);

  /* ── Retune de tokens Binance (v6/v7/v9) → claro HP ── */
  --bn-bg:        #ffffff;
  --bn-surface:   #ffffff;
  --bn-surface-2: #f7f7f7;
  --bn-border:    #e8e8e8;
  --bn-yellow:    #024ad8;
  --bn-yellow-d:  #0e3191;
  --bn-text:      #1a1a1a;
  --bn-text-2:    #636363;

  /* ── Retune de tokens corporativos híbridos (v8) → HP ── */
  --corp-navy:   #1a1a1a;
  --corp-navy-d: #111111;
  --corp-gold:   #024ad8;

  /* ── Tipografía: familia sans única (HP) ── */
  --font-heading: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Manrope', 'Inter', system-ui, -apple-system, sans-serif;

  /* ── Radios HP: tarjetas 16px, botones 4px ── */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 16px;
}

/* ── Base clara ── */
html, body { background: #ffffff !important; color: var(--hp-ink) !important; }
body { font-family: var(--font-body); line-height: 1.6; }
p { color: inherit; }

/* Tipografía HP: peso 600, tracking ligeramente negativo en display */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading) !important;
  color: var(--hp-ink);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.15;
}
.section-title { color: var(--hp-ink) !important; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.section-subtitle { color: var(--hp-graphite) !important; font-weight: 400; }
.text-navy { color: var(--hp-ink) !important; }
.text-gold,
.why-section .text-gold, .geo-section .text-gold { color: var(--hp-blue) !important; }
[style*="color:var(--navy)"] { color: var(--hp-ink) !important; }
[style*="C9A227"] { color: var(--hp-blue-bright) !important; }

/* Eyebrows / divisores en azul HP */
.eyebrow, .eyebrow-dark {
  color: var(--hp-blue) !important;
  font-variant: normal;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
}
.divider { background: var(--hp-blue) !important; }
::selection { background: rgba(2,74,216,.18); color: var(--hp-ink); }

/* ── Botones HP: rectos (4px), MAYÚSCULAS, azul eléctrico único ── */
.btn, .btn-lg, .btn-sm { border-radius: 4px !important; }
.btn {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.btn-primary,
.nav-cta.btn-primary,
.btn-booking, .service-card .btn-booking,
.btn-next, .btn-confirm,
.country-chip--more,
.blog-card-cat {
  background: var(--hp-blue) !important;
  border-color: var(--hp-blue) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.btn-primary:hover,
.nav-cta.btn-primary:hover,
.btn-booking:hover,
.btn-next:hover, .btn-confirm:hover {
  background: var(--hp-blue-deep) !important;
  border-color: var(--hp-blue-deep) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
/* Botón "ink": el verde corporativo pasa a slab tinta (acento azul reservado) */
.btn-green {
  background: var(--hp-ink) !important;
  border-color: var(--hp-ink) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.btn-green:hover {
  background: #000 !important;
  border-color: #000 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
/* Outline azul HP sobre superficies claras */
.btn-outline {
  background: #fff !important;
  color: var(--hp-blue) !important;
  border-color: var(--hp-blue) !important;
}
.btn-outline:hover {
  background: var(--hp-blue-soft) !important;
  color: var(--hp-blue-deep) !important;
  border-color: var(--hp-blue-deep) !important;
}
.btn-outline-navy {
  background: #fff !important;
  color: var(--hp-ink) !important;
  border-color: var(--hp-ink) !important;
}
.btn-outline-navy:hover {
  background: var(--hp-ink) !important;
  color: #fff !important;
  border-color: var(--hp-ink) !important;
}
.btn-secondary { color: #fff !important; border-color: rgba(255,255,255,.8) !important; }
.btn-secondary:hover { background: #fff !important; color: var(--hp-ink) !important; }

/* ── NAVBAR: barra blanca HP, tinta + acento azul, borde hairline ── */
#navbar {
  background: #ffffff !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--hp-fog);
}
#navbar.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(26,26,26,.06) !important;
  border-bottom: 1px solid var(--hp-fog);
}
.nav-links a, .nav-dd-summary { color: var(--hp-ink) !important; }
.nav-links a:hover, .nav-links a.active,
.nav-dd-summary:hover { color: var(--hp-blue) !important; background: var(--hp-blue-soft) !important; }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--hp-blue); border-radius: 0; }
.logo-line1 { color: var(--hp-ink) !important; }
.logo-line2 { color: var(--hp-blue) !important; }
.logo-divider-dot { color: var(--hp-blue) !important; }
.logo-divider-bar::before, .logo-divider-bar::after { background: var(--hp-blue) !important; opacity: .55; }
.nav-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid var(--hp-fog) !important;
  box-shadow: 0 8px 24px rgba(26,26,26,.12) !important;
}
.nav-dropdown-menu a { color: var(--hp-ink) !important; }
.nav-dropdown-menu a:hover { background: var(--hp-blue-soft) !important; color: var(--hp-blue) !important; }
.nav-dropdown-menu a i { color: var(--hp-blue) !important; }
.hamburger span { background: var(--hp-ink) !important; }

/* ── Secciones: lienzo blanco / banda nube, planas ── */
.services-section, .about-preview, .section-padding,
.gr-section, .faq-section, .contact-map-section, .contact-section,
.why-section, .cta-band, .countries-band, .geo-section,
[style*="background:var(--white)"], [style*="background: var(--white)"],
[style*="background:#fff"], [style*="background:#FFF"],
[style*="background:var(--gray)"], [style*="background: var(--gray)"] {
  background: #ffffff !important;
  border-top: 1px solid var(--hp-fog);
}
.section-alt, .services-page-section.alt,
section[style*="background:var(--off-white)"] { background: var(--hp-cloud) !important; }

/* ── Tarjetas: superficie blanca, hairline, "Soft Lift", 16px ── */
.service-card, .gr-card, .mv-card, .geo-card, .value-card, .ni-card,
.nsb-item, .team-photo-card, .objetivo-item, .blog-card,
.accordion, .accordion-header, .accordion-item,
.country-tag, .country-chip, .trust-item,
.contact-form-box, .contact-info-box, .contact-card {
  background: #ffffff !important;
  border: 1px solid var(--hp-fog) !important;
  border-radius: 16px !important;
  color: var(--hp-ink);
}
.service-card h3, .geo-card h3, .mv-card h3, .value-card h3, .ni-card h3,
.accordion-header h3, .accordion-header h4,
.contact-card h3, .contact-card h4 { color: var(--hp-ink) !important; }
.service-card p, .geo-card span, .mv-card p, .value-card p, .ni-card p,
.contact-card p, .contact-card a, .accordion-body p { color: var(--hp-charcoal) !important; }
.service-card:hover, .geo-card:hover, .blog-card:hover, .why-card:hover {
  border-color: var(--hp-blue-line) !important;
  box-shadow: 0 8px 24px rgba(26,26,26,.10) !important;
}
.accordion-header:hover { background: var(--hp-cloud) !important; }
.accordion-body, .accordion-item.open .accordion-body { background: #ffffff !important; }
.services-grid .service-card::after { background: var(--hp-blue) !important; }

/* ── Bandas de confianza / por qué ── */
.trust-band { background: var(--hp-cloud) !important; border-block: 1px solid var(--hp-fog); }
.trust-item { border-color: var(--hp-fog) !important; }
.why-card { background: #fff !important; border-color: var(--hp-fog) !important; }

/* ── SISTEMA DE ÍCONOS HP ── tiles azul-eléctrico, nítidos, micro-interacción
   (sustituye el sistema oscuro/amarillo v9 en TODAS las páginas) */
.service-icon, .why-icon {
  border-radius: 14px !important;
  background: var(--hp-blue-soft) !important;
  border: 1px solid var(--hp-blue-line) !important;
  color: var(--hp-blue) !important;
  box-shadow: none !important;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s, color .3s, border-color .3s !important;
}
.service-card:hover .service-icon,
.why-card:hover .why-icon {
  background: var(--hp-blue) !important;
  border-color: var(--hp-blue) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 8px 20px rgba(2,74,216,.28) !important;
}
.value-card > i, .geo-card > i, .contact-card > i, .ni-icon {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--hp-blue-soft) !important;
  border: 1px solid var(--hp-blue-line) !important;
  color: var(--hp-blue) !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem;
  box-shadow: none !important;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s, color .3s, border-color .3s;
}
.value-card:hover > i, .geo-card:hover > i, .contact-card:hover > i {
  background: var(--hp-blue) !important;
  border-color: var(--hp-blue) !important;
  color: #fff !important;
  transform: translateY(-3px) scale(1.04);
}
/* Sello de confianza: chip azul HP, esquinas suaves (no círculo dorado) */
.trust-icon-wrap {
  background: var(--hp-blue-soft) !important;
  color: var(--hp-blue) !important;
  border: 1px solid var(--hp-blue-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
/* Acentos de íconos sueltos → azul HP */
.eyebrow i, .breadcrumb i, .about-list i, .footer-links a i,
.blog-card-meta i, .objetivo-item i, .mv-card h3 i,
.faq-category-title i, .value-card i, .geo-card i, .contact-card i {
  color: var(--hp-blue) !important;
}
.contact-card .social-icons a i, .footer .social-icons a i { color: inherit !important; }
/* Acordeón: chevron HP en chip claro, activo azul */
.accordion-icon {
  background: var(--hp-cloud) !important;
  border: 1px solid var(--hp-fog) !important;
  color: var(--hp-blue) !important;
  border-radius: 10px !important;
}
.accordion-item.open .accordion-icon { background: var(--hp-blue) !important; color: #fff !important; }
.hero-badge i { filter: none; }
.hero-badge { background: var(--hp-blue-soft) !important; border-color: var(--hp-blue-line) !important; color: var(--hp-blue) !important; }

/* ── Testimonios (Google reviews) ── */
.gr-big-score, .gr-author strong { color: var(--hp-ink) !important; }
.gr-author span, .gr-card p, .gr-card-footer small, .gr-stars-wrap small { color: var(--hp-graphite) !important; }
.gr-card { background: #fff !important; }
.gr-google-badge { background: var(--hp-cloud) !important; color: var(--hp-graphite) !important; border: 1px solid var(--hp-fog); }
.gr-arrow { background: #fff !important; border-color: var(--hp-fog) !important; color: var(--hp-ink) !important; }
.gr-arrow:hover { background: var(--hp-blue) !important; color: #fff !important; border-color: var(--hp-blue) !important; }
.gr-dot { background: var(--hp-steel) !important; }
.gr-dot.active { background: var(--hp-blue) !important; }
.gr-card p { font-style: normal; }

/* ── Hero interior (page-hero) y banda CTA: slab tinta HP ── */
.page-hero { background: var(--navy-grad); }
.page-hero h1, .page-hero .breadcrumb span { color: #fff !important; }
.breadcrumb a { color: rgba(255,255,255,.72) !important; }
.breadcrumb a:hover { color: var(--hp-blue-bright) !important; }
.cta-band { background: var(--hp-ink) !important; border-block: 1px solid rgba(255,255,255,.08); }
.cta-band h2, .cta-band p { color: #fff !important; }

/* ── Hero card (home): tarjeta blanca HP ── */
.hero-card {
  background: #ffffff !important;
  border: 1px solid var(--hp-fog) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.30) !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hero-card p, .hero-card strong { color: var(--hp-ink) !important; }
.hero-card span { color: var(--hp-graphite) !important; }
.hero-card > div:first-child { border-bottom-color: var(--hp-fog) !important; }
.hero-card [style*="--off-white"] { background: var(--hp-cloud) !important; border-color: var(--hp-fog) !important; }
.hero-card .fa-check-circle { color: var(--hp-blue) !important; }
.hero-card img[alt*="NOTAR"], .hero h1 span,
.hero-card img[alt*="GLOBAL"] { filter: none !important; }
.hero h1 span { -webkit-text-fill-color: var(--hp-blue-bright); color: var(--hp-blue-bright); }

/* ── Formularios / inputs HP ── */
.form-group input, .form-group select, .form-group textarea,
.booking-field input, .booking-field select, .booking-field textarea,
#faqSearch {
  background: #ffffff !important;
  color: var(--hp-ink) !important;
  border: 1px solid var(--hp-steel) !important;
  border-radius: 4px !important;
}
.form-group input::placeholder, .form-group textarea::placeholder,
#faqSearch::placeholder { color: var(--hp-graphite) !important; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.booking-field input:focus, #faqSearch:focus {
  border-color: var(--hp-blue) !important;
  box-shadow: 0 0 0 3px rgba(2,74,216,.15) !important;
}
.form-group label, .booking-field label { color: var(--hp-ink) !important; }
.faq-category-title { color: var(--hp-blue) !important; }
.contact-card i { color: var(--hp-blue) !important; }

/* ── Blog / single / paginación ── */
.blog-card { overflow: hidden; }
.blog-card-img, .blog-card-placeholder { background: var(--hp-cloud) !important; color: var(--hp-graphite) !important; }
.blog-card-body { background: #fff !important; }
.blog-card-body h3, .blog-card-body h3 a { color: var(--hp-ink) !important; }
.blog-card-body h3 a:hover { color: var(--hp-blue) !important; }
.blog-card-body p, .blog-card-meta, .blog-card-meta span { color: var(--hp-graphite) !important; }
.blog-card-meta i { color: var(--hp-blue) !important; }
.blog-read-more { color: var(--hp-blue) !important; }
.post-content, .post-content h2, .post-content h3, .post-content h4 { color: var(--hp-ink) !important; }
.post-content p, .post-content li { color: var(--hp-charcoal) !important; }
.post-content a { color: var(--hp-blue) !important; }
.post-content blockquote { background: var(--hp-cloud) !important; border-left: 3px solid var(--hp-blue) !important; color: var(--hp-charcoal) !important; }
.post-content code, .post-content pre { background: var(--hp-cloud) !important; color: var(--hp-ink) !important; }
.post-nav a { background: #fff !important; border: 1px solid var(--hp-fog) !important; color: var(--hp-ink) !important; }
.post-nav a:hover { border-color: var(--hp-blue) !important; }
.pagination a, .pagination span, .page-numbers {
  background: #fff !important; color: var(--hp-ink) !important; border: 1px solid var(--hp-fog) !important;
}
.pagination .current, .page-numbers.current { background: var(--hp-blue) !important; color: #fff !important; border-color: var(--hp-blue) !important; }

/* ── Chips de país ── */
.country-chip:hover, .country-tag:hover {
  background: var(--hp-blue-soft) !important; border-color: var(--hp-blue-line) !important; color: var(--hp-blue) !important;
}
.flag-marquee .country-chip { background: #fff !important; border: 1px solid var(--hp-fog) !important; color: var(--hp-ink) !important; }
.countries-band h2 { color: var(--hp-ink) !important; }
.countries-band p { color: var(--hp-graphite) !important; }
.countries-band::before { background: repeating-linear-gradient(90deg, var(--hp-blue) 0 8px, transparent 8px 16px) !important; opacity: .35; }

/* ── FOOTER: slab tinta HP (cierra el ritmo de la página) ── */
footer[role="contentinfo"] { background: var(--hp-ink) !important; border-top: 3px solid var(--hp-blue) !important; }
.footer-bottom { background: #111111 !important; border-top: 1px solid rgba(255,255,255,.08) !important; }
.footer-col h3, .footer-brand p strong { color: #fff !important; }
.footer-brand p { color: rgba(255,255,255,.78) !important; }
.footer-links a, .footer-contact a, .contact-item div { color: rgba(255,255,255,.72) !important; }
.footer-links a:hover, .footer-contact a:hover { color: var(--hp-blue-bright) !important; }
.footer-links a i, .footer-contact i, .contact-item i { color: var(--hp-blue-bright) !important; }
.footer-bottom span { color: rgba(255,255,255,.55) !important; }
footer .social-icons a { background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.14) !important; border-radius: 8px !important; }
footer .social-icons a:hover { background: var(--hp-blue) !important; color: #fff !important; border-color: var(--hp-blue) !important; }
.footer-brand p[style*="color:var(--gold)"] { color: var(--hp-blue-bright) !important; }

/* ── Scrollbar / selección / modal claros ── */
::-webkit-scrollbar-track { background: var(--hp-cloud); }
::-webkit-scrollbar-thumb { background: var(--hp-steel); border: 3px solid var(--hp-cloud); }
::-webkit-scrollbar-thumb:hover { background: var(--hp-graphite); }
.booking-container, .booking-summary, .time-slot { background: #fff !important; color: var(--hp-ink) !important; border-color: var(--hp-fog) !important; }
.time-slot.selected { background: var(--hp-blue) !important; color: #fff !important; border-color: var(--hp-blue) !important; }
.booking-header h2 { color: var(--hp-ink) !important; }
.booking-progress .progress-step.active { color: var(--hp-blue) !important; }

/* ── Certificaciones: marco azul HP sutil (no resplandor dorado) ── */
section[aria-labelledby="certificaciones-heading"] img {
  border: 1px solid var(--hp-fog) !important;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(26,26,26,.12) !important;
}

/* ── Placeholders decorativos: slab tinta + acento azul ── */
.sec1-placeholder { background: var(--navy-grad) !important; border: 1px solid rgba(2,74,216,.28) !important; }
.sec1-ph-icon { background: rgba(2,74,216,.14) !important; border: 1px solid rgba(2,74,216,.4) !important; color: var(--hp-blue-bright) !important; border-radius: 16px !important; }
.sec1-ph-rings { color: var(--hp-blue-bright) !important; }
.sec1-ph-title { font-family: var(--font-heading) !important; }

/* ── Nav móvil overlay: slab tinta con texto claro ── */
@media (max-width: 900px) {
  .nav-links {
    background: var(--hp-ink) !important;
  }
  .nav-links.open { background: var(--hp-ink) !important; }
  .nav-links > a, .nav-dd-summary { color: rgba(255,255,255,.92) !important; }
  .nav-links > a:hover, .nav-dd-summary:hover,
  details.nav-dropdown[open] > .nav-dd-summary { background: rgba(255,255,255,.08) !important; color: #fff !important; }
  .nav-links a.active { box-shadow: none; }
  .nav-dropdown-menu { background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.12) !important; }
  .nav-dropdown-menu a { color: rgba(255,255,255,.85) !important; }
}

/* Chips destacados (".. y más países", "ver más"): acento azul HP, texto blanco */
.country-chip.country-chip--more,
span.country-chip--more,
.country-tag[style*="--gold"],
.country-chip[style*="--gold"] {
  background: var(--hp-blue) !important;
  color: #ffffff !important;
  border-color: var(--hp-blue) !important;
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v11 "Hero Home full-bleed + header transparente"
   · Header sticky transparente sobre el hero (texto claro); al hacer scroll
     toma fondo blanco y texto tinta + borde hairline.
   · Hero del inicio a pantalla casi completa: una sola columna, titular
     grande y ancho, subtítulo, fila de banderas y dos CTAs (ref. hero-home).
   ========================================================================= */

/* ── Header: transparente arriba, sólido al hacer scroll ── */
#navbar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 13px 0;
}
#navbar.scrolled {
  background: #ffffff !important;
  border-bottom: 1px solid var(--hp-fog) !important;
  box-shadow: 0 2px 14px rgba(26,26,26,.08) !important;
  padding: 8px 0;
}
/* Estado arriba (sobre hero oscuro) → texto claro */
.nav-links a, .nav-dd-summary { color: rgba(255,255,255,.94) !important; }
.nav-links a:hover, .nav-links a.active, .nav-dd-summary:hover {
  color: #fff !important; background: rgba(255,255,255,.13) !important;
}
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--hp-blue-bright); }
.logo-line1 { color: #fff !important; }
.logo-line2, .logo-divider-dot { color: var(--hp-blue-bright) !important; }
.logo-divider-bar::before, .logo-divider-bar::after { background: rgba(255,255,255,.5) !important; opacity: 1; }
.hamburger span { background: #fff !important; }
/* Estado scrolled (fondo blanco) → texto tinta */
#navbar.scrolled .nav-links a, #navbar.scrolled .nav-dd-summary { color: var(--hp-ink) !important; }
#navbar.scrolled .nav-links a:hover, #navbar.scrolled .nav-links a.active,
#navbar.scrolled .nav-dd-summary:hover { color: var(--hp-blue) !important; background: var(--hp-blue-soft) !important; }
#navbar.scrolled .nav-links a.active { box-shadow: inset 0 -2px 0 var(--hp-blue); }
#navbar.scrolled .logo-line1 { color: var(--hp-ink) !important; }
#navbar.scrolled .logo-line2, #navbar.scrolled .logo-divider-dot { color: var(--hp-blue) !important; }
#navbar.scrolled .logo-divider-bar::before, #navbar.scrolled .logo-divider-bar::after { background: var(--hp-blue) !important; opacity: .5; }
#navbar.scrolled .hamburger span { background: var(--hp-ink) !important; }

/* ── Hero Home: full-bleed, una sola columna, titular grande y ancho ── */
.hero--home {
  min-height: 100vh;
  min-height: 100svh;
  padding: 104px 0 76px;
  display: flex;
  align-items: center;
}
.hero--home .container { width: 100%; }
.hero--home .hero-content {
  max-width: min(1080px, 94%);
  margin: 0;
}
.hero--home h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #ffffff;
  margin-bottom: 1.1rem;
}
.hero--home h1 span {
  color: var(--hp-blue-bright);
  -webkit-text-fill-color: var(--hp-blue-bright);
}
.hero--home .hero-sub {
  font-size: clamp(1.06rem, 1.9vw, 1.42rem);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  max-width: 780px;
  margin: 0 0 1.5rem;
  font-weight: 400;
}
.hero--home .hero-sub strong { color: #fff; font-weight: 700; }
.hero-flags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 2rem;
}
.hero-flags span {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.hero--home .hero-btns { gap: 14px; }
.hero--home .hero-meta {
  margin: 1.7rem 0 0;
  max-width: 640px;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255,255,255,.74);
}
.hero--home .hero-meta strong { color: #fff; font-weight: 600; }

/* Botón outline claro sobre el hero oscuro (alto contraste) */
.hero .btn-outline {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.78) !important;
}
.hero .btn-outline:hover {
  background: #fff !important;
  color: var(--hp-ink) !important;
  border-color: #fff !important;
}

@media (max-width: 760px) {
  .hero--home { min-height: 100vh; min-height: 100svh; padding: 92px 0 56px; }
  .hero--home .hero-content { max-width: 100%; }
  .hero--home h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero--home .hero-btns .btn { width: 100%; justify-content: center; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v12 "Ancho completo + tipografía mayor"
   · Contenedor a ANCHO COMPLETO con padding generoso a los costados
     (ya no la caja fija de 1200px) en todas las páginas.
   · Tipografía y secciones más grandes para una presencia más amplia.
   ========================================================================= */

:root {
  --container: 100%;
  --section-py: clamp(5.5rem, 9vw, 9rem);
}

/* Base tipográfica más grande (escala todos los tamaños en rem) */
html { font-size: 18px; }

/* Contenedor ancho completo con aire a los lados.
   :not([style*="max-width"]) respeta los contenedores que fijan su ancho
   en línea (p. ej. el cuerpo del blog en single.php). */
.container:not([style*="max-width"]) {
  max-width: 100% !important;
  padding-left: clamp(24px, 5vw, 96px) !important;
  padding-right: clamp(24px, 5vw, 96px) !important;
}
.container[style*="max-width"] {
  padding-left: clamp(24px, 5vw, 96px);
  padding-right: clamp(24px, 5vw, 96px);
}

/* El hero usa el mismo aire pero su bloque de texto respira más ancho */
.hero--home .hero-content { max-width: min(1320px, 96%); }

/* Títulos y subtítulos de sección más grandes */
.section-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem) !important;
  line-height: 1.08 !important;
}
.section-subtitle {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem) !important;
  max-width: 820px;
}
.section-header { margin-bottom: 3rem; }
.divider { width: 80px; height: 3px; }

/* Encabezado de páginas internas (page-hero) más amplio */
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem) !important; line-height: 1.06; }

/* Texto de cuerpo y tarjetas */
body { font-size: 1rem; }
.service-card h3, .why-card h3, .geo-card h3, .mv-card h3,
.value-card h3, .ni-card h3, .blog-card-body h3 { font-size: 1.2rem !important; }
.service-card p, .why-card p, .geo-card span, .blog-card-body p { font-size: .93rem !important; }

/* Móvil: bajar la escala para que no quede excesivo */
@media (max-width: 760px) {
  html { font-size: 16.5px; }
  :root { --section-py: clamp(3.2rem, 8vw, 4.8rem); }
  .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.3rem) !important; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v13 "Ajuste fino: ancho de lectura"
   Las bandas y secciones siguen a ancho completo; SOLO los bloques de
   texto corrido se limitan a un ancho cómodo de lectura (~65–72 car.)
   para que las líneas no se estiren demasiado en pantallas anchas.
   ========================================================================= */

/* Intro del hero interior (page-hero) */
.page-hero p { max-width: 760px; }

/* Columna de texto en secciones de servicio (cuando va sola, no se estira) */
.about-content { max-width: 760px; }
.service-sec1-grid .about-content { max-width: 720px; }

/* Subtítulos / introducciones de sección */
.services-category-sub,
.services-content > p,
.section-intro,
.cost-block p,
.proceso-intro { max-width: 760px; }

/* Párrafos de bandas centradas: ancho de lectura y centrado */
.countries-band > .container > p,
.cta-band p,
.about-preview .section-subtitle { max-width: 820px; }
.countries-band > .container > p { margin-left: auto; margin-right: auto; }

/* Cuerpo del blog / artículo: ancho de lectura cómodo */
.post-content { max-width: 760px; }

/* En 2 columnas (texto + imagen) la rejilla manda; no recortar de más */
@media (min-width: 901px) {
  .service-sec1-grid:has(.service-sec1-img) .about-content { max-width: none; }
}
/* Las tarjetas, rejillas y bandas NO se tocan: siguen a ancho completo */


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v14 "Header azul sticky + slider de banderas hero"
   · Hero del home a pantalla completa (ya en v11/v12).
   · Header sticky: transparente sobre el hero, AZUL CORPORATIVO al hacer
     scroll, con texto/logo en blanco y el CTA invertido para contraste.
   · Banderas del hero más grandes y en slider continuo (marquee) que solo
     pasa, sin interacción.
   ========================================================================= */

/* ── Header sticky azul corporativo ── */
#navbar.scrolled {
  background: var(--hp-blue) !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 4px 22px rgba(2,74,216,.30) !important;
}
#navbar.scrolled .nav-links a,
#navbar.scrolled .nav-dd-summary,
#navbar.scrolled .logo-line1,
#navbar.scrolled .logo-line2,
#navbar.scrolled .logo-divider-dot { color: #ffffff !important; }
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active,
#navbar.scrolled .nav-dd-summary:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,.16) !important;
}
#navbar.scrolled .nav-links a.active { box-shadow: inset 0 -2px 0 #ffffff; }
#navbar.scrolled .logo-divider-bar::before,
#navbar.scrolled .logo-divider-bar::after { background: rgba(255,255,255,.6) !important; opacity: 1; }
#navbar.scrolled .hamburger span { background: #ffffff !important; }
#navbar.scrolled .nav-dropdown-menu {
  background: var(--hp-blue-deep) !important;
  border-color: rgba(255,255,255,.16) !important;
}
#navbar.scrolled .nav-dropdown-menu a { color: #fff !important; }
#navbar.scrolled .nav-dropdown-menu a:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
#navbar.scrolled .nav-dropdown-menu a i { color: #fff !important; }
/* CTA "Reservar" invertido sobre el header azul para que contraste */
#navbar.scrolled .nav-cta.btn-primary {
  background: #ffffff !important;
  color: var(--hp-blue) !important;
  border-color: #ffffff !important;
}
#navbar.scrolled .nav-cta.btn-primary:hover {
  background: var(--hp-ink) !important;
  color: #ffffff !important;
  border-color: var(--hp-ink) !important;
}

/* ── Banderas del hero: slider continuo, más grandes ── */
.hero-flags--marquee {
  position: relative;
  width: 100%;
  max-width: min(880px, 96%);
  overflow: hidden;
  margin: .25rem 0 2.2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 92%, transparent);
}
.hero-flags-track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  animation: heroFlagsSlide 36s linear infinite;
}
.hero-flags-track span {
  font-size: 2.4rem;
  line-height: 1;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.45));
}
@keyframes heroFlagsSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-flags-track { animation: none; flex-wrap: wrap; }
  .hero-flags--marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 760px) {
  .hero-flags-track span { font-size: 1.9rem; gap: .8rem; }
  .hero-flags--marquee { max-width: 100%; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v15 "Carrusel de fondo del hero (imágenes + video)"
   Un único carrusel de fondo que mezcla hasta 3 imágenes y un video, sin
   controles: las slides pasan solas con una transición DIFUMINADA (blur +
   fundido + leve zoom). Una capa de overlay asegura el contraste del texto.
   ========================================================================= */

/* Capa de medios (detrás de todo el contenido del hero) */
.hero--home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a1020;
}
/* Slides (imagen o video): fundido + difuminado + leve zoom al entrar/salir */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: blur(18px);
  transform: scale(1.08);
  transition: opacity 1.5s ease, filter 1.5s ease, transform 1.6s ease;
  will-change: opacity, filter, transform;
}
.hero-slide.is-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
/* Video que llena su slide a pantalla completa */
.hero-slide--video { overflow: hidden; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Overlay de contraste (degradado oscuro hacia la izquierda) */
.hero--home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(8,16,32,0.90) 0%,
    rgba(8,16,32,0.74) 42%,
    rgba(8,16,32,0.48) 78%,
    rgba(8,16,32,0.40) 100%);
}
/* Contenido por encima de medios + overlay */
.hero--home > .container,
.hero--home .hero-content { position: relative; z-index: 2; }
.hero--home .hero-dots { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .5s ease; filter: none; transform: none; }
  .hero-slide.is-active { filter: none; transform: none; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v16 "Coherencia de contraste + slider de servicios"
   · Corrige textos blancos sobre fondo blanco: las secciones que el diseño
     concibió como SLABS OSCUROS (why-section, certificaciones) vuelven a ser
     oscuras y su texto se mantiene claro; en superficies claras el texto es
     tinta. Sin texto invisible.
   · La grilla de servicios del home pasa a SLIDER horizontal (auto-recorre,
     deslizable, sin flechas) con el botón "Ver todos los servicios" debajo.
   ========================================================================= */

/* ── Slab oscuro: "¿Por qué elegirnos?" / "¿Cómo agendar?" (why-section) ── */
.why-section {
  background: linear-gradient(150deg, #15171c 0%, #1a1a1a 52%, #0e2a72 130%) !important;
  border-top: none !important;
}
.why-section .section-title { color: #ffffff !important; }
.why-section .section-subtitle { color: rgba(255,255,255,.74) !important; }
.why-section .eyebrow { color: var(--hp-blue-bright) !important; }
.why-section .divider { background: var(--hp-blue-bright) !important; }
/* Las tarjetas blancas resaltan sobre el slab oscuro (patrón HP) */
.why-section .why-card { background: #ffffff !important; border-color: rgba(255,255,255,.14) !important; }
.why-section .why-card h3 { color: var(--hp-ink) !important; }
.why-section .why-card p { color: var(--hp-charcoal) !important; }

/* ── Sección de certificaciones (nosotros) es un slab var(--navy)=tinta ── */
section[aria-labelledby="certificaciones-heading"] .section-title { color: #ffffff !important; }
section[aria-labelledby="certificaciones-heading"] .section-subtitle { color: rgba(255,255,255,.7) !important; }
section[aria-labelledby="certificaciones-heading"] .eyebrow { color: var(--hp-blue-bright) !important; }

/* ── Regla general: si una plantilla pidió texto BLANCO en línea, es un slab
   oscuro → respetarlo (evita tinta-sobre-oscuro invisible) ── */
.section-title[style*="--white"],
.section-title[style*="255,255,255"],
.section-title[style*="#fff"] { color: #ffffff !important; }
.section-subtitle[style*="--white"],
.section-subtitle[style*="255,255,255"] { color: rgba(255,255,255,.72) !important; }

/* ============  SLIDER DE SERVICIOS (4 visibles, infinito, con flechas)  ===== */
.services-slider { position: relative; display: flex; align-items: center; gap: 10px; }
.services-viewport { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.services-grid--slider {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 24px;
  transform: translateX(0);
  will-change: transform;
}
.services-grid--slider > .service-card {
  flex: 0 0 calc((100% - 72px) / 4);   /* 4 visibles + 3 gaps de 24px */
  max-width: none;
  margin: 0;
}
/* Las tarjetas del slider siempre visibles (la animación de entrada las ocultaría) */
.services-grid--slider .service-card.fade-in:not(:hover) { opacity: 1 !important; transform: none !important; }

/* Flechas de navegación */
.ss-arrow {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--hp-fog);
  background: #ffffff;
  color: var(--hp-ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26,26,26,.10);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  z-index: 3;
}
.ss-arrow:hover { background: var(--hp-blue); color: #fff; border-color: var(--hp-blue); transform: translateY(-1px); }
.ss-arrow:active { transform: scale(.94); }
.ss-arrow i { font-size: 1rem; }

@media (max-width: 1100px) {
  .services-grid--slider > .service-card { flex-basis: calc((100% - 48px) / 3); } /* 3 visibles */
}
@media (max-width: 820px) {
  .services-grid--slider > .service-card { flex-basis: calc((100% - 24px) / 2); } /* 2 visibles */
}
@media (max-width: 560px) {
  .services-grid--slider { gap: 16px; }
  .services-grid--slider > .service-card { flex-basis: 100%; }                    /* 1 visible */
  .ss-arrow { width: 40px; height: 40px; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v17 "Dropdown legible + banderas más grandes"
   · El menú desplegable del header (flyout blanco) usa texto TINTA para que
     no se pierda ahora que el fondo es blanco. En estado scrolled (azul)
     mantiene texto blanco.
   · Banderas del hero un poco más grandes.
   ========================================================================= */

/* Dropdown: flyout blanco → texto tinta (gana sobre el blanco de .nav-links a) */
#navbar .nav-dropdown-menu a { color: var(--hp-ink) !important; }
#navbar .nav-dropdown-menu a:hover { color: var(--hp-blue) !important; background: var(--hp-blue-soft) !important; }
#navbar .nav-dropdown-menu a i { color: var(--hp-blue) !important; }
/* En header azul (scrolled) el flyout es azul profundo → texto blanco */
#navbar.scrolled .nav-dropdown-menu a { color: #ffffff !important; }
#navbar.scrolled .nav-dropdown-menu a:hover { color: #ffffff !important; background: rgba(255,255,255,.12) !important; }
#navbar.scrolled .nav-dropdown-menu a i { color: #ffffff !important; }

/* Banderas del hero — un poco más grandes */
.hero-flags-track span { font-size: 3rem; }
@media (max-width: 760px) {
  .hero-flags-track span { font-size: 2.3rem; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v18 "Imagen de fondo editable en '¿Por Qué Elegirnos?'"
   La sección why-section admite una foto de fondo (campo del editor: why_img).
   Se coloca como capa propia + overlay oscuro para mantener legible el texto
   blanco y las tarjetas. Si no hay imagen, queda el slab oscuro de v16.
   ========================================================================= */

/* Capa de imagen (detrás del contenido) */
.why-section .why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Overlay oscuro de contraste sobre la imagen */
.why-section .why-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg,
    rgba(13,15,20,0.92) 0%,
    rgba(15,17,22,0.80) 50%,
    rgba(14,42,114,0.74) 130%);
}
/* Contenido y patrón de puntos por encima de la imagen */
.why-section::before { z-index: 1; }
.why-section > .container { position: relative; z-index: 2; }


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v19 "Banda de confianza (bajo el hero) en AZUL"
   La franja de íconos justo debajo del hero ('Firma Certificada · Estado NY',
   'Bilingüe', '100% Confidencial'…) vuelve a ser una BANDA AZUL corporativa
   con texto blanco e íconos en chip de vidrio (se ve y contrasta bien).
   ========================================================================= */
.trust-band {
  background: linear-gradient(135deg, #024ad8 0%, #0e3191 100%) !important;
  border-block: none !important;
}
.trust-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
}
.trust-item strong { color: #ffffff !important; }
.trust-item span   { color: rgba(255,255,255,.85) !important; }
.trust-icon-wrap {
  background: rgba(255,255,255,.16) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.trust-icon-wrap i, .trust-item i { color: #ffffff !important; }

/* — Pulido de la banda: un solo chip por ícono + buen espaciado del texto — */
.trust-grid { gap: 26px 22px; }
.trust-item { align-items: center; gap: 14px; }
.trust-icon-wrap {
  width: 48px; height: 48px; min-width: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
/* el <i> dentro del chip NO debe ser otra caja (evita la tile doble) */
.trust-icon-wrap i {
  width: auto !important; height: auto !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 1.3rem !important;
  line-height: 1 !important;
}
.trust-item > div { line-height: 1.3; }
.trust-item strong { margin-bottom: 2px; }

/* — Íconos de la banda azul: chip BLANCO con glifo AZUL (resaltan más) — */
.trust-band .trust-icon-wrap {
  background: #ffffff !important;
  border: none !important;
  color: var(--hp-blue) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.18) !important;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.trust-band .trust-icon-wrap i { color: var(--hp-blue) !important; font-size: 1.35rem !important; }
.trust-band .trust-item:hover .trust-icon-wrap {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.26) !important;
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v21 "Por Qué Elegirnos (slab azul + cards centradas)
   y Cobertura NY (mapa centrado)"
   ========================================================================= */

/* ── ¿Por Qué Elegirnos?: slab AZUL más claro (menos negro) ── */
.why-section {
  background: linear-gradient(150deg, #0f2b63 0%, #123a82 58%, #0e3191 122%) !important;
}
/* Overlay más claro cuando hay imagen de fondo (se ve más la foto) */
.why-section .why-bg::after {
  background: linear-gradient(150deg,
    rgba(10,28,72,0.82) 0%,
    rgba(14,42,114,0.66) 55%,
    rgba(14,49,145,0.58) 130%);
}
/* Centrar el bloque de tarjetas (3 columnas centradas) — no afecta a why-grid-4 */
.why-section .why-grid:not(.why-grid-4) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
@media (max-width: 900px) {
  .why-section .why-grid:not(.why-grid-4) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
}
@media (max-width: 560px) {
  .why-section .why-grid:not(.why-grid-4) { grid-template-columns: 1fr; max-width: 420px; }
}

/* ── Cobertura en Nueva York: mapa centrado + tarjetas centradas ── */
.geo-section .section-header { text-align: center; }
.geo-map {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hp-fog);
  box-shadow: 0 12px 32px rgba(26,26,26,.12);
}
.geo-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
.geo-map-pin {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hp-blue);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(2,74,216,.4);
  white-space: nowrap;
}
.geo-map-pin i { color: #fff; }
/* Tarjetas de cobertura: fila centrada bajo el mapa */
.geo-section .geo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1000px;
  margin: 1.8rem auto 0;
}
.geo-section .geo-grid > .geo-card {
  flex: 0 0 150px;
  max-width: 200px;
}
@media (max-width: 560px) {
  .geo-map iframe { height: 300px; }
  .geo-section .geo-grid > .geo-card { flex-basis: 44%; }
  .geo-map-pin { font-size: .8rem; padding: 7px 14px; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v22 "CTA azul · agendar en 1 fila · sin brillo sol ·
   imagen del 'por qué' más clara"
   ========================================================================= */

/* ── CTA final en AZUL corporativo ── */
.cta-band {
  background: linear-gradient(135deg, #024ad8 0%, #0e3191 100%) !important;
  border-block: none !important;
}
.cta-band h2 { color: #ffffff !important; }
.cta-band p { color: rgba(255,255,255,.9) !important; }
/* Botón outline del CTA: transparente con borde blanco (sobre el azul) */
.cta-band .btn-outline {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.8) !important;
}
.cta-band .btn-outline:hover {
  background: #ffffff !important;
  color: var(--hp-blue) !important;
  border-color: #ffffff !important;
}
/* Círculo de ícono (campana, blog) → blanco con glifo azul para que contraste */
.cta-band [style*="border-radius:50%"] {
  background: #ffffff !important;
  color: var(--hp-blue) !important;
}
.cta-band [style*="border-radius:50%"] i { color: var(--hp-blue) !important; }

/* ── "¿Cómo Agendar tu Cita?": las 4 tarjetas en UNA fila (desktop) ── */
@media (min-width: 901px) {
  .why-section .why-grid.why-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Quitar el "brillo de sol" (halos radiales + sello giratorio) ── */
.hero::after,
.page-hero::after,
.hero-img-wrap::after,
.hero .hero-dots::after,
.sec1-placeholder::before { display: none !important; content: none !important; }

/* ── Imagen de fondo del "¿Por Qué Elegirnos?": más clara (mínimo oscurecida) ── */
.why-section .why-bg::after {
  background: linear-gradient(150deg,
    rgba(8,18,46,0.50) 0%,
    rgba(12,38,96,0.38) 60%,
    rgba(14,49,145,0.32) 130%) !important;
}
/* Sombra de texto para legibilidad con el overlay tenue */
.why-section.has-bg-img .section-title,
.why-section.has-bg-img .section-subtitle { text-shadow: 0 2px 14px rgba(0,0,0,.55); }


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v23 "Imagen principal de cada servicio más grande"
   La foto de la primera sección (sec1_img), debajo del hero en las páginas
   de servicio, se agranda: su columna ocupa más ancho y mayor altura.
   ========================================================================= */
/* Páginas de servicio: ancho de contenido = 1400px en todas las SECCIONES.
   El hero es <header class="page-hero">, no un <section>, por lo que NO se ve
   afectado y conserva su ancho full-width normal.
   Nota: el sistema base fija .container a max-width:100% !important, por eso
   este override también necesita !important para ganar. */
.npg-service-page section > .container { max-width: 1400px !important; margin-left: auto; margin-right: auto; }

.service-sec1-grid {
  grid-template-columns: 1fr 1fr !important;  /* imagen y texto al 50/50 */
  gap: 64px;                  /* columnas un poco más separadas */
  max-width: 1400px;          /* llena el contenedor de 1400 */
  margin-left: auto;
  margin-right: auto;
}
.service-sec1-img { height: 660px; }   /* alto sin cambios */
.service-sec1-img img { object-position: center center; }

@media (max-width: 1100px) {
  .service-sec1-grid { grid-template-columns: 1fr 1fr !important; gap: 40px; max-width: none; }
  .service-sec1-img { height: 560px; }
}
@media (max-width: 860px) {
  .service-sec1-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .service-sec1-img { height: 440px; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v24 "Cobertura NY: marcador en el mapa + cards
   más compactas"
   ========================================================================= */

/* Mapa más notorio: marco azul de marca + sombra azul */
.geo-map {
  border: 2px solid var(--hp-blue-line) !important;
  box-shadow: 0 18px 44px rgba(2,74,216,.16) !important;
}
.geo-map iframe { height: 420px; }

/* Marcador de ubicación dentro del mapa (pin azul con pulso) */
.geo-map-marker {
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--hp-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 22px rgba(2,74,216,.5);
  pointer-events: none;
}
.geo-map-marker i { color: #fff; }
.geo-map-marker::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 3px solid rgba(2,74,216,.55);
  animation: geoPulse 2.1s ease-out infinite;
}
@keyframes geoPulse {
  0%   { transform: scale(.7); opacity: .85; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .geo-map-marker::before { animation: none; }
}

/* Tarjetas de cobertura más compactas: íconos y textos más pequeños */
.geo-section .geo-grid > .geo-card {
  flex: 0 0 132px;
  max-width: 150px;
  padding: 14px 10px;
}
.geo-card > i {
  width: 40px !important; height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  background: var(--hp-blue) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 1rem !important;
  margin: 0 auto 8px !important;
  box-shadow: 0 5px 12px rgba(2,74,216,.30) !important;
}
.geo-card h3 { font-size: .9rem !important; margin-bottom: 2px; }
.geo-card span { font-size: .68rem !important; line-height: 1.3; color: var(--hp-graphite) !important; }

@media (max-width: 560px) {
  .geo-map iframe { height: 320px; }
  .geo-map-marker { width: 44px; height: 44px; font-size: 1.2rem; }
}


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v25 "FAQ: borde solo en cada ítem"
   El contenedor que envuelve los ítems de preguntas frecuentes (.accordion)
   y la cabecera (.accordion-header) ya NO llevan borde/caja; el borde queda
   únicamente en cada ítem (.accordion-item). Aplica en todas las páginas.
   ========================================================================= */
.accordion {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.accordion-header {
  border: none !important;
  border-radius: 0 !important;
}
.accordion-item {
  background: #ffffff !important;
  border: 1px solid var(--hp-fog) !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-item:last-child { margin-bottom: 0; }


/* =========================================================================
   NOTARÍA PÚBLICA GLOBAL — v26 "Componente Proceso/Agendar consistente (4 en
   fila) + imagen principal de Nosotros más grande"
   ========================================================================= */

/* Cualquier .why-grid con EXACTAMENTE 4 tarjetas → 4 en una fila (como contacto),
   en todas las páginas (proceso de servicios, agendar en contacto, etc.) */
.why-section .why-grid:not(.why-grid-4):has(> .why-card:nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 980px) {
  .why-section .why-grid:not(.why-grid-4):has(> .why-card:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 720px;
  }
}
@media (max-width: 560px) {
  .why-section .why-grid:not(.why-grid-4):has(> .why-card:nth-child(4):last-child) {
    grid-template-columns: 1fr !important;
    max-width: 420px;
  }
}

/* ── Nosotros: imagen de la sección principal (historia) más grande ── */
.about-layout { grid-template-columns: 1.18fr 1fr; gap: 56px; }
.about-img-box { max-height: 640px !important; }
@media (max-width: 980px) {
  .about-layout { grid-template-columns: 1fr !important; }
  .about-img-box { max-height: 560px !important; }
}

/* ── Nosotros · Nuestra Historia: ancho ampliado (1400px), columnas 50/50 y juntas ── */
section[aria-labelledby="historia-heading"] > .container { max-width: 1400px !important; margin-left: auto; margin-right: auto; }
section[aria-labelledby="historia-heading"] .about-layout {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px) {
  section[aria-labelledby="historia-heading"] .about-layout { grid-template-columns: 1fr; }
}

/* ── Grid forzado a 3 columnas (ej. "Tipos de Poderes"): desktop y notebook ── */
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .services-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid--3 { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   NOSOTROS · Barra de estadísticas — rediseño premium.
   Override de las capas previas que forzaban .nsb-item a blanco
   (texto blanco sobre blanco = ilegible). Navy profundo + acentos oro.
   ════════════════════════════════════════════════════════════════ */
.nosotros-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #060F1E 0%, #0D2B4E 58%, #11406f 100%) !important;
  border: 1px solid rgba(201,162,39,.30) !important;
  border-radius: 18px !important;
  overflow: hidden;
  margin: 3rem 0;
  position: relative;
  box-shadow: 0 24px 60px rgba(6,15,30,.30);
}
/* Filete superior dorado */
.nosotros-stats-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #C9A227 25%, #E7CB6E 50%, #C9A227 75%, transparent);
  z-index: 2;
}
.nosotros-stats-bar .nsb-item {
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(201,162,39,.16) !important;
  border-radius: 0 !important;
  text-align: center;
  padding: 42px 24px;
  position: relative;
  transition: background .35s ease;
}
.nosotros-stats-bar .nsb-item:last-child { border-right: 0 !important; }
.nosotros-stats-bar .nsb-item:hover { background: rgba(255,255,255,.05) !important; }
/* Iconos blancos en badge moderno (cuadro redondeado glassy) */
.nosotros-stats-bar .nsb-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin: 0 auto 1.15rem;
  font-size: 1.4rem;
  color: #ffffff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .35s ease, transform .35s ease, border-color .35s ease;
}
.nosotros-stats-bar .nsb-item:hover i {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-3px);
}
.nosotros-stats-bar .nsb-item strong {
  display: block;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1;
  letter-spacing: -.02em;
  font-family: var(--font-heading);
}
/* Subrayado dorado bajo cada número */
.nosotros-stats-bar .nsb-item strong::after {
  content: '';
  display: block;
  width: 32px; height: 2px;
  margin: .9rem auto 0;
  background: linear-gradient(90deg, #C9A227, #E7CB6E);
  border-radius: 2px;
}
.nosotros-stats-bar .nsb-item span {
  display: block;
  margin-top: .9rem;
  font-size: .76rem;
  color: rgba(255,255,255,.74) !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 820px) {
  .nosotros-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .nosotros-stats-bar .nsb-item:nth-child(2) { border-right: 0 !important; }
  .nosotros-stats-bar .nsb-item:nth-child(-n+2) { border-bottom: 1px solid rgba(201,162,39,.16) !important; }
}
@media (max-width: 470px) {
  .nosotros-stats-bar { grid-template-columns: 1fr; }
  .nosotros-stats-bar .nsb-item { border-right: 0 !important; border-bottom: 1px solid rgba(201,162,39,.16) !important; }
  .nosotros-stats-bar .nsb-item:last-child { border-bottom: 0 !important; }
}

/* ════════════════════════════════════════════════════════════════
   NOSOTROS · Misión y Visión — rediseño (override de la capa blanca).
   Tarjetas limpias con badge moderno, acento dorado y "soft lift".
   ════════════════════════════════════════════════════════════════ */
.mission-vision { gap: 32px; }
.mission-vision .mv-card {
  position: relative;
  background: #ffffff !important;
  border: 1px solid rgba(13,43,78,.10) !important;
  border-radius: 20px !important;
  padding: 46px 42px 40px !important;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(6,15,30,.08);
  transition: transform .4s ease, box-shadow .4s ease;
}
.mission-vision .mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(6,15,30,.14);
}
/* Acento superior (reemplaza el círculo radial base) */
.mission-vision .mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  width: auto; height: 4px;
  background: linear-gradient(90deg, #C9A227, #E7CB6E);
  border-radius: 0;
}
/* Badge del icono — moderno, redondeado */
.mission-vision .mv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1.35rem;
  background: linear-gradient(135deg, #0D2B4E, #11406f);
  box-shadow: 0 12px 26px rgba(13,43,78,.26);
}
.mission-vision .mv-card--vision .mv-badge {
  background: linear-gradient(135deg, #C9A227, #A8861E);
  box-shadow: 0 12px 26px rgba(201,162,39,.30);
}
/* Eyebrow */
.mission-vision .mv-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #C9A227;
  margin-bottom: .5rem;
}
.mission-vision .mv-card h3 {
  color: #0D2B4E !important;
  font-size: 1.55rem !important;
  font-weight: 800;
  margin-bottom: 1rem !important;
}
.mission-vision .mv-card p {
  color: #45586e !important;
  font-size: 1.03rem !important;
  line-height: 1.8 !important;
}
@media (max-width: 700px) {
  .mission-vision .mv-card { padding: 38px 28px 32px !important; }
}

/* Nosotros · contener a 1400px (como "Nuestra Historia") la sección de stats
   + info cards y la sección de Misión y Visión (no a todo el ancho) */
section[aria-labelledby="intro-heading"] > .container,
section[aria-labelledby="mision-heading"] > .container {
  max-width: 1400px !important;
  margin-left: auto;
  margin-right: auto;
}

/* Nosotros · info cards (Horario, Modalidad, Bilingüe, Certificada): alturas parejas */
.nosotros-info-row { align-items: stretch; }
.nosotros-info-row .ni-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ════════════════════════════════════════════════════════════════
   NOSOTROS · Valores Institucionales — rediseño premium.
   Grid 4×2 ordenado, chips de icono navy→oro, hover con lift y acento
   dorado. Override de capas previas (hover quedaba texto blanco/blanco).
   ════════════════════════════════════════════════════════════════ */
.values-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 760px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .values-grid { grid-template-columns: 1fr; } }

.values-grid .value-card {
  background: #ffffff !important;
  border: 1px solid rgba(13,43,78,.10) !important;
  border-radius: 18px !important;
  padding: 34px 24px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(6,15,30,.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* Acento dorado superior que se revela en hover */
.values-grid .value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #C9A227, #E7CB6E);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.values-grid .value-card:hover {
  background: #ffffff !important;
  border-color: rgba(201,162,39,.45) !important;
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(6,15,30,.12);
}
.values-grid .value-card:hover::before { transform: scaleX(1); }

/* Chip de icono: navy con icono dorado; invierte a oro en hover */
.values-grid .value-card > i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0D2B4E, #11406f) !important;
  border: 1px solid rgba(201,162,39,.25) !important;
  color: #C9A227 !important;
  font-size: 1.5rem !important;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 22px rgba(13,43,78,.22) !important;
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.values-grid .value-card:hover > i {
  background: linear-gradient(135deg, #C9A227, #A8861E) !important;
  border-color: rgba(201,162,39,.6) !important;
  color: #0D2B4E !important;
  transform: translateY(-3px) scale(1.06) !important;
}

/* Tipografía: títulos navy fuertes, texto legible (anula el hover blanco/blanco) */
.values-grid .value-card h3,
.values-grid .value-card h4,
.values-grid .value-card:hover h3,
.values-grid .value-card:hover h4 {
  color: #0D2B4E !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  margin-bottom: .5rem !important;
}
.values-grid .value-card p,
.values-grid .value-card:hover p {
  color: #56657a !important;
  font-size: .9rem !important;
  line-height: 1.65 !important;
}

/* ════════════════════════════════════════════════════════════════
   NOSOTROS · Objetivos Específicos — grid 3×2, cards premium.
   ════════════════════════════════════════════════════════════════ */
.objetivos-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) { .objetivos-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .objetivos-list { grid-template-columns: 1fr; } }

.objetivos-list .objetivo-item {
  background: #ffffff !important;
  border: 1px solid rgba(13,43,78,.10) !important;
  border-radius: 16px !important;
  padding: 26px 24px !important;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 28px rgba(6,15,30,.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.objetivos-list .objetivo-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201,162,39,.40) !important;
  box-shadow: 0 20px 42px rgba(6,15,30,.12);
}
/* Filete dorado lateral que aparece en hover */
.objetivos-list .objetivo-item::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
  background: linear-gradient(180deg, #C9A227, #E7CB6E);
  opacity: 0;
  transition: opacity .35s ease;
}
.objetivos-list .objetivo-item:hover::before { opacity: 1; }
/* Check como chip dorado; se rellena en hover */
.objetivos-list .objetivo-item i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(201,162,39,.12) !important;
  color: #C9A227 !important;
  font-size: 1.05rem !important;
  margin-top: 0 !important;
  transition: background .35s ease, color .35s ease;
}
.objetivos-list .objetivo-item:hover i {
  background: linear-gradient(135deg, #C9A227, #A8861E) !important;
  color: #ffffff !important;
}
.objetivos-list .objetivo-item p {
  color: #45586e !important;
  font-size: .95rem !important;
  line-height: 1.65 !important;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   Notebook / MacBook (≤1600px): reducir un poco la escala global para
   que textos y cards no se vean grandes ni desborden a la derecha.
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 1281px) and (max-width: 1600px) {
  html { font-size: 16.5px; }
}
@media (min-width: 761px) and (max-width: 1280px) {
  html { font-size: 15.8px; }
}

/* Header · logo "GLOBAL" siempre en blanco */
.logo-line2 { color: #ffffff !important; }
#navbar.scrolled .logo-line2 { color: #ffffff !important; }

/* Header · botón Reservar: no levantarlo en estado sticky (queda alineado) */
#navbar.scrolled .nav-cta { transform: none !important; }
#navbar.scrolled .nav-cta:hover { transform: translateY(-2px) !important; }

/* Footer · CTA "¡Escríbenos ahora!" */
.footer-write-cta {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  transition: color .25s ease, gap .25s ease;
}
.footer-write-cta i { font-size: .82em; transition: transform .25s ease; }
.footer-write-cta:hover { color: #C9A227; gap: 10px; }
.footer-write-cta:hover i { transform: translateX(2px); }

/* Nosotros · Historia: badge "NY · Notaria Certificada" un poco más a la izquierda */
section[aria-labelledby="historia-heading"] .about-badge { right: 28px; }

/* ════════════════════════════════════════════════════════════════
   NOSOTROS · Equipo — card = foto (4:5 centrada) + botón "Ver perfil"
   que despliega la info (sin JS, con <details>).
   ════════════════════════════════════════════════════════════════ */
.team-photo-grid { align-items: start; }
.team-photo-grid .team-photo-card {
  aspect-ratio: auto !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
}
/* Anular barra dorada / franjas del diseño anterior */
.team-photo-grid .team-photo-card::after,
.team-photo-grid .team-photo-card::before { content: none !important; }

/* Foto 4:5 centrada */
.team-photo-grid .tpc-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: transparent;
}
.team-photo-grid .tpc-photo > img {
  width: 100%; height: 100%;
  object-fit: contain;              /* imagen completa, sin recortar */
  object-position: center bottom;   /* anclada abajo y al centro */
  display: block;
}
.team-photo-grid .tpc-photo .team-photo-placeholder {
  width: 100%; height: 100%;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
}

/* Pie simple bajo la foto: nombre + cargo (sin botón) */
.team-photo-grid .tpc-name {
  padding: 20px 20px 22px;
  text-align: center;
  border-top: 1px solid rgba(13,43,78,.07);
  background: #ffffff;
}
.team-photo-grid .tpc-name h3 {
  color: #0D2B4E !important;
  font-size: 1.12rem !important;
  font-weight: 800;
  margin: 0 0 .3rem !important;
}
.team-photo-grid .tpc-name .tpo-role {
  display: block;
  color: #C9A227 !important;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.4;
}

/* Nosotros · Valores: encabezado en blanco (fondo oscuro / imagen editable) */
section[aria-labelledby="valores-heading"] .eyebrow,
section[aria-labelledby="valores-heading"] .eyebrow i,
section[aria-labelledby="valores-heading"] .section-title {
  color: #ffffff !important;
}
section[aria-labelledby="valores-heading"] .section-subtitle {
  color: rgba(255,255,255,.82) !important;
}

/* Cards de Valores translúcidas (glass) — sin blanco, dejan ver el fondo/imagen */
section[aria-labelledby="valores-heading"] .value-card {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: none !important;
}
section[aria-labelledby="valores-heading"] .value-card:hover {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(201,162,39,.5) !important;
}
section[aria-labelledby="valores-heading"] .value-card h3,
section[aria-labelledby="valores-heading"] .value-card:hover h3 { color: #ffffff !important; }
section[aria-labelledby="valores-heading"] .value-card p,
section[aria-labelledby="valores-heading"] .value-card:hover p { color: rgba(255,255,255,.80) !important; }
section[aria-labelledby="valores-heading"] .value-card > i {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(201,162,39,.42) !important;
  color: #C9A227 !important;
}
section[aria-labelledby="valores-heading"] .value-card:hover > i {
  background: linear-gradient(135deg, #C9A227, #A8861E) !important;
  color: #0D2B4E !important;
}

/* ════════════════════════════════════════════════════════════════
   Doble Nacionalidad · "Nuestro Proceso" (.npg-proc-dark) — dark glass
   sobre la imagen editable inline.
   ════════════════════════════════════════════════════════════════ */
.npg-proc-dark { border-top: 0 !important; }
.npg-proc-dark::before, .npg-proc-dark::after { display: none !important; }
.npg-proc-dark .section-title { color: #ffffff !important; }
.npg-proc-dark .section-subtitle { color: rgba(255,255,255,.78) !important; }
.npg-proc-dark .why-card {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.npg-proc-dark .why-card:hover {
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(201,162,39,.45) !important;
}
.npg-proc-dark .why-card h3 { color: #ffffff !important; }
.npg-proc-dark .why-card p { color: rgba(255,255,255,.78) !important; }
.npg-proc-dark .why-icon {
  background: rgba(201,162,39,.16) !important;
  border: 1px solid rgba(201,162,39,.38) !important;
  color: #C9A227 !important;
}
.npg-proc-dark .why-card:hover .why-icon {
  background: linear-gradient(135deg, #C9A227, #A8861E) !important;
  border-color: #C9A227 !important;
  color: #282828 !important;
}

/* ════════════════════════════════════════════════════════════════
   Doble Nacionalidad · "Doble Ciudadanía por País" — SECCIÓN AUTÓNOMA.
   Clases propias (.paises-*), no comparte nada con why-section. Fondo
   fijo #282828, JAMÁS imagen.
   ════════════════════════════════════════════════════════════════ */
.paises-section {
  background: #282828 !important;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 0;
}
.paises-header { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.paises-title {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
}
.paises-divider {
  display: block;
  width: 80px; height: 3px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(90deg, #C9A227, #E7CB6E);
  border-radius: 3px;
}
.paises-sub { color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.paises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pais-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 34px 26px;
  text-align: center;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.pais-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.08);
  border-color: rgba(201,162,39,.45);
}
.pais-flag {
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.1rem;
  transition: transform .3s ease;
}
.pais-flag--multi { font-size: 2.2rem; letter-spacing: 2px; }
.pais-card:hover .pais-flag { transform: scale(1.08); }
.pais-card h3 { color: #ffffff; font-size: 1.2rem; font-weight: 800; margin: 0 0 .5rem; }
.pais-card p { color: rgba(255,255,255,.74); font-size: .92rem; line-height: 1.6; margin: 0; }
/* Descripción de país: lista de viñetas (texto desde corregir.txt) */
.pais-text { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.6; }
.pais-text ul { list-style: none; margin: 0; padding: 0; text-align: left; display: inline-block; }
.pais-text li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; }
.pais-text li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #C9A227; position: absolute; left: 0; top: .1rem; font-size: .78rem; }
/* Botón "Más información" por país */
.pais-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.2rem; padding: 9px 20px;
  border: 1px solid rgba(201,162,39,.6); border-radius: 6px;
  color: #C9A227; font-size: .86rem; font-weight: 600;
  text-decoration: none; transition: background .25s ease, color .25s ease;
}
.pais-btn:hover { background: #C9A227; color: #282828; }
@media (max-width: 1000px) { .paises-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .paises-grid { grid-template-columns: 1fr; } }

/* Páginas de servicio · eyebrow del slab "Proceso" (ej. "Simple y transparente",
   "Paso a paso") de azul → blanco. */
.npg-service-page .why-section .eyebrow,
.npg-service-page .why-section .eyebrow i { color: #ffffff !important; }

/* ============================================================
   HERO HOME — todo centrado (ref. hero-home)
   ============================================================ */
.hero--home .hero-content {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero--home .hero-sub,
.hero--home .hero-meta { margin-left: auto !important; margin-right: auto !important; }
.hero--home .hero-btns { justify-content: center; }
.hero-flags, .hero-flags--marquee { margin-left: auto; margin-right: auto; }

/* ============================================================
   Banderas del hero (ref. hero-home) — más grandes + carrusel
   circular continuo (derecha → izquierda, sin parar, en bucle)
   ============================================================ */
.hero-flags--marquee { max-width: min(1040px, 96%); }
.hero-flags-track {
  gap: 1.15rem;
  justify-content: flex-start;
  animation: heroFlagsSlide 32s linear infinite !important;
}
/* Banderas grandes, SIN círculo ni borde (solo el emoji) */
.hero-flags-track span {
  font-size: 4rem !important;
  line-height: 1;
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.45));
}
@media (max-width: 760px) {
  .hero-flags-track span { font-size: 2.9rem !important; }
}
/* Chips de países (marquee inferior) levemente más grandes */
.flag-marquee .country-chip { font-size: 1.02rem; }

/* ============================================================
   Contacto — tarjetas de info más compactas (menos alto/padding)
   ============================================================ */
.contact-info-box h3 { margin-bottom: 1rem !important; }
.contact-card {
  padding: 14px 18px !important;
  margin-bottom: 10px !important;
}
.contact-card i { font-size: 1.2rem !important; margin-bottom: .35rem !important; }
.contact-card h3, .contact-card h4 { margin-bottom: .2rem !important; }
.contact-card p { margin: 0 !important; line-height: 1.45; }
/* Sin borde en las tarjetas de información de contacto */
.contact-card { border: none !important; box-shadow: none !important; }

/* ============================================================
   Iconos de redes sociales — mismo estilo en footer y contacto
   (círculo blanco, ícono navy, hover dorado)
   ============================================================ */
footer .social-icons a,
.contact-card .social-icons a,
.contact-info-box .social-icons a {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0d2b4e !important;
  border: 1px solid rgba(13,43,78,.14) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
footer .social-icons a i,
.contact-card .social-icons a i,
.contact-info-box .social-icons a i { color: #0d2b4e !important; }
footer .social-icons a:hover,
.contact-card .social-icons a:hover,
.contact-info-box .social-icons a:hover {
  background: #C9A227 !important;
  border-color: #C9A227 !important;
  transform: translateY(-3px);
}
footer .social-icons a:hover i,
.contact-card .social-icons a:hover i,
.contact-info-box .social-icons a:hover i { color: #0d2b4e !important; }

/* ============================================================
   Eyebrows forzados a BLANCO:
   - Home · "¿Por Qué Elegir..." (why_eyebrow)
   - Contacto · "¿Cómo Agendar tu Cita?" (agenda_eyebrow)
   Mayor especificidad que ".why-section .eyebrow" para ganarle al azul.
   ============================================================ */
.eyebrow.npg-eyebrow-white,
.why-section .eyebrow.npg-eyebrow-white,
.eyebrow.npg-eyebrow-white i,
.why-section .eyebrow.npg-eyebrow-white i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ============================================================
   ¿Cómo Funciona? · proceso visual numerado
   (página Doble Nacionalidad)
   ============================================================ */
.cf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.cf-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.2rem 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(13,43,78,.1);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(13,43,78,.06);
}
.cf-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #0D2B4E;
  color: #C9A227;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(13,43,78,.25);
}
.cf-step p {
  margin: 0;
  color: #0D2B4E;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.45;
}
/* Línea conectora entre pasos (desktop) */
.cf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(2rem + 27px);
  right: -0.95rem;
  width: 1.5rem;
  height: 2px;
  background: rgba(201,162,39,.55);
}
@media (max-width: 900px)  { .cf-steps { grid-template-columns: repeat(2, 1fr); } .cf-step:not(:last-child)::after { display: none; } }
@media (max-width: 480px)  { .cf-steps { grid-template-columns: 1fr; } }

/* ============================================================
   Ceremonia Matrimonial · Galería de Lugares
   ============================================================ */
.wed-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.wed-gallery-item {
  position: relative;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #0D2B4E;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 8px 24px rgba(13,43,78,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.wed-gallery-item:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(13,43,78,.22); }
.wed-gallery-item figcaption {
  position: relative; z-index: 2;
  width: 100%;
  padding: 14px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.wed-gallery-item figcaption i { color: #C9A227; }
.wed-gallery-item--empty {
  background: repeating-linear-gradient(135deg,#10325a,#10325a 14px,#0D2B4E 14px,#0D2B4E 28px);
  align-items: stretch;
}
.wed-gallery-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,162,39,.55); font-size: 2.4rem;
}
/* La primera foto ocupa 2x2 si hay varias (efecto editorial) */
.wed-gallery .wed-gallery-item:first-child { grid-column: span 2; grid-row: span 2; height: auto; min-height: 210px; }
@media (max-width: 900px) {
  .wed-gallery { grid-template-columns: repeat(2, 1fr); }
  .wed-gallery .wed-gallery-item:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .wed-gallery { grid-template-columns: 1fr; }
  .wed-gallery .wed-gallery-item:first-child { grid-column: span 1; }
}

/* ============================================================
   Ceremonia Matrimonial · Paquetes
   ============================================================ */
.paquetes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.paquete-card {
  background: #fff;
  border: 1px solid rgba(13,43,78,.1);
  border-top: 4px solid #C9A227;
  border-radius: 14px;
  padding: 2rem 1.7rem;
  box-shadow: 0 8px 26px rgba(13,43,78,.07);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.paquete-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(13,43,78,.14); }
.paquete-icon {
  width: 54px; height: 54px; margin: 0 0 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(201,162,39,.14); color: #C9A227; font-size: 1.4rem;
}
.paquete-card h3 { color: #0D2B4E; font-size: 1.3rem; margin: 0 0 1.2rem; }
.paquete-card ul { list-style: none; margin: 0 0 1.6rem; padding: 0; flex-grow: 1; }
.paquete-card li { display: flex; align-items: flex-start; gap: .6rem; padding: .45rem 0; color: #33475b; font-size: .96rem; border-bottom: 1px dashed rgba(13,43,78,.08); }
.paquete-card li i { color: #C9A227; margin-top: .25rem; }
.paquete-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 11px 18px; border-radius: 8px;
  background: #0D2B4E; color: #fff !important; text-decoration: none;
  font-weight: 600; font-size: .92rem;
  transition: background .25s ease;
}
.paquete-btn:hover { background: #C9A227; color: #0D2B4E !important; }
@media (max-width: 900px) { .paquetes-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ============================================================
   Ceremonia Matrimonial · Testimonios de parejas
   ============================================================ */
.wed-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.wed-testi-card {
  background: #fff;
  border: 1px solid rgba(13,43,78,.1);
  border-radius: 14px;
  padding: 1.9rem 1.6rem;
  box-shadow: 0 8px 24px rgba(13,43,78,.06);
}
.wed-testi-stars { color: #C9A227; font-size: .9rem; margin-bottom: .9rem; letter-spacing: 2px; }
.wed-testi-text { color: #33475b; font-style: italic; line-height: 1.65; margin: 0 0 1.2rem; }
.wed-testi-author { display: flex; flex-direction: column; }
.wed-testi-author strong { color: #0D2B4E; font-size: 1rem; }
.wed-testi-author span { color: #7a8aa0; font-size: .86rem; }
@media (max-width: 900px) { .wed-testi-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ============================================================
   NOSOTROS · ¿Por qué elegirnos?
   ============================================================ */
.porque-elegir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 980px;
  margin: 2.6rem auto 0;
}
/* Tarjeta premium navy (idéntica a referencia): icono dorado + título + descripción */
.porque-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #0D2B4E !important;
  border: 1px solid rgba(201,162,39,.22);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 14px 34px rgba(13,43,78,.16);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.porque-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(13,43,78,.26);
  border-color: rgba(201,162,39,.5);
}
.porque-ico {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: linear-gradient(150deg,#C9A227,#b8901f);
  color: #0D2B4E; font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(201,162,39,.32);
}
.porque-body { min-width: 0; }
.porque-title { color: #fff !important; font-weight: 700; font-size: 1.02rem; line-height: 1.3; margin: .1rem 0 .45rem; }
.porque-sub { color: rgba(255,255,255,.74) !important; font-size: .9rem; line-height: 1.55; margin: 0; }
@media (max-width: 700px) { .porque-elegir-grid { grid-template-columns: 1fr; } }

/* Barra de confianza inferior (Confianza · Eficiencia · Alcance global · Compromiso) */
.porque-trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 1.6rem auto 0;
  padding: 1.3rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(13,43,78,.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13,43,78,.06);
}
.ptb-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; }
.ptb-item i { color: #C9A227; font-size: 1.15rem; margin-bottom: .15rem; }
.ptb-item strong { color: #0D2B4E; font-size: .95rem; font-weight: 700; }
.ptb-item span { color: #7a8aa0; font-size: .8rem; }
@media (max-width: 760px) { .porque-trust-bar { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }

/* ============================================================
   NOSOTROS · Alcance Internacional
   ============================================================ */
/* Fix: la capa de rediseño fuerza .section-padding a blanco con !important,
   lo que ocultaba el texto blanco. Restauramos el fondo navy con prioridad. */
.alcance-section.section-padding,
section.alcance-section {
  background: #0D2B4E !important;
  border-top: 1px solid rgba(201,162,39,.18) !important;
}
.alcance-section .section-title,
.alcance-section .section-subtitle,
.alcance-section .eyebrow { color: #fff !important; }
.alcance-section .section-subtitle { color: rgba(255,255,255,.78) !important; }
.alcance-section .eyebrow { color: #C9A227 !important; }
.alcance-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .7rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
}
.alcance-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 9px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,39,.45);
  color: #fff; font-size: .92rem; font-weight: 600;
}
.alcance-tag i { color: #C9A227; font-size: .8rem; }

/* ============================================================
   NOSOTROS · Reseñas de clientes
   ============================================================ */
.nos-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.nos-testi-card {
  background: #fff;
  border: 1px solid rgba(13,43,78,.1);
  border-radius: 14px;
  padding: 1.9rem 1.6rem;
  box-shadow: 0 8px 24px rgba(13,43,78,.06);
}
.nos-testi-stars { color: #C9A227; font-size: .9rem; margin-bottom: .9rem; letter-spacing: 2px; }
.nos-testi-text { color: #33475b; font-style: italic; line-height: 1.65; margin: 0 0 1.2rem; }
.nos-testi-author { display: flex; flex-direction: column; }
.nos-testi-author strong { color: #0D2B4E; font-size: 1rem; }
.nos-testi-author span { color: #7a8aa0; font-size: .86rem; }
@media (max-width: 900px) { .nos-testi-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ============================================================
   CONTACTO · Intro (CTA + canales + confianza)
   ============================================================ */
.contact-intro { padding: 56px 0 8px; }
.contact-intro-cta { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.contact-intro-cta h2 { color: #0D2B4E; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6rem; }
.contact-intro-cta p { color: #51607a; font-size: 1.02rem; line-height: 1.6; margin: 0; }

/* Canales visibles */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 2rem;
}
.cch {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1.3rem 1rem;
  background: #fff;
  border: 1px solid rgba(13,43,78,.1);
  border-radius: 14px;
  text-decoration: none;
  color: #0D2B4E; font-weight: 700; font-size: .92rem;
  box-shadow: 0 6px 18px rgba(13,43,78,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cch:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13,43,78,.14); border-color: rgba(201,162,39,.5); }
.cch i { font-size: 1.5rem; color: #C9A227; }
.cch--wa { background: #0D2B4E; color: #fff; border-color: #0D2B4E; }
.cch--wa i { color: #25D366; }
.cch--wa:hover { background: #102f56; }

/* Franja de confianza */
.contact-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem;
  padding: 1.2rem 0 0;
}
.ctrust { display: inline-flex; align-items: center; gap: .6rem; color: #0D2B4E; font-weight: 600; font-size: .95rem; }
.ctrust i { color: #C9A227; font-size: 1.05rem; }
@media (max-width: 760px) { .contact-channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .contact-channels { grid-template-columns: 1fr; } }

/* Tarjeta WhatsApp destacada + horario en el panel de info */
a.contact-card { text-decoration: none; display: block; }
.contact-card--wa {
  background: linear-gradient(135deg, #0D2B4E, #14385f) !important;
  border: 1px solid rgba(201,162,39,.5) !important;
}
.contact-card--wa h3 { color: #fff !important; }
.contact-card--wa p  { color: #cfe9d6 !important; font-weight: 700; }
.contact-card--wa i  { color: #25D366 !important; }
.contact-card--hours { border-left: 4px solid #C9A227 !important; }

/* "Servicios" del menú: el texto es enlace a /servicios, el chevron sigue abriendo el desplegable */
.nav-dd-summary .nav-dd-link { color: inherit; text-decoration: none; }
.nav-dd-summary .nav-dd-link:hover { color: inherit; opacity: .85; }
