/* W1Physio - Premium Wellness Design */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --deep-blue: #1e3a5f;
    --ocean: #2d5a7b;
    --sage: #7fa68a;
    --mint: #9fc5b5;
    --sand: #f7f5f0;
    --cream: #fffef9;
    --charcoal: #2b2b2b;
    --warm-gray: #6b6b6b;
    --light-gray: #e8e6e1;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.15;
    color: var(--deep-blue);
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px) {
    .container { padding: 0 48px; }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary {
    background: var(--sage);
    color: white;
}
.btn-primary:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
}
.btn-outline:hover {
    background: var(--charcoal);
    color: white;
}
.btn-white {
    background: white;
    color: var(--deep-blue);
}
.btn-white:hover {
    background: var(--sand);
}
.btn-text {
    padding: 0;
    font-weight: 500;
    color: var(--sage);
    position: relative;
}
.btn-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
}
.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    height: 52px;
    transition: all 0.4s;
}
.header.scrolled .logo img {
    height: 44px;
}

/* Desktop Nav */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 48px;
}
@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
    .hamburger { display: none !important; }
}
.nav-desktop a:not(.btn) {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--charcoal);
    transition: color 0.3s;
}
.nav-desktop a:not(.btn):hover {
    color: var(--sage);
}
.nav-desktop .btn {
    padding: 14px 32px;
    background: var(--sage);
    color: white;
}
.nav-desktop .btn:hover {
    background: var(--deep-blue);
}

/* Hamburger */
.hamburger {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.4s ease;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Nav */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--deep-blue);
    transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--sage); }
.nav-mobile .btn {
    margin-top: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
}
@media (min-width: 1024px) {
    .nav-mobile { display: none !important; }
}

/* ========== HERO - FULL WIDTH IMAGE ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.88) 0%, rgba(30,58,95,0.75) 50%, rgba(127,166,138,0.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 60px 0 100px;
}
.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}
.hero h1 i {
    color: var(--mint);
}
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ========== FLOATING STATS ========== */
.stats-floating {
    background: white;
    padding: 48px;
    margin: -60px 24px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-radius: 6px;
}
@media (min-width: 768px) {
    .stats-floating { margin: -80px 48px 0; }
}
@media (min-width: 1200px) {
    .stats-floating {
        max-width: 1000px;
        margin: -80px auto 0;
    }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat {
    text-align: center;
}
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 500;
    color: var(--sage);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--warm-gray);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}
@media (min-width: 768px) {
    .section { padding: 140px 0; }
}
.section-sand { background: var(--sand); }

.section-header {
    margin-bottom: 60px;
}
.section-header.center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(32px, 5vw, 56px);
}
.section-title i {
    font-style: italic;
    color: var(--sage);
}
.section-header p {
    font-size: 17px;
    color: var(--warm-gray);
    margin-top: 20px;
    line-height: 1.8;
}

/* ========== INTRO SECTION WITH LARGE IMAGE ========== */
.intro-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}
@media (min-width: 1024px) {
    .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 100px; }
}
.intro-image {
    position: relative;
}
.intro-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 6px;
}
.intro-image-badge {
    position: absolute;
    bottom: -24px;
    right: 24px;
    background: var(--sage);
    color: white;
    padding: 24px 32px;
    text-align: center;
    border-radius: 6px;
}
@media (min-width: 768px) {
    .intro-image-badge {
        bottom: -32px;
        right: -32px;
        padding: 32px 40px;
    }
}
.intro-image-badge .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}
.intro-image-badge .label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}
.intro-content {
    padding: 24px 0;
}
.credentials-card {
    background: var(--deep-blue);
    padding: 32px;
    margin: 32px 0;
    border-radius: 6px;
}
.credentials-card h3 {
    font-size: 26px;
    color: white;
    margin-bottom: 8px;
}
.credentials-card .quals {
    font-size: 14px;
    font-weight: 500;
    color: var(--mint);
}
.credentials-card .role {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}
.intro-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--warm-gray);
    margin-bottom: 20px;
}
.features-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}
.feature-item::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--sage);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ========== SERVICES - LARGE IMAGE CARDS ========== */
.services-showcase {
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .services-showcase { grid-template-columns: repeat(2, 1fr); }
}
.service-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: 6px;
}
@media (min-width: 1024px) {
    .service-card { aspect-ratio: auto; min-height: 500px; }
}
.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover img {
    transform: scale(1.05);
}
.service-card-content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(30,58,95,0.9) 0%, rgba(30,58,95,0.3) 60%, transparent 100%);
    transition: background 0.4s;
}
.service-card:hover .service-card-content {
    background: linear-gradient(to top, rgba(127,166,138,0.95) 0%, rgba(127,166,138,0.5) 60%, rgba(127,166,138,0.2) 100%);
}
.service-card-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 12px;
}
.service-card h3 {
    font-size: clamp(28px, 3vw, 36px);
    color: white;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    max-width: 340px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.4s;
}
.service-card:hover p {
    opacity: 1;
    transform: translateY(0);
}
.service-card-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.service-card-link::after {
    content: '→';
    transition: transform 0.3s;
}
.service-card:hover .service-card-link::after {
    transform: translateX(4px);
}

