/*
Theme Name:  Dentistry 442
Theme URI:   https://dentistry442.com
Author:      Dentistry 442
Author URI:  https://dentistry442.com
Description: Premium private dental practice theme for Dentistry 442, Wardle, Rochdale. Built for local SEO dominance across Greater Manchester.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License:     Proprietary
Text Domain: dentistry442
Tags:        dental, healthcare, local-seo, one-page, custom-menu, featured-images, full-width-template, custom-logo
*/

/* =========================================================================
   DESIGN TOKEN SYSTEM — CSS CUSTOM PROPERTIES
   ========================================================================= */

:root {
  /* ── Brand Colours ── */
  --navy:          #0a1628;
  --navy-80:       rgba(10, 22, 40, 0.80);
  --navy-90:       rgba(10, 22, 40, 0.90);
  --navy-95:       rgba(10, 22, 40, 0.95);
  --teal:          #0d9488;
  --teal-light:    #14b8a6;
  --teal-dark:     #0a7c71;
  --teal-10:       rgba(13, 148, 136, 0.10);
  --teal-20:       rgba(13, 148, 136, 0.20);
  --gold:          #d4a853;
  --gold-light:    #e8c47a;
  --gold-dark:     #b8902f;
  --cream:         #faf8f5;
  --cream-dark:    #f0ece4;

  /* ── Neutral Palette ── */
  --white:         #ffffff;
  --grey-50:       #f9fafb;
  --grey-100:      #f3f4f6;
  --grey-200:      #e5e7eb;
  --grey-300:      #d1d5db;
  --grey-400:      #9ca3af;
  --grey-500:      #6b7280;
  --grey-600:      #4b5563;
  --grey-700:      #374151;
  --grey-800:      #1f2937;
  --grey-900:      #111827;
  --black:         #000000;

  /* ── Semantic Colours ── */
  --text-primary:   #0a1628;
  --text-secondary: #4b5563;
  --text-muted:     #6b7280;
  --text-light:     #9ca3af;
  --text-inverse:   #ffffff;
  --text-gold:      #d4a853;

  --bg-primary:     #ffffff;
  --bg-secondary:   #faf8f5;
  --bg-dark:        #0a1628;
  --bg-card:        #ffffff;

  --border-light:   #e5e7eb;
  --border-medium:  #d1d5db;
  --border-dark:    #374151;

  --success:        #10b981;
  --warning:        #f59e0b;
  --error:          #ef4444;
  --info:           #3b82f6;

  /* ── Typography ── */
  --font-heading:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'Courier New', Courier, monospace;

  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;

  /* Fluid type scale — clamp(min, preferred, max) */
  --text-xs:       clamp(0.75rem,  0.7rem  + 0.2vw,  0.875rem);
  --text-sm:       clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base:     clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:       clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl:       clamp(1.25rem,  1.1rem  + 0.75vw, 1.5rem);
  --text-2xl:      clamp(1.5rem,   1.25rem + 1.25vw, 2rem);
  --text-3xl:      clamp(1.875rem, 1.5rem  + 1.875vw, 2.5rem);
  --text-4xl:      clamp(2.25rem,  1.75rem + 2.5vw,  3.5rem);
  --text-5xl:      clamp(2.75rem,  2rem    + 3.75vw, 4.5rem);
  --text-6xl:      clamp(3.5rem,   2.5rem  + 5vw,    6rem);

  --line-tight:    1.2;
  --line-snug:     1.35;
  --line-normal:   1.6;
  --line-relaxed:  1.75;

  --letter-tight:  -0.03em;
  --letter-normal: -0.01em;
  --letter-wide:   0.05em;
  --letter-wider:  0.1em;

  /* ── Spacing Scale ── */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;
  --space-40:   10rem;
  --space-48:   12rem;

  /* ── Layout ── */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1280px;
  --container-2xl:  1400px;
  --container-pad:  clamp(1rem, 4vw, 2rem);

  --header-h:       80px;
  --header-h-scroll: 64px;

  /* ── Border Radius ── */
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     16px;
  --radius-2xl:    24px;
  --radius-3xl:    32px;
  --radius-full:   9999px;

  /* ── Shadows ── */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:  0 16px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-2xl: 0 32px 96px rgba(0,0,0,0.14), 0 16px 40px rgba(0,0,0,0.08);
  --shadow-teal: 0 4px 24px rgba(13,148,136,0.30);
  --shadow-gold: 0 4px 24px rgba(212,168,83,0.30);
  --shadow-navy: 0 4px 24px rgba(10,22,40,0.40);
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.06);

  /* ── Transitions ── */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  --transition-base:   all var(--duration-base) var(--ease-out);
  --transition-colour: color var(--duration-fast) var(--ease-out),
                       background-color var(--duration-fast) var(--ease-out),
                       border-color var(--duration-fast) var(--ease-out);
  --transition-transform: transform var(--duration-base) var(--ease-out);
  --transition-shadow:    box-shadow var(--duration-base) var(--ease-out);

  /* ── Z-index Layers ── */
  --z-below:     -1;
  --z-base:       0;
  --z-above:      1;
  --z-dropdown:  10;
  --z-sticky:    20;
  --z-overlay:   30;
  --z-modal:     40;
  --z-toast:     50;
  --z-fab:       60;
  --z-tooltip:   70;

  /* ── Gradients ── */
  --gradient-navy:        linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
  --gradient-teal:        linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  --gradient-gold:        linear-gradient(135deg, #b8902f 0%, #d4a853 50%, #e8c47a 100%);
  --gradient-hero:        linear-gradient(160deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.70) 60%, rgba(13,148,136,0.30) 100%);
  --gradient-navy-teal:   linear-gradient(135deg, #0a1628 0%, #0d4a46 50%, #0d9488 100%);
  --gradient-mesh:        radial-gradient(ellipse at 20% 50%, rgba(13,148,136,0.15) 0%, transparent 60%),
                          radial-gradient(ellipse at 80% 20%, rgba(212,168,83,0.10) 0%, transparent 60%),
                          radial-gradient(ellipse at 50% 80%, rgba(10,22,40,0.05) 0%, transparent 60%);
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--line-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Reduce motion for users who prefer it */
@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;
  }
}

