/* ============================================
   Capital Painting and Restorations
   Bold Editorial Style — Emerald & Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-950: #042f2e;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --cream-50: #fafaf5;
    --cream-100: #f5f5e8;
    --cream-200: #e8e8d0;
    --cream-300: #d4d4b8;
    --warm-50: #fefcf7;
    --warm-100: #fdf8ee;
    --warm-200: #f5edd6;
    --text-dark: #1a2e28;
    --text-body: #2d4a3f;
    --text-muted: #5a7d6f;
    --text-light: #8fa89a;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1280px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --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;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    line-height: 1.15;
    font-weight: 700;
}

em {
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 47, 46, 0.3);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* --- Section Headers --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

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

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(4, 47, 46, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--emerald-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 1.063rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-text em {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.site-header.scrolled .logo-mark {
    background: var(--emerald-700);
}

/* --- Nav --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

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

.nav-list a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color var(--transition);
    position: relative;
}

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

.nav-list a:hover {
    color: var(--emerald-700);
}

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

.nav-cta {
    background: var(--emerald-700) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background: var(--emerald-800) !important;
    transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--emerald-950);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(5, 150, 105, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(16, 185, 129, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(4, 79, 71, 0.6) 0%, transparent 50%),
        linear-gradient(160deg, #042f2e 0%, #064e3b 40%, #047857 70%, #065f46 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-headline em {
    color: var(--emerald-300);
    font-weight: 600;
}

.hero-sub {
    font-size: clamp(1.063rem, 2vw, 1.313rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.688rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(4, 47, 46, 0.1);
    border-color: var(--emerald-200, var(--cream-300));
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--emerald-700);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Work / Portfolio --- */
.work {
    padding: 120px 0;
    background: var(--cream-100);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.work-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.work-item--large {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}

.work-item--large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-item--wide {
    grid-column: 1 / 13;
}

.work-item--wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-item:not(.work-item--large):not(.work-item--wide) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 46, 0.85) 0%, rgba(4, 47, 46, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity var(--transition);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-tag {
    display: inline-block;
    font-size: 0.688rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 8px;
    width: fit-content;
}

.work-caption {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: var(--emerald-700);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.15;
}

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

.about-text {
    font-size: 1.063rem;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald-100, rgba(5, 150, 105, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.value-item span {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Process --- */
.process {
    padding: 120px 0;
    background: var(--cream-100);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 800;
    color: var(--emerald-200, rgba(5, 150, 105, 0.15));
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 50%, rgba(5, 150, 105, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(4, 47, 46, 0.5) 0%, transparent 50%),
        linear-gradient(135deg, var(--emerald-950) 0%, var(--emerald-800) 50%, var(--emerald-700) 100%);
}

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

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

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--cream-50);
}

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

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

.contact-desc {
    font-size: 1.063rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

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

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald-100, rgba(5, 150, 105, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.063rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--cream-200);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--cream-200);
    box-shadow: 0 4px 24px rgba(4, 47, 46, 0.06);
}

.contact-form-header {
    margin-bottom: 32px;
}

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

.contact-form-header p {
    font-size: 0.938rem;
    color: var(--text-muted);
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    color: var(--text-dark);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

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

.form-note {
    font-size: 0.813rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

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

.form-success p {
    font-size: 0.938rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
    background: var(--emerald-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand .logo-mark {
    background: rgba(255, 255, 255, 0.15);
}

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

.footer-brand .logo-text em {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    margin-top: 20px;
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.063rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a,
.footer-col span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
    .hero-scroll { display: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
        transition: right var(--transition);
    }
    
    .nav-list.open {
        right: 0;
    }
    
    .nav-list a {
        font-size: 1.125rem;
    }
    
    .nav-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item--large {
        grid-column: 1;
        grid-row: auto;
    }
    
    .work-item--wide {
        grid-column: 1;
    }
    
    .work-overlay {
        opacity: 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
