@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0f2744;
  --teal: #1a6b72;
  --teal-light: #2a8f99;
  --cream: #f8f4ef;
  --warm-white: #fdfbf8;
  --gold: #c9a84c;
  --text: #1c1c1c;
  --muted: #626975;
  --border: #e8e0d5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--warm-white); color: var(--text); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 60px; display: flex; align-items: center; justify-content: space-between;
  height: 72px; transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(15,39,68,0.08); }
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 72px; width: auto; display: block; flex-shrink: 0; }
.nav-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.nav-logo-text span { font-size: 0.82rem; font-weight: 400; color: var(--muted); }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.84rem; font-weight: 500; color: var(--navy); text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { background: var(--teal) !important; color: white !important; padding: 9px 20px; border-radius: 4px; font-size: 0.81rem !important; font-weight: 600 !important; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--navy) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; display: block; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--warm-white); border-bottom: 1px solid var(--border); padding: 24px 32px; z-index: 99; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(15,39,68,0.1); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--navy); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border: none; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 140px 80px 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 50%, rgba(26,107,114,0.25) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(201,168,76,0.1) 0%, transparent 40%); }
.page-hero-content { position: relative; z-index: 1; max-width: 640px; }
.page-hero .section-tag { color: #6dd8e0; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 400; color: white; line-height: 1.1; margin-top: 12px; }
.page-hero h1 em { font-style: italic; color: #6dd8e0; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-top: 16px; font-weight: 300; max-width: 520px; }

/* TYPOGRAPHY UTILS */
.section-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; color: var(--navy); line-height: 1.15; }
.section-title em { font-style: italic; color: var(--teal); }

/* BUTTONS */
.btn-primary { background: var(--teal); color: white; padding: 13px 30px; border-radius: 4px; text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.25s; border: 2px solid var(--teal); display: inline-block; }
.btn-primary:hover { background: transparent; color: var(--teal); }
.btn-navy { background: var(--navy); color: white; padding: 13px 30px; border-radius: 4px; text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.25s; border: 2px solid var(--navy); display: inline-block; }
.btn-navy:hover { background: transparent; color: var(--navy); }

/* CTA BANNER */
.cta-banner { padding: 72px 80px; background: var(--teal); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 400; color: white; line-height: 1.2; }
.cta-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-top: 8px; font-weight: 300; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-white { background: white; color: var(--teal); padding: 13px 32px; border-radius: 4px; text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.25s; white-space: nowrap; }
.btn-white:hover { background: var(--navy); color: white; }
.btn-outline-white { background: transparent; color: white; padding: 13px 32px; border-radius: 4px; text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; border: 2px solid rgba(255,255,255,0.5); transition: all 0.25s; white-space: nowrap; }
.btn-outline-white:hover { border-color: white; }

/* FOOTER */
footer { background: var(--navy); padding: 64px 80px 40px; color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { margin-bottom: 14px; }
.footer-desc { font-size: 0.84rem; line-height: 1.7; }
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; }
.footer-contact a:hover { color: white; }
.footer-col h4 { color: white; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.84rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }

/* RESPONSIVE */

/* ═══════════════════════════════════════════════════
   GLOBAL TOUCH & MOBILE BASE
   ═══════════════════════════════════════════════════ */
a, button, [role="button"] { touch-action: manipulation; }
input, select, textarea { touch-action: manipulation; font-size: max(16px, 1em); }
* { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════
   TABLET  ≤ 1024px
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .page-hero { padding: 120px 40px 64px; }
  .cta-banner { padding: 60px 40px; }
  footer { padding: 56px 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════════════
   MOBILE  ≤ 768px
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 96px 24px 48px; }
  .page-hero h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.2; }
  .page-hero-content p { font-size: 0.95rem; }

  .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .section-tag { font-size: 0.68rem; }

  footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-social { justify-content: center; }

  .cta-banner { padding: 44px 24px; flex-direction: column; text-align: center; gap: 20px; }
  .cta-banner h2 { font-size: 1.65rem; }
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-actions a { width: 100%; max-width: 280px; text-align: center; }

  .float-contact { bottom: 14px; right: 14px; gap: 8px; }
  .float-btn { padding: 10px 14px; font-size: 0.8rem; }
}

