/* ============================================
   CRESCENT HILL COUNSELING
   Classic & Elegant Marketing Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Emerald Green Palette */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    
    /* Cream Palette */
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #f9f0db;
    --cream-300: #f2e4c4;
    --cream-400: #e8d4a8;
    --cream-500: #d4b87a;
    
    /* Neutrals */
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--stone-800);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--emerald-700);
    color: #ffffff;
    border-color: var(--emerald-700);
}

.btn--primary:hover {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 78, 59, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

.btn--outline {
    background-color: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-700);
}

.btn--outline:hover {
    background-color: var(--emerald-700);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

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

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--stone-600);
    max-width: 600px;
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.125rem;
    color: #ffffff;
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo {
    color: var(--emerald-900);
}

.nav-logo-icon {
    color: var(--emerald-400);
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo-icon {
    color: var(--emerald-600);
}

.nav-logo-text {
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--emerald-400);
    transition: width var(--transition-base);
}

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

.nav-link:hover {
    color: #ffffff;
}

.navbar.scrolled .nav-link {
    color: var(--stone-600);
}

.navbar.scrolled .nav-link:hover {
    color: var(--emerald-700);
}

.navbar.scrolled .nav-link::after {
    background-color: var(--emerald-600);
}

.nav-link--cta {
    background-color: var(--emerald-600);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background-color: var(--emerald-700);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-link--cta {
    background-color: var(--emerald-700);
}

.navbar.scrolled .nav-link--cta:hover {
    background-color: var(--emerald-800);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--emerald-900);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--emerald-950) 0%,
        var(--emerald-900) 20%,
        var(--emerald-800) 40%,
        #0a6e52 60%,
        var(--emerald-700) 80%,
        var(--emerald-600) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(6, 78, 59, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(4, 120, 87, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.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");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-200);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.hero-badge svg {
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title--accent {
    color: var(--emerald-300);
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

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

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

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

.hero-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.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.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background-color: var(--cream-50);
}

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

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--stone-200);
    border-radius: 16px;
    padding: 2.25rem;
    transition: all var(--transition-base);
    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 var(--transition-base);
}

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

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

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--emerald-700);
    transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    color: #ffffff;
}

.service-card-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-950);
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach {
    padding: var(--section-padding) 0;
    background-color: var(--cream-100);
}

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

.approach-image {
    position: relative;
}

.approach-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.approach-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.approach-content {
    padding: 1rem 0;
}

.approach-desc {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.approach-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.approach-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.approach-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-100);
    border-radius: 8px;
    color: var(--emerald-700);
}

.approach-feature-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--emerald-950);
    margin-bottom: 0.25rem;
}

.approach-feature-desc {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--cream-50);
}

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

.about-content {
    order: 1;
}

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

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-value {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.about-value-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-200);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
}

.about-value-text h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--emerald-950);
    margin-bottom: 0.25rem;
}

.about-value-text p {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.6;
}

.about-image-col {
    order: 2;
    position: relative;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 55%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--cream-50);
}

.about-image-secondary img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(
        135deg,
        var(--emerald-950) 0%,
        var(--emerald-900) 50%,
        #0a5c45 100%
    );
    position: relative;
    overflow: hidden;
}

.testimonials::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");
    pointer-events: none;
}

.testimonials .section-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--emerald-300);
}

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

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.25rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-card-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--emerald-400);
    margin-bottom: 1.25rem;
}

.testimonial-card-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.testimonial-card-name {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
}

.testimonial-card-location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 6rem 0;
    background-color: var(--cream-100);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(6, 78, 59, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 100% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--emerald-950);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--stone-500);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--cream-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info {
    padding: 1rem 0;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

.contact-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: 10px;
    color: var(--emerald-700);
}

.contact-detail h4 {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--emerald-950);
    margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

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

/* Contact Form */
.contact-form-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--stone-200);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--emerald-950);
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background-color: var(--cream-50);
    border: 1.5px solid var(--stone-200);
    border-radius: 8px;
    transition: all var(--transition-fast);
    outline: none;
}

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

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

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

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-100);
    border-radius: 50%;
    color: var(--emerald-700);
}

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

.form-success p {
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* Map */
.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--emerald-400);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

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

.footer-legal {
    font-size: 0.75rem !important;
    max-width: 600px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .approach-layout,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-col {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--emerald-950);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.125rem;
    }
    
    .nav-link::after {
        background-color: var(--emerald-400) !important;
    }
    
    .nav-link--cta {
        margin-top: 1rem;
    }
    
    .hero {
        padding: 7rem 1.5rem 4rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .approach-image img {
        height: 400px;
    }
    
    .about-image-main img {
        height: 400px;
    }
    
    .about-image-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 1rem;
    }
    
    .about-image-secondary img {
        height: 250px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
