/* ============================================
   Harford & Cecil County Living
   Classic & Elegant Real Estate Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8ccd7;
    --plum-300: #d4a3b8;
    --plum-400: #c07a98;
    --plum-500: #a85778;
    --plum-600: #8e3f5e;
    --plum-700: #743049;
    --plum-800: #5e283a;
    --plum-900: #4A234E;
    --plum-950: #2d1229;
    
    --amber-50: #fef9ee;
    --amber-100: #fdf3d8;
    --amber-200: #fce9b0;
    --amber-300: #f8d678;
    --amber-400: #f4c24a;
    --amber-500: #D4A84B;
    --amber-600: #c4922e;
    --amber-700: #a37424;
    --amber-800: #845c20;
    --amber-900: #6e4a1e;
    
    --neutral-50: #fafaf8;
    --neutral-100: #f5f4f0;
    --neutral-200: #eae8e2;
    --neutral-300: #d4d0c8;
    --neutral-400: #a8a296;
    --neutral-500: #787168;
    --neutral-600: #5c564f;
    --neutral-700: #44403c;
    --neutral-800: #2e2b27;
    --neutral-900: #1c1917;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(74, 35, 78, 0.06), 0 1px 2px rgba(74, 35, 78, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 35, 78, 0.08), 0 2px 6px rgba(74, 35, 78, 0.04);
    --shadow-lg: 0 12px 40px rgba(74, 35, 78, 0.12), 0 4px 12px rgba(74, 35, 78, 0.06);
    --shadow-xl: 0 24px 60px rgba(74, 35, 78, 0.16);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

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

ul, ol {
    list-style: none;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--plum-900);
    color: #fff;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

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

em {
    font-style: italic;
}

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

/* --- Section --- */
.section {
    padding: 6rem 0;
}

.section-dark {
    background-color: var(--plum-900);
}

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 1rem;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--plum-900);
}

.section-title-light {
    color: #fff;
}

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

.section-subtitle-light {
    color: var(--plum-200);
}

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

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

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

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

.btn-amber {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: var(--plum-950);
    box-shadow: 0 4px 14px rgba(212, 168, 75, 0.35);
}

.btn-amber:hover {
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    box-shadow: 0 6px 20px rgba(212, 168, 75, 0.45);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

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

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 35, 78, 0.08);
    transition: all var(--transition);
}

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

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    color: var(--plum-700);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-primary {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--plum-900);
    letter-spacing: -0.01em;
}

.logo-secondary {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--plum-600);
    letter-spacing: 0.02em;
}

.logo-light .logo-primary,
.logo-light .logo-secondary {
    color: #fff;
}

/* --- Navigation --- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
    color: var(--plum-700);
    background: var(--plum-50);
}

.main-nav .btn-amber {
    margin-left: 0.5rem;
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-900);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    background: var(--plum-950);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 18, 41, 0.92) 0%,
        rgba(74, 35, 78, 0.85) 50%,
        rgba(94, 40, 58, 0.78) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 168, 75, 0.15);
    border: 1px solid rgba(212, 168, 75, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--amber-300);
    letter-spacing: 0.04em;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title em {
    color: var(--amber-400);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--plum-200);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Hero Stat Cards --- */
.hero-cards {
    display: flex;
    gap: 1rem;
    position: absolute;
    right: 1.5rem;
    bottom: 5rem;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    min-width: 160px;
    transition: transform var(--transition), background var(--transition);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--amber-400);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--plum-200);
    margin-top: 0.375rem;
    letter-spacing: 0.02em;
}

/* --- Trust Bar --- */
.trust-bar {
    background: var(--neutral-100);
    border-bottom: 1px solid var(--neutral-200);
    padding: 1.5rem 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.trust-item svg {
    color: var(--amber-600);
    flex-shrink: 0;
}

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

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

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

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

.about-accent {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 100px;
    height: 100px;
    background: var(--amber-500);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.5;
}

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

.about-content p {
    color: var(--neutral-600);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--neutral-700);
}

.about-feature svg {
    color: var(--amber-600);
    flex-shrink: 0;
    margin-top: 2px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--plum-950);
}

.service-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--plum-200);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* --- Areas --- */
.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.areas-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.areas-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.areas-list {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.area-item {
    padding: 1rem 1.25rem;
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition);
}

.area-item:hover {
    border-color: var(--amber-400);
    background: var(--amber-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.area-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--plum-900);
}

.area-desc {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

/* --- CTA Band --- */
.cta-band {
    background: linear-gradient(135deg, var(--plum-800), var(--plum-900));
    padding: 5rem 0;
    text-align: center;
}

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

.cta-text {
    font-size: 1.1rem;
    color: var(--plum-200);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

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

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

.testimonial-card blockquote {
    font-size: 0.9375rem;
    color: var(--neutral-700);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--plum-900);
}

.author-location {
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 75, 0.15);
    border-radius: var(--radius-sm);
    color: var(--amber-400);
    flex-shrink: 0;
}

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

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

.contact-value:hover {
    color: var(--amber-400);
}

/* --- Contact Form --- */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber-500);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--plum-900);
    color: #fff;
}

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

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

/* --- Form Success --- */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success svg {
    color: var(--amber-400);
}

.form-success h3 {
    font-size: 1.75rem;
    color: #fff;
}

.form-success p {
    color: var(--plum-200);
    font-size: 0.9375rem;
}

/* --- Footer --- */
.site-footer {
    background: var(--plum-950);
    padding: 4rem 0 0;
    color: var(--plum-200);
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--plum-300);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--plum-300);
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--plum-300);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--plum-400);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: var(--plum-500) !important;
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-cards {
        position: relative;
        right: auto;
        bottom: auto;
        flex-direction: row;
        margin-top: 2rem;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 130px;
    }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-content {
        margin-bottom: 0;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .areas-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image-wrap {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .areas-image-wrap {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--neutral-50);
        box-shadow: var(--shadow-xl);
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .main-nav a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .main-nav .btn-amber {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .hero-cards {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
