/* ============================================
   CAPE COD ENERGY HEALING — STYLESHEET
   Palette: Plum (#7B3F6B) + Amber (#D4A84B)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum: #7B3F6B;
    --plum-deep: #5C2D50;
    --plum-light: #9B5D85;
    --plum-pale: #F3E8F0;
    --plum-ghost: #FBF7FA;
    --amber: #D4A84B;
    --amber-light: #E8C77B;
    --amber-pale: #FDF6E3;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --line: #E8E0E6;
    --line-light: #F2ECF1;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.4s var(--ease-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum);
    color: var(--white);
    border: 1.5px solid var(--plum);
}

.btn-primary:hover {
    background: var(--plum-deep);
    border-color: var(--plum-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 63, 107, 0.25);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum);
    border-color: var(--white);
}

.btn-large {
    padding: 18px 44px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--line);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav.scrolled .nav-cta {
    background: var(--plum);
    color: var(--white) !important;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.4s;
}

.nav-logo-icon {
    color: var(--amber);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth) !important;
}

.nav-cta:hover {
    background: var(--white) !important;
    color: var(--plum) !important;
    border-color: var(--white) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav.scrolled .nav-toggle span {
    background: var(--text-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--text-dark);
    padding: 8px;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    padding: 12px 24px;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--plum);
}

.mobile-cta {
    margin-top: 24px;
    font-family: var(--font-sans);
    font-size: 0.8rem !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum) !important;
    border: 1.5px solid var(--plum);
    padding: 14px 36px !important;
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 45, 80, 0.82) 0%,
        rgba(123, 63, 107, 0.70) 50%,
        rgba(26, 26, 26, 0.60) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 0 24px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Intro Strip ---------- */
.intro-strip {
    padding: 64px 0;
    border-bottom: 1px solid var(--line-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: start;
}

.intro-item {
    padding: 0 32px;
}

.intro-item:first-child {
    padding-left: 0;
}

.intro-item:last-child {
    padding-right: 0;
}

.intro-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 12px;
}

.intro-item p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.75;
}

.intro-divider {
    width: 1px;
    height: 60px;
    background: var(--line);
    margin: 8px auto 0;
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: 4px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--plum), var(--amber));
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(123, 63, 107, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--plum);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--plum-pale);
    border-color: var(--plum-light);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--amber);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.4;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-text em {
    font-style: italic;
    color: var(--plum);
}

.about-values {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-mid);
}

.value-item svg {
    color: var(--amber);
    flex-shrink: 0;
}

/* ---------- Approach ---------- */
.approach {
    padding: 120px 0;
    background: var(--plum-ghost);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 72px;
}

.step {
    text-align: left;
    padding: 32px 24px;
    border-top: 1px solid var(--line);
    transition: all 0.3s;
}

.step:hover {
    border-top-color: var(--plum);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 20px;
}

.step h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 72px;
}

.testimonial {
    background: var(--off-white);
    border: 1px solid var(--line-light);
    border-radius: 4px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}

.testimonial:hover {
    border-color: var(--plum-pale);
    box-shadow: 0 8px 32px rgba(123, 63, 107, 0.06);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    color: var(--plum);
}

.testimonial p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.testimonial cite {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--plum);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 45, 80, 0.88) 0%,
        rgba(123, 63, 107, 0.78) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail svg {
    color: var(--plum);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: var(--plum);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: 4px;
    padding: 48px 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 14px 16px;
    outline: none;
    transition: all 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--plum-pale);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    text-align: center;
    color: var(--plum);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--amber);
}

.form-success span {
    font-size: 0.95rem;
    color: var(--text-mid);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--amber);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact a {
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--amber);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .intro-item {
        padding: 0;
    }
    
    .intro-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .services,
    .about,
    .approach,
    .testimonials,
    .contact {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}
