/* ============================================
   Sammamish Spanish Tutoring — Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a2e1a;
    background: #faf8f4;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* ---- Typography ---- */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2d6a4f;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #1a2e1a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-lead {
    font-size: 1.05rem;
    color: #4a5a4a;
    max-width: 600px;
    line-height: 1.7;
}

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    line-height: 1.4;
}

.btn--primary {
    background: #2d6a4f;
    color: #ffffff;
    border-color: #2d6a4f;
}

.btn--primary:hover {
    background: #1b4332;
    border-color: #1b4332;
}

.btn--light {
    background: #ffffff;
    color: #1a2e1a;
    border-color: #ffffff;
}

.btn--light:hover {
    background: #f0f0f0;
}

.btn--outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

.btn--outline-green {
    background: transparent;
    color: #2d6a4f;
    border-color: #2d6a4f;
}

.btn--outline-green:hover {
    background: #2d6a4f;
    color: #ffffff;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 106, 79, 0.1);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(26, 46, 26, 0.08);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a2e1a;
}

.nav__logo-icon {
    width: 36px;
    height: 36px;
    background: #2d6a4f;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #3d4f3d;
    transition: color 0.2s;
}

.nav__links a:hover {
    color: #2d6a4f;
}

.btn--nav {
    padding: 10px 22px;
    background: #2d6a4f;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn--nav:hover {
    background: #1b4332;
    color: #ffffff;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: #1a2e1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__overlay {
    display: none;
}

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

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 46, 26, 0.92) 0%,
        rgba(26, 46, 26, 0.75) 50%,
        rgba(45, 106, 79, 0.6) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__headline em {
    font-style: italic;
    color: #95d5a3;
}

.hero__sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero__note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 1;
}

.hero__scroll span {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

/* ---- Trust Bar ---- */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid #e8e4dd;
    padding: 28px 0;
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d4a2d;
    padding: 0 24px;
}

.trust-bar__icon {
    color: #2d6a4f;
    flex-shrink: 0;
}

.trust-bar__divider {
    width: 1px;
    height: 24px;
    background: #d4cec4;
    flex-shrink: 0;
}

/* ---- About ---- */
.about {
    padding: 100px 0;
    background: #faf8f4;
}

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

.about__media {
    position: relative;
}

.about__img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 46, 26, 0.12);
}

.about__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #2d6a4f;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

.about__content {
    max-width: 520px;
}

.about__content .section-lead {
    margin-bottom: 20px;
}

.about__content p {
    color: #4a5a4a;
    margin-bottom: 24px;
    font-size: 1rem;
}

.about__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.about__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #2d4a2d;
}

.about__list-icon {
    width: 22px;
    height: 22px;
    background: #d8f5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: #2d6a4f;
}

/* ---- Services ---- */
.services {
    padding: 100px 0;
    background: #f3f0ea;
}

.section-header {
    margin-bottom: 56px;
}

.section-header .section-title {
    margin-bottom: 16px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 46, 26, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 46, 26, 0.12);
}

.card__img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__img img {
    transform: scale(1.05);
}

.card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #2d6a4f;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card__body {
    padding: 28px;
}

.card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2e1a;
    margin-bottom: 12px;
}

.card__body p {
    font-size: 0.92rem;
    color: #5a6a5a;
    line-height: 1.7;
}

/* ---- Approach ---- */
.approach {
    padding: 100px 0;
    background: #1a2e1a;
}

.approach .section-eyebrow {
    color: #95d5a3;
}

.approach .section-title {
    color: #ffffff;
}

.approach .section-lead {
    color: rgba(255, 255, 255, 0.65);
}

.approach__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.step {
    position: relative;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.08);
}

.step__number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #2d6a4f;
    line-height: 1;
    margin-bottom: 16px;
}

.step__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.step__content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ---- Testimonials ---- */
.testimonials {
    padding: 100px 0;
    background: #faf8f4;
}

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

.testimonial {
    background: #ffffff;
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 46, 26, 0.06);
    border: 1px solid #e8e4dd;
}

.testimonial__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #d4a843;
}

.testimonial__text {
    font-size: 0.95rem;
    color: #3d4f3d;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a2e1a;
}

/* ---- FAQ ---- */
.faq {
    padding: 100px 0;
    background: #f3f0ea;
}

.faq__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.faq__left {
    position: sticky;
    top: 100px;
}

.faq__left .section-lead {
    margin-bottom: 32px;
}

.faq__left .btn {
    margin-top: 8px;
}

.faq__item {
    border-bottom: 1px solid #d4cec4;
}

.faq__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq__q {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2e1a;
}

.faq__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #d8f5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d6a4f;
    transition: transform 0.3s ease;
}

.faq__btn[aria-expanded="true"] .faq__icon {
    transform: rotate(45deg);
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__a p {
    padding-bottom: 22px;
    font-size: 0.92rem;
    color: #4a5a4a;
    line-height: 1.75;
}

.faq__a a {
    color: #2d6a4f;
    font-weight: 500;
}

.faq__item.active .faq__a {
    max-height: 200px;
}

/* ---- Contact ---- */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact__details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact__detail-icon {
    width: 44px;
    height: 44px;
    background: #d8f5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d6a4f;
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2d6a4f;
    margin-bottom: 4px;
}

.contact__detail a,
.contact__detail span {
    font-size: 0.95rem;
    color: #1a2e1a;
}

.contact__detail a:hover {
    color: #2d6a4f;
}

.contact__form-wrap {
    background: #faf8f4;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e8e4dd;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form__group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d4f3d;
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 12px 14px;
    border: 1px solid #d4cec4;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a2e1a;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: #a0a89e;
}

.form__note {
    font-size: 0.8rem;
    color: #7a8a7a;
    text-align: center;
}

/* Form success */
.form__success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form__success-icon {
    width: 64px;
    height: 64px;
    background: #d8f5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d6a4f;
}

.form__success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1a2e1a;
}

.form__success p {
    font-size: 0.92rem;
    color: #4a5a4a;
}

/* ---- Map ---- */
.map-section {
    height: 320px;
    background: #e8e4dd;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- Footer ---- */
.footer {
    background: #1a2e1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer__logo-icon {
    width: 36px;
    height: 36px;
    background: #2d6a4f;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links strong,
.footer__contact strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #95d5a3;
    margin-bottom: 16px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__contact p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer__contact a:hover {
    color: #95d5a3;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

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

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

    .faq__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq__left {
        position: static;
    }

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

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #faf8f4;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 20px;
        box-shadow: -8px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav__links.open {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
    }

    .nav__overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav__overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero__content {
        padding: 120px 20px 100px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-bar__inner {
        flex-direction: column;
        gap: 16px;
    }

    .trust-bar__divider {
        display: none;
    }

    .trust-bar__item {
        padding: 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__badge {
        right: 16px;
        bottom: -16px;
    }

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

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

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

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

    .contact__form-wrap {
        padding: 28px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .hero__headline {
        font-size: 1.8rem;
    }

    .hero__sub {
        font-size: 0.95rem;
    }

    .about, .services, .approach, .testimonials, .faq, .contact {
        padding: 72px 0;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero__scroll span {
        animation: none;
    }

    .card {
        transition: none;
    }

    .card:hover {
        transform: none;
    }

    .step {
        transition: none;
    }
}
