/* ============================================
   Touch of Color Beauty Salon — Styles
   Palette: Emerald Green (#064E3B) + Cream (#FDF8F0)
   Fonts: Cormorant Garamond (serif) + Raleway (sans)
============================================ */

/* --- Custom Properties --- */
:root {
    --emerald-950: #042f23;
    --emerald-900: #064E3B;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #FDF8F0;
    --cream-100: #F5F0E8;
    --cream-200: #EDE5D5;
    --cream-300: #E8DFC8;
    --stone-950: #0C0A09;
    --stone-900: #1C1917;
    --stone-800: #292524;
    --stone-700: #44403C;
    --stone-600: #57534E;
    --stone-500: #78716C;
    --stone-400: #A8A29E;
    --stone-300: #D6D3CD;
    --stone-200: #E7E5E4;
    --stone-100: #F5F5F4;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Raleway', 'Segoe UI', sans-serif;

    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16), 0 8px 20px rgba(0,0,0,0.08);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--stone-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* --- Section Headers --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--emerald-600);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: var(--stone-600);
    max-width: 560px;
    line-height: 1.75;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-label {
    padding-left: 0;
}

.section-header--center .section-label::before {
    display: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--emerald-800);
    color: #FDF8F0;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--stone-800);
    border: 1.5px solid var(--stone-300);
}

.btn-secondary:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-800);
    transform: translateY(-2px);
}

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

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

/* ============================================
   NAVIGATION
============================================ */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: all var(--transition-base);
    height: var(--nav-height);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.nav-brand-icon {
    color: var(--emerald-700);
}

.nav-brand-text {
    font-style: italic;
}

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone-700);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-600);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--emerald-800);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--emerald-800);
    background: rgba(6, 78, 59, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--emerald-800);
    color: #FDF8F0;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--stone-800);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.active {
    opacity: 1;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(6, 78, 59, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(6, 78, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: rgba(6, 78, 59, 0.07);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-600);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--stone-900);
    margin-bottom: 24px;
}

.hero-title-accent {
    display: block;
    color: var(--emerald-800);
    font-style: italic;
    font-weight: 500;
}

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

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-700);
}

.hero-trust-item svg {
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* Hero Floating Cards */
.hero-cards {
    position: relative;
    height: 580px;
}

.hero-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.hero-card:hover {
    transform: translateY(-4px) !important;
}

.hero-card--main {
    width: 280px;
    top: 0;
    right: 0;
    height: 380px;
    z-index: 3;
}

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

.hero-card--main .hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 35, 0.85) 0%, rgba(4, 47, 35, 0.2) 50%, transparent 100%);
}

.hero-card--main .hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.hero-card-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(253, 248, 240, 0.7);
    margin-bottom: 8px;
}

.hero-card-quote {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.5;
    color: #FDF8F0;
}

.hero-card--stat {
    width: 200px;
    top: 20px;
    left: -20px;
    height: 90px;
    z-index: 4;
    background: var(--emerald-900);
    color: #FDF8F0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
}

.hero-card-stat-icon svg {
    color: rgba(253, 248, 240, 0.6);
}

.hero-card-stat-text {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(253, 248, 240, 0.9);
}

.hero-card--service {
    width: 180px;
    bottom: 140px;
    right: -10px;
    height: 90px;
    z-index: 4;
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    box-shadow: var(--shadow-md);
}

.hero-card-service-icon svg {
    color: var(--emerald-700);
}

.hero-card-service-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stone-800);
}

.hero-card-service-tag {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--emerald-700);
    background: rgba(6, 78, 59, 0.08);
    padding: 2px 8px;
    border-radius: 50px;
    margin-top: 2px;
    width: fit-content;
}

.hero-card--stat--bottom {
    bottom: 0;
    left: 20px;
    height: 90px;
    z-index: 2;
    background: var(--cream-100);
    border: 1px solid var(--cream-200);
    color: var(--stone-800);
}

