/*
 Theme Name:   Khyati Dental Care
 Theme URI:    https://khyatidentalcare.com
 Description:  Child theme of Twenty Twenty-Five for Khyati Dental Care London.
 Author:       Khyati Dental Care
 Template:     twentytwentyfive
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 Text Domain:  khyati-dental-care
*/

/* ═══════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   1.  TT25 Parent Theme Resets
   2.  CSS Variables
   3.  Reset & Base
   4.  Typography
   5.  Utility Classes
   6.  Buttons
   7.  Navigation  ← FIXED: full nav with links + mobile drawer
   8.  Hero Section
   9.  About Section
   10. Services Section
   11. Why Us Section
   12. Compliance Bar
   13. Testimonials Section
   14. Contact / Booking Section
   15. Footer
   16. Scroll Animations
   17. Responsive – 1024px
   18. Responsive – 768px
   19. Responsive – 480px
   20. WordPress Admin Bar Offset
   21. Accessibility
   22. Print Styles
════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────
   1. TT25 PARENT THEME RESETS
   Neutralise Twenty Twenty-Five global block styles so our
   custom front-page.php design takes full control.
   ───────────────────────────────────────────────────────────── */

/* Kill TT25 body spacing */
body.kdc-front-page {
  margin: 0 !important;
  padding: 0 !important;
}

/* TT25 wraps everything in .wp-site-blocks */
.kdc-front-page .wp-site-blocks {
  padding-top: 0    !important;
  padding-bottom: 0 !important;
  gap: 0            !important;
}

/* TT25 link colour overrides */
.kdc-front-page a {
  color: inherit;
  text-decoration: none;
}

/* TT25 heading colours */
.kdc-front-page h1,
.kdc-front-page h2,
.kdc-front-page h3,
.kdc-front-page h4,
.kdc-front-page h5,
.kdc-front-page h6 {
  color: inherit;
}

/* TT25 block group padding */
.kdc-front-page .wp-block-group,
.kdc-front-page .wp-block-post-content,
.kdc-front-page .entry-content {
  margin: 0  !important;
  padding: 0 !important;
}

/* Hide TT25 default template header/footer on front page */
.kdc-front-page .wp-site-blocks > header,
.kdc-front-page .wp-site-blocks > footer,
.kdc-front-page .site-header,
.kdc-front-page .site-footer {
  display: none !important;
}


/* ─────────────────────────────────────────────────────────────
   2. CSS VARIABLES
   ───────────────────────────────────────────────────────────── */
:root {
  --primary:        #1a5f7a;
  --primary-light:  #2a8fad;
  --primary-dark:   #134a5e;
  --accent:         #57c4e5;
  --accent-light:   #9adff2;
  --gold:           #c9a84c;
  --dark:           #0d2b38;
  --text:           #2e3c43;
  --text-light:     #4a5f6a;
  --muted:          #6b8491;
  --light-bg:       #f4f8fb;
  --lighter-bg:     #f8fbfd;
  --white:          #ffffff;
  --border:         #d8eaf2;
  --border-light:   #eaf4f9;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --shadow-sm:      0 2px 8px  rgba(26, 95, 122, 0.08);
  --shadow:         0 4px 24px rgba(26, 95, 122, 0.10);
  --shadow-md:      0 8px 32px rgba(26, 95, 122, 0.14);
  --shadow-lg:      0 16px 48px rgba(26, 95, 122, 0.18);
  --transition:     0.25s ease;
  --nav-height:     72px;
}


/* ─────────────────────────────────────────────────────────────
   3. RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }


/* ─────────────────────────────────────────────────────────────
   4. TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.25; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.35; }
h1, h2, h3, h4 { font-weight: 700; color: var(--dark); }
p  { color: var(--muted); line-height: 1.8; }
strong { color: var(--text); font-weight: 600; }

.font-display,
.section-title,
.about-content h2,
#hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
}


/* ─────────────────────────────────────────────────────────────
   5. UTILITY CLASSES
   ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }


/* ─────────────────────────────────────────────────────────────
   6. BUTTONS
   ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(26, 95, 122, 0.30);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 95, 122, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}


/* ─────────────────────────────────────────────────────────────
   7. NAVIGATION
   ───────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

/* Nav inner: constrains logo + links + CTA to max 1200px, centred */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-height);
}

