/* ========================================
   FAIRCHILDS RENOVATION & REPAIR SERVICE
   Classic & Elegant Design System
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Terracotta & Sand Palette */
    --color-terracotta-50: #fdf2f0;
    --color-terracotta-100: #fce7e3;
    --color-terracotta-200: #fad9d0;
    --color-terracotta-300: #f5b8a8;
    --color-terracotta-400: #ee8f78;
    --color-terracotta-500: #e06b50;
    --color-terracotta-600: #d4523a;
    --color-terracotta-700: #b8412e;
    --color-terracotta-800: #973528;
    --color-terracotta-900: #7d2e24;
    
    --color-sand-50: #fdfcfa;
    --color-sand-100: #faf6f0;
    --color-sand-200: #f3ebe0;
    --color-sand-300: #e8d9c4;
    --color-sand-400: #d4bc9a;
    --color-sand-500: #b8996e;
    --color-sand-600: #9e7d52;
    --color-sand-700: #806340;
    --color-sand-800: #665036;
    --color-sand-900: #53412e;
    
    --color-charcoal: #2c2c2c;
    --color-dark: #1a1a1a;
    --color-text: #3d3d3d;
    --color-text-light: #6b6b6b;
    --color-text-muted: #9a9a9a;
    --color-white: #ffffff;
    --color-off-white: #faf8f5;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s 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-sans);
    color: var(--color-text);
    background-color: var(--color-sand-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-sand-200);
    transition: var(--transition-base);
}

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

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

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

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

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

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

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

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

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

.nav-link--cta {
    background: var(--color-terracotta-600);
    color: var(--color-white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

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

.nav-link--cta:hover {
    background: var(--color-terracotta-700);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: var(--transition-base);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-charcoal);
    padding-top: 80px;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(44, 44, 44, 0.7) 50%,
        rgba(26, 26, 26, 0.75) 100%
    );
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(253, 252, 250, 0.1);
    border: 1px solid rgba(253, 252, 250, 0.2);
    border-radius: 50px;
    color: var(--color-sand-200);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(4px);
}

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

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.hero-headline-accent {
    color: var(--color-terracotta-400);
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-sand-200);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Floating Stat Cards */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(253, 252, 250, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

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

.stat-card--1 {
    animation: float 6s ease-in-out infinite;
}

.stat-card--2 {
    animation: float 6s ease-in-out infinite 1s;
}

.stat-card--3 {
    animation: float 6s ease-in-out infinite 2s;
}

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

.stat-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-terracotta-100);
    border-radius: var(--radius-md);
    color: var(--color-terracotta-600);
    flex-shrink: 0;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-card-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

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

.btn--primary {
    background: var(--color-terracotta-600);
    color: var(--color-white);
    border: 2px solid var(--color-terracotta-600);
}

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

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

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

.btn--terracotta {
    background: var(--color-terracotta-600);
    color: var(--color-white);
    border: 2px solid var(--color-terracotta-600);
}

.btn--terracotta:hover {
    background: var(--color-terracotta-700);
    border-color: var(--color-terracotta-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--space-3xl) 0;
    background: var(--color-sand-50);
}

.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: var(--transition-base);
}

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

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-terracotta-50);
    border-radius: var(--radius-md);
    color: var(--color-terracotta-600);
    margin-bottom: var(--space-md);
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
}

.service-card-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-charcoal);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 107, 80, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--color-charcoal);
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-terracotta-600);
    color: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge-text {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.9;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content .section-tag {
    color: var(--color-terracotta-400);
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-sand-300);
    margin-bottom: var(--space-md);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-sand-200);
    font-weight: 500;
}

.value-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 107, 80, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-terracotta-400);
    flex-shrink: 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-sand-100);
}

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

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.testimonial-card-stars {
    display: flex;
    gap: 4px;
    color: var(--color-terracotta-500);
    margin-bottom: var(--space-md);
}

.testimonial-card-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sand-200);
    border-radius: 50%;
    color: var(--color-terracotta-600);
}

.author-info {
    display: flex;
    flex-direction: column;
}

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

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

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

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(44, 44, 44, 0.85) 100%);
}

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

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--color-sand-200);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

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

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-sand-50);
}

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

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

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

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: var(--transition-fast);
}

.contact-detail-item:hover {
    transform: translateX(4px);
}

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

.contact-detail-content {
    display: flex;
    flex-direction: column;
}

.contact-detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-charcoal);
    background: var(--color-sand-50);
    border: 2px solid var(--color-sand-200);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-terracotta-500);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(224, 107, 80, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius-md);
    color: #155724;
    font-weight: 500;
    margin-top: var(--space-md);
}

.form-success svg {
    color: #28a745;
    flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-sand-300);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

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

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

.footer-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-sand-400);
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

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

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

.footer-links a:hover {
    color: var(--color-terracotta-400);
    padding-left: 4px;
}

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

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-sand-400);
}

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

.footer-contact svg {
    color: var(--color-terracotta-500);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(253, 252, 250, 0.1);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement - content visible without JS)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-card {
        flex: 1;
        min-width: 200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-accent {
        right: 20px;
        bottom: -20px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(253, 252, 250, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-sand-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: calc(80px + var(--space-xl)) 0 var(--space-2xl);
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        animation: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-image-main img {
        height: 350px;
    }
    
    .about-image-accent {
        width: 180px;
        bottom: -30px;
        right: -10px;
    }
    
    .about-image-accent img {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}
