/* ============================================
   Mindy J Meinders — Professional Services
   Bold Editorial Style | Emerald + Cream
   ============================================ */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ebe7dd;
    --cream-300: #d4cfc3;
    --gold-400: #c9a84c;
    --gold-500: #b8942e;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--emerald-800);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 1000;
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--emerald-900);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.header.scrolled {
    border-bottom-color: var(--cream-200);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    text-decoration: none;
    color: var(--emerald-900);
}

.logo-mark {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-700);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--emerald-700);
    background-color: rgba(4, 120, 87, 0.06);
}

.nav-phone {
    color: var(--emerald-700);
    font-weight: 600;
    margin-left: 0.5rem;
    border-left: 1px solid var(--cream-300);
    padding-left: 1.25rem;
}

.nav-phone:hover {
    color: var(--emerald-800);
    background-color: rgba(4, 120, 87, 0.08);
}

/* --- Nav Toggle --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 101;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 22px;
    height: 16px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--emerald-800);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    position: absolute;
    left: 0;
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translate(-50%, -50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 50%;
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 95, 70, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(5, 150, 105, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        linear-gradient(160deg, #064e3b 0%, #065f46 30%, #047857 55%, #059669 80%, #34d399 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--cream-200);
}

.hero-subhead {
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item svg {
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    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); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

.btn-primary:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Section Shared --- */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 600px;
}

/* --- Services --- */
.services {
    padding: 7rem 0;
    background: var(--cream-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.service-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 2.25rem;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.1);
    border-color: var(--emerald-200, var(--cream-200));
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-100));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--emerald-700);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-900);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

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

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(6, 78, 59, 0.1);
    pointer-events: none;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
}

.value-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emerald-800);
    margin-bottom: 0.375rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.about-content .btn {
    margin-top: 0.5rem;
}

/* --- Approach --- */
.approach {
    padding: 7rem 0;
    background: var(--cream-50);
}

.approach-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.approach-content .section-title {
    margin-bottom: 1.25rem;
}

.approach-content .section-subtitle {
    margin-bottom: 0;
}

.approach-steps {
    display: grid;
    gap: 0;
}

.step {
    padding: 2rem 0;
    border-bottom: 1px solid var(--cream-200);
    position: relative;
}

.step:first-child {
    padding-top: 0;
}

.step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-200, #a7f3d0);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    color: var(--emerald-900);
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Testimonial --- */
.testimonial {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.testimonial-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-source {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Contact --- */
.contact {
    padding: 7rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: grid;
    gap: 1.75rem;
}

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

.contact-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

/* --- Form --- */
.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--cream-300);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

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

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success svg {
    color: var(--emerald-500);
    margin: 0 auto 1.25rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-900);
}

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

/* --- Footer --- */
.footer {
    background: var(--emerald-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

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

.footer-brand .logo-mark {
    color: var(--emerald-400);
    border-color: var(--emerald-400);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: grid;
    gap: 0.75rem;
}

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

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .approach-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream-50);
        border-left: 1px solid var(--cream-200);
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        z-index: 99;
    }
    
    .nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .nav-link {
        font-size: 1.0625rem;
        padding: 0.875rem 1rem;
    }
    
    .nav-phone {
        border-left: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--cream-200);
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 98;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero {
        padding: 7rem 1.5rem 4rem;
        min-height: 100svh;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-trust {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .approach-inner {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrap {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        padding: 1.75rem;
    }
}
