/* ============================================
   Tata's Hair Braiding — Custom Styles
   Palette: Terracotta + Sand (Pastel & Airy)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-terracotta: #C67B5B;
    --color-terracotta-dark: #A8624A;
    --color-terracotta-light: #D4956A;
    --color-sand: #F5E6D3;
    --color-sand-light: #FBF5EE;
    --color-sand-dark: #E8D5C0;
    --color-cream: #FDF8F3;
    --color-white: #FFFFFF;
    --color-text: #3D2B1F;
    --color-text-light: #7A6455;
    --color-text-muted: #A89284;
    --color-border: #EDE0D4;
    --color-bg-warm: #FAF3EC;

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

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(61, 43, 31, 0.06), 0 1px 2px rgba(61, 43, 31, 0.04);
    --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.08), 0 2px 4px rgba(61, 43, 31, 0.04);
    --shadow-lg: 0 12px 40px rgba(61, 43, 31, 0.12), 0 4px 12px rgba(61, 43, 31, 0.06);
    --shadow-xl: 0 24px 60px rgba(61, 43, 31, 0.14);

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

    --container-max: 1200px;
    --nav-height: 72px;
}

/* --- 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.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-sand-light) 100%);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
    color: var(--color-text);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-light) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(198, 123, 91, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 123, 91, 0.45);
    background: linear-gradient(135deg, var(--color-terracotta-dark) 0%, var(--color-terracotta) 100%);
}

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

.btn-secondary {
    background: var(--color-white);
    color: var(--color-terracotta);
    border: 2px solid var(--color-sand-dark);
}

.btn-secondary:hover {
    border-color: var(--color-terracotta);
    background: var(--color-sand-light);
    transform: translateY(-2px);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(253, 248, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(237, 224, 212, 0.5);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(253, 248, 243, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}

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

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-light) 100%);
    color: var(--color-white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-xl) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--color-terracotta-dark) 0%, var(--color-terracotta) 100%) !important;
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 123, 91, 0.3);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--color-sand-light);
}

.nav-line-1 { transition: all var(--transition-base); transform-origin: center; }
.nav-line-2 { transition: all var(--transition-base); opacity: 1; }
.nav-line-3 { transition: all var(--transition-base); transform-origin: center; }

.nav-toggle[aria-expanded="true"] .nav-line-1 {
    transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-line-2 {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    background: linear-gradient(160deg, var(--color-cream) 0%, var(--color-sand-light) 40%, var(--color-sand) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(198, 123, 91, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(212, 149, 106, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 50% 50%, rgba(245, 230, 211, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.hero {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-terracotta);
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-terracotta);
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

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

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(198, 123, 91, 0.15);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--color-text);
}

.hero-floating-card span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(6px); }
    60% { transform: translateX(-50%) translateY(3px); }
}

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

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

.service-card {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sand-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-light) 100%);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.service-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.65;
}

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

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

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
}

.about-img-secondary img {
    width: 400px;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-img-accent {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
}

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

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 1; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 43, 31, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
}

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

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

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--color-sand-light) 0%, var(--color-sand) 50%, var(--color-sand-dark) 100%);
}

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.author-location {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
}

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

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

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

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

.contact-detail strong {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

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

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

.btn-map {
    background: var(--color-text);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(61, 43, 31, 0.25);
}

.btn-map:hover {
    background: #2A1F17;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 43, 31, 0.35);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--color-text);
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:hover {
    border-color: var(--color-terracotta-light);
}

.form-input:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(198, 123, 91, 0.12);
}

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

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

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

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-success p {
    font-size: 15px;
    color: var(--color-text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.footer {
    background: var(--color-text);
    color: var(--color-sand);
    padding: 80px 0 0;
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

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

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sand-dark);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(237, 230, 228, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

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

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

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

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

    .hero-image {
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image-wrapper img {
        height: 500px;
    }

    .hero-floating-card {
        left: auto;
        right: -20px;
        bottom: 20px;
    }

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

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

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

    .about-img-secondary img {
        width: 280px;
        height: 240px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

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

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

    .contact-info .section-title,
    .contact-info .section-tag {
        text-align: center;
    }

    .contact-info .section-tag {
        display: block;
    }

    .contact-description {
        text-align: center;
    }

    .btn-map {
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(253, 248, 243, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 8px;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 24px);
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .hero-floating-card {
        display: none;
    }

    .hero-image-wrapper img {
        height: 400px;
    }

    .services {
        padding: 72px 0;
    }

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

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

    .about {
        padding: 72px 0;
    }

    .about-img-main img {
        height: 400px;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

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

    .gallery {
        padding: 72px 0;
    }

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

    .testimonials {
        padding: 72px 0;
    }

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

    .contact {
        padding: 72px 0;
    }

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

    .footer {
        padding: 60px 0 0;
    }

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

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

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

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

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

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

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

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

    .gallery-item:nth-child(even) {
        aspect-ratio: 4/5;
    }
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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