/* ===================================
   K-TEC Nails Bar — Custom Styles
   Color Palette: Emerald + Cream
   =================================== */

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    --cream-50: #fefdf8;
    --cream-100: #fef9ee;
    --cream-200: #fdf3e0;
    --cream-300: #f5e6c8;
    --cream-400: #e8d4a8;

    --warm-gray-50: #fafaf8;
    --warm-gray-100: #f5f4f0;
    --warm-gray-200: #e8e6e0;
    --warm-gray-300: #d4d2cc;
    --warm-gray-400: #a8a69e;
    --warm-gray-500: #787670;
    --warm-gray-600: #5c5a55;
    --warm-gray-700: #44423e;
    --warm-gray-800: #2c2a27;
    --warm-gray-900: #1a1816;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--warm-gray-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--emerald-800);
}

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

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

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

.nav-link {
    padding: 8px 18px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    margin-left: 8px;
    font-size: 0.938rem;
    font-weight: 600;
    color: #fff;
    background: var(--emerald-600);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--emerald-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

.mobile-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;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.82) 0%,
        rgba(5, 150, 105, 0.65) 50%,
        rgba(16, 185, 129, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 76px;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(254, 253, 248, 0.15);
    border: 1px solid rgba(254, 253, 248, 0.25);
    border-radius: var(--radius-full);
    color: var(--cream-100);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cream-200) 0%, var(--cream-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(254, 253, 248, 0.85);
    margin-bottom: 40px;
    max-width: 560px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(254, 253, 248, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: rgba(254, 253, 248, 0.15);
    color: #fff;
    border: 1.5px solid rgba(254, 253, 248, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(254, 253, 248, 0.25);
    border-color: rgba(254, 253, 248, 0.6);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(254, 253, 248, 0.6);
}

.btn-outline-light:hover {
    background: rgba(254, 253, 248, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 17px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--warm-gray-900);
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 1.063rem;
    line-height: 1.7;
    color: var(--warm-gray-500);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--warm-gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-600);
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--emerald-600);
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.313rem;
    font-weight: 600;
    color: var(--warm-gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--warm-gray-500);
    margin-bottom: 24px;
}

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

.service-link:hover {
    color: var(--emerald-800);
    gap: 10px;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 100px 0;
    background: #fff;
}

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

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid #fff;
}

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

.about-stats {
    position: absolute;
    top: -20px;
    right: 40px;
    display: flex;
    gap: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    background: var(--emerald-600);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 4px;
    text-align: center;
}

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

.about-content .section-tag {
    margin-bottom: 16px;
}

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

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px 0 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--warm-gray-700);
}

.about-features li svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: 100px 0;
    background: var(--cream-50);
}

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

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

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

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

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: 100px 0;
    background: #fff;
}

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

.testimonial-card {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--warm-gray-100);
    transition: all var(--transition-base);
}

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

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    margin-bottom: 20px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-600);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--warm-gray-800);
}

.author-location {
    display: block;
    font-size: 0.813rem;
    color: var(--warm-gray-400);
    margin-top: 2px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(5, 150, 105, 0.8) 100%);
}

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

.cta-content .section-tag {
    background: rgba(254, 253, 248, 0.2);
    color: var(--cream-100);
    margin-bottom: 20px;
}

.cta-content .section-title {
    color: #fff;
    margin-bottom: 20px;
}

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

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

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

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

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

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

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

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

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

.contact-label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--warm-gray-400);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray-800);
    line-height: 1.6;
}

.contact-link {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--emerald-600);
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--emerald-800);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--warm-gray-100);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--warm-gray-700);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    border: 1.5px solid var(--warm-gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-400);
}

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

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

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

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    color: var(--emerald-600);
    border-radius: var(--radius-full);
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--warm-gray-500);
}

.form-success a {
    color: var(--emerald-600);
    font-weight: 600;
}

.form-success a:hover {
    text-decoration: underline;
}

/* ===================================
   MAP SECTION
   =================================== */
.map-section {
    height: 400px;
    background: var(--warm-gray-200);
}

.map-section iframe {
    filter: saturate(0.7) brightness(1.05);
}

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

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 18px;
}

.footer-brand .logo-icon {
    color: var(--emerald-400);
}

.footer-brand .logo-accent {
    color: var(--emerald-400);
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--warm-gray-400);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.063rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.938rem;
    color: var(--warm-gray-400);
    transition: all var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.938rem;
    line-height: 1.8;
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--warm-gray-400);
    transition: color var(--transition-fast);
}

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

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    color: var(--warm-gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--emerald-600);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.813rem;
    color: var(--warm-gray-500);
}

.footer-bottom a {
    color: var(--warm-gray-500);
}

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

/* ===================================
   ANIMATIONS
   =================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 18px;
        font-size: 1.063rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.25rem);
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

    .about-stats {
        right: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .services,
    .about,
    .gallery,
    .testimonials,
    .contact {
        padding: 72px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin-top: 20px;
    }
}
