/* ========================================
   Nails By Megan — Styles
   Bold Editorial | Forest Green + Off-White
   ======================================== */

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

:root {
    --forest-dark: #0B2B1A;
    --forest: #1B4332;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --forest-pale: #52B788;
    --gold: #D4A373;
    --gold-light: #E8C9A0;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --warm-white: #FFFDF9;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --text-on-dark: #F0EDE8;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(11, 43, 26, 0.06);
    --shadow-md: 0 8px 30px rgba(11, 43, 26, 0.10);
    --shadow-lg: 0 20px 60px rgba(11, 43, 26, 0.14);
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest);
    letter-spacing: -0.01em;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--forest);
    transition: width var(--transition);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--forest);
    transition: width var(--transition);
}

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

.nav-cta {
    background: var(--forest);
    color: var(--cream) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

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

.nav-cta:hover {
    background: var(--forest-mid);
    color: var(--cream) !important;
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--forest);
    padding: 8px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-menu-links a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--forest);
    transition: color var(--transition-fast);
}

.mobile-menu-links a:hover {
    color: var(--forest-light);
}

.mobile-menu-cta {
    margin-top: 16px;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    background: var(--forest);
    color: var(--cream) !important;
    padding: 14px 32px;
    border-radius: 100px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0B2B1A 0%, #1B4332 30%, #2D6A4F 60%, #1B4332 85%, #0B2B1A 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(82, 183, 136, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 163, 115, 0.12) 0%, transparent 60%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 43, 26, 0.3) 0%,
        transparent 40%,
        transparent 60%,
        rgba(11, 43, 26, 0.4) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-accent {
    color: var(--gold-light);
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(240, 237, 232, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

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

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

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(240, 237, 232, 0.6);
    font-weight: 400;
}

.hero-trust-item svg {
    color: var(--gold);
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(240, 237, 232, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 163, 115, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(240, 237, 232, 0.35);
}

.btn-secondary:hover {
    border-color: var(--cream);
    background: rgba(240, 237, 232, 0.08);
    transform: translateY(-2px);
}

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

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--forest);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

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

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

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

.service-card {
    background: var(--warm-white);
    border: 1px solid rgba(27, 67, 50, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--forest-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--forest), var(--forest-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    margin-bottom: 24px;
}

.service-name {
    font-size: 1.35rem;
    color: var(--forest);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest);
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--forest-light);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--forest-dark);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.08) 0%, transparent 70%);
}

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--forest-dark);
}

.about-image-accent img {
    width: 300px;
    height: 380px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gold);
    color: var(--forest-dark);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

.about-content .section-title {
    color: var(--cream);
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: rgba(240, 237, 232, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream);
}

.about-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 43, 26, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--cream);
    font-weight: 600;
}

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

.gallery-item:nth-child(1) {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / 11;
    grid-row: 2;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--cream-dark);
}

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

.testimonial-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: all var(--transition);
}

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

.testimonial-quote {
    color: var(--forest-light);
    margin-bottom: 20px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--warm-white);
}

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

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

.contact-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--forest), var(--forest-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
}

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

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

.contact-detail-value a {
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.contact-detail-value a:hover {
    color: var(--forest);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid rgba(27, 67, 50, 0.08);
    box-shadow: var(--shadow-sm);
}

.contact-form-title {
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(27, 67, 50, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.12);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 12px;
}

.form-success svg {
    color: var(--forest-light);
}

.form-success p {
    font-size: 1.1rem;
    color: var(--forest);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--forest-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(240, 237, 232, 0.1);
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(240, 237, 232, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(240, 237, 232, 0.55);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(240, 237, 232, 0.55);
    margin-bottom: 8px;
}

.footer-phone, .footer-email {
    font-size: 0.9rem;
    color: var(--gold);
    transition: color var(--transition-fast);
}

.footer-phone:hover, .footer-email:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(240, 237, 232, 0.35);
}

.footer-bottom a {
    color: rgba(240, 237, 232, 0.35);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--cream);
}

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

/* Scroll reveal — progressive enhancement, only applies when JS is active */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        gap: 48px;
    }
    .about-image-accent {
        right: -20px;
        bottom: -20px;
    }
    .about-image-accent img {
        width: 220px;
        height: 280px;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content {
        padding: 100px 20px 80px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    .services {
        padding: 80px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about {
        padding: 80px 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image-main img {
        height: 400px;
    }
    .about-image-accent {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -60px;
        margin-left: 24px;
    }
    .about-image-accent img {
        width: 100%;
        height: 280px;
    }
    .about-badge {
        top: auto;
        bottom: -16px;
        left: 24px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .gallery {
        padding: 80px 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .gallery-item:nth-child(1) img {
        height: 300px;
    }
    .gallery-item:nth-child(2) {
        grid-column: 1;
        grid-row: auto;
    }
    .gallery-item:nth-child(3) {
        grid-column: 2;
        grid-row: auto;
    }
    .gallery-item:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .gallery-item:nth-child(4) img {
        height: 260px;
    }
    .gallery-item img {
        height: 260px;
    }
    .testimonials {
        padding: 80px 0;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }
    .contact {
        padding: 80px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    .footer {
        padding: 60px 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-headline {
        font-size: 2.25rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .service-card {
        padding: 28px 24px;
    }
}