/* ═══════════════════════════════════════════════════
   SMALL MOBILE  ≤ 480px
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .page-hero { padding: 86px 16px 40px; }
  .page-hero h1 { font-size: 1.65rem; }
  .page-hero-content p { font-size: 0.88rem; }

  footer { padding: 40px 16px 28px; }
  .cta-banner { padding: 36px 16px; }
  .cta-banner h2 { font-size: 1.4rem; }

  .btn-primary, .btn-navy, .btn-white { padding: 11px 22px; font-size: 0.82rem; width: 100%; text-align: center; display: block; }
  .cta-actions a { max-width: none; }

  .float-btn span:not(.float-icon) { display: none; }
  .float-btn { border-radius: 50%; width: 48px; height: 48px; padding: 0; justify-content: center; }
  .float-contact { bottom: 12px; right: 12px; }
}

/* ── FLOATING CONTACT BUTTONS ── */
.float-contact { position:fixed; bottom:28px; right:28px; display:flex; flex-direction:column; gap:10px; z-index:997; }
.float-btn { display:flex; align-items:center; gap:10px; padding:13px 20px; border-radius:50px; text-decoration:none; font-family:'DM Sans',sans-serif; font-size:0.88rem; font-weight:700; box-shadow:0 6px 24px rgba(15,39,68,0.22); transition:transform 0.2s,box-shadow 0.2s; white-space:nowrap; }
.float-btn:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(15,39,68,0.3); }
.float-btn-call { background:var(--navy); color:white; }
.float-btn-text { background:var(--teal); color:white; }
.float-btn svg { flex-shrink:0; }

/* Style the Google Translate dropdown */

/* ── Footer Cities ── */
.footer-cities { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; margin-bottom: 24px; }
.footer-cities-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.footer-cities-list { display: flex; flex-wrap: wrap; gap: 6px 0; }
.footer-cities-list a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; padding-right: 10px; }
.footer-cities-list a::after { content: "·"; margin-left: 10px; color: rgba(255,255,255,0.15); }
.footer-cities-list a:last-child::after { display: none; }
.footer-cities-list a:hover { color: rgba(255,255,255,0.7); }
/* ── Footer Social ── */
.footer-social { display: flex; gap: 12px; align-items: center; }
.social-icon { color: rgba(255,255,255,0.45); transition: color 0.2s; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); }
.social-icon:hover { color: white; border-color: rgba(255,255,255,0.4); }

@media(max-width:640px){}

@media(max-width:640px){}

.lang-widget{position:fixed;bottom:28px;left:28px;z-index:998;}
.lang-toggle-btn{background:white;border:1.5px solid var(--border);border-radius:50px;padding:9px 16px;font-size:0.78rem;font-weight:600;color:var(--navy);cursor:pointer;display:flex;align-items:center;gap:7px;box-shadow:0 3px 14px rgba(15,39,68,0.13);transition:all 0.2s;font-family:'DM Sans',sans-serif;}
.lang-toggle-btn:hover{border-color:var(--teal);color:var(--teal);}
.lang-dropdown{position:absolute;bottom:calc(100% + 8px);left:0;background:white;border:1.5px solid var(--border);border-radius:12px;padding:14px;box-shadow:0 8px 28px rgba(15,39,68,0.15);min-width:180px;display:none;}
.lang-dropdown.open{display:block;}
.lang-dropdown-title{font-size:0.7rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--teal);margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--border);}
/* Style the Google Translate dropdown */
.lang-dropdown .goog-te-gadget-simple{border:1px solid var(--border)!important;border-radius:6px!important;padding:4px 8px!important;font-size:0.84rem!important;}
.goog-te-banner-frame{display:none!important;}
body{top:0!important;}
@media(max-width:640px){.lang-widget{bottom:14px;left:14px;}.lang-toggle-btn{padding:8px 13px;font-size:0.73rem;}}


