/* Base Variables & Design System */
:root {
    /* Colors — Warm Luxury Minimalist (Espresso / Terracotta / Linen) */
    --primary: #1E1714;            /* Deep Warm Espresso */
    --primary-light: #2A211C;      /* Dark Chocolate Panel */
    --accent: #A35C3A;             /* Burnt Terracotta / Cognac */
    --accent-hover: #8A4727;       /* Deep Terracotta Hover */
    --text-main: #1E1714;          /* Deep Espresso Text */
    --text-muted: #726861;         /* Warm Stone Taupe */
    --bg-main: #F7F4EE;            /* Warm Organic Linen */
    --bg-card: #FAF8F5;            /* Crisp Warm Alabaster */
    --border-light: rgba(30, 23, 20, 0.08);

    /* Typography — Editorial Serif + Clean Sans */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --section-spacing: 100px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-spacing) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(163, 92, 58, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-main);
    border-color: var(--bg-main);
}

.btn-outline:hover {
    background-color: var(--bg-main);
    color: var(--primary);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--bg-card);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .logo-sub,
.navbar.scrolled .nav-links a {
    color: var(--primary);
}

.navbar:not(.scrolled) .logo-brand-icon {
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-brand-icon {
    filter: none;
}

.footer-logo .logo-brand-icon {
    filter: brightness(0) invert(1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1;
}

.logo-brand-icon {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--bg-main);
}

.logo-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--bg-main);
    opacity: 0.85;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--bg-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 23, 20, 0.88) 0%, rgba(30, 23, 20, 0.35) 100%);
}

.hero-content {
    max-width: 800px;
    color: var(--bg-main);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--bg-main);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.6s forwards;
}

/* Section Common */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-info {
    padding: 2.5rem;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.link-arrow span {
    transition: var(--transition-fast);
}

.link-arrow:hover span {
    transform: translateX(5px);
}

/* ==========================================================================
   RAINBOW SCROLL SERVICES TRACK & CONTROLS
   ========================================================================== */
.services-rainbow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.services-tabs-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.4rem 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-tabs-bar::-webkit-scrollbar {
    display: none;
}

.service-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.service-tab-btn:hover {
    color: var(--primary);
    border-color: rgba(163, 92, 58, 0.4);
}

.service-tab-btn.active {
    background: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}

.services-nav-btns {
    display: flex;
    gap: 0.6rem;
}

.services-scroll-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(30, 23, 20, 0.05);
}

.services-scroll-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(163, 92, 58, 0.25);
}

.services-scroll-wrapper {
    position: relative;
    width: 100%;
}

.services-scroll-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0.2rem 1.5rem 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-scroll-track::-webkit-scrollbar {
    display: none;
}

.services-scroll-track .service-card {
    flex: 0 0 350px;
    max-width: 350px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.services-scroll-track .service-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 2rem;
}

.services-scroll-track .service-info p {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Icon-Only Service Cards */
.services-scroll-track .service-icon-card {
    flex: 0 0 340px;
    max-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(30, 23, 20, 0.04);
}

.services-scroll-track .service-icon-card:hover {
    transform: translateY(-8px);
    border-color: rgba(163, 92, 58, 0.45);
    box-shadow: 0 16px 36px rgba(30, 23, 20, 0.08);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(163, 92, 58, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(163, 92, 58, 0.15);
}

.service-icon-box svg {
    stroke: currentColor;
    transition: var(--transition-fast);
}

.service-icon-card:hover .service-icon-box {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 8px 18px rgba(163, 92, 58, 0.28);
}

.service-card-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: rgba(163, 92, 58, 0.25);
    line-height: 1;
}

.service-icon-card .service-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-card .service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.service-icon-card .service-info p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
}

.service-tag {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    background: rgba(30, 23, 20, 0.04);
    color: var(--text-main);
    border: 1px solid rgba(30, 23, 20, 0.08);
}


/* Rainbow Scrollbar */
.rainbow-scrollbar-container {
    width: 100%;
    margin-top: 1.2rem;
    padding: 0 0.5rem;
}

