/*
Theme Name: Bramblewood Day Nursery
Theme URI: https://bramblewoodnursery.co.uk
Author: Saif ur Rehman
Author URI: https://takweendemo.com
Description: A bespoke, warm, and reassuring WordPress theme for Bramblewood Day Nursery. Designed with a calm, photo-first organic aesthetic, rich Lora & Nunito Sans typography, accessible color system, interactive gallery lightbox, and tour enquiry management.
Version: 1.0.0
Text Domain: bramblewood
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES (Light-Only Organic System)
   ========================================================================== */
:root {
  /* Brand Color Palette */
  --sage: #7C8B6F;         /* Primary — nav accents, borders, tags */
  --sage-dark: #4F5D45;    /* Primary Dark — headings, footer bg, dark sections */
  --sage-light: #A8B79B;   /* Primary Light — gradients, subtle badges */
  --cream: #FBF6EC;        /* Background (base) */
  --cream-deep: #F4ECDB;   /* Background (alt/deep) */
  --honey: #D98A50;        /* Secondary/Accent — CTAs, links, active states */
  --honey-dark: #B96F3B;   /* Accent Dark — hover states, eyebrow text, focus ring */
  --blush: #F1D9C8;        /* Surface accent — section backgrounds, icon fills */
  --text: #3A362E;         /* Text primary (AAA contrast on cream: 11.8:1) */
  --muted: #6E6A60;        /* Text secondary/muted (5.1:1 on white) */
  --border: #E4DCC8;       /* Borders, dividers */
  --white: #FFFFFF;        /* Surface (cards, forms) */

  /* Semantic State Colors */
  --success: #6B9B6E;      /* Form success */
  --error: #C4604A;        /* Form validation errors */
  --focus-ring: #B96F3B;   /* Focus visible indicator */
  --overlay: rgba(58, 54, 46, 0.78); /* Scrim overlay */

  /* Typography */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Font Sizes */
  --h1: clamp(2.2rem, 4.5vw, 3.4rem);
  --h2: clamp(1.7rem, 3.2vw, 2.3rem);
  --h3: 1.35rem;
  --h4: 1.15rem;
  --body-size: 1.0625rem; /* 17px base */
  --small-size: 0.9rem;
  --eyebrow-size: 0.75rem;

  /* Spacing & Layout */
  --container-max: 1180px;
  --container-pad: 28px;
  --section-pad: 88px;
  --section-pad-tight: 56px;
  --grid-gap: 32px;

  /* Borders & Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  /* Elevation & Shadows */
  --shadow-soft: 0 12px 32px -12px rgba(79, 93, 69, 0.25);
  --shadow-lift: 0 20px 44px -16px rgba(79, 93, 69, 0.35);
  --shadow-card-hover: 0 26px 50px -18px rgba(79, 93, 69, 0.40);
  --shadow-subtle: 0 4px 16px rgba(58, 54, 46, 0.06);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
  --transition-bounce: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-reveal: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  fill: currentColor;
  max-width: 100%;
}

a {
  color: var(--honey-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--honey);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1.25;
  margin-bottom: 0.6em;
}

h1 { font-size: var(--h1); letter-spacing: -0.01em; }
h2 { font-size: var(--h2); letter-spacing: -0.01em; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p {
  margin-bottom: 1.25em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.25em;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   3. ACCESSIBILITY & FOCUS
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--honey-dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  z-index: 99999;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-lift);
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--white);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */
.site-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container--narrow {
  max-width: 840px;
}

