/* ============================================
   Ft. Shafter Barber Shop — Styles
   Palette: Terracotta (#C4785B) + Sand (#F5EDE4)
   ============================================ */

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

:root {
    --terracotta: #C4785B;
    --terracotta-dark: #A8604A;
    --terracotta-light: #D4956F;
    --sand: #F5EDE4;
    --sand-light: #FBF7F3;
    --sand-dark: #E8DDD2;
    --cream: #FDF6EE;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6B63;
    --warm-gray-light: #A89890;
    --sage: #6B8F71;
    --sage-light: #8FB096;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06), 0 1px 2px rgba(44, 36, 32, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08), 0 2px 6px rgba(44, 36, 32, 0.04);
    --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.10), 0 4px 12px rgba(44, 36, 32, 0.05);
    --shadow-xl: 0 20px 60px rgba(44, 36, 32, 0.12), 0 8px 20px rgba(44, 36, 32, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--sand-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.938rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(196, 120, 91, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    box-shadow: 0 6px 20px rgba(196, 120, 91, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--sand-dark);
}

.btn-outline:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-white {
    background: var(--white);
    color: var(--terracotta);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

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

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

/* ============================================
   Section Shared
   ============================================ */
.section-header {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: var(--terracotta);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(253, 246, 238, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(44, 36, 32, 0.06);
    padding: 12px 0;
}

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

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.063rem;
    color: var(--charcoal);
}

.nav-logo:hover {
    color: var(--terracotta);
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-links a:not(.btn) {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--charcoal-light);
    position: relative;
}

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

.nav-links a:not(.btn):hover {
    color: var(--terracotta);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 32, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(196, 120, 91, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(107, 143, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(196, 120, 91, 0.08);
    border: 1px solid rgba(196, 120, 91, 0.15);
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-main-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-main-card img {
    width: 100%;
    max-width: 500px;
    height: 620px;
    object-fit: cover;
}

.hero-main-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(44, 36, 32, 0.15) 100%);
    pointer-events: none;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.floating-card--1 {
    top: 60px;
    left: -30px;
    animation-delay: 0s;
}

.floating-card--2 {
    bottom: 80px;
    right: -20px;
    animation-delay: 2s;
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(196, 120, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon--green {
    background: rgba(107, 143, 113, 0.1);
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.floating-card-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--charcoal);
    line-height: 1.2;
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--warm-gray);
    font-weight: 500;
}

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

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

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

.service-card {
    background: var(--sand-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 120, 91, 0.12);
}

.service-card-visual {
    overflow: hidden;
    height: 200px;
}

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

.service-card:hover .service-card-visual img {
    transform: scale(1.05);
}

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

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(196, 120, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-name {
    font-size: 1.188rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.service-desc {
    font-size: 0.938rem;
    color: var(--warm-gray);
    line-height: 1.65;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--sand-light);
    overflow: hidden;
}

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

.about-visual {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--sand-light);
}

.about-img-secondary img {
    width: 260px;
    height: 300px;
    object-fit: cover;
}

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

.about-stat {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-stat-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--terracotta);
    line-height: 1.2;
}

.about-stat-label {
    font-size: 0.688rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-gray);
    font-weight: 600;
}

.about-content {
    max-width: 480px;
}

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

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--charcoal-light);
}

.about-feature svg {
    flex-shrink: 0;
}

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

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 2;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(44, 36, 32, 0.2) 100%);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

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

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

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

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

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(196, 120, 91, 0.06);
    position: relative;
}

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

.review-card-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--terracotta);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 24px;
}

.review-card-text {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(196, 120, 91, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card-name {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--charcoal);
}

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

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(196, 120, 91, 0.15) 0%, transparent 60%),
                      radial-gradient(circle at 70% 50%, rgba(107, 143, 113, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: center;
    position: relative;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(253, 246, 238, 0.6);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

.cta-info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.cta-info-title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(253, 246, 238, 0.7);
    font-size: 0.938rem;
}

.cta-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cta-info-item svg {
    flex-shrink: 0;
    color: var(--terracotta-light);
}

.cta-info-item a {
    color: rgba(253, 246, 238, 0.9);
}

.cta-info-item a:hover {
    color: var(--terracotta-light);
}

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

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

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

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(196, 120, 91, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail span:first-child {
    display: block;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--warm-gray-light);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span:last-child {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}

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

/* Contact Form */
.contact-form-wrap {
    background: var(--sand-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--sand-dark);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--charcoal);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196, 120, 91, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(107, 143, 113, 0.08);
    border: 1px solid rgba(107, 143, 113, 0.2);
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--sage);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal);
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: rgba(253, 246, 238, 0.5);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.063rem;
    color: var(--white);
}

.footer-logo:hover {
    color: var(--terracotta-light);
}

.footer-links-title {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(253, 246, 238, 0.4);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(253, 246, 238, 0.65);
    font-size: 0.938rem;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: rgba(253, 246, 238, 0.65);
    font-size: 0.938rem;
}

.footer-contact a {
    color: rgba(253, 246, 238, 0.65);
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(253, 246, 238, 0.07);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(253, 246, 238, 0.3);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    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; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-visual {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-content {
        max-width: 100%;
    }

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

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

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

    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-text {
        max-width: 100%;
    }

    .cta-actions {
        justify-content: center;
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .floating-card--1 {
        left: 0;
        top: 20px;
    }

    .floating-card--2 {
        right: 0;
        bottom: 40px;
    }

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

    .about-img-secondary {
        right: -10px;
        bottom: -20px;
    }

    .about-img-secondary img {
        width: 180px;
        height: 210px;
    }

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

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

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

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

    .cta {
        padding: 64px 0;
    }

    .contact {
        padding: 64px 0;
    }

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

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

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-main-card img {
        height: 440px;
    }

    .floating-card {
        padding: 12px 14px;
    }

    .floating-card-icon {
        width: 34px;
        height: 34px;
    }

    .floating-card-num {
        font-size: 1rem;
    }

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

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

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