#site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-logo-tag {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  display: inline-block;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light) !important;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary) !important;
  background: var(--light-bg);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Right side: CTA + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
}

/* Hamburger Button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-hamburger:hover { background: var(--light-bg); }

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 24px 5%;
  z-index: 9998;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.25s ease;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.nav-drawer ul li { border-bottom: 1px solid var(--border-light); }

.nav-drawer ul li a {
  display: block;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: color var(--transition);
}

.nav-drawer ul li a:hover { color: var(--primary) !important; }


/* ─────────────────────────────────────────────────────────────
   8. HERO SECTION
   ───────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 5% 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
#hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(87, 196, 229, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--accent-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

#hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  margin-bottom: 24px;
}

#hero h1 em {
  font-style: normal;
  color: var(--accent);
}

#hero > .hero-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-stat sup {
  font-size: 1rem;
  vertical-align: super;
}

.hero-stat span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
  display: block;
}


/* ─────────────────────────────────────────────────────────────
   9. ABOUT SECTION
   ───────────────────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder svg {
  width: 120px;
  height: 120px;
  fill: rgba(255, 255, 255, 0.25);
}

.about-img-hint {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 1rem;
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

.about-img-hint strong { color: rgba(255, 255, 255, 0.9); }

.about-badge {
  position: absolute;
  bottom: 28px;
  right: -24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 140px;
}

.about-badge strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-size: 1rem;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.about-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.credential-pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}


/* ─────────────────────────────────────────────────────────────
   10. SERVICES SECTION
   ───────────────────────────────────────────────────────────── */
#services {
  padding: 100px 0;
  background: var(--lighter-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img { transform: scale(1.06); }

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13, 43, 56, 0.45));
  pointer-events: none;
}

.service-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.service-content h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-content p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.service-price {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.service-link:hover {
  color: var(--primary-light) !important;
  gap: 10px;
}


/* ─────────────────────────────────────────────────────────────
   11. WHY US SECTION
   ───────────────────────────────────────────────────────────── */
#why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-item {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--lighter-bg);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.why-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.why-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-item:hover::before { transform: scaleX(1); }

.why-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  transition: color var(--transition);
}

.why-item:hover .why-num { color: var(--accent-light); }

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ─────────────────────────────────────────────────────────────
   12. COMPLIANCE BAR
   ───────────────────────────────────────────────────────────── */
#compliance {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  padding: 24px 5%;
}

.compliance-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
}

.compliance-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   13. TESTIMONIALS SECTION
   ───────────────────────────────────────────────────────────── */
#testimonials {
  padding: 100px 0;
  background: var(--light-bg);
}

/* Slider controls (prev / next + dots) */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.t-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.t-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}

.t-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Testimonial grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity 0.3s ease;
}

/* Cards hidden by JS pager */
.testimonials-grid .testimonial-card.hidden {
  display: none;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: var(--border);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Card header: avatar + name + source */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-location {
  font-size: 1rem;
  color: var(--muted);
  display: block;
}

.testimonial-source-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.source-label-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--light-bg);
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* Stars */
.testimonial-stars {
  display: flex;
  gap: 3px;
  font-size: 1.1rem;
  color: #f4b942;
}

.star-empty { color: #e0e0e0; }

/* Review text */
.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.8;
  border: none;
  padding: 0;
  margin: 0;
  font-style: normal;
}


/* ─────────────────────────────────────────────────────────────
   14. CONTACT / BOOKING SECTION
   ───────────────────────────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--light-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.contact-item div strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-item div a,
.contact-item div span {
  font-size: 0.95rem;
  color: var(--text) !important;
  text-decoration: none !important;
}

.contact-item div a:hover { color: var(--primary) !important; }

/* Booking Form */
.contact-form-wrap {
  background: var(--lighter-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow);
}

.booking-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label span[aria-hidden] { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb9c0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e05a5a;
  box-shadow: 0 0 0 3px rgba(224, 90, 90, 0.10);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b8491' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 1rem;
  color: #c0392b;
  display: none;
}

