/* ============================================
   Better Choices Counseling — Styles
   Palette: Midnight Blue (#0a2540) + Mint (#7dd3c0)
   Fonts: Cormorant Garamond (serif) + Karla (sans)
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Karla', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #0a2540;
    background-color: #fafbfb;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn--primary {
    background: #0a2540;
    color: #fafbfb;
    border: 1.5px solid #0a2540;
}

.btn--primary:hover {
    background: #123a5e;
    border-color: #123a5e;
}

.btn--ghost {
    background: transparent;
    color: #0a2540;
    border: 1.5px solid #0a2540;
}

.btn--ghost:hover {
    background: #0a2540;
    color: #fafbfb;
}

.btn--nav {
    padding: 10px 22px;
    font-size: 13px;
    background: #7dd3c0;
    color: #0a2540;
    border-color: #7dd3c0;
}

.btn--nav:hover {
    background: #5fc4b0;
    border-color: #5fc4b0;
}

.btn--full {
    width: 100%;
}

.btn--mobile {
    display: block;
    text-align: center;
    margin-top: 24px;
}

/* ---------- Eyebrow ---------- */
.section-eyebrow {
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3c0;
    margin-bottom: 16px;
}

/* ---------- Section Headings ---------- */
.section-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #0a2540;
    margin-bottom: 24px;
}

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

.section-intro {
    font-size: 1.05rem;
    color: #1a3a5c;
    max-width: 560px;
    line-height: 1.8;
}

.section-intro--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Body Text ---------- */
.body-text {
    font-size: 1rem;
    color: #2a4a6c;
    line-height: 1.85;
    margin-bottom: 16px;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 251, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.07);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 24px rgba(10, 37, 64, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0a2540;
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #2a4a6c;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7dd3c0;
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: #0a2540;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: #0a2540;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 251, 251, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

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

.mobile-menu-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #0a2540;
    font-weight: 400;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: #fafbfb;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(125, 211, 192, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-image-col {
    position: relative;
}

.hero-image-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 37, 64, 0.1);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/9;
}

.hero-accent-line {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 3px;
    background: #7dd3c0;
    border-radius: 2px;
}

.hero-content-col {
    padding: 24px 0;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3c0;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: #0a2540;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: #5a9e8e;
}

.hero-sub {
    font-size: 1.05rem;
    color: #2a4a6c;
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-note {
    font-size: 13px;
    color: #5a7a9c;
    letter-spacing: 0.02em;
}

/* ---------- Divider ---------- */
.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider-line {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(10, 37, 64, 0.12), transparent);
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: #fafbfb;
}

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

.about-text .section-heading {
    margin-bottom: 28px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.08);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: #0a2540;
    color: #fafbfb;
}

.services .section-eyebrow {
    color: #7dd3c0;
    text-align: center;
}

.services .section-heading {
    color: #fafbfb;
}

.services .section-intro {
    color: rgba(250, 251, 251, 0.7);
}

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

.service-card {
    background: rgba(250, 251, 251, 0.04);
    border: 1px solid rgba(250, 251, 251, 0.08);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all 0.35s ease;
}

.service-card:hover {
    background: rgba(250, 251, 251, 0.08);
    border-color: rgba(125, 211, 192, 0.3);
    transform: translateY(-4px);
}

.service-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(125, 211, 192, 0.3);
    line-height: 1;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    color: #fafbfb;
    margin-bottom: 14px;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(250, 251, 251, 0.65);
    line-height: 1.75;
}

/* ---------- Approach ---------- */
.approach {
    padding: 120px 0;
    background: #fafbfb;
}

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

.approach-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.08);
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.approach-content .section-heading {
    margin-bottom: 48px;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.approach-step {
    border-top: 1px solid rgba(10, 37, 64, 0.1);
    padding-top: 32px;
}

.step-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3c0;
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.5rem;
    color: #0a2540;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.95rem;
    color: #2a4a6c;
    line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 120px 0;
    background: #f4f7f8;
}

.faq .section-heading {
    margin-bottom: 56px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(10, 37, 64, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    text-align: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #0a2540;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: #5a9e8e;
}

.faq-toggle {
    font-family: 'Karla', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #7dd3c0;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.25s ease;
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
    color: #0a2540;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 28px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #2a4a6c;
    line-height: 1.85;
    padding-right: 48px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: #fafbfb;
}

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

.contact-info .section-heading {
    margin-bottom: 20px;
}

.contact-info .body-text {
    margin-bottom: 40px;
}

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

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

.contact-icon {
    flex-shrink: 0;
    color: #7dd3c0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5a7a9c;
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
    font-size: 1rem;
    color: #0a2540;
    transition: color 0.25s ease;
}

.contact-detail a:hover {
    color: #5a9e8e;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.06);
}

/* ---------- Form ---------- */
.contact-form-wrap {
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.04);
}

.form-title {
    font-size: 1.6rem;
    color: #0a2540;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a7a9c;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(10, 37, 64, 0.15);
    border-radius: 4px;
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #0a2540;
    background: #fafbfb;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8aa8c0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #7dd3c0;
    box-shadow: 0 0 0 3px rgba(125, 211, 192, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    margin: 0 auto 20px;
}

.form-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #0a2540;
}

/* ---------- Footer ---------- */
.footer {
    background: #0a2540;
    color: rgba(250, 251, 251, 0.6);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 251, 251, 0.08);
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fafbfb;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(250, 251, 251, 0.5);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #7dd3c0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(250, 251, 251, 0.5);
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: #7dd3c0;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .approach-layout,
    .contact-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image-col {
        max-width: 400px;
    }

    .hero-content-col {
        padding: 0;
    }

    .hero-accent-line {
        display: none;
    }

    .about-grid,
    .approach-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image,
    .approach-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .faq-question {
        font-size: 1.15rem;
    }

    .faq-answer p {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        gap: 16px;
    }

    .service-card {
        padding: 28px 24px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
