/* =========================================
   PREMIUM THEME VARIABLES
   ========================================= */
:root {
    /* Palette: Organic & Grounded */
    --color-sage: #8da399;
    /* Primary Sage */
    --color-sage-deep: #5e7067;
    /* Darker Leaf */
    --color-sage-light: #e8ecea;
    /* Very pale sage background */

    --color-sand: #fbf9f4;
    /* Warm Paper White */
    --color-sand-dark: #f0ebe0;

    --color-gold: #c5a47e;
    /* Muted Gold Accent */
    --color-gold-hover: #b08d65;

    --color-text-main: #2c3330;
    /* Soft Charcoal */
    --color-text-light: #5d6662;
    /* Muted Grey */

    --color-white: #ffffff;
    --color-dark-bg: #2c3330;
    /* Dark footer/section bg */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --font-accent: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1240px;
    --section-spacing: 120px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --blur: 12px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-sand);
    color: var(--color-text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-main);
    line-height: 1.25;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

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

.bg-dark p,
.bg-dark h2,
.bg-dark h3 {
    color: var(--color-sand);
}

.bg-dark .text-light {
    color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-meta {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Typography Helpers */
.italic-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--color-sage);
}

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

.eyebrow-dark {
    display: block;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-sage-deep);
    margin-bottom: 1rem;
}

.eyebrow-light {
    display: block;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-accent);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-sage-deep);
    color: var(--color-white);
    border: 1px solid var(--color-sage-deep);
}

.btn-primary:hover {
    background-color: var(--color-text-main);
    border-color: var(--color-text-main);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 1px solid var(--color-text-main);
    color: var(--color-text-main);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-text-main);
    color: var(--color-white);
}

.btn-text {
    padding: 0 10px;
    color: var(--color-text-main);
    font-weight: 600;
}

.btn-text .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    z-index: 1001;
    /* Above mobile menu overlay */
}

.logo .credentials {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-sage-deep);
    margin-left: 8px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-sage-deep);
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
}

.line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    margin: 6px auto;
    transition: all 0.3s ease;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background-color: #d8e2dc;
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: #f0e6d2;
    /* soft gold */
    bottom: 10%;
    left: -100px;
    animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -50px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Real Portrait Styling */
.image-frame {
    position: relative;
    z-index: 10;
}

.portrait-container {
    width: 100%;
    max-width: 400px;
    /* Slightly smaller for elegance */
    aspect-ratio: 3/4;
    border-radius: 200px 200px 0 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s ease;
}

.portrait-container:hover .portrait-img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* 
.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(94, 112, 103, 0.4) 100%);
    opacity: 0.6;
}
*/

/* =========================================
   INTRO SECTION
   ========================================= */
.intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.intro-heading h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.highlight {
    color: var(--color-sage-deep);
    font-style: italic;
}

.intro-body p {
    font-size: 1.1rem;
}

/* =========================================
   EXPERTISE (Cards)
   ========================================= */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    border: var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-sage);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.85);
}

.glass-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--color-sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-sage-deep);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* =========================================
   APPROACH
   ========================================= */
.approach-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.divider {
    height: 1px;
    width: 60px;
    background: var(--color-gold);
    margin: 30px 0;
}

.approach-quote {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-sage-deep);
    border-left: 3px solid var(--color-sage-light);
    padding-left: 20px;
}

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

.approach-item {
    display: flex;
    gap: 30px;
}

.item-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    opacity: 0.6;
    font-weight: 400;
}

.item-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

/* =========================================
   SERVICES
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
    /* align vertically */
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    /* very subtle on dark */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    color: var(--color-sand);
    transition: transform 0.3s ease;
}

.pricing-card h3 {
    color: var(--color-sand);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.pricing-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
}

.pricing-card.featured {
    background: var(--color-sage-deep);
    /* Slightly lighter than bg-dark */
    border: 1px solid var(--color-sage);
    transform: scale(1.05);
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accessibility-banner {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.access-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.access-text h4 {
    color: var(--color-sand);
    margin-bottom: 0px;
    font-size: 1rem;
}

.access-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   FAQ
   ========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 60px;
}

.sticky-header {
    position: sticky;
    top: 120px;
}

.faq-item {
    border-bottom: 1px solid var(--color-sage-light);
    margin-bottom: 0;
}

.faq-item summary {
    padding: 24px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: 24px;
    animation: fadeDown 0.3s ease-out;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CONTACT
   ========================================= */
.typebot-wrapper {
    background: var(--color-white);
    padding: 10px;
    border-radius: 20px;
    max-width: 900px;
    margin: 40px auto;
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    padding-top: 80px;
    color: var(--color-sand-dark);
}

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

.footer-brand h3 {
    color: var(--color-sand);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.copyright {
    padding: 30px 0;
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 0;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    .navbar .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--color-sand);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }

    .navbar .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }

    .intro-wrapper,
    .approach-layout,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .sticky-header {
        position: static;
        text-align: center;
    }

    .drop-cap {
        font-size: 3.5rem;
    }
}