/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #F9F6F1;       /* Warm white / off-white */
    --text-primary: #2C2C2C;     /* Deep warm charcoal */
    --accent-sage: #8FAF8F;      /* Soft sage green */
    --accent-blue: #A8C5D6;      /* Baby blue */
    --accent-beige: #C9B99A;     /* Earthy beige */
    --divider-sand: #E8DFD0;     /* Pale sand */
    --accent-gold: #D4AF37;      /* Active state gold */
    --accent-gold-hover: #F5C518;/* Bright gold */
    
    /* Functional Colors */
    --bg-alt: #F1ECE3;           /* Darker warm white for alternating sections */
    --text-light: #5A5A5A;       /* Muted text */
    --text-inverse: #F9F6F1;     /* Text on dark backgrounds */
    --error: #C86464;            /* Soft red for errors */
    --success: #64A082;          /* Soft green for success */

    /* Typography */
    --font-headline: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 8rem 2rem;
    --section-padding-mobile: 4.5rem 1.25rem;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 30px rgba(44, 44, 44, 0.04);
    --box-shadow-hover: 0 20px 40px rgba(44, 44, 44, 0.08);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem; /* Space for sticky header */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-headline);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}

h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h4 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.small-container {
    max-width: 800px;
}

.section-padding {
    padding: var(--section-padding);
}

.alt-bg {
    background-color: var(--bg-alt);
}

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

.section-title {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-sage);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(143, 175, 143, 0.25);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.text-link {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--divider-sand);
    padding-bottom: 0.2rem;
}

.text-link:hover {
    color: var(--accent-sage);
    border-color: var(--accent-sage);
}

.text-link .arrow {
    transition: transform var(--transition-fast);
}

.text-link:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(249, 246, 241, 0.93);
    border-bottom: 1px solid var(--divider-sand);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

/* Scroll-driven shrink animation for supported browsers */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    @keyframes headerShrink {
        to {
            background-color: rgba(249, 246, 241, 0.93);
            border-bottom: 1px solid var(--divider-sand);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
        }
    }
    
    .site-header {
        animation: headerShrink auto linear both;
        animation-timeline: scroll(block root);
        animation-range: 0px 100px;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header.scrolled .header-container {
    padding: 1rem 1.5rem;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-headline);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-light);
    margin-top: 0.1rem;
}

/* Nav Links */
.main-nav {
    margin-left: auto;
}

.header-socials {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-left: 2.5rem;
}

.header-socials a {
    color: var(--text-primary);
    opacity: 0.8;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.header-socials a:hover {
    color: var(--accent-sage);
    opacity: 1;
    transform: translateY(-2px);
}

.mobile-socials {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast) ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
    transform-origin: left center;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    background: radial-gradient(circle at center, rgba(168,197,214,0.15) 0%, rgba(143,175,143,0.1) 50%, var(--bg-primary) 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin-top: 3rem;
}

.hero-title {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title .line:first-child {
    animation: fadeUpIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-title .line:last-child {
    font-style: italic;
    font-weight: 300;
    animation: fadeUpIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

.hero-actions {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.9s forwards;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: var(--transition-fast);
}

.scroll-down-indicator:hover {
    color: var(--accent-sage);
}

.chevron-down {
    animation: bounce 2s infinite;
}

/* ==========================================================================
   2. WHO THIS IS FOR
   ========================================================================== */
.who-its-for-section {
    background-color: var(--bg-primary);
}

.checklist {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: rgba(241, 236, 227, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid var(--divider-sand);
    transition: var(--transition-smooth);
}

.checklist-item:hover {
    transform: translateY(-2px);
    background-color: rgba(241, 236, 227, 0.7);
    border-color: var(--accent-sage);
}

.checklist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(143, 175, 143, 0.15);
    color: var(--accent-sage);
    flex-shrink: 0;
}

.checklist-text {
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0;
    color: var(--text-primary);
}

/* ==========================================================================
   3. PHILOSOPHY
   ========================================================================== */
.philosophy-section {
    position: relative;
}

.pull-quote {
    margin-bottom: 3.5rem;
    text-align: center;
}

.quote-text {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-style: italic;
    line-height: 1.2;
    color: var(--text-primary);
}

.philosophy-body {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
}

.philosophy-body p {
    margin-bottom: 2rem;
}

.philosophy-body p:last-of-type {
    margin-bottom: 3.5rem;
}

/* ==========================================================================
   4. OFFERINGS (GRID & ACCORDION)
   ========================================================================== */
.offerings-section {
    background-color: var(--bg-primary);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    align-items: start;
}

/* Card layout using Details element */
.offering-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--divider-sand);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-smooth);
    list-style: none; /* remove details marker */
}

/* Details marker removal */
.offering-card summary::-webkit-details-marker {
    display: none;
}
.offering-card summary::marker {
    display: none;
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-sage);
}