/* =========================================================================
   TYPOGRAPHY — BASE
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--line-tight);
  letter-spacing: var(--letter-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: var(--transition-colour);
}

a:hover,
a:focus-visible {
  color: var(--teal-dark);
  text-decoration: underline;
}

strong, b { font-weight: var(--fw-semibold); }
em, i     { font-style: italic; }

small { font-size: var(--text-sm); }

blockquote {
  border-left: 4px solid var(--teal);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--teal-10);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

blockquote cite {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: var(--fw-medium);
  color: var(--teal);
}

ul, ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

ul { list-style: disc; }
ol { list-style: decimal; }

li {
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
}

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

hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-8) 0;
}

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

figure {
  margin: 0;
}

figcaption {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-2);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--fw-semibold);
  background: var(--grey-100);
  border-bottom: 2px solid var(--border-medium);
}

td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

tr:last-child td { border-bottom: none; }

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  color: var(--navy);
}

pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: var(--grey-900);
  color: var(--grey-100);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--space-8) 0;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* =========================================================================
   ACCESSIBILITY
   ========================================================================= */

/* Skip to main content */
.d442-skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  background: var(--teal);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  transition: top var(--duration-fast) var(--ease-out);
}

.d442-skip-link:focus {
  top: 0;
  outline: none;
  color: var(--white);
  text-decoration: none;
}

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

/* Focus visible — all interactive elements */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Remove focus outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
  outline: none;
}

/* Buttons: suppress outline and box-shadow on mouse click; restore for keyboard only */
.d442-btn:focus {
  outline: none;
  box-shadow: none;
}
.d442-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--teal);
}

/* =========================================================================
   LAYOUT — CONTAINER
   ========================================================================= */

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

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--2xl { max-width: var(--container-2xl); }
.container--full { max-width: none; }