.rainbow-track-bg {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(30, 23, 20, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.rainbow-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    border-radius: 6px;
    background: linear-gradient(90deg, #A35C3A, #C19A6B, #E07A5F, #3D5A80, #2A9D8F, #E76F51, #A35C3A);
    background-size: 300% 100%;
    animation: rainbowShift 6s linear infinite;
    transition: left 0.12s ease-out;
    box-shadow: 0 0 12px rgba(163, 92, 58, 0.35);
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* About Section */
.about {
    background-color: var(--bg-card);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    font-weight: 500;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary);
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border: 10px solid var(--bg-card);
}

.services-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.services-grid-4 .service-img-wrapper {
    height: 200px;
}

.services-grid-4 .service-info {
    padding: 1.8rem;
}

/* Appointment Section */
.appointment {
    background-color: var(--bg-card);
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.appointment-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.appt-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
}

.appt-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.appointment-form-wrapper {
    position: relative;
}

.appointment-form {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

.appointment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: white;
    color: var(--text-main);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(163, 92, 58, 0.18);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-top: 0.5rem;
}

.btn-dark {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-dark:hover {
    background-color: var(--primary);
    color: white;
}

.appointment-success {
    background: var(--bg-main);
    padding: 4rem 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.appointment-success h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.appointment-success p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--border-light);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 14, 0) 35%, rgba(20, 16, 14, 0.62) 70%, rgba(20, 16, 14, 0.94) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 1; /* Always visible normally */
    transition: background 0.4s ease, opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(180deg, rgba(20, 16, 14, 0.12) 20%, rgba(20, 16, 14, 0.72) 62%, rgba(20, 16, 14, 0.98) 100%);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.06);
}

.portfolio-text {
    width: 100%;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.portfolio-item:hover .portfolio-text {
    transform: translateY(-4px);
}

.portfolio-text h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    transform: translateY(0);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.portfolio-text p {
    color: #e59368; /* warm terracotta accent */
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    transform: translateY(0);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-card);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: relative;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--accent);
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Reviews & Testimonials Page */
.reviews-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 23, 20, 0.03);
}

.review-stat-item {
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.review-stat-item:last-child {
    border-right: none;
}

.review-stat-val {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.review-stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.review-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(30, 23, 20, 0.04);
    transition: var(--transition-smooth);
    position: relative;
}

.review-card-full:hover {
    transform: translateY(-6px);
    border-color: rgba(163, 92, 58, 0.35);
    box-shadow: 0 16px 36px rgba(30, 23, 20, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.review-stars {
    color: #D4A373;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2A9D8F;
    background: rgba(42, 157, 143, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.review-body {
    font-size: 1.02rem;
    line-height: 1.68;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.review-avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.review-client-info h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.review-client-info p {
    font-size: 0.82rem;
    color: var(--accent);
    margin: 0;
    font-weight: 500;
}

.review-client-info .review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .reviews-stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .review-stat-item:nth-child(2) {
        border-right: none;
    }
}
@media (max-width: 576px) {
    .reviews-stats-strip {
        grid-template-columns: 1fr;
    }
    .review-stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 1rem;
    }
    .review-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}


/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-light);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo .logo-text,
.footer-logo .logo-sub {
    color: white;
}

.brand-col p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-info,
.footer-links {
    list-style: none;
}

.contact-info li,
.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--bg-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.navbar.scrolled .mobile-toggle .bar {
    background-color: var(--primary);
}

/* Mobile Toggle Active State (X icon) */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background-color: white !important;
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: white !important;
}

/* ==========================================================================
   SERVICE DETAIL SUBPAGES & MODERN ARCHITECTURAL SECTIONS
   ========================================================================== */
.page-hero {
    position: relative;
    padding: 175px 0 95px 0;
    background-color: var(--primary);
    color: var(--bg-main);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    filter: brightness(0.85);
    transform: scale(1.03);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero:hover .page-hero-img {
    transform: scale(1.06);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(247, 244, 238, 0.7);
    margin-bottom: 1.4rem;
    font-family: var(--font-body);
}

.breadcrumb a {
    color: var(--accent);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--bg-main);
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--bg-main);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.page-hero-title span {
    font-style: italic;
    color: #ffffff;
}

.page-hero-desc {
    font-size: 1.15rem;
    color: rgba(247, 244, 238, 0.85);
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(247, 244, 238, 0.15);
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.9);
    font-weight: 500;
}

.trust-pill .pill-icon {
    color: var(--accent);
    font-weight: bold;
}

/* Service Detail Layout */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 4.5rem;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.detail-block {
    margin-bottom: 4rem;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-block-header {
    margin-bottom: 1.6rem;
}

.detail-block h3 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
}

.detail-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.4rem;
    font-weight: 300;
}

