/* ============================================
   BASE — Luxury Brand Reset
   ============================================ */

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

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection { background: var(--gold); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Container */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

/* Sections — generous breathing room */
.section { padding: var(--space-5xl) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--dark-deep { background: var(--navy-deep); color: var(--text-on-dark); }

/* Typography — clean luxury */
h1, h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}
h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

h1 { font-size: clamp(3.2rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2.8rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.4vw, 1.2rem); }

@media (max-width: 768px) {
    h1 { font-size: 3.6rem !important; color: #0D1018 !important; font-weight: 400 !important; }
    h2 { font-size: 3rem !important; color: #0D1018 !important; font-weight: 400 !important; }
    h3 { color: #0D1018 !important; }
    .section--dark h1, .section--dark h2, .section--dark h3 { color: #fff !important; }
}

/* Section label — minimal luxury */
.label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: var(--space-lg);
    line-height: 1.8;
}
.section--dark .section-header p { color: var(--text-on-dark-secondary); }

/* Buttons — refined */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1.05rem 2.4rem;
    transition: all var(--duration-normal) var(--ease-out);
}
.btn--primary {
    background: var(--navy);
    color: #fff;
    border-radius: 0;
}
.btn--primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}
.btn--gold {
    background: var(--gold);
    color: #fff;
    border-radius: 0;
}
.btn--gold:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}
.btn--outline {
    border: 1px solid var(--navy);
    color: var(--navy);
    background: transparent;
    border-radius: 0;
}
.btn--outline:hover {
    background: var(--navy);
    color: #fff;
}
.btn--outline-light {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
    border-radius: 0;
}
.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn svg { width: 14px; height: 14px; }

/* Divider — thin gold line */
.divider {
    width: 50px;
    height: 1px;
    background: var(--gold);
}
.divider--center { margin: var(--space-xl) auto; }

/* Reveal — everything visible by default, no hidden content on scroll */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 1;
    transform: none;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 {
    transition-delay: 0s;
}

/* Smooth link underline animation */
.animated-link {
    position: relative;
    text-decoration: none;
}
.animated-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}
.animated-link:hover::after { width: 100%; }

/* Parallax-ready elements */
[data-parallax] {
    will-change: transform;
}

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    z-index: 10001;
}

/* Page loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: #12161F;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 50px; height: 50px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.3; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }

/* ============ GLOBAL INTERACTIVE HOVER EFFECTS ============ */

/* All clickable cards/containers — lift on hover */
.network-city, .service-pill, .trust-card, .dest-card {
    transition: all 0.3s ease !important;
    cursor: pointer;
}
.network-city:hover, .service-pill:hover, .trust-card:hover, .dest-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    border-color: rgba(180,151,90,0.4) !important;
}

/* ALL buttons and tag-like elements — universal hover lift */
button, [role="button"],
a[style*="text-transform:uppercase"],
a[style*="letter-spacing"],
span[style*="text-transform:uppercase"][style*="padding"],
a[style*="padding"][style*="border"] {
    transition: all 0.3s ease !important;
}
button:hover, [role="button"]:hover,
a[style*="text-transform:uppercase"]:hover,
span[style*="text-transform:uppercase"][style*="padding"]:hover,
a[style*="padding"][style*="border"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}

/* Specialty filter tabs (HEART & VASCULAR etc) */
.screening-tab, [onclick*="showScreening"], [onclick*="selectTab"],
button[style*="text-transform:uppercase"][style*="letter-spacing"] {
    transition: all 0.3s ease !important;
}
.screening-tab:hover, [onclick*="showScreening"]:hover, [onclick*="selectTab"]:hover,
button[style*="text-transform:uppercase"][style*="letter-spacing"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(180,151,90,0.2) !important;
    border-color: #B4975A !important;
}

/* Service link pills (Private GP, Specialist Referrals etc) */
a[style*="font-size:0.78rem"][style*="text-transform"],
a[style*="font-size:0.75rem"][style*="text-transform"],
a[style*="font-size:0.72rem"][style*="text-transform"] {
    transition: all 0.3s ease !important;
}
a[style*="font-size:0.78rem"][style*="text-transform"]:hover,
a[style*="font-size:0.75rem"][style*="text-transform"]:hover,
a[style*="font-size:0.72rem"][style*="text-transform"]:hover {
    transform: translateY(-2px) !important;
    color: #B4975A !important;
}

/* LEARN MORE / EXPLORE links */
a[style*="border:1px solid"] {
    transition: all 0.3s ease !important;
}
a[style*="border:1px solid"]:hover {
    transform: translateY(-2px) !important;
    border-color: #B4975A !important;
    color: #B4975A !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Gold fill buttons */
a[style*="background:#B4975A"], button[style*="background:#B4975A"],
a[style*="background: #B4975A"], button[style*="background: #B4975A"] {
    transition: all 0.3s ease !important;
}
a[style*="background:#B4975A"]:hover, button[style*="background:#B4975A"]:hover,
a[style*="background: #B4975A"]:hover, button[style*="background: #B4975A"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(180,151,90,0.3) !important;
    filter: brightness(1.08);
}

/* Dark fill buttons */
a[style*="background:#12161F"], button[style*="background:#12161F"] {
    transition: all 0.3s ease !important;
}
a[style*="background:#12161F"]:hover, button[style*="background:#12161F"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(180,151,90,0.2) !important;
}

/* Form tags / intake tags */
.intake-tag, .form-option {
    transition: all 0.3s ease !important;
}
.intake-tag:hover, .form-option:hover {
    transform: translateY(-1px) !important;
    border-color: #B4975A !important;
    color: #B4975A !important;
}

/* All card-like white/cream containers with padding — make interactive */
div[style*="background:#fff"][style*="padding"],
div[style*="background:#F3EDE7"][style*="padding"],
div[style*="background:rgba(255,255,255"][style*="padding"] {
    transition: all 0.3s ease !important;
    border-radius: 6px;
}
div[style*="background:#fff"][style*="padding"]:hover,
div[style*="background:#F3EDE7"][style*="padding"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07) !important;
    border-color: rgba(180,151,90,0.25) !important;
}

/* Dark card containers */
div[style*="background:#12161F"][style*="padding"]:not(.footer):not(footer *) {
    transition: all 0.3s ease !important;
    border-radius: 6px;
}
div[style*="background:#12161F"][style*="padding"]:not(.footer):not(footer *):hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
    border-color: rgba(180,151,90,0.3) !important;
}

/* Video loading — dark bg immediately */
video { background: #12161F !important; }

/* Responsive */
@media (max-width: 768px) {
    .section { padding: var(--space-3xl) 0; }
}