/* =========================================================================
   BUTTONS
   ========================================================================= */

.d442-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-base);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  outline: none;
}

.d442-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast) var(--ease-out);
  border-radius: inherit;
  pointer-events: none;
}

.d442-btn:hover::after  { background: rgba(255,255,255,0.08); }
.d442-btn:active::after { background: rgba(0,0,0,0.08); }

/* Teal (primary CTA) */
.d442-btn--teal {
  background: var(--gradient-teal);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-teal);
}

.d442-btn--teal:hover {
  box-shadow: 0 8px 32px rgba(13,148,136,0.40);
  color: var(--white);
  text-decoration: none;
}


/* Navy (secondary) */
.d442-btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-navy);
}

.d442-btn--navy:hover {
  background: #152035;
  color: var(--white);
  text-decoration: none;
}

/* Gold (accent) */
.d442-btn--gold {
  background: var(--gradient-gold);
  color: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.d442-btn--gold:hover {
  box-shadow: 0 8px 32px rgba(212,168,83,0.40);
  color: var(--navy);
  text-decoration: none;
}

/* Outline teal */
.d442-btn--outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.d442-btn--outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}

/* Outline white (on dark backgrounds) */
.d442-btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.70);
}

.d442-btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  text-decoration: none;
}

/* Outline navy */
.d442-btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.d442-btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* Ghost */
.d442-btn--ghost {
  background: transparent;
  color: var(--teal);
  border-color: transparent;
  padding-inline: var(--space-4);
}

.d442-btn--ghost:hover {
  background: var(--teal-10);
  color: var(--teal-dark);
  text-decoration: none;
}

/* Sizes */
.d442-btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

.d442-btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  margin-right: 10px !important;
}

.d442-btn--xl {
  padding: var(--space-5) var(--space-12);
  font-size: var(--text-xl);
  border-width: 2.5px;
}

.d442-btn--full { width: 100%; }

.d442-btn--icon {
  padding: var(--space-3);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
}

/* Loading state */
.d442-btn--loading {
  pointer-events: none;
  opacity: 0.75;
}

.d442-btn--loading::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: d442-spin 0.7s linear infinite;
  margin-right: var(--space-2);
}

@keyframes d442-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================================
   FORMS
   ========================================================================= */

.d442-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.d442-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.d442-label--required::after {
  content: ' *';
  color: var(--error);
}

.d442-input,
.d442-textarea,
.d442-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}

.d442-input:hover,
.d442-textarea:hover,
.d442-select:hover {
  border-color: var(--teal-light);
}

.d442-input:focus,
.d442-textarea:focus,
.d442-select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-20);
}

.d442-input::placeholder,
.d442-textarea::placeholder {
  color: var(--text-light);
}

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

.d442-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

/* Input with icon */
.d442-input-wrap {
  position: relative;
}

.d442-input-wrap .d442-input-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-400);
  pointer-events: none;
}

.d442-input-wrap .d442-input { padding-left: var(--space-10); }

/* Checkbox & Radio */
.d442-checkbox-wrap,
.d442-radio-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.d442-checkbox,
.d442-radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
}

.d442-radio { border-radius: 50%; }

.d442-checkbox:checked,
.d442-radio:checked {
  background: var(--teal);
  border-color: var(--teal);
}

.d442-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.d442-radio:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--white);
  border-radius: 50%;
}

.d442-checkbox-label,
.d442-radio-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--line-normal);
  cursor: pointer;
}

/* Form error states */
.d442-input.is-invalid,
.d442-select.is-invalid,
.d442-textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.d442-form-error {
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: var(--space-1);
}

.d442-form-success {
  font-size: var(--text-sm);
  color: var(--success);
  font-weight: var(--fw-medium);
  text-align: center;
  padding: var(--space-4);
  background: rgba(16,185,129,0.10);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

/* GDPR consent */
.d442-gdpr {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-3);
  line-height: var(--line-relaxed);
}

.d442-gdpr a {
  color: var(--teal);
  text-decoration: underline;
}