/* ═══════════════════════════════════════════════════
   TABLET (768px - 1024px) ENHANCEMENTS
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 60px; }
  .hero-content { padding: 100px 40px 60px; }
  .hero-h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { border-radius: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: 1fr; gap: 24px; }
  .ins-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════
   MOBILE (max 768px) ENHANCEMENTS
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #hero { grid-template-columns: 1fr; padding-bottom: 48px; }
  .hero-content { padding: 90px 24px 48px; text-align: left; }
  .hero-h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.1; }
  .hero-sub { font-size: 0.9rem; max-width: 100%; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns a { width: 100%; text-align: center; }
  .hero-visual { display: none; }
  
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-points { gap: 28px; }
  .why-point { gap: 12px; }
  .why-point-icon { width: 44px; height: 44px; font-size: 1.3rem; flex-shrink: 0; }
  
  .services-grid, .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-big-grid { grid-template-columns: 1fr; }
  
  .doc-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  
  .ins-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  
  .quick-links { flex-wrap: wrap; gap: 8px; padding: 16px 20px; overflow-x: auto; }
  .quick-chip { font-size: 0.75rem; padding: 6px 12px; white-space: nowrap; }
  
  .articles-grid { grid-template-columns: 1fr !important; }
  .section-header { flex-direction: column; gap: 4px; }
  .section-count { display: none; }
  
  .article-layout { grid-template-columns: 1fr !important; padding: 24px !important; }
  .article-title { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
  
  .loc-grid { grid-template-columns: 1fr; }
  
  .float-contact { bottom: 16px; right: 16px; gap: 8px; }
  
  .edu-search { padding: 24px 20px; }
  .search-wrap { max-width: 100%; }
  
  .news-marquee-content { font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════════════
   SMALL MOBILE (max 480px) ENHANCEMENTS
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-content { padding: 80px 16px 40px; }
  .hero-h1 { font-size: 1.8rem; }
  .hero-badge { font-size: 0.65rem; padding: 5px 10px; }
  
  .why-visual { padding: 28px 20px; }
  .why-visual h3 { font-size: 1.1rem; }
  
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
  
  .article-layout { padding: 16px !important; }
  .article-body h2 { font-size: 1.3rem !important; }
  .article-body p, .article-body li { font-size: 0.9rem !important; }
  
  .quick-links { padding: 12px 16px; }
  
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-cities-list { font-size: 0.75rem; }
  
  .cta-banner h2 { font-size: 1.3rem; }
}


/* ═══════════════════════════════════════════════════
   WCAG 2.1/2.2 AA — FOCUS, CONTRAST, ACCESSIBILITY
═══════════════════════════════════════════════════ */

/* 2.4.7 Focus Visible — minimum 3px contrast focus ring */
*:focus-visible {
  outline: 3px solid #1a6b72;
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #1a6b72;
  outline-offset: 3px;
}
/* High-contrast focus for dark backgrounds */
.hero-content a:focus-visible,
footer a:focus-visible,
.float-btn:focus-visible {
  outline-color: #6dd8e0;
}

/* 2.5.3 Touch target minimum 44×44px */
.float-btn { min-width: 44px; min-height: 44px; }
.hamburger { min-width: 44px; min-height: 44px; }
.quick-chip { min-height: 44px; display: inline-flex; align-items: center; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* 1.4.4 Text resize — no fixed pixel font sizes that break at 200% zoom */
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }

/* 1.4.12 Text spacing */
p, li, h1, h2, h3, h4 { 
  line-height: max(1.5, 1.5em); 
  letter-spacing: normal; 
  word-spacing: normal; 
}

/* 1.4.3 Contrast — muted text minimum 4.5:1 */
.card-excerpt, .article-body p, .article-body li { color: #4b5563; }
.hero-sub { color: rgba(255,255,255,0.80); }

/* 2.4.11 Focus not obscured — ensure focus ring not hidden by sticky nav */
:target { scroll-margin-top: 80px; }

/* Screen reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
