/* ===================================
   LOCAL ROOTS OF CAPE COD
   Vibrant Modern Design System
   Colors: Plum (#7B2D8B) + Amber (#F5A623)
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-plum: #7B2D8B;
    --color-plum-dark: #5a1f64;
    --color-plum-light: #9d4aad;
    --color-amber: #F5A623;
    --color-amber-dark: #d4891a;
    --color-amber-light: #ffd980;
    --color-dark: #1a1a2e;
    --color-dark-light: #2d2d44;
    --color-gray-900: #111827;
    --color-gray-800: #1f2937;
    --color-gray-700: #374151;
    --color-gray-600: #4b5563;
    --color-gray-500: #6b7280;
    --color-gray-400: #9ca3af;
    --color-gray-300: #d1d5db;
    --color-gray-200: #e5e7eb;
    --color-gray-100: #f3f4f6;
    --color-gray-50: #f9fafb;
    --color-white: #ffffff;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-plum: 0 10px 40px rgba(123, 45, 139, 0.3);
    --shadow-amber: 0 10px 40px rgba(245, 166, 35, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- 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(--color-gray-800);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

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

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

.btn-primary:hover {
    background: var(--color-plum-dark);
    border-color: var(--color-plum-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-plum);
}

.btn-secondary {
    background: transparent;
    color: var(--color-plum);
    border-color: var(--color-plum);
}

.btn-secondary:hover {
    background: var(--color-plum);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-plum);
    border-color: var(--color-white);
}

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

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-amber), var(--color-amber-light));
    color: var(--color-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

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

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

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

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

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

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-base);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 50%, #fef3e2 100%);
    overflow: hidden;
}

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

.geo-shape {
    position: absolute;
    opacity: 0.15;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--color-plum);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--color-amber);
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
}

.geo-square-1 {
    width: 150px;
    height: 150px;
    background: var(--color-plum);
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--color-amber);
    top: 20%;
    right: 15%;
}

.geo-ring-1 {
    width: 200px;
    height: 200px;
    border: 20px solid var(--color-plum);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-white);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-plum);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-amber);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.hero-title span {
    color: var(--color-plum);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray-600);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stat Cards */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card-1 {
    background: var(--color-plum);
    color: var(--color-white);
    grid-column: 1;
    grid-row: 1;
}

.stat-card-2 {
    background: var(--color-amber);
    color: var(--color-dark);
    grid-column: 2;
    grid-row: 1;
}

.stat-card-3 {
    background: var(--color-dark);
    color: var(--color-white);
    grid-column: 1;
    grid-row: 2;
}

.stat-card-4 {
    background: var(--color-plum-light);
    color: var(--color-white);
    grid-column: 2;
    grid-row: 2;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.stat-bg {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -30px;
    right: -30px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-500);
    font-size: 0.85rem;
    animation: float 2s ease-in-out infinite;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-plum), transparent);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .section-tag {
    margin-bottom: 16px;
}

.section-header .section-title {
    margin-bottom: 16px;
}

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

.service-card {
    padding: 36px 28px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

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

.service-card:hover .service-icon svg rect:first-child {
    fill: var(--color-plum);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.service-card p {
    color: var(--color-gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    font-weight: 600;
    color: var(--color-plum);
    font-size: 0.95rem;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

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

.accent-shape {
    position: absolute;
    opacity: 0.08;
}

.accent-circle {
    width: 400px;
    height: 400px;
    background: var(--color-plum);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.accent-square {
    width: 200px;
    height: 200px;
    background: var(--color-amber);
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, #fef3e2 100%);
    position: relative;
    overflow: hidden;
}

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

.about-image-wrapper {
    position: relative;
}

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

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

.about-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--color-amber);
    border-radius: var(--radius-xl);
    bottom: -40px;
    right: -40px;
    z-index: -1;
}

.about-experience {
    position: absolute;
    top: 40px;
    right: -60px;
    background: var(--color-plum);
    color: var(--color-white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-plum);
}

.experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.experience-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    color: var(--color-gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

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

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.value-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--color-dark);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

/* --- Approach Section --- */
.approach {
    padding: 100px 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.approach .section-tag {
    background: var(--color-amber);
    color: var(--color-dark);
}

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

.approach .section-subtitle {
    color: var(--color-gray-400);
}

.approach-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-amber), var(--color-plum));
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-plum), var(--color-plum-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.timeline-connector {
    position: absolute;
    left: 31px;
    top: 80px;
    width: 20px;
    height: 20px;
    background: var(--color-amber);
    border-radius: 50%;
    border: 4px solid var(--color-dark);
}

.timeline-content h3 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--color-gray-400);
    line-height: 1.7;
}

.accent-diamond {
    width: 150px;
    height: 150px;
    background: var(--color-amber);
    transform: rotate(45deg);
    top: 10%;
    right: 5%;
    opacity: 0.1;
}

.accent-circle-alt {
    width: 300px;
    height: 300px;
    background: var(--color-plum);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-dark) 100%);
    overflow: hidden;
}

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

.cta-shape {
    position: absolute;
    opacity: 0.15;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    background: var(--color-amber);
    border-radius: 50%;
    top: -150px;
    left: -100px;
}

.cta-circle-2 {
    width: 250px;
    height: 250px;
    background: var(--color-white);
    border-radius: 50%;
    bottom: -80px;
    right: 10%;
}

.cta-rect-1 {
    width: 150px;
    height: 150px;
    background: var(--color-amber);
    bottom: 20%;
    left: 10%;
    transform: rotate(30deg);
}

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

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

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-weight: 500;
}

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

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-text {
    color: var(--color-gray-600);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

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

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

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--color-plum);
}

.contact-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 45, 139, 0.2);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 100%;
}

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

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--color-gray-500);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    transition: border-color var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-plum);
}

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

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

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.form-success p {
    color: var(--color-gray-600);
}

/* --- Footer --- */
.footer {
    background: var(--color-dark);
    color: var(--color-gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

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

.footer-brand p {
    margin-top: 16px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--color-gray-700);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

.footer-legal a:hover {
    color: var(--color-amber);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-cards {
        max-width: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-experience {
        right: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-form-card {
        padding: 24px;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    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; }
.fade-in-delay-4 { transition-delay: 0.4s; }
