/* ===================================================================
   zh-es.css — Shared styles for all /es/ Spanish pages
   Extracted from inline <style> blocks to reduce page weight & lint warnings.
   Cache-bust: ?v=1.5.0
   =================================================================== */

/* --- Design Tokens (override/extend zh-shared.css) --- */
:root {
  --zh-primary: #2E5A4C;
  --zh-secondary: #4A7C6F;
  --zh-accent: #8BB8A8;
  --zh-warm: #D4A574;
  --zh-action: #1B8B5E;
  --zh-light: #F5F5F0;
  --color-primary: #2E5A4C !important;
}

/* --- Base --- */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #304049;
  margin: 0;
  padding: 0;
}

/* ===== HERO SECTIONS ===== */

/* Homepage hero */
.es-hero {
  background: linear-gradient(135deg, rgba(46,90,76,0.92), rgba(26,61,51,0.88)),
              url('../photos/therapy-sessions/individual-fireplace-1920.webp') center/cover no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 120px 20px 80px;
}
.es-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-style: italic;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
}
.es-hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.es-hero .badge-es {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Subpage hero */
.page-hero {
  background: linear-gradient(135deg, rgba(46,90,76,0.9), rgba(26,61,51,0.85)),
              url('../photos/therapy-sessions/individual-fireplace-1920.webp') center/cover;
  padding: 140px 20px 80px;
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-style: italic;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== SECTION LAYOUT ===== */
.section-es {
  padding: 80px 0;
}
.section-es h2 {
  font-family: 'Playfair Display', serif;
  color: var(--zh-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ===== CRITICAL BOOTSTRAP DISPLAY UTILITIES (stable layout before deferred CSS) ===== */
.d-none{display:none !important}
.d-flex{display:flex !important}
.d-block{display:block !important}
.d-inline-flex{display:inline-flex !important}
.align-items-center{align-items:center !important}
.justify-content-between{justify-content:space-between !important}
@media(min-width:1200px){
  .d-xl-block{display:block !important}
  .d-xl-none{display:none !important}
  .d-none.d-xl-block{display:block !important}
  .d-xl-inline-flex{display:inline-flex !important}
}
/* Bootstrap grid base rules removed — they were overriding Bootstrap's
   responsive @media column widths (.col-lg-9 etc.) since zh-es.css
   loads after bootstrap.min.css with equal specificity. */
.mt-30{margin-top:30px}
.mt-none-30{margin-top:-30px}
.px-50{padding-left:50px;padding-right:50px}
@media(max-width:991px){.px-50{padding-left:15px;padding-right:15px}}

/* ===== CTA BUTTONS (matches English critical inline CSS exactly) ===== */
.cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.thm-btn {
  background: linear-gradient(135deg, var(--zh-primary) 0%, var(--zh-secondary) 100%) !important;
  color: #fff !important;
  border: none;
}
.thm-btn:hover {
  background: linear-gradient(135deg, var(--zh-action) 0%, var(--zh-secondary) 100%) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,90,76,0.3);
}
.thm-btn span {
  color: #fff !important;
}
.thm-btn span::before {
  filter: brightness(100) !important;
}
.thm-btn--primary {
  background: linear-gradient(135deg, var(--zh-action) 0%, var(--zh-primary) 100%) !important;
  color: #fff !important;
}
.thm-btn--primary:hover {
  background: linear-gradient(135deg, var(--zh-secondary) 0%, var(--zh-action) 100%) !important;
}
.thm-btn--white {
  background: #fff !important;
  color: var(--zh-primary) !important;
}
.thm-btn--white span {
  color: var(--zh-primary) !important;
}
.thm-btn--white:hover {
  background: var(--zh-accent) !important;
  color: var(--zh-primary) !important;
}
.thm-btn--outline {
  background: transparent !important;
  border: 2px solid #fff;
  color: #fff !important;
}
.thm-btn--outline:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}

/* ===== TRUST BAR (badge-row layout from English) ===== */
.trust-bar {
  background: var(--zh-primary);
  color: #fff;
  padding: 16px 0;
  text-align: center;
}
.trust-bar .container-fluid {
  text-align: center;
}
.trust-bar .badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.trust-bar .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.trust-bar .badge-item:hover {
  transform: translateY(-2px);
}
.trust-bar .badge-item i {
  color: var(--zh-accent);
}
.trust-bar .cities {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 8px;
}
@media (max-width:768px) {
  .trust-bar .badge-item {
    display: block;
    margin: 6px 0;
  }
}
.trust-bar {
  background: linear-gradient(135deg, var(--zh-primary) 0%, #1a3d33 100%) !important;
  border-bottom: 2px solid rgba(139,184,168,0.3);
}

/* ===== SECTION WAVE DIVIDER ===== */
.section-wave {
  line-height: 0;
  margin: 0;
  padding: 0;
}

/* ===== CENTER CONTENT CONTAINER (Psychology Today seal) ===== */
.center-content-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== SERVICE CARDS (homepage) ===== */
.service-card-es {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}
.service-card-es:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}
.service-card-es .icon {
  width: 80px;
  height: 80px;
  background: var(--zh-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.service-card-es .icon i {
  font-size: 2rem;
  color: var(--zh-primary);
}
.service-card-es h4 {
  color: var(--zh-primary);
  margin-bottom: 1rem;
}

/* ===== SERVICE DETAIL CARDS (servicios.html) ===== */
.service-detail {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}
.service-detail:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.service-detail h3 {
  color: var(--zh-primary);
  margin-bottom: 1rem;
}
.service-detail .icon-circle {
  width: 70px;
  height: 70px;
  background: var(--zh-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-detail .icon-circle i {
  font-size: 1.8rem;
  color: var(--zh-primary);
}
.service-detail .learn-more {
  color: var(--zh-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-detail .learn-more:hover {
  color: var(--zh-secondary);
}

/* ===== CONTACT CARDS (contacto.html) ===== */
.contact-card-es {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.contact-card-es:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.contact-card-es .icon-circle {
  width: 70px;
  height: 70px;
  background: var(--zh-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.contact-card-es .icon-circle i {
  font-size: 1.8rem;
  color: var(--zh-primary);
}
.contact-card-es h4 {
  color: var(--zh-primary);
  margin-bottom: 0.75rem;
}

/* ===== TRUST / STATS (homepage) ===== */
.trust-section {
  background: var(--zh-light);
  padding: 60px 0;
}
.trust-item-es {
  text-align: center;
  padding: 2rem 1rem;
}
.trust-item-es .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--zh-primary);
  line-height: 1;
}
.trust-item-es .label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ===== SERVICE AREA BADGES (homepage) ===== */
.areas-section .area-badge {
  display: inline-block;
  background: var(--zh-light);
  color: var(--zh-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.25rem;
  border: 1px solid var(--zh-accent);
}

/* ===== COOKIE BANNER ===== */
#zh-cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  display: none;
  max-width: 840px;
  margin: 0 auto;
  z-index: 9999;
}
#zh-cookie-banner.show { display: block; }
#zh-cookie-banner .zh-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#zh-cookie-banner .zh-text {
  flex: 1;
  font-size: .85rem;
  line-height: 1.5;
}
#zh-cookie-banner .zh-actions {
  display: flex;
  gap: 8px;
}
#zh-cookie-banner button {
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  border: none;
}
#zh-cookie-banner #zh-decline {
  background: transparent;
  color: #aaa;
  border: 1px solid #555;
}
#zh-cookie-banner #zh-accept {
  background: var(--zh-primary);
  color: #fff;
}
#zh-manage-cookies {
  position: fixed;
  bottom: 16px;
  left: 16px;
  background: #222;
  color: #aaa;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .75rem;
  z-index: 9998;
  text-decoration: none;
  display: none;
}

/* ===== STICKY CTA BAR ===== */
.zh-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--zh-primary);
  color: #fff;
  padding: 12px 0;
  z-index: 9990;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

/* ===== FOOTER (legacy class kept for crisis div) ===== */
.footer-es {
  background: var(--zh-primary);
  color: #fff;
  padding: 60px 0 0;
}
.footer-es a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.footer-es a:hover { color: #fff; }
.footer-crisis-es {
  background: rgba(0,0,0,0.15);
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
  font-size: 0.9rem;
}
.footer-bottom-es {
  background: rgba(0,0,0,0.25);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.85rem;
}

/* ===== FOOTER UTILITY CLASSES ===== */
.footer-heading { color: #fff; margin-bottom: 10px; }
.footer-link { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-link:hover { color: #fff; }
.footer-text { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer-text-muted { color: rgba(255,255,255,0.7); }
.footer-contact-link { color: #c8e0d6; }
.footer-contact-link:hover { color: #fff; }
.footer-icon { margin-right: 8px; color: var(--zh-accent); }
.footer-social-link { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1.2rem; }
.footer-social-link:hover { color: #fff; }
.footer-subscribe-btn { background: var(--zh-primary); color: #fff; padding: 10px 24px; font-size: 0.9rem; border: none; cursor: pointer; border-radius: 6px; }
.footer-subscribe-btn:hover { background: var(--zh-secondary); }
.footer-subscribe-input { padding: 8px 20px; font-size: 0.9rem; border: none; border-radius: 6px; }

/* ===== NAV UTILITY CLASSES ===== */
.es-nav-link { color: var(--zh-primary); }
.es-text-muted { color: #555; }
.es-text-muted-sm { font-size: 0.85rem; color: #888; margin-top: 0.5rem; }
.es-mb-10 { margin-bottom: 10px; }
.es-mb-1_5rem { margin-bottom: 1.5rem; }

/* ===== HERO VIDEO & OVERLAY (parity with English critical CSS) ===== */
.hero-video-bg {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(46,90,76,0.25) 0%, rgba(30,50,42,0.30) 50%, rgba(15,15,15,0.65) 100%);
  z-index: 0;
}
.hero-mobile-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
@media (min-width: 992px) {
  .hero-mobile-img { display: none; }
}
@media (max-width: 991px) {
  .hero-video-bg { display: none; }
  .hero-overlay { display: block !important; }
}
.hero-content, .hero-info { position: relative; z-index: 1; }
.hero-content .xb-item--title,
.hero-content .xb-item--content,
.hero-content .xb-item--subtitle { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3); }
.hero-heading { font-size: clamp(2rem, 4.5vw, 3.5rem) !important; }

/* Hero sub-components */
.hero-testimonial-snippet {
  font-family: 'Caveat', 'Caveat Fallback', cursive;
  font-style: normal;
  color: rgba(255,255,255,0.95);
  font-size: 1.5rem;
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--zh-accent);
  letter-spacing: 0.3px;
}
.hero-testimonial-snippet .attribution { font-style: normal; font-size: 0.9rem; color: var(--zh-accent); }
.value-props { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.value-prop { display: flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.value-prop i { color: var(--zh-accent); font-size: 1.2rem; }
.hero-credential { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-top: 0.75rem; }
.google-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 8px 16px; border-radius: 24px; margin-top: 1rem; border: 1px solid rgba(255,255,255,0.2); }
.google-badge .stars { color: #F4B400; font-size: 1rem; }
.google-badge .rating-text { color: #fff; font-weight: 600; font-size: 0.95rem; }
.google-badge .review-count { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.google-badge .google-g { width: 20px; height: 20px; flex-shrink: 0; }
.open-status { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-top: 0.5rem; }
.open-status .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.open-status .status-dot.open { background: var(--zh-action); }
.open-status .status-dot.closed { background: var(--zh-warm); }

/* Hero stats sidebar */
.hero-stats-premium { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; padding: 2rem; border-radius: 20px; background: linear-gradient(135deg, rgba(46,90,76,0.35) 0%, rgba(30,50,42,0.30) 100%); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.stat-card { text-align: center; padding: 1rem 0.5rem; background: rgba(255,255,255,0.08); border-radius: 14px; border: 1px solid rgba(255,255,255,0.18); transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease; }
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #fff; font-family: 'Playfair Display', 'Playfair Display Fallback', serif; line-height: 1; display: inline; }
.stat-suffix { display: inline; font-size: 1.6rem; color: var(--zh-accent); font-weight: 700; vertical-align: top; margin-left: -2px; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* ===== PATHWAY CARDS (parity with English critical CSS) ===== */
.pathways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 991px) { .pathways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .pathways-grid { grid-template-columns: 1fr; } }
.pathway-card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.pathway-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
.pathway-card:focus-within { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(46,90,76,0.18); }
.pathway-card > *:not(.pathway-icon-container) { padding-left: 2rem; padding-right: 2rem; }
.pathway-card > .pathway-title { padding-top: 0.5rem; }
.pathway-card > .social-proof-testimonial { padding-bottom: 1.5rem; }
.pathway-card > .pathway-cta { padding-bottom: 0; margin-left: 2rem; margin-right: 2rem; }
.pathway-icon-container {
  width: 100%; height: 200px;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(135deg, var(--zh-light) 0%, rgba(139,184,168,0.12) 100%);
  border-radius: 16px 16px 0 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  box-shadow: inset 0 0 30px rgba(46,90,76,0.06);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.pathway-card:hover .pathway-icon-container { transform: scale(1.02); box-shadow: 0 8px 25px rgba(46,90,76,0.12); }
.pathway-icon { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.4,0.2,0.2,1); }
.pathway-card:hover .pathway-icon { transform: scale(1.05); }
.pathway-title {
  font-family: 'Caveat', 'Caveat Fallback', cursive;
  font-style: normal;
  color: var(--zh-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.pathway-description { color: #555; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.pathway-outcomes { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.pathway-outcomes li { padding: 4px 0; font-size: 0.88rem; color: #444; display: flex; align-items: flex-start; gap: 8px; }
.pathway-outcomes li::before { content: '\2713'; color: var(--zh-action); font-weight: 700; flex-shrink: 0; }
.pathway-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--zh-primary) 0%, var(--zh-secondary) 100%);
  color: #fff; padding: 10px 20px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 1rem; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pathway-cta:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.15); background: linear-gradient(135deg, var(--zh-action) 0%, var(--zh-secondary) 100%); }
.pathway-cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.7s; }
.pathway-cta:hover::before { left: 100%; }
.pathway-cta .zh-cta-icon { transition: transform 0.3s ease; }
.pathway-cta:hover .zh-cta-icon { transform: translateX(3px); }
.social-proof-testimonial {
  font-family: 'Caveat', 'Caveat Fallback', cursive;
  font-size: 1.15rem; font-style: normal; color: #505050;
  font-weight: 500; line-height: 1.4;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid rgba(0,180,140,0.2);
  text-align: center;
}
.social-proof-testimonial .client-location { font-weight: 500; font-style: normal; color: var(--zh-action); font-size: 0.8rem; display: block; margin-top: 4px; }

/* GPU compositing hints */
.pathway-card, .stat-card { will-change: transform; }

/* ===== TESTIMONIAL OVERRIDES (parity with English critical CSS) ===== */
.testimonial-item .xb-item--title {
  font-family: 'Caveat', 'Caveat Fallback', cursive !important;
  font-size: 2rem !important;
  font-weight: 600;
  line-height: 1.4 !important;
  letter-spacing: 0.01em;
  color: #2d3436 !important;
  text-shadow: none !important;
}
.testimonial-item .xb-item--title span {
  color: var(--zh-action) !important;
  font-weight: 700;
}
.testimonial-item .xb-item--content {
  color: #555 !important;
}
.testimonial-item .xb-item--name {
  color: #2d3436 !important;
}
.testimonial-item .xb-item--desig {
  color: var(--zh-secondary) !important;
}
.testimonial-shape, .footer-shape {
  display: none !important;
}

/* ===== INLINE CONSULTATION FORM (parity with English critical CSS) ===== */
.inline-form-section { background: var(--zh-light); }
.inline-form {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.inline-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 14px 40px 14px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.inline-form .form-control:focus {
  border-color: var(--zh-action);
  box-shadow: 0 0 0 3px rgba(27,139,94,0.1);
}
.inline-form .form-control.valid {
  border-color: var(--zh-action);
}
.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (max-width:768px) { .form-row-inline { grid-template-columns: 1fr; } }
.zh-hipaa-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46,90,76,0.06);
  border: 1px solid rgba(46,90,76,0.15);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 1.25rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: fit-content;
}
.zh-hipaa-badge svg { width: 28px; height: 28px; color: var(--zh-primary); flex-shrink: 0; }
.zh-hipaa-badge-text strong { color: var(--zh-primary); font-size: 0.85rem; display: block; }
.zh-hipaa-badge-text span { color: #666; font-size: 0.78rem; }
.input-with-validation { position: relative; }
.input-with-validation .validation-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.input-with-validation .validation-icon.show-valid { opacity: 1; color: var(--zh-action); }
.input-with-validation .validation-icon.show-valid::after { content: '\2713'; }
.form-helpers { margin-top: 1rem; }
.form-helpers p { font-size: 0.8rem; color: #666; margin: 4px 0; display: flex; align-items: center; gap: 6px; }
.form-helpers p i { color: var(--zh-accent); font-size: 0.75rem; }
.now-accepting {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,139,94,0.1);
  color: var(--zh-action);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}
.now-accepting::before { content: ''; width: 8px; height: 8px; background: var(--zh-action); border-radius: 50%; }

/* ===== CTA BUTTON (parity with English critical CSS) ===== */
.zh-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--zh-action) 0%, var(--zh-secondary) 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zh-cta-button:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 7px 20px rgba(0,0,0,0.15); }
.zh-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s;
}
.zh-cta-button:hover::before { left: 100%; }
.zh-high-visibility-cta:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 20px rgba(38,192,183,0.5) !important; }

/* ===== GALLERY (parity with English critical CSS) ===== */
.gallery-inner {
  overflow: visible !important;
  margin-bottom: 0 !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
}
.gallery-inner .gallery-item {
  border-radius: 12px !important;
  width: calc(16.666% - 12px) !important;
  aspect-ratio: 4/3;
}
.gallery-inner .gallery-item.border-style-2 { border-radius: 12px !important; }
.gallery-inner .gallery-item:hover { border-radius: 12px !important; }
.gallery-inner .gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 12px !important;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(46,90,76,0.35) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 12px !important;
}
.gallery-item:hover::after { opacity: 1; }

/* ===== BUTTON TEXT OVERFLOW FIX ===== */
.thm-btn { overflow: visible !important; }

/* Print cleanup */
@media print {
  .hero-video-bg, .hero-overlay, .sticky-cta-bar, .zh-sticky-cta { display: none !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .value-props { flex-direction: column; gap: 1rem; }
  .pathway-icon-container { height: 160px; }
  .gallery-inner .gallery-item { width: calc(33.333% - 12px) !important; }
}
@media (max-width: 575px) {
  .gallery-inner .gallery-item { width: calc(50% - 12px) !important; }
}
@media (max-width: 767px) {
  .es-hero { padding: 100px 16px 60px; min-height: 50vh; }
  .es-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero { padding: 100px 16px 50px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-es { padding: 50px 0; }
  .section-es h2 { font-size: 1.6rem; }
  .zh-sticky-cta { padding: 10px 0; }
  .zh-sticky-cta .d-none { display: none !important; }
}
