/* =========================================================
   Cure Zone Therapy & Learning Centre — site styles
   Palette drawn from the logo: sun orange/yellow, lotus blue, leaf green
   ========================================================= */
:root {
    --orange: #F26122;
    --orange-deep: #D9480F;
    --sun: #FFB547;
    --blue: #2A75D3;
    --green: #3A9D4A;
    --pink: #E8577A;
    --violet: #7C5CD6;

    --orange-soft: #FFEBDD;
    --blue-soft: #E3EEFC;
    --green-soft: #E2F4E2;
    --pink-soft: #FDE4EA;
    --violet-soft: #EDE6FC;

    --cream: #FFF8F0;
    --paper: #FFFFFF;
    --ink: #1D2838;
    --muted: #5B6676;
    --line: #EFE5D9;

    --radius: 22px;
    --shadow-sm: 0 4px 14px rgba(29, 40, 56, .06);
    --shadow: 0 18px 40px -18px rgba(29, 40, 56, .25);
    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-body); font-weight: 800; font-size: .95rem; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .9em 1.7em; font-size: 1rem; }
.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, #F7803A 100%);
    color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 97, 34, .8);
}
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(242, 97, 34, .9); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--orange-deep); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #D7DEE8; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { gap: 22px !important; }
.topbar a:hover { color: var(--sun); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 248, 240, .85);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(29,40,56,.35); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.brand-text small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
    position: relative; padding: 8px 14px; font-weight: 700; font-size: .95rem; color: var(--ink); border-radius: 999px;
    transition: color .2s, background .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--orange-deep); background: var(--orange-soft); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; }