/* Scope of Work Cards (Trades grid) */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.scope-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 2rem 1.8rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(30, 23, 20, 0.04);
    position: relative;
    overflow: hidden;
}

.scope-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition-fast);
}

.scope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 23, 20, 0.08);
    border-color: rgba(163, 92, 58, 0.3);
}

.scope-card:hover::before {
    opacity: 1;
}

.scope-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.scope-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.scope-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Features checklist */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-weight: 500;
    background: var(--bg-card);
    padding: 1.1rem 1.3rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.features-list li:hover {
    border-color: rgba(163, 92, 58, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 23, 20, 0.04);
}

.features-list li span.check {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Interactive Before / After Section */
.before-after-section {
    margin-top: 2rem;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    margin-top: 1.5rem;
}

.before-after-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30, 23, 20, 0.06);
    transition: var(--transition-smooth);
}

.before-after-card:hover {
    box-shadow: 0 16px 40px rgba(30, 23, 20, 0.1);
}

.before-after-compare {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
}

.before-after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-img-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid #ffffff;
    box-shadow: 3px 0 10px rgba(0,0,0,0.25);
    transition: width 0.1s linear;
}

.before-img-layer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
    font-size: 0.8rem;
    pointer-events: none;
    transition: left 0.1s linear;
}

.before-badge, .after-badge {
    position: absolute;
    top: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 4;
    pointer-events: none;
}

.before-badge {
    left: 1rem;
    background: rgba(30, 23, 20, 0.8);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.after-badge {
    right: 1rem;
    background: var(--accent);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.before-after-info {
    padding: 1.6rem 1.8rem;
}

.before-after-info h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.before-after-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1.8rem;
}

.gallery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 23, 20, 0.05);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(30, 23, 20, 0.1);
    border-color: rgba(163, 92, 58, 0.3);
}

.gallery-card-img-wrap {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #1e1714;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.08);
}

.gallery-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(30, 23, 20, 0.8);
    backdrop-filter: blur(6px);
    color: var(--bg-main);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.75rem;
    border-radius: 3px;
    border: 1px solid rgba(247, 244, 238, 0.15);
}

.gallery-card-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.gallery-card-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-weight: 600;
}

.gallery-card-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Steps Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
    position: relative;
}

.timeline-step {
    display: flex;
    gap: 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.timeline-step:hover {
    transform: translateX(6px);
    border-color: rgba(163, 92, 58, 0.3);
    box-shadow: 0 10px 25px rgba(30, 23, 20, 0.05);
}

.timeline-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.8rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(30, 23, 20, 0.04);
}

.faq-question {
    padding: 1.4rem 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    user-select: none;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform var(--transition-smooth);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 1.8rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 1.8rem 1.4rem 1.8rem;
}

/* Sidebar Consultation Card */
.detail-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 2.5rem 2.2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 36px rgba(30, 23, 20, 0.06);
    margin-bottom: 2rem;
}

.sidebar-badge {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.sidebar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
    line-height: 1.65;
}

.sidebar-contact-list {
    list-style: none;
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
    color: var(--primary);
}

.sidebar-contact-list li a {
    color: var(--primary);
}

.sidebar-contact-list li a:hover {
    color: var(--accent);
}

.sidebar-guarantees {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.guarantee-item span.icon {
    color: var(--accent);
    font-weight: bold;
}

/* Animations & Kinetic Effects */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Project Catalog & Detail Pages (Realisations & Projets)
   ========================================================================== */
.portfolio-catalog-section {
    padding-top: 40px;
    padding-bottom: 90px;
}

.portfolio-filters-wrap {
    margin-bottom: 2rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    background: var(--bg-card);
    padding: 1.1rem 1.4rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(30, 23, 20, 0.04);
}

.filter-btn {
    padding: 0.55rem 1.15rem;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(163, 92, 58, 0.25);
}

.filter-count {
    font-size: 0.75rem;
    padding: 0.12rem 0.45rem;
    border-radius: 12px;
    background: rgba(30, 23, 20, 0.08);
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.catalog-status {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-style: italic;
}

.projects-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-catalog-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(30, 23, 20, 0.09);
    border-color: rgba(163, 92, 58, 0.35);
}

.project-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.project-card-image-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #1e1714;
}