.container--wide {
  max-width: 1320px;
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

.section--tight {
  padding-top: var(--section-pad-tight);
  padding-bottom: var(--section-pad-tight);
}

.section--deep {
  background-color: var(--cream-deep);
}

.section--blush {
  background-color: var(--blush);
}

.section--white {
  background-color: var(--white);
}

.section--sage-dark {
  background-color: var(--sage-dark);
  color: var(--cream);
}

.section--sage-dark h1,
.section--sage-dark h2,
.section--sage-dark h3,
.section--sage-dark h4 {
  color: var(--white);
}

.section--sage-dark .muted-text {
  color: rgba(251, 246, 236, 0.82);
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--2-3 {
  grid-template-columns: 2fr 3fr;
}

.grid--3-2 {
  grid-template-columns: 3fr 2fr;
}

.grid-center-v {
  align-items: center;
}

/* ==========================================================================
   5. TYPOGRAPHY HELPERS & EYEBROWS
   ========================================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
}

.eyebrow--sage {
  color: var(--sage);
}

.eyebrow--white {
  color: var(--white);
}

.lead-text {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
}

.muted-text {
  color: var(--muted);
}

/* ==========================================================================
   6. BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), gap var(--transition-bounce);
}

.btn:hover {
  transform: translateY(-2px);
  gap: 14px;
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button (Honey with optimized contrast) */
.btn--primary {
  background: linear-gradient(135deg, #D98A50 0%, #B96F3B 100%);
  color: var(--white) !important;
  box-shadow: 0 8px 24px -6px rgba(185, 111, 59, 0.45);
  text-shadow: 0 1px 2px rgba(58, 54, 46, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #E0955E 0%, #A65F2F 100%);
  box-shadow: 0 12px 28px -6px rgba(185, 111, 59, 0.55);
}

/* Secondary Button (Sage) */
.btn--sage {
  background: linear-gradient(135deg, #7C8B6F 0%, #4F5D45 100%);
  color: var(--white) !important;
  box-shadow: 0 8px 24px -6px rgba(79, 93, 69, 0.4);
}

.btn--sage:hover {
  background: linear-gradient(135deg, #8A9A7C 0%, #43503A 100%);
  box-shadow: 0 12px 28px -6px rgba(79, 93, 69, 0.5);
}

/* Outline Button */
.btn--outline {
  background-color: transparent;
  color: var(--sage-dark) !important;
  border-color: var(--sage);
}

.btn--outline:hover {
  background-color: var(--sage);
  color: var(--white) !important;
  border-color: var(--sage);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--sage-dark) !important;
  border-color: var(--white);
}

/* Ghost Button */
.btn--ghost {
  background-color: transparent;
  color: var(--sage-dark);
  padding: 10px 18px;
}

.btn--ghost:hover {
  background-color: rgba(124, 139, 111, 0.12);
  color: var(--sage-dark);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   7. SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(251, 246, 236, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-subtle);
  background-color: rgba(251, 246, 236, 0.98);
}

/* Announcement / Top Notice Bar */
.top-notice-bar {
  background-color: var(--sage-dark);
  color: var(--cream);
  font-size: var(--small-size);
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
}

.top-notice-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.top-notice-bar a:hover {
  color: var(--blush);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

/* Brand Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sage-dark);
  text-decoration: none;
}

.logo-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  box-shadow: 0 4px 12px rgba(79, 93, 69, 0.25);
  flex-shrink: 0;
}

.logo-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.site-title-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-tagline-text {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey-dark);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  text-decoration: none;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--honey);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--sage-dark);
}

.nav-link:hover::after,
.nav-item.current-menu-item .nav-link::after,
.nav-item.current_page_item .nav-link::after {
  width: 100%;
}

.nav-item.current-menu-item .nav-link,
.nav-item.current_page_item .nav-link {
  color: var(--sage-dark);
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background-color: var(--cream-deep);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--sage-dark);
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(201, 215, 188, 0.45) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(241, 217, 200, 0.5) 0%, transparent 55%),
              var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  margin-bottom: 22px;
  line-height: 1.18;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: var(--blush);
  color: var(--honey-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: var(--honey-dark) !important;
  flex-shrink: 0;
  display: block;
}

.trust-badge-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1.25;
}

.trust-badge-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background-color: var(--white);
  border: 4px solid var(--white);
}

.hero-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background-color: var(--sage-light);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover .hero-image-wrapper img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  max-width: 280px;
}

.badge-avatar-group {
  display: flex;
  align-items: center;
}

.badge-avatar-group span {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--white);
  background-color: var(--sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: -8px;
}

.badge-avatar-group span:first-child {
  margin-left: 0;
  background-color: var(--honey);
}

.badge-avatar-group span:nth-child(2) {
  background-color: var(--sage-dark);
}

.badge-floating-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1.25;
}

/* ==========================================================================
   9. CARDS & PHOTO COMPONENTS
   ========================================================================== */
/* Standard Content Card */
.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--honey) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(124, 139, 111, 0.4);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--cream);
  color: var(--honey-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(58, 54, 46, 0.05);
}

.card-icon svg {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  fill: var(--honey-dark) !important;
  flex-shrink: 0;
  display: block;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-body {
  color: var(--muted);
  flex-grow: 1;
}

.card-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* Photo Card Component */
.photo-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.photo-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--sage-light);
}

.photo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-card:hover .photo-card-media img {
  transform: scale(1.05);
}

.photo-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(251, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(58, 54, 46, 0.1);
}

.photo-card-content {
  padding: 28px 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.photo-card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.photo-card-age {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--honey-dark);
  margin-bottom: 12px;
}

.photo-card-text {
  color: var(--muted);
  font-size: 0.96rem;
  flex-grow: 1;
}

/* ==========================================================================
   10. TIMELINE / DAILY RHYTHM COMPONENT
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    var(--honey) 0,
    var(--honey) 6px,
    transparent 6px,
    transparent 12px
  );
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background-color: var(--white);
  border: 4px solid var(--honey);
  box-shadow: 0 0 0 4px rgba(217, 138, 80, 0.2);
  flex-shrink: 0;
  margin-left: 21.5px;
  margin-top: 6px;
  z-index: 2;
}

.timeline-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  flex-grow: 1;
}

.timeline-time {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey-dark);
  margin-bottom: 6px;
  display: block;
}

.timeline-title {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ==========================================================================
   11. TESTIMONIALS COMPONENT
   ========================================================================== */
.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blush);
  position: absolute;
  top: 18px;
  right: 28px;
  pointer-events: none;
}

.testimonial-rating {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--honey) !important;
  margin-bottom: 18px !important;
}

