/* ============================================
   THE WAX ROOM — Brand Stylesheet
   Palette: Terracotta + Sand
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --terra-950: #3D1A0A;
    --terra-900: #5C2410;
    --terra-800: #7A2E16;
    --terra-700: #9A3A1E;
    --terra-600: #B84928;
    --terra-500: #C4623A;
    --terra-400: #D4784E;
    --terra-300: #E0946A;
    --terra-200: #E8A87E;
    --terra-100: #F2C4A8;
    --terra-50:  #FAE8D8;
    
    --sand-950:  #2A2018;
    --sand-900:  #3D3024;
    --sand-800:  #524232;
    --sand-700:  #6B5742;
    --sand-600:  #8A7258;
    --sand-500:  #A89070;
    --sand-400:  #C4AA8E;
    --sand-300:  #D8C4AE;
    --sand-200:  #E8DCCE;
    --sand-100:  #F2EBE2;
    --sand-50:   #FAF6F2;
    
    --cream:     #FFF9F5;
    --white:     #FFFFFF;
    --black:     #1A1210;
    --gray-800:  #2D2520;
    --gray-700:  #3D3530;
    --gray-600:  #5A5048;
    --gray-500:  #7A7068;
    --gray-400:  #9A9088;
    --gray-300:  #B8B0A8;
    --gray-200:  #D8D0C8;
    --gray-100:  #EDE8E2;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm:  0 1px 3px rgba(61,26,10,0.08);
    --shadow-md:  0 4px 16px rgba(61,26,10,0.10);
    --shadow-lg:  0 12px 40px rgba(61,26,10,0.14);
    --shadow-xl:  0 24px 60px rgba(61,26,10,0.16);
    
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-600);
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--terra-950);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title .accent {
    color: var(--terra-500);
    font-style: italic;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 560px;
    line-height: 1.7;
}

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

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

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

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

.btn-primary:hover {
    background: var(--terra-700);
    border-color: var(--terra-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--terra-700);
    border-color: var(--terra-400);
}

.btn-secondary:hover {
    background: var(--terra-50);
    border-color: var(--terra-600);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--sand-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--terra-600);
    border-color: var(--terra-300);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-ghost:hover {
    background: var(--terra-50);
}

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

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--terra-100);
    transition: var(--transition);
}

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

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

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

.logo-icon {
    font-size: 1.5rem;
    color: var(--terra-500);
    line-height: 1;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--terra-600);
    background: var(--terra-50);
}

.nav-cta {
    background: var(--terra-600) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--terra-700) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--terra-800);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--terra-400);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--terra-600);
    bottom: 10%;
    left: -80px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--terra-300);
    top: 40%;
    left: 35%;
    border-radius: 30%;
    transform: rotate(45deg);
    opacity: 0.15;
}

.shape-4 {
    width: 80px;
    height: 80px;
    background: var(--terra-500);
    top: 20%;
    left: 20%;
    border-radius: 20%;
    transform: rotate(30deg);
    opacity: 0.1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--terra-700);
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terra-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--terra-950);
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--terra-500);
    font-style: italic;
    position: relative;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--terra-200);
    border-radius: 3px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

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

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terra-700);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.hero-image {
    position: relative;
}

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

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

.hero-img-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid var(--terra-300);
    transform: translate(16px, 16px);
    z-index: -1;
}

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

.fc-icon {
    width: 40px;
    height: 40px;
    background: var(--terra-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--terra-700);
    flex-shrink: 0;
}

.fc-text {
    display: flex;
    flex-direction: column;
}

.fc-text strong {
    font-size: 0.88rem;
    color: var(--terra-900);
}

.fc-text span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.card-1 {
    top: 15%;
    left: -30px;
}

.card-2 {
    bottom: 20%;
    left: -20px;
}

/* --- SERVICES --- */
.services {
    padding: 100px 24px;
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.geo-accent {
    position: absolute;
    pointer-events: none;
}

.geo-1 {
    width: 200px;
    height: 200px;
    background: var(--terra-50);
    border-radius: 40px;
    top: 5%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-2 {
    width: 120px;
    height: 120px;
    background: var(--terra-100);
    border-radius: 50%;
    bottom: 10%;
    left: 3%;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terra-500), var(--terra-300));
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.sc-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--terra-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.sc-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--terra-600);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.sc-link:hover {
    color: var(--terra-800);
    gap: 8px;
}

/* --- ABOUT --- */
.about {
    padding: 100px 24px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--terra-200);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    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-xl);
}

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

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

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

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terra-600);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge .ab-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.about-badge .ab-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

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

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

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

.af-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.af-check {
    width: 28px;
    height: 28px;
    background: var(--terra-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-700);
    flex-shrink: 0;
}

.af-item span {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* --- GALLERY --- */
.gallery {
    padding: 100px 24px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.geo-square {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--terra-50);
    top: 5%;
    left: 5%;
    border-radius: 30px;
    transform: rotate(-20deg);
    pointer-events: none;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61,26,10,0.4), transparent);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

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

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

/* --- CTA BANNER --- */
.cta-banner {
    padding: 100px 24px;
    background: var(--terra-800);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape.csa-1 {
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    top: -150px;
    right: -100px;
}

.cta-shape.csa-2 {
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.03);
    bottom: -80px;
    left: 10%;
}

.cta-shape.csa-3 {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.05);
    top: 30%;
    left: 5%;
    border-radius: 30%;
    transform: rotate(45deg);
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-title .accent {
    color: var(--terra-200);
    font-style: italic;
}

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

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

/* --- CONTACT --- */
.contact {
    padding: 100px 24px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 200px 200px;
    border-color: transparent transparent var(--terra-100) transparent;
    bottom: 0;
    right: 0;
    pointer-events: none;
    opacity: 0.5;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.ci-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--terra-100);
    transition: var(--transition);
}

.ci-card:hover {
    border-color: var(--terra-300);
    box-shadow: var(--shadow-md);
}

.ci-icon {
    width: 52px;
    height: 52px;
    background: var(--terra-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-700);
    flex-shrink: 0;
}

.ci-content h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.ci-content p {
    font-size: 1rem;
    color: var(--terra-900);
    font-weight: 600;
    line-height: 1.5;
}

.ci-content a {
    color: var(--terra-700);
}

.ci-content a:hover {
    color: var(--terra-500);
    text-decoration: underline;
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--terra-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--terra-900);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-400);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--terra-50);
}

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

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

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

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

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--terra-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--terra-700);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--terra-900);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* --- MAP --- */
.map-section {
    background: var(--sand-200);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 350px;
    filter: saturate(0.8) contrast(1.05);
}

/* --- FOOTER --- */
.footer {
    background: var(--terra-950);
    color: var(--terra-200);
    padding: 80px 24px 0;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--terra-300);
    max-width: 280px;
}

.footer-links h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terra-400);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--terra-200);
}

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

.footer-links li:not(:last-child) a {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 0.85rem;
    color: var(--terra-400);
}

.footer-bottom a {
    color: var(--terra-300);
}

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

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .hero-image { max-width: 500px; margin: 0 auto; }
    .card-1 { left: 0; }
    .card-2 { left: 10px; }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual { max-width: 500px; margin: 0 auto; }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 24px 80px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    
    .hero-img-wrapper img {
        height: 450px;
    }
    
    .floating-card { display: none; }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        width: 200px;
        right: -10px;
        bottom: -20px;
    }
    
    .about-img-secondary img {
        height: 240px;
    }
    
    .about-badge {
        left: 10px;
        top: -10px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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