.project-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-catalog-card:hover .project-card-image-wrap img {
    transform: scale(1.07);
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(30, 23, 20, 0.82);
    backdrop-filter: blur(6px);
    color: #FAF8F5;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.32rem 0.75rem;
    border-radius: 3px;
    border: 1px solid rgba(247, 244, 238, 0.15);
}

.project-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FAF8F5;
    background: rgba(30, 23, 20, 0.7);
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
}

.project-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-loc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--primary);
    margin-bottom: 0.7rem;
    line-height: 1.25;
}

.project-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-card-footer .view-link {
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition-fast);
}

.project-catalog-card:hover .view-link {
    transform: translateX(4px);
}

/* ==========================================================================
   Project Detail Pages
   ========================================================================== */
.project-single-hero {
    padding: 140px 0 40px 0;
    background: linear-gradient(180deg, rgba(30, 23, 20, 0.04) 0%, transparent 100%);
}

.project-single-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--primary);
    margin: 0.8rem 0 1rem 0;
    line-height: 1.15;
}

.project-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.project-single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.project-single-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-main);
    max-width: 850px;
    margin-bottom: 2.5rem;
}

.project-single-cover {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(30, 23, 20, 0.1);
    margin-bottom: 2.5rem;
    background: #1e1714;
}

.project-single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-gallery-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-photo-item {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #1e1714;
    cursor: pointer;
    padding: 0;
    appearance: none;
    display: block;
}

.gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-photo-item:hover img {
    transform: scale(1.08);
}

.photo-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 44px;
    height: 44px;
    background: rgba(30, 23, 20, 0.82);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: var(--transition-fast);
    pointer-events: none;
}

.gallery-photo-item:hover .photo-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.photo-caption-tag {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(30, 23, 20, 0.78);
    backdrop-filter: blur(4px);
    color: #FAF8F5;
    font-size: 0.75rem;
    padding: 0.22rem 0.6rem;
    border-radius: 3px;
    pointer-events: none;
}

.related-projects-section {
    padding-top: 20px;
    padding-bottom: 80px;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 13, 11, 0.95);
    backdrop-filter: blur(12px);
    border: none;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-modal[open] {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #FAF8F5;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    text-align: center;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.14);
    color: #FAF8F5;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--accent);
    color: #fff;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
    line-height: 1;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

body.lightbox-open {
    overflow: hidden;
}

/* ==========================================================================
   Mobile Sticky Quick Action Bar (<768px)
   ========================================================================== */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 23, 20, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.65rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    gap: 0.8rem;
    border-top: 1px solid rgba(247, 244, 238, 0.1);
}

