/* ============================================
   Darrell W Moore — Attorney at Law
   Vibrant Modern Legal Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --green-dark: #1a5c3a;
    --green-mid: #237a4d;
    --green-light: #2d9b63;
    --green-pale: #e8f5ee;
    --green-ultra-pale: #f4faf6;
    --cream: #faf8f4;
    --cream-dark: #f0ece4;
    --off-white: #fefdfb;
    --white: #ffffff;
    --charcoal: #1a1a1a;
    --gray-dark: #2d2d2d;
    --gray-mid: #555555;
    --gray-light: #888888;
    --gray-pale: #e8e6e1;
    --gold: #c8a84e;
    --gold-light: #f5e6b8;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 92, 58, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 92, 58, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 92, 58, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 92, 58, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 92, 58, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green-dark);
}

.logo-icon {
    color: var(--green-dark);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-mid);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green-dark);
}

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

.nav-cta {
    background: var(--green-dark);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background: var(--green-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
    display: block;
}

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

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

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 92, 58, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 168, 78, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
}

.geo-rect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--green-dark);
    opacity: 0.04;
    top: 15%;
    left: 5%;
    transform: rotate(15deg);
    border-radius: var(--radius-lg);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(26, 92, 58, 0.05);
    bottom: 20%;
    right: 10%;
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(26, 92, 58, 0.12) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 20%;
    right: 35%;
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

.hero-left {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(26, 92, 58, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.headline-accent {
    color: var(--green-dark);
    font-style: italic;
}

.headline-city {
    display: block;
    font-size: 0.45em;
    font-weight: 400;
    color: var(--gray-light);
    font-family: var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 8px;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--gray-mid);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26, 92, 58, 0.3);
}

.btn-primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 92, 58, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    border: 1.5px solid var(--gray-pale);
}

.btn-secondary:hover {
    border-color: var(--green-dark);
    color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--green-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-pale);
}

/* Hero Image Stack */
.hero-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 620px;
}

.img-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.img-card--main {
    width: 340px;
    height: 480px;
    top: 0;
    right: 0;
}

.img-card--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-card--accent {
    width: 240px;
    height: 170px;
    bottom: 60px;
    left: 0;
    z-index: 2;
}

.img-card--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-card--floating {
    width: auto;
    height: auto;
    bottom: 0;
    right: 40px;
    z-index: 3;
}

.floating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-dark);
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-dark);
    background: var(--green-pale);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag--light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

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

.title-accent {
    color: var(--green-dark);
    font-style: italic;
}

.title-accent-light {
    color: var(--gold-light);
    font-style: italic;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-mid);
    line-height: 1.7;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}

.services-bg-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--green-pale);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green-dark);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 92, 58, 0.1);
}

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

.service-card--featured {
    background: var(--green-dark);
    color: var(--white);
    grid-column: span 1;
}

.service-card--featured .service-title,
.service-card--featured .service-desc {
    color: var(--white);
}

.service-card--featured .service-link {
    color: var(--gold-light);
}

.service-card--featured::before {
    background: var(--gold);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    margin-bottom: 20px;
}

.service-card--featured .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.service-desc {
    font-size: 0.92rem;
    color: var(--gray-mid);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-dark);
}

.service-link:hover {
    color: var(--green-mid);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

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

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

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 92, 58, 0.2) 0%, transparent 40%);
}

.about-accent-block {
    position: absolute;
    bottom: -30px;
    left: -30px;
    z-index: 2;
}

.experience-badge {
    background: var(--green-dark);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gold-light);
}

.exp-text {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.about-geo-shape {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: var(--gold);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-intro {
    margin-bottom: 36px;
}

.about-intro p {
    font-size: 1.05rem;
    color: var(--gray-mid);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

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

.value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
}

.value-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

/* --- Why Choose Us --- */
.why-choose {
    padding: 100px 0;
    background: var(--green-dark);
    position: relative;
    overflow: hidden;
}

.why-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 155, 99, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 168, 78, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

.why-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}

.why-title {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 10px;
}

.why-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.testi-geo-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--green-pale);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    opacity: 0.5;
}

.testi-geo-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gold-light);
    border-radius: 50%;
    bottom: -50px;
    right: 10%;
    opacity: 0.4;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-pale);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-mid);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
}

.author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.author-location {
    font-size: 0.82rem;
    color: var(--gray-light);
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    background: var(--green-mid);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
}

.cta-circle--1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    top: -200px;
    right: -100px;
}

.cta-circle--2 {
    width: 300px;
    height: 300px;
    background: rgba(200, 168, 78, 0.1);
    bottom: -100px;
    left: -50px;
}

.cta-rect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 20%;
    left: 15%;
    transform: rotate(30deg);
    border-radius: var(--radius-md);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    max-width: 520px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--gray-mid);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
}

.contact-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact-value a {
    color: var(--green-dark);
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 520px;
    margin-left: auto;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-pale);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--gray-light);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-pale);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-dark);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.1);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--green-dark);
}

.success-text {
    font-size: 0.95rem;
    color: var(--gray-mid);
    line-height: 1.6;
}

.contact-form.hidden {
    display: none;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(26, 92, 58, 0.08);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.footer-rect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(200, 168, 78, 0.05);
    bottom: 10%;
    left: 5%;
    transform: rotate(20deg);
    border-radius: var(--radius-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        max-width: 500px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-bg-block {
        display: none;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-img-main img {
        height: 400px;
    }
    
    .about-geo-shape {
        display: none;
    }
    
    .why-choose {
        padding: 60px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .cta-banner {
        padding: 60px 0;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        margin-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 28px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .experience-badge {
        flex-direction: column;
        text-align: center;
    }
}