.offering-card[open] {
    grid-column: span 1;
    border-color: var(--accent-sage);
    box-shadow: var(--box-shadow-hover);
}

.offering-summary {
    padding: 2.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    outline: none;
    position: relative;
}

.offering-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-sage);
    margin-bottom: 1rem;
    display: block;
}

.offering-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.offering-teaser {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.learn-more-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-top: auto;
    align-self: flex-start;
    transition: var(--transition-fast);
}

.plus-icon {
    transition: transform var(--transition-fast);
    color: var(--accent-sage);
}

.offering-card[open] .plus-icon {
    transform: rotate(45deg);
}

.offering-card[open] .learn-more-trigger .trigger-text {
    content: 'Show less';
}

/* Smooth Accordion Content Transition */
.offering-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-top: 1px solid transparent;
}

.offering-card[open] .offering-details {
    grid-template-rows: 1fr;
    border-color: var(--divider-sand);
    background-color: rgba(241, 236, 227, 0.3);
}

.details-content {
    min-height: 0;
    overflow: hidden;
    padding: 0 2.5rem 2.5rem 2.5rem;
}

/* Expanded contents styling */
.details-subtitle {
    font-family: var(--font-headline);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1.25rem;
}

.offering-details p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.who-is-details {
    margin-top: 1.5rem;
    margin-bottom: 2.25rem;
    padding: 1.25rem;
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    border-left: 2px solid var(--accent-sage);
}

.who-is-details h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-sage);
    margin-bottom: 0.5rem;
}

.who-is-details p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.card-cta {
    width: 100%;
}

/* ==========================================================================
   5. ABOUT SECTION (BIOGRAPHY)
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: visible;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 15px 30px rgba(44, 44, 44, 0.1));
}

.image-accent-glow {
    position: absolute;
    top: 5%;
    left: -5%;
    width: 110%;
    height: 90%;
    background-color: var(--accent-sage);
    opacity: 0.12;
    z-index: 1;
    border-radius: 50%;
    filter: blur(50px);
}

.about-text-content {
    display: flex;
    flex-direction: column;
}

.about-story {
    margin-bottom: 2.5rem;
}

.about-story p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Arabic word inline styling */
.arabic-inline {
    font-family: 'Amiri', 'Georgia', serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--accent-sage);
    display: inline-block;
    padding: 0 0.2rem;
    line-height: 1;
}

/* Credentials Block */
.credentials-block {
    margin-bottom: 3.5rem;
    border-top: 1px solid var(--divider-sand);
    border-bottom: 1px solid var(--divider-sand);
    padding: 2.5rem 0;
}

.credentials-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-sage);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.credentials-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 1.5rem;
}