/* =========================================================================
   CARDS
   ========================================================================= */

.d442-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

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

.d442-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.d442-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.d442-card:hover .d442-card__image img {
  transform: scale(1.05);
}

.d442-card__body {
  padding: var(--space-6);
}

.d442-card__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--teal-10);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.d442-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--line-snug);
}

.d442-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  margin-bottom: var(--space-4);
}

.d442-card__price {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--teal);
  margin-bottom: var(--space-4);
}

.d442-card__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.d442-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--teal);
  text-decoration: none;
  transition: var(--transition-colour);
}

.d442-card__link:hover {
  color: var(--teal-dark);
  gap: var(--space-3);
  text-decoration: none;
}

.d442-card__link svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.d442-card__link:hover svg {
  transform: translateX(4px);
}

/* =========================================================================
   TREATMENT CARD
   ========================================================================= */

.treatment-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  border: 1px solid var(--border-light);
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-20);
}

.treatment-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gradient-navy);
}

.treatment-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.treatment-card:hover .treatment-card__image img {
  transform: scale(1.06);
}

.treatment-card__icon {
  display: none;
}

/* Placeholder image support */
.treatment-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gradient-navy);
}

.treatment-card__thumb img,
.treatment-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.treatment-card:hover .treatment-card__thumb img {
  transform: scale(1.06);
}

.treatment-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.treatment-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: var(--line-snug);
}

.treatment-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  flex: 1;
  margin-bottom: var(--space-4);
}

.treatment-card__price {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--teal);
  margin-bottom: var(--space-4);
}

.treatment-card__price span {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: var(--text-muted);
}

.treatment-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--teal);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: var(--transition-colour);
  margin-top: auto;
}

.treatment-card__cta:hover {
  color: var(--teal-dark);
  gap: var(--space-3);
  text-decoration: none;
}

/* =========================================================================
   TEAM CARD
   ========================================================================= */

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gradient-navy);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.team-card:hover .team-card__overlay { opacity: 1; }

.team-card__overlay-link {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.7);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  width: 100%;
  text-align: center;
  transition: var(--transition-colour);
}

.team-card__overlay-link:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  text-decoration: none;
}

.team-card__body {
  padding: var(--space-5) var(--space-6);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--teal);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
}

/* =========================================================================
   TESTIMONIAL CARD
   ========================================================================= */

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--teal-10);
  pointer-events: none;
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  color: var(--gold);
  font-size: 1.25rem;
}

.testimonial-card__text {
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: var(--navy);
}

.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* =========================================================================
   SECTION HEADINGS
   ========================================================================= */

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-header--left {
  text-align: left;
  margin-inline: 0;
}

.section-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: var(--teal-10);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  border: 1px solid var(--teal-20);
}

.section-tag--gold {
  background: rgba(212,168,83,0.10);
  color: var(--gold-dark);
  border-color: rgba(212,168,83,0.20);
}

.section-tag--white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: var(--line-tight);
  letter-spacing: var(--letter-tight);
  margin-bottom: var(--space-5);
}

.section-title--white  { color: var(--white); }
.section-title--gold   { color: var(--gold); }
.section-title--teal   { color: var(--teal); }

.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  max-width: 600px;
  margin-inline: auto;
}

.section-subtitle--white { color: rgba(255,255,255,0.80); }
.section-header--left .section-subtitle { margin-inline: 0; }

/* =========================================================================
   BADGE / PILL
   ========================================================================= */

.d442-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.d442-badge--teal    { background: var(--teal-10); color: var(--teal); }
.d442-badge--navy    { background: var(--navy); color: var(--white); }
.d442-badge--gold    { background: rgba(212,168,83,0.15); color: var(--gold-dark); }
.d442-badge--white   { background: rgba(255,255,255,0.15); color: var(--white); }
.d442-badge--success { background: rgba(16,185,129,0.12); color: var(--success); }

