/* ============================================
   Desert Hills Home & Repair — Styles
   Palette: Midnight Blue (#0a2540) + Mint (#34d4a8)
   ============================================ */

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

:root {
    --midnight: #0a2540;
    --midnight-light: #123a5e;
    --midnight-dark: #061a2e;
    --mint: #34d4a8;
    --mint-light: #5eead4;
    --mint-pale: #d1faef;
    --mint-bg: #ecfdf5;
    --cream: #f8faf9;
    --sand: #f0f7f4;
    --sand-dark: #e2efe8;
    --white: #ffffff;
    --text-dark: #0a2540;
    --text-mid: #374151;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12), 0 4px 12px rgba(10, 37, 64, 0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--midnight);
    background: var(--mint-pale);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag--light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

/* --- Section Titles --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-title--accent {
    color: var(--mint);
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 100px;
    padding: 14px 28px;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

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

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

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

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

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 249, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(248, 250, 249, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--midnight);
}

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

.nav__links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav__links a:not(.btn):hover {
    color: var(--midnight);
}

.nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: var(--transition);
}

.nav__links a:not(.btn):hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--midnight);
    transition: var(--transition);
}

.mobile-menu__link:hover {
    color: var(--mint);
}

/* ============================================
   Hero Section — Asymmetric Magazine Layout
   ============================================ */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 50%, var(--mint-bg) 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__deco {
    position: absolute;
    pointer-events: none;
}

.hero__deco--circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 212, 168, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero__deco--dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--mint) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.25;
    bottom: 80px;
    left: -20px;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--midnight);
    background: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--midnight);
    letter-spacing: -0.02em;
}

.hero__accent {
    color: var(--mint);
    font-style: italic;
}

.hero__lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
}

/* --- Hero Image Column --- */
.hero__image-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

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

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.hero__stat-card {
    position: absolute;
    top: 40px;
    right: -30px;
    background: var(--midnight);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}

.hero__stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--mint-light);
    line-height: 1;
    margin-bottom: 4px;
}

.hero__stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

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

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--mint-pale);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--midnight);
    color: var(--mint-light);
}

.service-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--midnight);
    transition: var(--transition);
}

.service-card__link:hover {
    color: var(--mint);
    gap: 10px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}

.about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

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

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

.about__image-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

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

.about__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.about__values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.about__value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__value strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.about__value span {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.5;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 212, 168, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.why-us__inner {
    position: relative;
    z-index: 1;
}

.why-us__content {
    margin-bottom: 56px;
}

.why-us__content .section-title {
    margin-bottom: 8px;
}

.why-us__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-us__feature {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.why-us__feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.why-us__feature-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.7;
}

.why-us__feature h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.why-us__feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery__header {
    text-align: center;
    margin-bottom: 56px;
}

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

.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    min-height: 320px;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--tall) {
    min-height: 220px;
}

.gallery__item--tall {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
    min-height: 556px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--sand) 0%, var(--mint-bg) 100%);
}

.contact__grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info .section-title {
    margin-bottom: 20px;
}

.contact__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.contact__detail strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* --- Contact Form --- */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact__form-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-dark);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form__input:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(52, 212, 168, 0.15);
}

.form__input::placeholder {
    color: var(--text-lighter);
}

.form__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='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Success Message --- */
.contact__success {
    text-align: center;
    padding: 40px 20px;
}

.contact__success-icon {
    margin-bottom: 16px;
}

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

.contact__success p {
    color: var(--text-mid);
    margin-bottom: 24px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--midnight-dark);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links strong,
.footer__contact strong {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
    margin-bottom: 4px;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__contact span,
.footer__contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer__contact a:hover {
    color: var(--mint-light);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr 0.7fr;
        gap: 40px;
    }
    
    .hero__image-accent {
        left: -20px;
        bottom: -10px;
    }
    
    .hero__stat-card {
        right: -16px;
        top: 20px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about__image-float {
        right: -16px;
        bottom: -20px;
    }
    
    .why-us__features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery__item--large {
        grid-column: 1 / 9;
    }
    
    .gallery__item--tall {
        grid-column: 9 / 13;
        grid-row: 1 / 2;
        min-height: 320px;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__image-col {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero__stat-card {
        right: -10px;
        top: 10px;
        padding: 16px 20px;
    }
    
    .hero__stat-number {
        font-size: 1.75rem;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .services__header {
        margin-bottom: 40px;
    }
    
    .about__image-float {
        right: 0;
        bottom: -16px;
    }
    
    .why-us__features {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--large {
        grid-column: 1 / -1;
        min-height: 240px;
    }
    
    .gallery__item--tall {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 240px;
    }
    
    .gallery__item:not(.gallery__item--large):not(.gallery__item--tall) {
        min-height: 180px;
    }
    
    .contact__form-wrap {
        padding: 28px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero__image-col {
        max-width: 100%;
    }
    
    .hero__image-accent {
        left: -10px;
        bottom: -8px;
    }
    
    .hero__stat-card {
        right: 0;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .services,
    .about,
    .why-us,
    .gallery,
    .contact {
        padding: 64px 0;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--large,
    .gallery__item--tall {
        grid-column: 1;
    }
}