.mobile-bar-btn {
    flex: 1;
    text-align: center;
    padding: 0.72rem 0.5rem;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FAF8F5;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mobile-bar-btn.primary {
    background: var(--accent);
    border-color: var(--accent);
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.menu-open .mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden !important;
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness
   ========================================================================== */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 1rem;
        padding: 6rem 2rem 3rem 2rem;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.4);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        color: #FAF8F5 !important;
        font-size: 1.15rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid rgba(247, 244, 238, 0.08);
        display: block;
        width: 100%;
    }

    .nav-links a:hover, .nav-links a.active {
        color: var(--accent) !important;
        padding-left: 0.5rem;
    }

    .hero-title {
        font-size: clamp(2.4rem, 6vw, 3.2rem);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .experience-badge {
        bottom: 20px;
        left: 20px;
    }

    .appointment-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }

    .page-hero-title {
        font-size: clamp(2rem, 5.5vw, 2.8rem);
    }

    .projects-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Offset for mobile-sticky-bar */
    }

    .mobile-sticky-bar {
        display: flex;
    }

    /* Force 16px to prevent iOS Safari auto-zooming inputs */
    input, select, textarea {
        font-size: 16px !important;
    }

    .hero-title {
        font-size: clamp(2.1rem, 7vw, 2.6rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .trust-pill {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .testimonials-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid-4 {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Touch-friendly overlay for portfolio items */
    .portfolio-overlay {
        opacity: 1 !important;
        background: linear-gradient(180deg, transparent 40%, rgba(30, 23, 20, 0.92) 100%) !important;
    }

    .portfolio-text {
        transform: translateY(0) !important;
    }

    .projects-catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .portfolio-filters {
        padding: 0.8rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .services-tabs-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .services-tabs-bar::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 calc(100vw - 3.5rem);
        max-width: 320px;
    }

    .appointment-form {
        padding: 2rem 1.4rem;
    }

    .scope-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
    .lightbox-prev {
        left: 10px;
        width: 40px;
        height: 40px;
    }
    .lightbox-next {
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.1rem;
    }

    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.1rem);
    }

    .page-hero {
        padding: 120px 0 50px 0;
    }

    .page-hero-title {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
    }

    .logo-brand-icon {
        height: 32px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-sub {
        font-size: 0.62rem;
    }

    .stats {
        flex-direction: column;
        gap: 1.2rem;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo-item {
        height: 230px;
    }

    .project-card-image-wrap {
        height: 220px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 0.9rem;
    }
    .btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
    }
    .service-card {
        flex: 0 0 calc(100vw - 2.5rem);
    }
}

/* ==========================================================================
   Instagram Showcase Section & Socials
   ========================================================================== */
.instagram-section {
    background-color: var(--bg-card);
    position: relative;
    padding: 6rem 0;
}

.instagram-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ig-profile-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.ig-avatar-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ig-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #14100E;
    object-fit: cover;
    border: 2px solid #fff;
    padding: 6px;
}

.ig-profile-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.ig-verified-badge {
    color: #3897f0;
    font-size: 0.95rem;
}

.ig-profile-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.ig-profile-stats {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    flex-wrap: wrap;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.4rem;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.25);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.instagram-post-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.instagram-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.instagram-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #14100E;
    cursor: pointer;
    border: none;
    padding: 0;
    display: block;
    text-align: left;
}

.instagram-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.instagram-post-card:hover .instagram-media-wrap img {
    transform: scale(1.05);
}

.ig-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(20, 16, 14, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 149, 107, 0.4);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ig-card-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(20, 16, 14, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.ig-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 14, 0.65);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #fff;
    z-index: 3;
    padding: 1rem;
    text-align: center;
}

.instagram-post-card:hover .ig-hover-overlay {
    opacity: 1;
}

.ig-zoom-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.ig-hover-text {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.instagram-card-body {
    padding: 1.2rem 1.4rem;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--border-light);
}

.ig-card-location {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.ig-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ig-card-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ig-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
}

.ig-project-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}

.ig-project-link:hover {
    color: var(--accent);
}

.ig-likes-comments {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

/* Footer Socials */
.footer-social-links {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    color: #fff;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    border-color: transparent;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    .instagram-profile-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
    }
    .btn-instagram {
        width: 100%;
        justify-content: center;
    }
}

.repair-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-top: 2.5rem;
}
.repair-category-grid > a {
    display: block;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.repair-category-grid > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(39, 35, 30, .09);
}
.repair-category-grid > a > div {
    overflow: hidden;
    aspect-ratio: 1.55;
    margin-bottom: 1.5rem;
    border-radius: .7rem;
    background: #eee9e2;
}
.repair-category-grid img { width: 100%; height: 100%; object-fit: cover; }
.repair-category-grid h3 { font: 500 clamp(1.65rem, 3vw, 2.6rem)/1.12 'Cormorant Garamond', serif; }
.repair-category-grid .text-link { display: inline-block; margin: .5rem 0 .25rem; }
.intro-strip strong { color: var(--accent); font-size: 1.45em; }
@media (max-width: 640px) {
    .repair-category-grid { grid-template-columns: 1fr; }
}