/* =========================================================================
   TRUST BADGES
   ========================================================================= */

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.trust-badges--center { justify-content: center; }

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.trust-badge--light {
  background: var(--white);
  border-color: var(--border-light);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.trust-badge__icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* =========================================================================
   STATS / COUNTER
   ========================================================================= */

.stats-bar {
  background: var(--navy);
  padding: var(--space-12) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__number .stat-suffix {
  color: var(--teal-light);
  font-size: 0.7em;
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

/* =========================================================================
   STARS
   ========================================================================= */

.d442-stars {
  display: inline-flex;
  gap: 2px;
}

.d442-star {
  font-size: 1rem;
  line-height: 1;
}

.d442-star--filled  { color: var(--gold); }
.d442-star--empty   { color: var(--grey-300); }

/* =========================================================================
   PHONE LINK
   ========================================================================= */

.d442-phone {
  color: var(--gold);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: var(--transition-colour);
}

.d442-phone:hover {
  color: var(--gold-light);
  text-decoration: none;
}

/* =========================================================================
   LOGO
   ========================================================================= */

.d442-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.d442-logo__icon {
  flex-shrink: 0;
}

.d442-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.d442-logo__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.d442-logo__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.60);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

/* On light background */
.d442-logo--dark .d442-logo__name    { color: var(--navy); }
.d442-logo--dark .d442-logo__tagline { color: var(--text-muted); }

/* =========================================================================
   WHATSAPP FAB
   ========================================================================= */

.d442-whatsapp-fab {
  position: fixed;
  bottom: calc(var(--space-6) + 60px);
  right: var(--space-6);
  z-index: var(--z-fab);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform var(--duration-base) var(--ease-spring),
              box-shadow var(--duration-base) var(--ease-out);
}

.d442-whatsapp-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

/* =========================================================================
   BREADCRUMBS
   ========================================================================= */

.d442-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.d442-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-colour);
}

.d442-breadcrumbs a:hover {
  color: var(--teal);
  text-decoration: none;
}

.d442-breadcrumbs__sep {
  color: var(--border-medium);
  font-size: 0.875em;
}

.d442-breadcrumbs__current {
  color: var(--teal);
  font-weight: var(--fw-medium);
}

/* White variant for dark backgrounds */
.d442-breadcrumbs--white a,
.d442-breadcrumbs--white {
  color: rgba(255,255,255,0.65);
}

.d442-breadcrumbs--white a:hover { color: var(--white); }
.d442-breadcrumbs--white .d442-breadcrumbs__sep { color: rgba(255,255,255,0.30); }
.d442-breadcrumbs--white .d442-breadcrumbs__current { color: var(--white); }

/* =========================================================================
   ACCORDION / FAQ
   ========================================================================= */

.d442-accordion {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.d442-accordion-item {
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.d442-accordion-item:last-child { border-bottom: none; }

.d442-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  line-height: var(--line-snug);
  transition: var(--transition-colour);
}

.d442-accordion-trigger:hover { color: var(--teal); }

.d442-accordion-trigger[aria-expanded="true"] {
  color: var(--teal);
  border-bottom: 1px solid var(--border-light);
}

.d442-accordion-trigger__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}

.d442-accordion-trigger[aria-expanded="true"] .d442-accordion-trigger__icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: var(--white);
}

.d442-accordion-content {
  padding: var(--space-6) var(--space-8);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  display: none;
}

.d442-accordion-content[aria-hidden="false"],
.d442-accordion-content.is-open {
  display: block;
  animation: d442-slide-down var(--duration-base) var(--ease-out);
}

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

/* =========================================================================
   BEFORE / AFTER SLIDER
   ========================================================================= */

.before-after-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  user-select: none;
  touch-action: none;
  box-shadow: var(--shadow-lg);
  cursor: col-resize;
  aspect-ratio: 4 / 3;
}

.before-after-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after-slider__after {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
  transition: clip-path 0ms;
}

.before-after-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.before-after-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  font-size: 1.25rem;
  pointer-events: none;
}

.before-after-slider__label {
  position: absolute;
  bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: rgba(0,0,0,0.60);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  z-index: 2;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.before-after-slider__label--before { left: var(--space-4); }
.before-after-slider__label--after  { right: var(--space-4); }

.before-after-slider__disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-3);
  font-style: italic;
}