/* ========== FULL BLEED IMAGE CTA ========== */
.cta-fullbleed {
    position: relative;
    padding: 160px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-fullbleed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.92), rgba(45,90,123,0.85));
}
.cta-fullbleed .container {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-fullbleed h2 {
    font-size: clamp(32px, 5vw, 52px);
    color: white;
    margin-bottom: 20px;
}
.cta-fullbleed p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
    background: white;
    padding: 48px 40px;
    position: relative;
    border-radius: 6px;
}
.testimonial::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 140px;
    color: var(--sand);
    position: absolute;
    top: 20px;
    left: 24px;
    line-height: 1;
}
.testimonial-content {
    position: relative;
    z-index: 1;
}
.testimonial-stars {
    color: var(--sage);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 24px;
}
.testimonial-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--warm-gray);
    font-style: italic;
    margin-bottom: 32px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name {
    font-weight: 600;
    color: var(--deep-blue);
}
.testimonial-role {
    font-size: 13px;
    color: var(--warm-gray);
}

/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 80px;
    background-size: cover;
    background-position: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,58,95,0.95) 0%, rgba(30,58,95,0.7) 50%, rgba(30,58,95,0.4) 100%);
}
.page-hero .container {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: white;
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    line-height: 1.8;
}

/* ========== SERVICE DETAIL ========== */
.service-detail {
    display: grid;
    gap: 60px;
    align-items: start;
}
@media (min-width: 1024px) {
    .service-detail { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}
.service-detail-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
}
.service-detail-content h2 {
    margin-bottom: 24px;
}
.service-detail-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--warm-gray);
    margin-bottom: 20px;
}
.benefits-box {
    background: var(--sand);
    padding: 32px;
    margin: 32px 0;
    border-radius: 6px;
}
.benefits-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
}
.benefits-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.benefits-box li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--warm-gray);
}
.benefits-box li::before {
    content: '→';
    color: var(--sage);
    font-weight: 600;
    margin-top: 2px;
}

/* ========== CONTACT ========== */
.contact-split {
    display: grid;
    gap: 60px;
}
@media (min-width: 1024px) {
    .contact-split { grid-template-columns: 1fr 1.3fr; gap: 100px; }
}
.contact-info h2 {
    margin-bottom: 20px;
}
.contact-info > p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--warm-gray);
    margin-bottom: 48px;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.contact-item {
    display: flex;
    gap: 20px;
}
.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--sage);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border-radius: 6px;
}
.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 4px;
}
.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--deep-blue);
    line-height: 1.6;
}
.contact-value a:hover { color: var(--sage); }

/* Contact Form */
.contact-form-wrap {
    background: var(--sand);
    padding: 48px;
    border-radius: 6px;
}
@media (max-width: 600px) {
    .contact-form-wrap { padding: 32px 24px; }
}
.contact-form-wrap h3 {
    font-size: 28px;
    margin-bottom: 8px;
}
.contact-form-wrap > p {
    font-size: 15px;
    color: var(--warm-gray);
    margin-bottom: 32px;
}
.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}
.form-row.cols-2 {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
    .form-row.cols-2 { grid-template-columns: 1fr; }
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    background: white;
    transition: border-color 0.3s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sage);
}
.form-textarea {
    min-height: 140px;
    resize: vertical;
}
.form-submit {
    width: 100%;
    padding: 20px;
    margin-top: 12px;
}

/* Map */
.contact-map {
    margin-top: 100px;
    border-radius: 12px;
    overflow: hidden;
}
.contact-map iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.5s;
}
.contact-map:hover iframe {
    filter: grayscale(0);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding: 32px 0;
}
.faq-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 12px;
}
.faq-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--warm-gray);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--deep-blue);
    padding: 80px 0 40px;
    color: white;
}
.footer-grid {
    display: grid;
    gap: 48px;
    margin-bottom: 64px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 280px;
}
.footer-logo {
    height: 48px;
    background: white;
    padding: 10px 16px;
    border-radius: 6px;
}
.footer-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--mint); }
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