/* Restored design: dépannage and email draft details */
[hidden] { display: none !important; }
.repair-options a { color: inherit; text-decoration: none; }
.repair-options img { width:100%; height:240px; object-fit:cover; }
#prepared-message { width:100%; padding:16px; margin:16px 0; font:inherit; border:1px solid var(--border-light); border-radius:8px; background:var(--bg-main); }
.form-note { margin-top:16px; font-size:.9rem; color:var(--text-muted); }

.nav-content { gap:24px; }
.nav-content > .logo { flex-shrink:0; }
@media (min-width: 993px) {
.nav-links { gap:clamp(12px,1.35vw,22px); align-items:center; }
.nav-links a { white-space:nowrap; font-size:.85rem; }
.navbar .btn { padding:14px 18px; white-space:nowrap; font-size:.8rem; }
}
@media (min-width:993px) and (max-width:1200px) { .nav-links li:first-child { display:none; } .nav-content { gap:16px; } }
.hero-img { object-position:center 55%; }

.hero-title,.hero-subtitle,.hero-actions { opacity:1; transform:none; animation:none; }
.mobile-toggle { flex-shrink:0; }
@media (max-width:600px) { .navbar .btn { display:none; } .nav-content { justify-content:space-between; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }

/* Whole cards are genuine links, including keyboard and open-in-new-tab support. */
a.service-card, a.gallery-card { color:inherit; text-decoration:none; }
a.service-card { display:flex; }
a.gallery-card { display:block; }
a.service-tab-btn { display:inline-flex; align-items:center; text-decoration:none; }
a.service-card:focus-visible, a.gallery-card:focus-visible, a.service-tab-btn:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }

/* A continuous editorial photo ribbon for the official Instagram section. */
.ig-motion { --ig-gap: 20px; margin-top: -1rem; }
.ig-motion-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.2rem; color:var(--text-muted); font-size:.85rem; }
.ig-motion-toggle { border:1px solid var(--border-light); border-radius:24px; padding:.65rem 1rem; background:var(--bg-main); color:var(--text-main); cursor:pointer; font:inherit; flex-shrink:0; }
.ig-motion-toggle:hover { border-color:var(--accent); }
.ig-motion-window { overflow:hidden; padding:8px 0 20px; mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent); }
.ig-motion-track { display:flex; width:max-content; }
.ig-motion.is-ready .ig-motion-track { animation:ig-drift 65s linear infinite; }
.ig-motion-group { display:flex; gap:var(--ig-gap); padding-right:var(--ig-gap); }
.ig-motion-card { position:relative; display:block; flex:0 0 270px; width:270px; height:350px; overflow:hidden; border-radius:12px; background:#30271f; color:white; text-decoration:none; box-shadow:0 8px 20px #30271f12; }
.ig-motion-card img { width:100%; height:100%; object-fit:cover; transition:transform .8s ease; }
.ig-motion-card:hover img { transform:scale(1.06); }
.ig-motion-caption { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:22px; background:linear-gradient(transparent 35%,#21180ed9); }
.ig-motion-caption small { font-size:.58rem; letter-spacing:.14em; margin-bottom:10px; color:#f2d9c5; }
.ig-motion-caption strong { font-family:var(--font-heading,Georgia,serif); font-size:1.35rem; font-weight:400; line-height:1.2; }
.ig-motion-caption > span { margin-top:14px; font-size:.7rem; opacity:.9; }
.ig-motion:hover .ig-motion-track,.ig-motion:focus-within .ig-motion-track,.ig-motion.is-paused .ig-motion-track { animation-play-state:paused; }
.ig-motion-card:focus-visible,.ig-motion-toggle:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
@keyframes ig-drift { from { transform:translateX(-50%); } to { transform:translateX(0); } }
@media(max-width:600px) { .ig-motion-card { flex-basis:220px; width:220px; height:290px; } .ig-motion-toolbar { align-items:flex-start; font-size:.75rem; } .ig-motion { --ig-gap:14px; } }
@media(prefers-reduced-motion:reduce) { .ig-motion.is-ready .ig-motion-track { animation:none; } .ig-motion-window { overflow-x:auto; mask-image:none; } .ig-motion-group[aria-hidden] { display:none; } .ig-motion-toggle { display:none; } .ig-motion-card img { transition:none; } }