.credentials-list li {
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.credentials-list li::after {
    content: "•";
    color: var(--accent-beige);
    margin-left: 1.5rem;
}

.credentials-list li:last-child::after {
    display: none;
}

.about-cta {
    margin-top: 1rem;
}

.about-cta-text {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   6. TESTIMONIAL / CLOSING CTA
   ========================================================================== */
.testimonial-cta-section {
    background-color: var(--bg-primary);
}

.testimonial-body {
    margin-bottom: 3rem;
}

.testimonial-p {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    line-height: 1.5;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-p:first-child {
    font-style: italic;
}

.testimonial-p:last-child {
    font-weight: 400;
}

/* ==========================================================================
   7. CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-subtext {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-icon {
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--divider-sand);
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-sage);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 400;
}

a.info-value:hover {
    color: var(--accent-sage);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid var(--divider-sand);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group .required {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--divider-sand);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: #A0A0A0;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 3px rgba(143, 175, 143, 0.1);
}

/* Form validation styling */
.form-control.invalid {
    border-color: var(--error);
    background-color: rgba(200, 100, 100, 0.02);
}

.error-message {
    font-size: 0.85rem;
    color: var(--error);
    margin-top: 0.4rem;
    display: none;
    font-weight: 400;
}

.form-status-region {
    margin-bottom: 1.5rem;
}

.form-status-message {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-status-message.success {
    background-color: rgba(100, 160, 130, 0.1);
    color: #3b6350;
    border: 1px solid rgba(100, 160, 130, 0.25);
}

.form-status-message.error {
    background-color: rgba(200, 100, 100, 0.1);
    color: #8c4242;
    border: 1px solid rgba(200, 100, 100, 0.25);
}

.btn-submit {
    width: 100%;
}

/* Spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-left: 0.75rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success inline view replacement */
.success-card {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.6s ease forwards;
}

.success-check-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 5rem 2rem 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--accent-beige);
    font-weight: 300;
}

.footer-nav {
    border-top: 1px solid rgba(249, 246, 241, 0.1);
    border-bottom: 1px solid rgba(249, 246, 241, 0.1);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.footer-nav-list {
    display: flex;
    gap: 3rem;
}

.footer-nav-list a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(249, 246, 241, 0.7);
}

.footer-nav-list a:hover {
    color: var(--accent-sage);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(249, 246, 241, 0.65);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social-icons a {
    color: rgba(249, 246, 241, 0.6);
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.footer-social-icons a:hover {
    color: var(--accent-sage);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(249, 246, 241, 0.65);
}

.footer-link:hover {
    color: var(--accent-sage);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEALS
   ========================================================================== */
@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll reveal initial states for IntersectionObserver */
.reveal-hidden {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

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

/* Staggered load for who-its-for items */
.checklist-item.reveal-hidden {
    transition-delay: calc(var(--item-index, 0) * 0.15s);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet Breakpoint (768px - 1024px) */
@media (max-width: 1024px) {
    body {
        font-size: 1.05rem;
    }
    
    .section-padding {
        padding: var(--section-padding-mobile);
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .offering-card[open] {
        grid-column: span 2;
    }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 768px) {
    /* Mobile Header Layout */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(249, 246, 241, 0.98);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    
    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* Hamburger to X Transformation */
    .mobile-nav-toggle.open .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .mobile-nav-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -2px);
    }
    
    /* Content Layouts */
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .offering-card[open] {
        grid-column: span 1;
    }
    
    .offering-summary {
        padding: 2rem;
    }
    
    .details-content {
        padding: 0 2rem 2rem 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .credentials-list {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .credentials-list li::after {
        display: none;
    }
    
    .footer-nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-social-icons {
        margin: 0.5rem 0;
        justify-content: flex-start;
        width: 100%;
    }
    
    .footer-links {
        margin-left: 0;
    }
    
    .mobile-socials {
        display: flex;
        gap: 1.75rem;
        margin-top: 3.5rem;
        justify-content: center;
        width: 100%;
        border-top: 1px solid var(--divider-sand);
        padding-top: 2rem;
    }
    
    .mobile-socials a {
        color: var(--text-primary);
        opacity: 0.8;
        display: flex;
        align-items: center;
        transition: var(--transition-fast);
    }
    
    .mobile-socials a:hover {
        color: var(--accent-sage);
        opacity: 1;
    }
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Fallback for animations in reduced-motion mode */
    .reveal-hidden {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .hero-title .line, 
    .hero-subtitle, 
    .hero-actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .chevron-down {
        animation: none;
    }
}
