/* =========================================
   VARIABLES & GLOBAL RESET
========================================= */
:root {
    --bg-main: #071014;
    --surface: rgba(255,255,255,0.08);
    --surface-strong: rgba(255,255,255,0.16);
    --primary: #E8F1F8;
    --accent: #0FB7C8;
    --accent-dark: #0C8F9F;
    --highlight: #D4A35D;
    --text-main: #EFF7FB;
    --text-muted: rgba(239,247,251,0.72);
    --border: rgba(255,255,255,0.14);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --space-xs: 0.75rem;
    --space-sm: clamp(1rem, 2vw, 1.4rem);
    --space-md: clamp(2rem, 4vw, 2.8rem);
    --space-lg: clamp(4rem, 8vw, 5.6rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(15,183,200,0.14), transparent 24%),
                radial-gradient(circle at bottom right, rgba(212,163,93,0.12), transparent 30%),
                linear-gradient(180deg, #071014 0%, #041018 100%);
    color: var(--text-main);
    overflow-x: hidden;
}

img,
iframe,
button,
input,
textarea {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

::selection {
    background: rgba(15,183,200,0.28);
    color: #fff;
}

.text-center {
    text-align: center;
}

/* =========================================
   TYPOGRAPHY
========================================= */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.section__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: rgba(239,247,251,0.65);
}

.section__text {
    max-width: 720px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-top: 1rem;
}

.section__eyebrow--light,
.section__text--light,
.section-title--light {
    color: rgba(255,255,255,0.88);
}

.highlight-text {
    display: inline-block;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.9rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    font-weight: 600;
}

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

.btn--primary {
    background: linear-gradient(135deg, rgba(15,183,200,0.96), rgba(27,216,242,0.9));
    color: #041018;
    box-shadow: 0 20px 45px rgba(15,183,200,0.22);
}

.btn--secondary {
    background: rgba(255,255,255,0.08);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.14);
}

.btn--secondary:hover {
    background: rgba(255,255,255,0.14);
}

.btn--magnetic {
    will-change: transform;
}

.w-100 {
    width: 100%;
}

/* =========================================
   SECTIONS
========================================= */
.section {
    padding: var(--space-lg) 5%;
}

.section--dark {
    background: linear-gradient(180deg, rgba(4,16,24,0.96), rgba(7,16,20,0.98));
}

.section--footer {
    background: linear-gradient(180deg, #041018 0%, #071014 100%);
}

/* Hero */
.hero {
    min-height: calc(100vh - 96px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    padding: 6rem 5% 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(15,183,200,0.18), transparent 28%),
                radial-gradient(circle at bottom right, rgba(212,163,93,0.14), transparent 24%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.hero__eyebrow {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(239,247,251,0.72);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.hero__title {
    font-size: clamp(3.4rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0;
    max-width: 13ch;
}

.hero__subtitle {
    margin-top: 1.6rem;
    max-width: 620px;
    color: rgba(239,247,251,0.78);
    font-size: 1.05rem;
    line-height: 1.85;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero__stats {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero__stat {
    display: grid;
    gap: 0.35rem;
    min-width: 150px;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}

.hero__stat span {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero__stat p {
    margin: 0;
    color: rgba(239,247,251,0.72);
    font-size: 0.95rem;
}

.hero__visual {
    position: relative;
    min-height: 620px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.04);
}

.parallax-bg {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1576085898323-1b2f7fd65d5d?auto=format&fit=crop&w=1200&q=80') no-repeat center center;
    background-size: cover;
    transform: translateZ(0);
}

/* Philosophy */
.philosophy__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: calc(var(--space-lg) - 1rem);
    align-items: center;
}

.philosophy__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

/* Navbar */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    padding: 1.4rem 5%;
    z-index: 1005;
    transition: all 0.35s ease;
    background: transparent;
}

.navbar--scrolled {
    background: rgba(7,16,20,0.92);
    box-shadow: 0 24px 50px rgba(0,0,0,0.18);
    backdrop-filter: blur(18px);
    padding: 1rem 5%;
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1440px;
    margin: 0 auto;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.navbar__menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.navbar__link {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar__link:hover {
    color: var(--accent);
}

.navbar__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
    padding: 0.45rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--primary);
}

/* Treatments */
.treatments__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--space-md);
}

.treatment-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.treatment-panel:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.08);
}

.treatment-panel h3 {
    color: #FBE8C8;
    margin-bottom: 1rem;
    font-size: 1.65rem;
}

.treatment-panel p {
    color: rgba(255,255,255,0.78);
    line-height: 1.9;
}

/* Journey */
.journey__timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: var(--space-md);
}

.journey__step {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.4rem;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow);
}

.journey__step h4 {
    margin-top: 1rem;
    font-size: 1.35rem;
}

.journey__step p {
    margin-top: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Contact */
.contact__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: flex-start;
}

.contact__info h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
}

.contact__info address,
.business-hours {
    color: var(--text-muted);
    line-height: 1.8;
}

.contact__phone {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__phone:hover {
    color: #D4A35D;
}

.contact__map {
    margin-top: 2rem;
    min-height: 280px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    box-shadow: var(--shadow);
}

.form {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.85rem;
}

.form__input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
}

.form__input::placeholder {
    color: rgba(255,255,255,0.55);
}

.form__input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.14);
    box-shadow: 0 0 0 3px rgba(15,183,200,0.14);
    outline: none;
}

/* =========================================
   ANIMATION HELPERS
========================================= */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    transform: translateX(-28px);
}

.reveal-right {
    transform: translateX(28px);
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

.reveal-text-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.reveal-text {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.is-visible .reveal-text {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================
   TEXTURE & OVERLAYS
========================================= */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.04;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}
