/* ========================================
   BLACK AND WHITE NAIL SALON
   Classic & Elegant Style System
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-navy: #0A1F44;
    --color-navy-light: #132D5E;
    --color-navy-dark: #061530;
    --color-gold: #C9A84C;
    --color-gold-light: #D4B96A;
    --color-gold-dark: #B8943F;
    --color-cream: #F8F6F1;
    --color-cream-dark: #F0EDE6;
    --color-white: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-light: #6B6B6B;
    --color-text-muted: #9A9A9A;
    --color-border: #E5E0D8;
    --color-border-light: #F0ECE4;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --fs-hero: clamp(2.4rem, 5vw, 4.2rem);
    --fs-h1: clamp(2rem, 4vw, 3.2rem);
    --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
    --fs-body: clamp(0.95rem, 1.2vw, 1.05rem);
    --fs-small: clamp(0.8rem, 1vw, 0.9rem);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 8px 40px rgba(10, 31, 68, 0.12);
    --shadow-xl: 0 16px 60px rgba(10, 31, 68, 0.16);

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

    --navbar-height: 80px;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: var(--fs-body);
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.8;
}

.gold-text {
    color: var(--color-gold);
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.preloader-line {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto;
    animation: preloaderLine 1.2s ease-in-out infinite;
}

@keyframes preloaderLine {
    0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    transition: all var(--transition-base);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 246, 241, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled::before {
    background: rgba(248, 246, 241, 0.98);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.navbar > .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1;
}

.logo-icon {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    z-index: 1;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-navy);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: all var(--transition-fast);
}

.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);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

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

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

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(10, 31, 68, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 68, 0.88) 0%,
        rgba(10, 31, 68, 0.72) 50%,
        rgba(10, 31, 68, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: var(--space-2xl) 0;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.6;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-outline-dark:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
}

.btn-gold:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-navy);
    border: 2px solid var(--color-white);
}

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

.btn-sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.78rem;
}

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

/* --- Floating Stat Cards --- */
.hero-stats {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s ease-in-out infinite;
}

.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 1s; }

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

.stat-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    border-radius: var(--radius-sm);
    color: var(--color-gold);
    flex-shrink: 0;
}

.stat-card-body {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

/* --- Services Section --- */
.services {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.service-card-overlay {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
}

.service-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-gold);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.service-card-content {
    padding: var(--space-md);
}

.service-card-content h3 {
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.service-card-content > p {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.service-features {
    margin-bottom: var(--space-md);
}

.service-features li {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* --- About Section --- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

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

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-accent {
    position: absolute;
    top: -30px;
    left: -30px;
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.about-accent .accent-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.about-accent .accent-label {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
    line-height: 1.4;
}

.about-content .section-title {
    margin-bottom: var(--space-md);
}

.about-text {
    font-size: var(--fs-body);
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Gallery Section --- */
.gallery {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: var(--space-sm);
}

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

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

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

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

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

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

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials .section-header {
    position: relative;
    z-index: 1;
}

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

.testimonials-slider {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    min-width: 100%;
    padding: var(--space-lg);
}

.testimonial-quote {
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    max-width: 700px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
}

.author-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.slider-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--color-gold);
    width: 24px;
    border-radius: 4px;
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

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

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 68, 0.92) 0%,
        rgba(10, 31, 68, 0.82) 100%
    );
}

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

.cta-content .section-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-desc {
    font-size: var(--fs-body);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

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

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-gold-dark);
    transition: color var(--transition-fast);
}

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

/* --- Contact Form --- */
.form-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-family: var(--font-serif);
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.form-sub {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-cream);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-xl);
}

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

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    border-radius: 50%;
    color: var(--color-gold);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.form-success p {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-icon {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-tagline {
    font-size: var(--fs-small);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: var(--fs-small);
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: var(--color-gold);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

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

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .about-grid {
        gap: var(--space-xl);
    }

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

    .about-accent {
        left: -15px;
        top: -15px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .hero-stats {
        right: var(--space-md);
        bottom: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.show {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + var(--space-xl)) 0 var(--space-2xl);
    }

    .hero-content {
        text-align: center;
    }

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

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

    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: var(--space-xl);
    }

    .stat-card {
        flex: 1;
        min-width: 160px;
    }

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

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

    .about-img-secondary {
        position: relative;
        right: 0;
        bottom: 0;
        width: 70%;
        margin-top: var(--space-sm);
    }

    .about-accent {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        margin-bottom: var(--space-sm);
    }

    .about-images {
        text-align: center;
    }

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

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

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

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

    .stat-card {
        min-width: 100%;
    }

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

    .gallery-item--large {
        grid-column: span 1;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .form-card {
        padding: var(--space-md);
    }
}
