/* ================================================================
   AER Plâtrerie Peinture — Design System
   Premium warm aesthetic for a Geneva painting company
   ================================================================ */

/* ── Reset ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
    /* Colors — Warm, professional palette */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1916;
    --bg-tertiary: #222019;
    --bg-card: rgba(34, 32, 25, 0.7);
    --bg-card-hover: rgba(44, 42, 32, 0.85);

    --gold: #c9a84c;
    --gold-light: #dfc06e;
    --gold-dark: #9a7a2e;
    --gold-glow: rgba(201, 168, 76, 0.25);
    --gold-subtle: rgba(201, 168, 76, 0.08);

    --warm-white: #f5f0e8;
    --warm-cream: #e8e0d0;

    --text-primary: #f5f0e8;
    --text-secondary: #b0a894;
    --text-muted: #706a5a;
    --text-dark: #1a1916;

    --border: rgba(201, 168, 76, 0.12);
    --border-hover: rgba(201, 168, 76, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Light section variants */
    --bg-light: #f8f5ef;
    --bg-light-alt: #f0ebe1;
    --text-light-primary: #1a1916;
    --text-light-secondary: #5a5445;
    --text-light-muted: #8a8474;
    --border-light: rgba(0, 0, 0, 0.08);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 4px 20px var(--gold-glow);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Layout */
    --max-width: 1200px;
    --section-padding: 6rem 0;
    --container-padding: 0 1.5rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ── Utility Classes ──────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-light {
    background: var(--bg-light);
    color: var(--text-light-primary);
}

.section-light .section-subtitle {
    color: var(--text-light-muted);
}

.section-light .section-title {
    color: var(--text-light-primary);
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold-subtle);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--bg-primary);
    color: var(--warm-white);
    border: 1.5px solid var(--border);
}

.btn-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--text-dark);
}

.btn-white:hover {
    background: var(--warm-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn svg,
.btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Navigation ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warm-white);
}

.nav-logo-accent {
    color: var(--gold);
}

.nav-logo-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-top: -3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--warm-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 0.5rem;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--warm-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(15, 15, 15, 0.3) 0%, var(--bg-primary) 100%);
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--gold) 1px, transparent 1px),
        linear-gradient(90deg, var(--gold) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--gold-subtle);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--gold-glow);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px transparent;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--warm-white);
}

.hero-title .highlight {
    color: var(--gold);
    position: relative;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Hero visual side */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 15, 15, 0.6) 100%);
}

.hero-float-card {
    position: absolute;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-top {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-bottom {
    bottom: 15%;
    left: -30px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--gold-subtle);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.float-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.float-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--warm-white);
}

/* ── Services Section ─────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gold-subtle);
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: rgba(201, 168, 76, 0.15);
    box-shadow: 0 0 20px var(--gold-glow);
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Light section service cards */
.section-light .service-card {
    background: white;
    border-color: var(--border-light);
}

.section-light .service-card:hover {
    background: white;
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.section-light .service-name {
    color: var(--text-light-primary);
}

.section-light .service-desc {
    color: var(--text-light-secondary);
}

/* ── Reviews Section ──────────────────────────────────────────── */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.reviews-overall {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-score {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.reviews-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
}

.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.review-text::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-subtle);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold);
}

.review-author-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.review-author-source {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ── Portfolio / Gallery Section ──────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 15, 0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-label {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-banner {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 1.5rem;
}

.cta-phone svg {
    width: 20px;
    height: 20px;
}

/* ── About Page ───────────────────────────────────────────────── */
.about-hero {
    padding: 10rem 0 5rem;
    background: var(--bg-primary);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-subtle);
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-text {
    font-size: 0.88rem;
    color: var(--text-light-secondary);
    line-height: 1.7;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Service Detail Cards (with images) ──────────────────────── */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-detail-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-detail-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-detail-card:hover .service-card-image img {
    transform: scale(1.06);
}

.service-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.25) 100%);
}

.service-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    z-index: 2;
}

.service-card-content {
    padding: 1.8rem;
}

.service-card-content .service-icon {
    margin-bottom: 0.8rem;
}

.service-card-content .service-name {
    color: var(--text-light-primary);
}

.service-card-content .service-desc {
    color: var(--text-light-secondary);
}

/* ── Language Switcher ───────────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 1rem;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

.lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--warm-white);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-hero {
    padding: 10rem 0 4rem;
    background: var(--bg-primary);
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    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='%23706a5a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-error {
    font-size: 0.75rem;
    color: #ef4444;
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
    border-color: #ef4444;
}

.form-group.error .form-error {
    display: block;
}

.form-success {
    display: none;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    text-align: center;
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* Contact info sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

/* Consolidated under SVG rules below */

.contact-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--warm-white);
}

.contact-info-value a {
    color: var(--gold);
}

.contact-info-value a:hover {
    color: var(--gold-light);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.8) contrast(1.1);
}

.contact-hours {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.contact-hours h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--warm-white);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-subtle);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--text-secondary);
}

.hours-time {
    color: var(--warm-white);
    font-weight: 500;
}

/* ── WhatsApp Button ──────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.8rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: all var(--transition-normal);
}

.footer-contact-item:hover svg {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Page Headers (Services, About, Contact) ──────────────────── */
.page-hero {
    padding: 10rem 0 4rem;
    background: var(--bg-primary);
    position: relative;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-title {
    max-width: 700px;
    margin: 0 auto 1rem;
}

.page-hero .section-subtitle {
    margin: 0 auto;
}

/* ── Scroll Animations ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ── Services Detail Page ─────────────────────────────────────── */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.service-detail-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-detail-card .service-icon {
    background: var(--bg-light-alt);
}

.service-detail-card .service-name {
    color: var(--text-light-primary);
    font-size: 1.35rem;
}

.service-detail-card .service-desc {
    color: var(--text-light-secondary);
}

.service-features {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-light-secondary);
}

.service-feature::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-text {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 998;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 999;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }
}

/* ── Footer Social Icons ─────────────────────────────────────── */
.footer-socials {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    color: var(--gold);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
    fill: var(--gold);
}

.footer-socials a:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
    transform: translateY(-2px);
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.4);
}

/* ── Selection ────────────────────────────────────────────────── */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: var(--warm-white);
}

/* Premium Gold Icons (SVG Support) */
.service-icon,
.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gold-subtle);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.service-icon:hover,
.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    margin-right: 1rem;
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    /* Subtle gold border to define shape */
}