/* =========================================================================
   STICKY CTA BAR
   ========================================================================= */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: var(--space-4) var(--container-pad);
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.30);
}

.sticky-cta-bar.is-visible {
  transform: translateY(0);
}

.sticky-cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--container-xl);
  margin-inline: auto;
}

.sticky-cta-bar__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  font-weight: var(--fw-medium);
}

.sticky-cta-bar__text strong {
  color: var(--white);
}

.sticky-cta-bar__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Mobile: full-width tap-to-call */
@media (max-width: 640px) {
  .sticky-cta-bar {
    padding: var(--space-3) var(--space-4);
  }

  .sticky-cta-bar__inner {
    flex-direction: column;
    gap: var(--space-3);
  }

  .sticky-cta-bar__actions {
    width: 100%;
  }

  .sticky-cta-bar__actions .d442-btn {
    flex: 1;
  }

  .sticky-cta-bar__text { display: none; }
}

/* =========================================================================
   PROGRESS BAR
   ========================================================================= */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-teal);
  width: 0%;
  z-index: calc(var(--z-sticky) + 1);
  transition: width 100ms linear;
  transform-origin: left;
  pointer-events: none;
}

/* =========================================================================
   EXIT INTENT POPUP
   ========================================================================= */

.exit-intent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.70);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.exit-intent-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.exit-intent-modal {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 520px;
  width: 100%;
  padding: var(--space-10) var(--space-12);
  position: relative;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--duration-base) var(--ease-spring);
  text-align: center;
}

.exit-intent-overlay.is-active .exit-intent-modal {
  transform: scale(1) translateY(0);
}

.exit-intent-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border: none;
  background: var(--grey-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.exit-intent-modal__close:hover {
  background: var(--grey-200);
  color: var(--navy);
}

.exit-intent-modal__emoji {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.exit-intent-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.exit-intent-modal__subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

/* =========================================================================
   BOOKING FORM (template-part)
   ========================================================================= */

.booking-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

/* When used as a standalone full-width section (not inside a card) */
section.booking-form {
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-20) 0;
}

section.booking-form .booking-form__inner {
  max-width: var(--container-md);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.booking-form__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.booking-form__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  margin-top: var(--space-2);
  margin-bottom: 0;
}

.booking-form__body {
  margin-bottom: var(--space-4);
}

.booking-form__fallback {
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-align: center;
  padding: var(--space-8) 0;
}

.booking-form__gdpr {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--line-relaxed);
  margin-top: var(--space-4);
}

.booking-form__gdpr svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.booking-form__gdpr a   { color: var(--teal); text-decoration: underline; }

.booking-form--dark {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.10);
}

section.booking-form--dark {
  border: none;
  position: relative;
  overflow: hidden;
}

section.booking-form--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.4;
  pointer-events: none;
}

section.booking-form--dark .booking-form__inner {
  position: relative;
  z-index: 1;
}

.booking-form--dark .d442-label {
  color: rgba(255,255,255,0.90);
}

.booking-form--dark .d442-input,
.booking-form--dark .d442-select,
.booking-form--dark .d442-textarea {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

.booking-form--dark .d442-input::placeholder,
.booking-form--dark .d442-textarea::placeholder {
  color: rgba(255,255,255,0.40);
}

.booking-form--dark .d442-input:focus,
.booking-form--dark .d442-select:focus,
.booking-form--dark .d442-textarea:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.25);
}

.booking-form__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.booking-form--dark .booking-form__title    { color: var(--white); }
.booking-form--dark .booking-form__sub      { color: rgba(255,255,255,0.75); }
.booking-form--dark .booking-form__subtitle { color: rgba(255,255,255,0.55); }
.booking-form--dark .booking-form__gdpr     { color: rgba(255,255,255,0.45); }

/* =========================================================================
   ALERT / NOTICE BANNERS
   ========================================================================= */

.d442-alert {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--line-relaxed);
}