.field-error.visible { display: block; }

/* GDPR */
.form-gdpr { gap: 10px; }

.gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400 !important;
  color: var(--muted) !important;
}

.gdpr-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.gdpr-label span { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.gdpr-label span a { color: var(--primary) !important; text-decoration: underline !important; }

/* Submit button */
.form-submit-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-submit-btn.loading .btn-text { opacity: 0; }
.form-submit-btn.loading .btn-loader { display: block; position: absolute; }

/* Form status message */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-status.success {
  display: block;
  background: #eafaf1;
  color: #1e7e34;
  border: 1px solid #b2dfdb;
}

.form-status.error {
  display: block;
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}


/* ─────────────────────────────────────────────────────────────
   15. FOOTER
   ───────────────────────────────────────────────────────────── */
#site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  margin-bottom: 20px;
}

/* Dedicated icon class for footer — independent of .nav-logo-icon */
.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2a8fad, #57c4e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-icon svg {
  width: 22px;
  height: 22px;
}

.footer-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.60);
  max-width: 300px;
  margin-bottom: 16px;
}

.footer-gdc-notice {
  font-size: 0.76rem !important;
  color: rgba(255, 255, 255, 0.40) !important;
  line-height: 1.6 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.60) !important;
  text-decoration: none !important;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-col a:hover {
  color: var(--accent) !important;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.40);
}


/* ─────────────────────────────────────────────────────────────
   16. SCROLL ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}

.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ─────────────────────────────────────────────────────────────
   17. RESPONSIVE — TABLET (max 1024px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Nav: hide desktop links, show hamburger */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-inner { padding: 0 4%; }

  /* Grids: 2-col */
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid         { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* About: stack */
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .about-badge  { right: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─────────────────────────────────────────────────────────────
   18. RESPONSIVE — MOBILE (max 768px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  section, #about, #services, #why-us, #testimonials, #contact {
    padding: 72px 0;
  }

  #hero {
    padding: calc(var(--nav-height) + 32px) 5% 56px;
  }

  .hero-stats  { gap: 24px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }

  .services-grid     { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }

  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .compliance-bar { gap: 20px; justify-content: flex-start; }

  .about-badge { position: static; margin-top: 16px; display: inline-block; }
}

/* ─────────────────────────────────────────────────────────────
   19. RESPONSIVE — SMALL MOBILE (max 480px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .nav-logo-tag { display: none; }

  #hero h1 { font-size: 2rem; }

  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 1.6rem; }

  .section-title { font-size: 1.7rem; }

  .t-nav-btn { width: 36px; height: 36px; font-size: 1rem; }
}


/* ─────────────────────────────────────────────────────────────
   20. WORDPRESS ADMIN BAR OFFSET
   When logged into WP, shift fixed nav below the admin bar
   ───────────────────────────────────────────────────────────── */
.admin-bar #site-nav {
  top: 32px; /* WP admin bar desktop height */
}

.admin-bar .nav-drawer {
  top: calc(var(--nav-height) + 32px);
}

/* WP admin bar collapses to 46px on ≤782px */
@media (max-width: 782px) {
  .admin-bar #site-nav     { top: 46px; }
  .admin-bar .nav-drawer   { top: calc(var(--nav-height) + 46px); }
}

@media (max-width: 600px) {
  .admin-bar #site-nav     { top: 0; } /* WP hides admin bar at 600px */
  .admin-bar .nav-drawer   { top: var(--nav-height); }
}


/* ─────────────────────────────────────────────────────────────
   21. ACCESSIBILITY
   ───────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 99999;
  text-decoration: none !important;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }


/* ─────────────────────────────────────────────────────────────
   22. PRINT STYLES
   ───────────────────────────────────────────────────────────── */
@media print {
  #site-nav,
  .nav-drawer,
  .hero-buttons,
  .booking-form,
  .t-nav-btn,
  .testimonials-dots,
  #compliance { display: none !important; }

  #hero {
    background: var(--dark) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    min-height: auto;
    padding: 40px 5%;
  }

  body { font-size: 12pt; }
  a::after { content: ' (' attr(href) ')'; font-size: 10pt; }
}
