/* =============================================
   H Nail Bar & Lash — Editorial Beauty Site
   Palette: Plum (#4A154B) + Amber (#D97706)
   Fonts: Cormorant Garamond + Montserrat
============================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-900: #2D0A2E;
    --plum-800: #4A154B;
    --plum-700: #6B1D6B;
    --plum-600: #8B2E8B;
    --plum-500: #A83D8E;
    --plum-100: #F3E5F3;
    --plum-50:  #FBF5FB;
    
    --amber-600: #B45309;
    --amber-500: #D97706;
    --amber-400: #F59E0B;
    --amber-100: #FEF3C7;
    --amber-50:  #FFFBEB;
    
    --neutral-900: #1A1A1A;
    --neutral-800: #2D2D2D;
    --neutral-700: #404040;
    --neutral-600: #525252;
    --neutral-400: #A3A3A3;
    --neutral-300: #D4D4D4;
    --neutral-100: #F5F5F5;
    --neutral-50:  #FAFAFA;
    --white: #FFFFFF;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* =============================================
   NAVBAR
============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 21, 75, 0.08);
    transition: box-shadow 0.3s var(--ease-out);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(74, 21, 75, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--plum-800);
    color: var(--amber-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
}

.logo-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--neutral-900);
    text-transform: uppercase;
}

.logo-accent {
    color: var(--amber-500);
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-700);
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber-500);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--plum-800);
}

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

.nav-cta {
    background: var(--plum-800);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 2px;
    background: var(--neutral-900);
    box-shadow: 0 -6px 0 var(--neutral-900), 0 6px 0 var(--neutral-900);
    transition: box-shadow 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--plum-900);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    font-weight: 400;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: var(--amber-400);
}

.mobile-cta {
    display: inline-block;
    margin-top: 16px;
    background: var(--amber-500);
    color: var(--neutral-900);
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
}

/* =============================================
   HERO
============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--plum-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 10, 46, 0.92) 0%,
        rgba(74, 21, 75, 0.85) 40%,
        rgba(107, 29, 107, 0.75) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 61, 142, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-card {
    max-width: 680px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 52px 48px;
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 8px;
}

.headline-accent {
    display: block;
    font-weight: 600;
    font-style: italic;
    color: var(--amber-400);
    font-size: 0.85em;
    margin-top: 4px;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--amber-500);
    color: var(--neutral-900);
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.float-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 22px 28px;
    text-align: center;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}

.float-card.card-1 { animation-delay: 0s; }
.float-card.card-2 { animation-delay: -2s; }
.float-card.card-3 { animation-delay: -4s; }

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

.float-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
    margin-bottom: 6px;
}

.float-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* =============================================
   SECTION HEADERS
============================================= */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 16px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--amber-400);
    vertical-align: middle;
    margin: 0 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--plum-900);
    line-height: 1.2;
}

.section-title em {
    font-style: italic;
    color: var(--plum-600);
}

/* =============================================
   SERVICES
============================================= */
.services {
    padding: 120px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-100);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-800), var(--amber-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(74, 21, 75, 0.12);
    border-color: transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--plum-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: var(--plum-800);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--plum-700);
    transition: color 0.3s;
}

.service-card:hover .service-icon svg {
    color: var(--amber-400);
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* =============================================
   ABOUT
============================================= */
.about {
    padding: 120px 0;
    background: var(--plum-50);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 78%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(74, 21, 75, 0.2);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    height: 55%;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid var(--plum-50);
    box-shadow: 0 20px 60px rgba(74, 21, 75, 0.15);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    bottom: 38%;
    right: -10px;
    background: var(--plum-800);
    color: var(--white);
    padding: 24px 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 16px 48px rgba(74, 21, 75, 0.3);
    z-index: 2;
}

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

.accent-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.about-content {
    padding: 20px 0;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-tag::before {
    display: none;
}

.about-text {
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 36px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.value-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--plum-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 18px;
    height: 18px;
    color: var(--plum-700);
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-800);
}

/* =============================================
   GALLERY
============================================= */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 10, 46, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
}

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

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

.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 6; }
.gallery-item:nth-child(6) { grid-column: span 6; }

/* =============================================
   TESTIMONIAL BANNER
============================================= */
.testimonial-banner {
    background: var(--plum-800);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(217, 119, 6, 0.1), transparent 60%);
}

.testimonial-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--amber-500);
    margin: 0 auto 28px;
    opacity: 0.6;
}

.testimonial-content blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-source {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-400);
}

/* =============================================
   CONTACT
============================================= */
.contact {
    padding: 120px 0;
    background: var(--neutral-50);
}

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

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-tag::before {
    display: none;
}

.contact-intro {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--plum-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--plum-700);
}

.contact-item strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-800);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.contact-item a {
    color: var(--neutral-700);
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--amber-600);
}

.map-placeholder {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(74, 21, 75, 0.08);
    border: 1px solid var(--neutral-100);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--neutral-900);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-600);
    box-shadow: 0 0 0 3px rgba(74, 21, 75, 0.1);
}

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

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

.form-success.show {
    display: block;
}

.form-success svg {
    width: 56px;
    height: 56px;
    color: var(--plum-700);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--plum-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--neutral-600);
}

/* =============================================
   FOOTER
============================================= */
.footer {
    background: var(--plum-900);
    color: var(--white);
    padding: 72px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo span:first-child {
    width: 44px;
    height: 44px;
    background: var(--amber-500);
    color: var(--neutral-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 10px;
}

.footer-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

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

.footer-hours strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 12px;
}

.footer-hours p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

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

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

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .floating-cards {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 24px 60px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .float-card {
        min-width: 150px;
        padding: 16px 22px;
    }

    .hero-content {
        padding-bottom: 0;
    }

    .about-layout {
        gap: 48px;
    }

    .contact-layout {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-card {
        padding: 36px 28px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-images {
        height: 400px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .floating-cards {
        flex-direction: column;
        align-items: center;
    }

    .float-card {
        width: 100%;
        max-width: 280px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .float-card {
        animation: float 6s ease-in-out infinite;
    }
}

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