.testimonial-rating svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  fill: var(--honey) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--sage-dark);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: var(--sage-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  color: var(--sage-dark);
  font-size: 0.98rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   12. GALLERY & LIGHTBOX COMPONENT
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}

.gallery-filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background-color: var(--cream-deep);
}

.gallery-filter-btn.is-active {
  background-color: var(--sage-dark);
  color: var(--white);
  border-color: var(--sage-dark);
  box-shadow: 0 4px 14px rgba(79, 93, 69, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--white);
  background-color: var(--sage-light);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 54, 46, 0.85) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: opacity var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
  opacity: 1;
}

.gallery-caption-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
}

.gallery-caption-category {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blush);
}

/* Interactive Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: var(--overlay);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  animation: lightboxPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes lightboxPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-media {
  position: relative;
  max-height: 70vh;
  background-color: #1A1815;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media img {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
}

.lightbox-info {
  padding: 20px 28px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 10;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: var(--white);
  transform: scale(1.08);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background-color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn { left: 16px; }
.lightbox-next-btn { right: 16px; }

/* ==========================================================================
   13. FORMS & INPUT CONTROLS
   ========================================================================== */
.form-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.form-label .required-mark {
  color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background-color: var(--cream);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background-color: var(--white);
  border-color: var(--sage);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: var(--white);
  border-color: var(--honey-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 111, 59, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Success Confirmation Box */
.form-confirm-box {
  display: none;
  background-color: rgba(107, 155, 110, 0.12);
  border: 2px solid var(--success);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 24px;
  color: var(--sage-dark);
}

.form-confirm-box.is-active {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: fadeIn 0.4s ease;
}

.confirm-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background-color: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   14. FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--sage);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sage-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--honey-dark);
  flex-shrink: 0;
  transition: transform var(--transition-smooth), background-color var(--transition-fast);
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--honey);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   15. SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--sage-dark);
  color: var(--cream);
  padding: 80px 0 32px;
  margin-top: auto;
  border-top: 4px solid var(--honey);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo .site-title-text {
  color: var(--white);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(251, 246, 236, 0.85);
  margin-bottom: 24px;
}

.footer-accreditation-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--honey);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(251, 246, 236, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(251, 246, 236, 0.88);
}

.footer-contact-item svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: var(--honey) !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  display: block !important;
}

.footer-contact-item a {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(251, 246, 236, 0.65);
}

.footer-bottom a {
  color: rgba(251, 246, 236, 0.75);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   16. SCROLL REVEAL / CONTENT VISIBILITY
   ========================================================================== */
.reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ==========================================================================
   17. REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html.js .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
/* Tablet (Max 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    max-width: 100%;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--2-3, .grid--3-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Nav Collapse Point (Max 860px) */
@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    background-color: var(--cream);
    padding: 32px var(--container-pad);
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-lift);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    display: none;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
    animation: slideDown 0.25s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-actions .btn {
    display: none;
  }

  .main-nav .btn--mobile-cta {
    display: flex;
    width: 100%;
    margin-top: 12px;
  }
}

/* Mobile (Max 600px) */
@media (max-width: 600px) {
  :root {
    --section-pad: 64px;
    --section-pad-tight: 40px;
    --container-pad: 20px;
  }

  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 28px 20px;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    margin-left: 9.5px;
  }

  .timeline-item {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