.d442-alert--info    { background: rgba(59,130,246,0.10); color: #1d4ed8; border-left: 3px solid #3b82f6; }
.d442-alert--success { background: rgba(16,185,129,0.10); color: #065f46; border-left: 3px solid #10b981; }
.d442-alert--warning { background: rgba(245,158,11,0.10); color: #92400e; border-left: 3px solid #f59e0b; }
.d442-alert--error   { background: rgba(239,68,68,0.10);  color: #7f1d1d; border-left: 3px solid #ef4444; }

/* =========================================================================
   UTILITY CLASSES
   ========================================================================= */

/* Display */
.d-none     { display: none !important; }
.d-block    { display: block !important; }
.d-flex     { display: flex !important; }
.d-grid     { display: grid !important; }
.d-inline   { display: inline !important; }
.d-inline-flex { display: inline-flex !important; }

/* Flexbox */
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* Text alignment */
.text-left    { text-align: left !important; }
.text-center  { text-align: center !important; }
.text-right   { text-align: right !important; }

/* Text colours */
.text-navy    { color: var(--navy) !important; }
.text-teal    { color: var(--teal) !important; }
.text-gold    { color: var(--gold) !important; }
.text-white   { color: var(--white) !important; }
.text-muted   { color: var(--text-muted) !important; }

/* Background colours */
.bg-navy   { background-color: var(--navy) !important; }
.bg-teal   { background-color: var(--teal) !important; }
.bg-cream  { background-color: var(--cream) !important; }
.bg-white  { background-color: var(--white) !important; }

/* Spacing */
.mt-auto   { margin-top: auto; }
.mb-0      { margin-bottom: 0 !important; }
.mb-4      { margin-bottom: var(--space-4) !important; }
.mb-8      { margin-bottom: var(--space-8) !important; }
.pt-0      { padding-top: 0 !important; }

/* Width */
.w-full    { width: 100% !important; }
.max-w-sm  { max-width: var(--container-sm); }
.max-w-md  { max-width: var(--container-md); }
.max-w-lg  { max-width: var(--container-lg); }

/* Border radius */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Position */
.relative { position: relative; }
.sticky   { position: sticky; }

/* Font */
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }
.font-bold    { font-weight: var(--fw-bold); }
.font-semi    { font-weight: var(--fw-semibold); }
.font-medium  { font-weight: var(--fw-medium); }

/* Shadow */
.shadow-md  { box-shadow: var(--shadow-md); }
.shadow-lg  { box-shadow: var(--shadow-lg); }
.shadow-xl  { box-shadow: var(--shadow-xl); }

/* =========================================================================
   WORDPRESS CORE CLASSES
   ========================================================================= */

/* Alignment */
.alignleft  { float: left; margin-right: var(--space-6); margin-bottom: var(--space-4); }
.alignright { float: right; margin-left: var(--space-6); margin-bottom: var(--space-4); }
.aligncenter { display: block; margin-inline: auto; margin-bottom: var(--space-4); }
.alignwide   { max-width: var(--container-2xl); margin-inline: auto; }
.alignfull   { max-width: none; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* Captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--text-sm); color: var(--text-muted); text-align: center; }

/* Gallery */
.gallery { display: grid; gap: var(--space-3); }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img  { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }

/* Sticky post */
.sticky { position: relative; }

/* Search form */
.search-form { display: flex; gap: var(--space-2); }
.search-form .search-field { flex: 1; }
.search-form .search-submit { flex-shrink: 0; }

/* Pagination */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-base);
  border: 1.5px solid var(--border-light);
  margin: 0 2px;
}

.page-numbers:hover {
  background: var(--teal-10);
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

.page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-12) 0;
}

/* =========================================================================
   PRINT STYLES
   ========================================================================= */

@media print {
  .d442-skip-link,
  .sticky-cta-bar,
  .d442-whatsapp-fab,
  .scroll-progress-bar,
  .exit-intent-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  a[href^="tel:"]::after,
  a[href^="mailto:"]::after {
    content: none;
  }
}
