/* ============================================
   K Nails — Austin Beauty & Hair Salon
   Custom Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --burgundy: #781f24;
    --burgundy-dark: #5a1619;
    --burgundy-light: #9e2f36;
    --blush: #f4c2c2;
    --blush-light: #fce8e8;
    --blush-lighter: #fff5f5;
    --cream: #fffaf8;
    --warm-white: #fff9f7;
    --text-dark: #2d1f22;
    --text-mid: #5a3d42;
    --text-light: #8a6068;
    --text-muted: #a08088;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(120, 31, 36, 0.06);
    --shadow-md: 0 4px 20px rgba(120, 31, 36, 0.1);
    --shadow-lg: 0 8px 40px rgba(120, 31, 36, 0.14);
    --shadow-xl: 0 16px 60px rgba(120, 31, 36, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--warm-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-dark);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush-light);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
}

.btn--burgundy {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn--burgundy:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
}

.btn--light {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn--light:hover {
    background: var(--blush-light);
    border-color: var(--blush-light);
}

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

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

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(120, 31, 36, 0.08);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 249, 247, 0.95);
    box-shadow: var(--shadow-sm);
}

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

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

.logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo__text {
    letter-spacing: -0.02em;
}

.primary-nav {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy);
    background: var(--blush-light);
}

/* 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 {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #781f24 0%, #a0303a 25%, #d4747a 50%, #f4c2c2 75%, #fce8e8 100%);
    padding: 120px 24px 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(244, 194, 194, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(120, 31, 36, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(244, 194, 194, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(120, 31, 36, 0.15);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero__subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 52px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item svg {
    opacity: 0.9;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(120, 31, 36, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.service-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blush-light) 0%, var(--blush) 100%);
    border-radius: 20px;
    color: var(--burgundy);
}

.service-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--blush-lighter);
}

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

.about__images {
    position: relative;
}

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

.about__img-wrap--main {
    width: 100%;
}

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

.about__img-wrap--secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    border: 6px solid var(--blush-lighter);
    border-radius: var(--radius-lg);
}

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

.about__floater {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--burgundy);
    font-size: 0.9rem;
}

.about__floater svg {
    color: var(--burgundy);
}

.about__content {
    padding: 20px 0;
}

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

.about__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--blush);
    border-bottom: 1px solid var(--blush);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 6px;
}

.stat__label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--blush);
}

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

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

.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.5s ease;
}

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

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(120, 31, 36, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.gallery__item--wide {
    grid-column: span 7;
}

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 5;
}

.gallery__item:nth-child(2) {
    grid-column: span 5;
    grid-row: 1;
}

.gallery__item:nth-child(3) {
    grid-column: span 5;
    grid-row: 1;
}

.gallery__item:nth-child(4) {
    grid-column: span 5;
    grid-row: 2;
}

.gallery__item:nth-child(5) {
    grid-column: span 7;
    grid-row: 2;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(244, 194, 194, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(244, 194, 194, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.testimonial-card__quote {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: -8px;
}

.testimonial-card__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-card__role {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* ---------- CTA ---------- */
.cta {
    padding: 100px 0;
    background: var(--blush-light);
    position: relative;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(120, 31, 36, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(244, 194, 194, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta__text {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

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

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

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

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

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--burgundy);
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(120, 31, 36, 0.06);
}

.contact__form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--blush);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--blush-lighter);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(120, 31, 36, 0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 20px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius-md);
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-success svg {
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

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

.footer__brand .logo {
    margin-bottom: 16px;
}

.footer__brand .logo__mark {
    background: var(--burgundy-light);
}

.footer__brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer__links strong,
.footer__contact strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
}

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

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

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--blush);
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.footer__contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom span {
    color: var(--blush);
}

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

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

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

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

    .footer__brand {
        grid-column: span 2;
    }
}

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--warm-white);
        box-shadow: var(--shadow-xl);
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }

    .primary-nav.open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-links a {
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-links li:last-child {
        margin-top: 16px;
    }

    .hero {
        padding: 140px 20px 100px;
        min-height: auto;
    }

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

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

    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .about__img-wrap--secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 16px;
    }

    .about__floater {
        top: auto;
        bottom: -16px;
        right: 10px;
    }

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

    .gallery__item--wide,
    .gallery__item:not(.gallery__item--wide) {
        grid-column: span 1;
        grid-row: auto;
    }

    .gallery__item {
        min-height: 200px;
    }

    .gallery__item img {
        height: 200px;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

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

    .contact__form-wrap {
        padding: 28px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

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

    .hero {
        padding: 120px 16px 80px;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .about__stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 31, 34, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
