/* ========================================
   CSS Custom Properties
======================================== */
:root {
    --color-midnight: #0F172A;
    --color-midnight-light: #1E293B;
    --color-mint: #2DD4BF;
    --color-mint-light: #5EEAD4;
    --color-mint-pale: #CCFBF1;
    --color-mint-ghost: #F0FDFA;
    --color-sage: #E2E8F0;
    --color-cream: #FAFBFC;
    --color-white: #FFFFFF;
    --color-text: #1E293B;
    --color-text-light: #64748B;
    --color-text-muted: #94A3B8;
    --color-border: #E2E8F0;
    --color-border-light: #F1F5F9;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);

    --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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Container
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   Typography
======================================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: var(--space-md);
}

.section-label--light {
    color: var(--color-mint-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-midnight);
    margin-bottom: var(--space-lg);
}

.section-title--light {
    color: var(--color-white);
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-mint);
    color: var(--color-midnight);
}

.btn-primary:hover {
    background: var(--color-mint-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--color-midnight);
    border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-mint);
    color: var(--color-mint);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-midnight);
    border: 1.5px solid var(--color-midnight);
}

.btn-outline-light:hover {
    background: var(--color-midnight);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-midnight);
}

.btn-white:hover {
    background: var(--color-mint-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
    background: transparent;
    color: var(--color-midnight);
    border: 1.5px solid var(--color-border);
}

.btn-ghost-light:hover {
    border-color: var(--color-midnight);
    color: var(--color-midnight);
    transform: translateY(-2px);
}

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

/* ========================================
   Navigation
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-midnight);
}

.nav-logo-icon {
    color: var(--color-mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link:hover {
    color: var(--color-mint);
}

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

.nav-link--cta {
    background: var(--color-mint);
    color: var(--color-midnight) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

.nav-link--cta:hover {
    background: var(--color-mint-light);
    color: var(--color-midnight) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--color-midnight);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-mint-ghost) 50%, var(--color-white) 100%);
    padding-top: 72px;
}

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

.hero-gradient-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-gradient-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
    bottom: -50px;
    left: 10%;
    border-radius: 50%;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-mint);
    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.2); }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-midnight);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

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

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

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

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 85%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 45%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

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

.hero-floating-card {
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    background: var(--color-mint-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-mint);
}

.floating-card-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-midnight);
}

.floating-card-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 1;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-mint), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   About Section
======================================== */
.about {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-accent-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--color-midnight);
    color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.accent-card-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-mint);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.accent-card-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

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

.about-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.about-value {
    display: flex;
    gap: var(--space-lg);
}

.about-value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-mint-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-mint);
}

.about-value strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-midnight);
    margin-bottom: var(--space-xs);
}

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

/* ========================================
   Services Section
======================================== */
.services {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-4xl);
}

.services-sub {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-visual {
    height: 200px;
    overflow: hidden;
}

.service-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-visual img {
    transform: scale(1.05);
}

.service-card-content {
    padding: var(--space-xl);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--color-mint-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-mint);
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-midnight);
    margin-bottom: var(--space-md);
}

.service-card > .service-card-content > p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-text);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-mint);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   Areas Section
======================================== */
.areas {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.areas-content {
    max-width: 480px;
}

.areas-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.areas-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.area-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.area-item:hover {
    background: var(--color-mint-pale);
    transform: translateX(4px);
}

.area-item-name {
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-midnight);
}

.area-item-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.areas-visual {
    position: relative;
    height: 600px;
}

.areas-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    height: 100%;
}

.area-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.area-img--large {
    grid-row: span 2;
}

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

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
    padding: var(--space-5xl) 0;
    background: linear-gradient(135deg, var(--color-mint-ghost) 0%, var(--color-cream) 100%);
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-4xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.testimonial-quote {
    color: var(--color-mint);
    margin-bottom: var(--space-lg);
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-light);
    flex: 1;
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-midnight);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ========================================
   CTA Section
======================================== */
.cta {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--color-midnight);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(45, 212, 191, 0.2) 0%, transparent 60%);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45, 212, 191, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

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

.cta-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Contact Section
======================================== */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: start;
}

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

.contact-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

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

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--color-midnight);
    font-weight: 500;
}

.contact-detail-value a {
    transition: color var(--transition-fast);
}

.contact-detail-value a:hover {
    color: var(--color-mint);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-mint);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl);
    gap: var(--space-lg);
}

.form-success.active {
    display: flex;
}

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

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-midnight);
}

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

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--color-midnight);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--color-mint);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

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

.footer-contact span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

.footer-disclaimer {
    max-width: 400px;
    text-align: right;
}

/* ========================================
   Animations
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-sub {
        max-width: 100%;
    }

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

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-stack {
        height: 450px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .areas-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .areas-content {
        max-width: 100%;
    }

    .areas-visual {
        height: 400px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .contact-info {
        max-width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: calc(72px + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }

    .hero-image-stack {
        height: 350px;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-headline {
        font-size: 1.875rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .hero-stat-divider {
        width: 48px;
        height: 1px;
    }

    .hero-image-stack {
        height: 280px;
    }

    .about-accent-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--space-lg);
    }

    .areas-visual {
        height: 300px;
    }

    .areas-image-grid {
        grid-template-columns: 1fr;
    }

    .area-img--large {
        grid-row: auto;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}