.blob-1 { width: 420px; height: 420px; background: #FFD3A8; top: -120px; left: -120px; }
.blob-2 { width: 380px; height: 380px; background: #CFE2FB; bottom: -140px; right: 10%; }
.blob-3 { width: 260px; height: 260px; background: #D6F0D2; top: 30%; left: 42%; opacity: .45; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
    background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: .85rem; font-weight: 800; color: var(--orange-deep); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; line-height: 1.08; margin-bottom: 22px; }
.hl { position: relative; white-space: nowrap; font-style: italic; }
.hl::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .32em; z-index: -1; border-radius: 6px;
}
.hl-orange { color: var(--orange-deep); }
.hl-orange::after { background: rgba(255, 181, 71, .45); }
.hl-blue { color: var(--blue); }
.hl-blue::after { background: rgba(42, 117, 211, .18); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats li {
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px 18px; min-width: 150px;
    box-shadow: var(--shadow-sm);
}
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.hero-stats span { font-size: .85rem; color: var(--muted); font-weight: 600; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: center; width: 100%; }
.art-ring {
    position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 200deg, var(--sun), var(--orange), var(--pink), var(--violet), var(--blue), var(--green), var(--sun));
    padding: 10px; animation: spin 30s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
    opacity: .9;
}
.art-circle {
    position: absolute; inset: 26px; border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #fff 0%, #FFF3E4 60%, #FFE6CC 100%);
    display: grid; place-items: center; box-shadow: inset 0 -20px 50px rgba(242, 97, 34, .12), var(--shadow);
}
.art-circle img { width: 66%; filter: drop-shadow(0 18px 24px rgba(242, 97, 34, .25)); }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: var(--paper); padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: var(--shadow);
    font-weight: 800; font-size: .9rem; white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.float-card .chip { width: 38px; height: 38px; border-radius: 12px; }
.fc-1 { top: 10%; left: -6%; }
.fc-2 { bottom: 10%; left: -8%; animation-delay: -2s; }
.fc-3 { top: 48%; right: -8%; animation-delay: -4s; }
.dot { position: absolute; border-radius: 50%; }
.d1 { width: 18px; height: 18px; background: var(--sun); top: 4%; right: 14%; }
.d2 { width: 12px; height: 12px; background: var(--green); bottom: 6%; right: 26%; }
.d3 { width: 10px; height: 10px; background: var(--pink); top: 30%; left: 2%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Chips (icon tiles) ---------- */
.chip { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0; }
.chip .icon { width: 26px; height: 26px; }
.chip-orange { background: var(--orange-soft); color: var(--orange-deep); }
.chip-blue   { background: var(--blue-soft);   color: var(--blue); }
.chip-green  { background: var(--green-soft);  color: var(--green); }
.chip-pink   { background: var(--pink-soft);   color: var(--pink); }
.chip-violet { background: var(--violet-soft); color: var(--violet); }

/* ---------- Marquee ---------- */
.marquee {
    background: linear-gradient(90deg, var(--orange), #F7803A 40%, var(--sun));
    color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -10px;
    box-shadow: 0 10px 30px -14px rgba(242,97,34,.7);
}
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 45s linear infinite; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.marquee .sep { opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, #FFF1E4 0%, #F3F7FE 100%); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker {
    display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange-deep); margin-bottom: 12px;
}
.kicker::before { content: "✦ "; color: var(--sun); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro h2 em { color: var(--green); }
.about-intro p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ticks .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--green-soft); color: var(--green); stroke-width: 3; }
.about-cards { display: grid; gap: 22px; }
.vm-card { position: relative; padding: 32px 32px 30px 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vm-card p { margin: 0; }
.vm-card h3 { font-size: 1.55rem; }
.vm-vision { background: linear-gradient(135deg, #FFB547 0%, #F26122 100%); color: #fff; }
.vm-vision h3 { color: #fff; }
.vm-mission { background: linear-gradient(135deg, #2A75D3 0%, #7C5CD6 100%); color: #fff; margin-left: 40px; }
.vm-mission h3 { color: #fff; }
.vm-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.22); margin-bottom: 14px; }
.vm-icon .icon { width: 26px; height: 26px; }
.vm-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); right: -60px; top: -60px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    position: relative; background: var(--paper); padding: 28px 26px; border-radius: var(--radius);
    border: 1px solid rgba(29,40,56,.05); box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: currentColor; opacity: 0; transition: opacity .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { margin: 18px 0 8px; font-size: 1.2rem; color: var(--ink); }
.service-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.tone-orange { color: var(--orange); } .tone-blue { color: var(--blue); } .tone-green { color: var(--green); }
.tone-pink { color: var(--pink); } .tone-violet { color: var(--violet); }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--paper); border-radius: var(--radius); padding: 30px; border: 1px dashed #EADBC9; transition: transform .3s, border-color .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); border-style: solid; border-color: transparent; box-shadow: var(--shadow); }
.why-card h3 { margin: 18px 0 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: .97rem; }

.steps {
    margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: var(--ink); color: #fff; border-radius: 28px; padding: 14px; box-shadow: var(--shadow);
}
.step { padding: 26px 24px; border-radius: 20px; position: relative; }
.step + .step::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255,255,255,.12); }
.step:hover { background: rgba(255,255,255,.06); }
.step-no { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; background: linear-gradient(135deg, var(--sun), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { color: #fff; font-size: 1.2rem; margin: 6px 0 6px; }
.step p { margin: 0; color: #B9C3D1; font-size: .95rem; }

/* CTA band */
.cta-band { padding: 0 0 20px; }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: linear-gradient(120deg, #F26122 0%, #E8577A 55%, #7C5CD6 100%);
    color: #fff; border-radius: 32px; padding: 54px 56px; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-inner::before { width: 260px; height: 260px; right: -80px; top: -120px; }
.cta-inner::after { width: 160px; height: 160px; left: 38%; bottom: -100px; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-inner p { margin: 0; opacity: .92; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.info-card {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--paper);
    border-radius: 18px; border: 1px solid var(--line); margin-bottom: 14px; transition: transform .25s, box-shadow .25s;
}
a.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.info-card strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-card span:last-child { font-weight: 700; line-height: 1.4; }
.info-card .chip { width: 48px; height: 48px; }

.form-card { background: var(--paper); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); position: relative; }
.form-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg, var(--sun), var(--orange), var(--pink), var(--violet), var(--blue), var(--green));
}
.form-card h3 { font-size: 1.7rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .88rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 13px 16px; border-radius: 14px; border: 1.5px solid #E8DFD4; background: #FFFCF8;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 97, 34, .14); }
.form-actions { display: flex; justify-content: flex-end; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; font-weight: 700; margin-bottom: 20px; }
.alert-success { background: var(--green-soft); color: #23702F; }
.alert-error { background: var(--pink-soft); color: #B42345; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #C3CCD8; margin-top: 110px; padding: 40px 0 0; }
.footer-wave { position: absolute; left: 0; right: 0; top: -79px; height: 80px; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; fill: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: var(--sun); }
.footer-brand p { margin-top: 18px; max-width: 280px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--sun); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .88rem; text-align: center; }

.whatsapp-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .7); transition: transform .25s;
}
.whatsapp-fab svg { width: 32px; height: 32px; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .main-nav a:not(.btn) { padding: 8px 10px; }
    .why-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(3)::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--cream); padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
        display: none;
    }
    .nav-open .main-nav { display: flex; }
    .main-nav a:not(.btn) { padding: 12px 14px; }
    .nav-cta { margin: 8px 0 0; }

    .hero { padding: 40px 0 70px; }
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-art { max-width: 400px; margin-top: 10px; }
    .vm-mission { margin-left: 0; }
    .section { padding: 76px 0; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .topbar-inner { justify-content: center; }
    .topbar-inner > span:first-child { display: none; }
    .topbar-links { gap: 14px !important; font-size: .78rem; }
    .brand img { width: 46px; }
    .brand-text strong { font-size: 1.2rem; }
    .brand-text small { font-size: .62rem; }
    .eyebrow { font-size: .74rem; padding: 6px 12px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-stats li { flex: 1 1 calc(50% - 14px); min-width: 0; }
    .hero-art { max-width: 320px; }
    .float-card { font-size: .78rem; padding: 7px 12px 7px 7px; }
    .float-card .chip { width: 30px; height: 30px; }
    .float-card .chip .icon { width: 18px; height: 18px; }
    .fc-1 { left: -2%; } .fc-2 { left: -2%; } .fc-3 { right: -2%; }
    .why-grid, .services-grid, .steps { grid-template-columns: 1fr; }
    .step + .step::before { left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px; }
    .step:nth-child(3)::before { display: block; }
    .cta-inner { padding: 38px 26px; }
    .cta-actions .btn { flex: 1 1 100%; }
    .form-card { padding: 30px 22px; }
    .contact-form { grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