.hero-card--stat--bottom .hero-card-stat-icon svg {
    color: var(--emerald-700);
}

.hero-card--stat--bottom .hero-card-stat-text {
    color: var(--stone-700);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone-400);
    animation: float-down 2s ease-in-out infinite;
}

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

/* ============================================
   SERVICES SECTION
============================================ */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

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

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 78, 59, 0.15);
}

.service-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 50%);
}

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

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(6, 78, 59, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 8px;
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.about-images {
    position: relative;
    height: 640px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 45%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-100);
}

.about-img-accent {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.about-img-accent::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px solid rgba(253, 248, 240, 0.3);
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--stone-600);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0 40px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-value-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(6, 78, 59, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 2px;
}

.about-value-desc {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
============================================ */
.gallery {
    padding: 100px 0;
    background: var(--cream-50);
}

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

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

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

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

.gallery-item--wide {
    grid-column: span 7;
}

.gallery-item:nth-child(3) {
    grid-column: 6 / span 3;
    grid-row: 1;
}

.gallery-item:nth-child(4) {
    grid-column: 9 / span 4;
    grid-row: 1;
}

.gallery-item:nth-child(5) {
    grid-column: 6 / span 4;
    grid-row: 2;
}

.gallery-item:nth-child(6) {
    grid-column: 10 / span 3;
    grid-row: 2;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 35, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    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.25rem;
    font-weight: 600;
    color: #FDF8F0;
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--emerald-900);
}

.testimonials .section-label {
    color: rgba(253, 248, 240, 0.6);
}

.testimonials .section-label::before {
    background: rgba(253, 248, 240, 0.4);
}

.testimonials .section-title {
    color: #FDF8F0;
}

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

.testimonial-card {
    background: rgba(253, 248, 240, 0.06);
    border: 1px solid rgba(253, 248, 240, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(253, 248, 240, 0.1);
    transform: translateY(-4px);
}

.testimonial-card-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: rgba(253, 248, 240, 0.2);
    margin-bottom: -8px;
}

.testimonial-card-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(253, 248, 240, 0.8);
    margin-bottom: 24px;
}

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

.testimonial-card-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(253, 248, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(253, 248, 240, 0.6);
}

.testimonial-card-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #FDF8F0;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.contact-info-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--stone-600);
    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-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(6, 78, 59, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone-900);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
}

/* Contact Form */
.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-200);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 6px;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--stone-500);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--stone-700);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: var(--cream-50);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--stone-400);
}

.form-input:focus {
    border-color: var(--emerald-600);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

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

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

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(6, 78, 59, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--emerald-700);
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--stone-500);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--stone-950);
    color: rgba(253, 248, 240, 0.7);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(253, 248, 240, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: #FDF8F0;
    margin-bottom: 12px;
}

.footer-logo svg {
    color: var(--emerald-600);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(253, 248, 240, 0.5);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-link-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-col strong {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 248, 240, 0.9);
    margin-bottom: 4px;
}

.footer-link-col a,
.footer-link-col span {
    font-size: 0.875rem;
    color: rgba(253, 248, 240, 0.5);
    transition: color var(--transition-fast);
    line-height: 1.6;
}

.footer-link-col a:hover {
    color: rgba(253, 248, 240, 0.9);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(253, 248, 240, 0.35);
}

.footer-bottom a {
    color: rgba(253, 248, 240, 0.5);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: rgba(253, 248, 240, 0.8);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
============================================ */
@media (prefers-reduced-motion: no-preference) {
    .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.revealed {
        opacity: 1;
        transform: translateY(0);
    }

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

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cards {
        height: 400px;
        max-width: 400px;
    }

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

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

    .about-images {
        height: 480px;
        max-width: 480px;
    }

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

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

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-overlay {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 90px 0 80px;
        min-height: auto;
    }

    .hero-cards {
        display: none;
    }

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

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

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

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

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

    .about-images {
        height: 360px;
    }

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

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

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

    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        height: 200px;
    }

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

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

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

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

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

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

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

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