/* --- FOUNDATIONS & TEXTURE --- */
:root {
    --bg-wall: #FDFCF8;
    --bg-paper: #FFFFFF;
    --ink-primary: #4A3B32;
    --ink-secondary: #5F5148;
    --ink-dark: #261E1A;
    --rose-accent: #DFAcb6;
    --rose-soft: #FFF0F3;
    --accent-gold: #C5A065;
    --tape-color: rgba(255, 255, 255, 0.45);
    --shadow-paper: 0 8px 18px -14px rgba(74, 59, 50, 0.3), 0 2px 8px rgba(74, 59, 50, 0.07);
    --shadow-lifted: 0 20px 40px -10px rgba(74, 59, 50, 0.12);
    --shadow-soft: 0 12px 24px -6px rgba(74, 59, 50, 0.08);
    --shadow-hover: var(--shadow-lifted);
    --radius-sm: 10px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-wall);
    color: var(--ink-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("../assets/cork_background.fd064fcee2d5.jpg");
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -1;   
    pointer-events: none;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

main { padding-bottom: 0; }

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
a:hover { color: var(--rose-accent); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.page-shell {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: clamp(20px, 6vw, 40px);
}

.texture-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink-primary);
}

h1 { font-size: clamp(3rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.76rem, 3.2vw, 2.56rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p.lead { font-size: 1.05rem; color: var(--ink-secondary); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-paper);
    color: var(--rose-accent);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-paper);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.verified-pill-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- HEADER --- */
.site-header {
    padding: 16px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(74, 59, 50, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px -10px rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--ink-primary);
    text-decoration: none;
    border: 1px solid #EBE5E0;
    padding: 6px 16px;
    background: var(--bg-paper);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transform: rotate(-1.5deg);
    transition: 0.3s ease;
    display: inline-flex;
    gap: 4px;
    align-items: baseline;
}

.logo:hover {
    transform: rotate(0deg) scale(1.02);
}

.logo .chateau { color: var(--ink-primary); }
.logo .rose { color: var(--rose-accent); }

.main-nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.main-nav a {
    color: var(--ink-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a:hover { color: var(--rose-accent); }

.main-nav a.pro-link {
    color: #fff;
}

.main-nav a.pro-link:hover {
    color: #fff;
}

.pro-link {
    font-weight: 600;
    color: #fff;
    background: var(--ink-primary);
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(74, 59, 50, 0.25);
}

.pro-link:hover {
    color: #fff;
    background: #382C25;
}

.pro-link-mobile { display: none; }

.nav-toggle {
    background: transparent;
    border: 1px solid rgba(74, 59, 50, 0.2);
    padding: 10px 12px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-paper);
    border-radius: 12px;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- PAPER & BUTTONS --- */
.paper-card {
    background: var(--bg-paper);
    padding: 2.5rem;
    box-shadow: var(--shadow-paper);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border-radius: var(--radius-md);
}

.paper-card:hover { transform: translateY(-6px); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ink-primary);
    color: #fff;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(74, 59, 50, 0.25);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    background: #382C25;
}

.btn.secondary {
    background: #fff;
    color: var(--ink-primary);
    border: 1px solid rgba(74, 59, 50, 0.15);
    box-shadow: none;
}

.btn.secondary:hover {
    color: var(--rose-accent);
    border-color: var(--rose-accent);
    background: #fff;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

/* --- HERO / HUB --- */
.hero {
    padding: 80px 0 100px;
}

.home-hero .container {
    padding-inline: clamp(14px, 3vw, 24px);
}

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

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--rose-accent);
    font-style: italic;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: -5px;
    width: 105%;
    height: 12px;
    background: rgba(223, 172, 182, 0.3);
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--ink-secondary);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-actions .btn {
    flex: 0 0 auto;
}

.trust-indicator {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(74, 59, 50, 0.12);
    background: rgba(255, 255, 255, 0.88);
    max-width: 360px;
}

.trust-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #166534;
    font-size: 0.9rem;
    font-weight: 700;
}

.trust-copy {
    display: grid;
    line-height: 1.2;
    gap: 2px;
}

.trust-copy strong {
    font-size: 0.9rem;
    color: var(--ink-primary);
}

.trust-copy span {
    font-size: 0.8rem;
    color: var(--ink-secondary);
    font-weight: 500;
}

.hero-card {
    background: var(--bg-paper);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-paper);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
}

.hero .polaroid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-grid { align-items: start; }

.hero-polaroid {
    aspect-ratio: 1 / 1;
    padding: 10px 10px 40px;
}

.hero-polaroid img {
    width: 100%;
    height: 100%;
}

.tape {
    position: absolute;
    width: 80px;
    height: 24px;
    background-color: var(--tape-color);
    backdrop-filter: blur(2px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 10;
    transform: rotate(-2deg);
}

.tape.top-left { top: -10px; left: 25%; }
.tape.top-right { top: -8px; right: 10px; transform: rotate(-5deg); }
.tape.top-center { top: -10px; left: 50%; transform: translateX(-50%) rotate(-2deg); }
.tape.bottom-right { bottom: -10px; right: 10px; transform: rotate(4deg); }
.tape.bottom-left { bottom: -10px; left: 10px; transform: rotate(-4deg); }
.tape.side-left { top: -8px; left: 10px; transform: rotate(4deg); }

@media (max-width: 900px) {
    .hero .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero .polaroid-grid { grid-template-columns: 1fr; }
    .hub-grid { margin-top: 40px; }
    .hero-polaroid:nth-child(n) { transform: none; }
    .hero-card { padding: 24px; }
}


@media (max-width: 700px) {
    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-actions .btn {
        flex-basis: min(100%, 340px);
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

@media (max-width: 950px) {
    .bento-grid { grid-template-columns: 1fr; }
}

.hero-main {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.hero-main h1 { 
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin-top: 50px;
}

.hero-headings { display: flex; flex-direction: column; gap: 0.8rem; }

.hero-subtitle {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--ink-secondary);
    max-width: 620px;
    padding-top: 30px;
    padding-bottom: 40px;
}

.hero-note {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink-secondary);
    font-size: 1rem;
    max-width: 640px;
}

.pin {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    align-items: start;
}

.polaroid {
    background: white;
    padding: 10px 10px 40px 10px;
    box-shadow: var(--shadow-paper);
    color: var(--ink-primary);
    transform: rotate(2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 240px;
}

.polaroid:nth-child(2) { transform: rotate(-3deg) translateY(10px); z-index: 1; }
.polaroid:nth-child(3) { transform: rotate(1deg); }

.polaroid:hover { transform: scale(1.04) rotate(0deg); box-shadow: var(--shadow-lifted); z-index: 3; }
.polaroid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(20%) sepia(10%);
    transition: filter 0.3s ease;
}
.polaroid:hover img { filter: grayscale(0%); }

.polaroid span {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: underline;
    text-decoration-color: var(--rose-accent);
    text-underline-offset: 6px;
}

.quote-card {
    background: var(--rose-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
}

/* --- GALLERY SECTION --- */
.gallery-section { padding: 80px 0; }

/* --- PORTFOLIO STRIP --- */
.portfolio-section {
    background-color: #FDFBF7;
    padding: 80px 0;
    border-top: 1px solid rgba(74, 59, 50, 0.05);
    border-bottom: 1px solid rgba(74, 59, 50, 0.05);
    overflow: hidden;
}

.portfolio-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 40px 24px 60px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.polaroid-mini {
    width: 100%;
    background: white;
    padding: 12px 12px 50px;
    color: var(--ink-primary);
    font-family: 'Permanent Marker', cursive;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    transform: rotate(2deg);
    border: 1px solid rgba(0, 0, 0, 0.02);
    -webkit-user-drag: none;
}

.polaroid-mini:hover {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.polaroid-mini:nth-child(odd) { transform: rotate(-3deg); }
.polaroid-mini:nth-child(even) { transform: rotate(2deg); }
.polaroid-mini:nth-child(3n) { transform: rotate(4deg); }

.polaroid-mini img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    filter: sepia(15%);
    transition: 0.4s ease;
    margin-bottom: 12px;
    background-color: #eee;
    pointer-events: none;
}

.polaroid-mini:hover img { filter: sepia(0%); }

@media (max-width: 640px) {
    .portfolio-strip {
        grid-template-columns: 1fr;
    }
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-header::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 12px;
    background: #ffeaa7;
    bottom: 6px;
    left: -10%;
    z-index: -1;
    transform: rotate(-1deg);
    mix-blend-mode: multiply;
}

.gallery-scroll {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    padding: 1.5rem 0 3rem;
    scrollbar-width: thin;
    scrollbar-color: var(--ink-primary) transparent;
}

.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: rgba(43,34,36,0.5); border-radius: 10px; }

.gallery-item {
    flex: 0 0 300px;
    background: white;
    padding: 1rem 1rem 2.5rem 1rem;
    box-shadow: var(--shadow-paper);
    transition: 0.4s;
    position: relative;
}

.gallery-item:nth-child(3n+1) { transform: rotate(1.5deg); }
.gallery-item:nth-child(3n+2) { transform: rotate(-1deg); }
.gallery-item:nth-child(3n+3) { transform: rotate(2deg); }
.gallery-item:hover { transform: translateY(-10px) rotate(0deg) !important; box-shadow: var(--shadow-lifted); }

.gallery-img { height: 320px; overflow: hidden; }
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-caption { font-family: 'Cormorant Garamond', serif; margin-top: 12px; text-align: center; font-style: italic; color: var(--ink-secondary); }

/* --- STEPS & VALUE PROP --- */
.steps-section { padding: 80px 0; background: var(--bg-paper); }

.step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    position: relative;
    padding: 24px;
    background: #FFFEFD;
    border: 1px dashed rgba(74, 59, 50, 0.15);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-paper);
}

.step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--rose-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    box-shadow: 2px 2px 0 var(--ink-primary);
}

.step-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--ink-primary);
}

.step-item p {
    font-size: 0.95rem;
    color: var(--ink-secondary);
}

.value-prop-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.prop-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prop-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--rose-accent);
}

.prop-list strong {
    color: var(--ink-primary);
    display: block;
}

.prop-list span {
    color: var(--ink-secondary);
    font-size: 0.95rem;
}

@media (max-width: 800px) {
    .value-prop-grid { grid-template-columns: 1fr; }
}

/* --- INFO / MANIFESTO --- */
.info-section { padding: 40px 0; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .info-grid { grid-template-columns: 1fr; }
}

.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; margin: 30px 0; justify-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-visual { background: var(--bg-paper); padding: 1.4rem; box-shadow: var(--shadow-paper); transform: rotate(1deg); max-width: 520px; }
.about-visual img { width: 100%; height: auto; display: block; }
.about-promise { max-width: 640px; width: 100%; }

.info-card {
    background: var(--bg-paper);
    box-shadow: var(--shadow-paper);
    padding: 2.2rem;
}

.info-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 0.75rem;
}

.manifesto-card {
    background: var(--ink-primary);
    color: var(--bg-paper);
    box-shadow: 10px 10px 0 rgba(0,0,0,0.1);
}

.manifesto-card .info-title { color: var(--bg-paper); }
.manifesto-card h3 { color: var(--bg-paper); margin-bottom: 1.2rem; }
.manifesto-card .step-list li { color: var(--bg-paper); }

.highlight-list, .stat-line { list-style: none; padding: 0; margin: 0; }

.faq-section { padding: 40px 0; display: grid; gap: 20px; }
.faq-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.faq-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.faq-card { background: var(--bg-paper); box-shadow: var(--shadow-paper); padding: 1.8rem; display: grid; gap: 10px; border: 1px solid rgba(0,0,0,0.04); }

.info-section .step-list {
    counter-reset: step-counter;
    display: grid;
    gap: 1.2rem;
}

.info-section .step-list li {
    position: relative;
    padding-left: 3rem;
}

.info-section .step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: -4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--rose-accent);
    line-height: 1;
}

.info-why h2 { margin-bottom: 1rem; }
.info-why p { color: var(--ink-secondary); margin-bottom: 1.5rem; }

.stat-line { display: grid; gap: 1rem; }
.stat-line li { display: grid; gap: 6px; }
.stat-line strong { color: var(--ink-primary); }
.stat-line span { color: var(--ink-secondary); }

/* --- SERVICES GRID --- */
.all-services { padding: 80px 0; }

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--ink-secondary);
    font-weight: 500;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
}

.service-gallery-title { margin-top: 30px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}

.all-services-grid { margin-top: 40px; }

.service-polaroid {
    display: block;
    background: white;
    padding: 10px 10px 45px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: rotate(0deg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-polaroid:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: var(--shadow-hover);
    z-index: 5;
}

.service-polaroid:nth-child(even) { transform: rotate(-1deg); }
.service-polaroid:nth-child(3n) { transform: rotate(1deg); }
.service-polaroid:nth-child(even):hover,
.service-polaroid:nth-child(3n):hover { transform: scale(1.03) rotate(0deg); }

.service-polaroid img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    filter: sepia(10%);
    transition: 0.3s ease;
    background-color: #f0f0f0;
}

.service-polaroid:hover img { filter: sepia(0); }

.hero-polaroid img { height: 100%; }

.service-label {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ink-primary);
    transition: color 0.3s ease;
}

.service-polaroid:hover .service-label { color: var(--rose-accent); }

.benefit-list {
    display: grid;
    gap: 16px;
}

.benefit-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    background: #fff;
    align-items: start;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: #fdf8f6;
}

.benefit-card strong {
    display: block;
    color: var(--ink-primary);
    margin-bottom: 4px;
}

.benefit-card span {
    color: var(--ink-secondary);
    font-size: 0.95rem;
}

.accent-underline {
    text-decoration: underline;
    text-decoration-color: var(--rose-accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    color: inherit;
}

.accent-underline:hover { color: var(--rose-accent); }

.service-card-full {
    transition: 0.3s ease;
    position: relative;
    background: var(--bg-paper);
    box-shadow: var(--shadow-paper);
    border: 10px solid white;
}

/* Keep a subtle tilt for image-driven cards */
.service-card-full:nth-child(3n + 1) { transform: rotate(1.5deg); }
.service-card-full:nth-child(3n + 2) { transform: rotate(-1deg); }
.service-card-full:nth-child(3n + 3) { transform: rotate(2deg); }

.service-card-full:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-lifted); }

.service-card-img { height: 240px; filter: grayscale(20%); transition: 0.4s; }
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card-full:hover .service-card-img { filter: grayscale(0%); }

.service-card-body { padding: 22px; text-align: center; }
.service-card-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card-link {
    font-size: 0.85rem;
    color: var(--ink-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--rose-accent);
}

/* --- PROVIDERS --- */
.providers-section { padding: 80px 0; }

.story-section {
    padding: 30px 0 20px;
}


.scroll-rail {
    --rail-offset: clamp(20px, 6vw, 40px);
    margin-inline: calc(var(--rail-offset) * -1);
}

.scroll-rail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-inline: var(--rail-offset);
    margin-bottom: 10px;
}

.scroll-rail-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.scroll-rail-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(177, 130, 92, 0.45);
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.scroll-rail-btn:hover:enabled {
    transform: translateY(-1px);
    border-color: rgba(177, 130, 92, 0.7);
}

.scroll-rail-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.story-header {
    text-align: center;
    margin-bottom: 24px;
}

.story-title {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    margin-bottom: 8px;
}

.story-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px var(--rail-offset) 18px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--rose-accent) rgba(177, 130, 92, 0.18);
}

.story-scroll::-webkit-scrollbar {
    height: 8px;
}

.story-scroll::-webkit-scrollbar-track {
    background: rgba(177, 130, 92, 0.18);
    border-radius: 999px;
}

.story-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(177, 130, 92, 0.8), rgba(163, 127, 98, 0.95));
    border-radius: 999px;
}

.story-card {
    position: relative;
    flex: 0 0 210px;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: var(--shadow-paper);
    background: #eee;
    scroll-snap-align: start;
    cursor: zoom-in;
}

.story-card img,
.story-card video {
    border-radius: 14px;
}

.story-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-media-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    border-radius: 999px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}



.story-review-popover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.68) 35%, rgba(0, 0, 0, 0.25) 68%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.story-review-popover p {
    margin: 0 0 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.96);
}

.story-card:hover .story-review-popover,
.story-card.is-hovered .story-review-popover {
    opacity: 1;
}

.story-zoom-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 4vw, 30px);
    background: rgba(7, 7, 7, 0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.story-zoom-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.story-zoom-figure {
    margin: 0;
    width: min(100%, 560px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.story-zoom-media {
    width: 100%;
    max-height: min(66vh, 520px);
    border-radius: 14px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow-hover);
    background: #000;
}

.story-zoom-figure img,
.story-zoom-figure video {
    width: 100%;
    height: 100%;
    max-height: min(66vh, 520px);
    object-fit: contain;
    display: block;
}

.story-zoom-caption {
    color: #fff;
    text-align: left;
    display: grid;
    gap: 6px;
}

.story-zoom-caption .hero-review-stars {
    color: #ffd54f;
}

.story-zoom-caption strong {
    font-weight: 700;
}

.story-zoom-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.story-zoom-close {
    position: absolute;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    border: none;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 640px) {
    .story-zoom-media {
        max-height: 56vh;
    }
}

.reassurance-strip {
    padding: 14px 0 40px;
    border-bottom: 1px dashed rgba(74, 59, 50, 0.15);
    margin-bottom: 40px;
}

.reassurance-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.reassurance-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-secondary);
    font-size: 0.92rem;
    font-weight: 600;
}

.reassurance-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0f3;
    color: var(--rose-accent);
}

.hero-review-stars {
    color: #f4c97e;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}


.providers-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-primary);
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(177, 130, 92, 0.35);
    background: rgba(255, 249, 242, 0.9);
}

.providers-scroll-hint.is-hidden {
    display: none;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.homepage-providers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 960px) {
    .homepage-providers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.homepage-providers-cta {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.at-home-seo-content {
    padding-top: 26px;
}

.at-home-seo-content .paper-card h2 {
    margin-bottom: 16px;
}

.at-home-seo-content .paper-card p + p {
    margin-top: 12px;
}

.providers-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    gap: 24px;
    padding: 12px var(--rail-offset) 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--rose-accent) rgba(177, 130, 92, 0.18);
}

.providers-scroll::-webkit-scrollbar { height: 8px; }
.providers-scroll::-webkit-scrollbar-track {
    background: rgba(177, 130, 92, 0.18);
    border-radius: 999px;
}
.providers-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(177, 130, 92, 0.8), rgba(163, 127, 98, 0.95));
    border-radius: 999px;
}

.providers-scroll .provider-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

@media (max-width: 1100px) {
    .providers-scroll .provider-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 840px) {
    .scroll-rail-actions {
        display: none;
    }
    .providers-scroll {
        gap: 20px;
    }

    .providers-scroll .provider-card {
        flex-basis: min(320px, 84vw);
        margin-inline: 0;
        border-radius: 16px;
    }

    .trust-indicator {
        margin-inline: auto;
        text-align: left;
    }

    .story-card { flex-basis: 170px; }
}

@media (max-width: 720px) {
    .providers-grid { padding-inline: 6px; }
    .providers-grid .provider-card { margin-inline: 12px; }
}

.provider-card {
    background: var(--bg-paper);
    border: 1px solid #eee;
    box-shadow: var(--shadow-paper);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.provider-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.provider-header,
.provider-img {
    height: 260px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

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

.provider-avatar-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: var(--shadow-paper);
    overflow: hidden;
    background: #fff;
}

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

.provider-rating {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-paper);
}

.provider-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.provider-name { font-size: 1.6rem; }
.provider-loc { color: var(--ink-secondary); font-size: 1rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.tag { border: 1px solid #EEE; padding: 6px 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-secondary); background: #fff; }
.service-list-mini { margin-bottom: 16px; list-style: none; padding: 0; }
.service-list-mini li {
    font-size: 0.85rem;
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    color: var(--ink-secondary);
}

.provider-cta {
    width: 100%;
    text-align: center;
    padding: 10px;
}
.card-actions { margin-top: auto; }

/* --- PAGE HEROES --- */
.page-hero {
    padding: 30px 0 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.hero-media img { width: 100%; border-radius: 0; object-fit: cover; min-height: 260px; box-shadow: var(--shadow-paper); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.page-hero h1 { font-size: clamp(2.2rem, 3vw, 3rem); }
.page-hero .crumbs { color: var(--ink-secondary); font-size: 0.95rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-secondary); }
.hero-meta span { padding: 8px 12px; background: rgba(255,255,255,0.7); border: 1px dashed rgba(0,0,0,0.07); border-radius: 0; box-shadow: var(--shadow-paper); }

.provider-hero { position: relative; padding: 40px 0 60px; }
.hero-backdrop {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow-paper);
}

.hero-backdrop img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.95) contrast(1.05);
}

.provider-profile-card {
    position: absolute;
    left: 40px;
    bottom: -30px;
    max-width: 760px;
    z-index: 3;
}

@media (max-width: 768px) {
    .provider-profile-card { position: relative; left: 0; bottom: 0; margin-top: -40px; }
    .hero-backdrop { height: 200px; }
}

.cta-banner {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    background: var(--bg-paper);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-paper);
}

.cta-pro {
    background: linear-gradient(160deg, #4A3B32 0%, #55362B 100%);
    color: #EBE5E0;
    padding: 60px 20px;
    text-align: center;
}

.cta-pro .btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: none;
}

.cta-pro .btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.cta-banner .highlight-list { margin-top: 12px; }

.providers-footer-gap {
    margin-bottom: 72px;
}

@media (max-width: 960px) {
    .nav-wrapper {
        align-items: center;
        gap: 12px;
    }

    .nav-toggle {
        display: flex;
        z-index: 4;
    }

    .main-nav {
        position: absolute;
        inset: calc(100% - 12px) 24px auto;
        background: var(--bg-paper);
        border: 1px solid rgba(0,0,0,0.08);
        box-shadow: var(--shadow-paper);
        border-radius: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 3;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .pro-link-desktop { display: none; }
    .pro-link-mobile { display: inline-flex; font-size: 0.85rem; }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* --- PROVIDER PROFILE LAYOUT --- */
.provider-profile { padding: 50px 0; display: grid; gap: 22px; }
.provider-page-header { transform: none; }
.provider-page-title { margin: 12px 0 10px; font-size: clamp(2.2rem, 3vw, 3rem); }
.provider-contacts { display: flex; gap: 12px; flex-wrap: wrap; }

.provider-layout { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 950px) {
    .provider-layout { grid-template-columns: 1fr; gap: 1.2rem; }
    .profile-photo-frame { transform: none; max-width: 460px; margin: 0 auto; }
}

.provider-sidebar { display: grid; gap: 1.2rem; height: max-content; }
@media (min-width: 951px) {
    .provider-sidebar { position: sticky; top: 80px; }
}
.profile-photo-frame {
    background: white;
    padding: 1rem 1rem 2.5rem 1rem;
    box-shadow: var(--shadow-paper);
    text-align: center;
}
.profile-photo-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: grayscale(10%);
}
.provider-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 12px; }
.provider-sidebar-card { text-align: left; }
.provider-note { font-size: 0.95rem; color: var(--ink-secondary); }

.provider-main { display: grid; gap: 1.8rem; }
.provider-section-title { text-align: left; font-size: 2rem; margin-bottom: 0.8rem; }
.provider-gallery-card { padding: 1.5rem; }
.provider-services-card { display: grid; gap: 1rem; }
.services-list-simple { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.service-line { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,0.08); }
.service-line h4 { margin: 0; font-size: 1.1rem; }
.service-price { font-weight: 700; color: var(--rose-accent); white-space: nowrap; }
.service-category-accordion { display: grid; gap: 14px; }
.service-category-item { border-top: 1px solid rgba(0, 0, 0, 0.08); padding-top: 10px; }
.service-category-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    color: var(--ink-primary);
}
.service-category-summary::-webkit-details-marker { display: none; }
.service-category-title { margin: 0; font-size: 1.2rem; font-weight: 600; }
.service-category-line { flex: 1; height: 1px; background: var(--ink-primary); opacity: 0.25; }
.service-category-icon {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}
.service-category-icon::before { content: "▾"; }
.service-category-item[open] .service-category-icon { transform: rotate(180deg); }

.provider-form-card {
    display: grid;
    gap: 14px;
    background: #FFF9F9;
    border: 2px dashed #f3c1da;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    box-shadow: var(--shadow-paper);
}

/* --- PROVIDER BOOKING DETAIL --- */
.booking-detail-header {
    display: grid;
    gap: 16px;
    padding: 1.6rem;
}
.booking-detail-header-card {
    grid-column: 1 / -1;
}
.booking-detail-header-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.booking-detail-header-copy h1 { margin: 12px 0 8px; }
.booking-detail-header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.booking-header-back {
    font-size: 0.8rem;
    padding: 0.6rem 1.1rem;
    text-transform: none;
    letter-spacing: 0.5px;
}
.booking-header-logout {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--ink-secondary);
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.booking-detail-page {
    padding-bottom: 80px;
}
.booking-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 2rem;
    align-items: start;
    width: 100%;
}
.booking-detail-grid > * { min-width: 0; }
@media (max-width: 980px) {
    .booking-detail-grid { grid-template-columns: 1fr; }
}

.booking-ticket {
    background: var(--bg-paper);
    box-shadow: var(--shadow-paper);
    position: relative;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}
.booking-ticket-header {
    padding: 2rem 2.5rem;
    border-bottom: 2px dashed rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.booking-ticket-header h2 { font-size: 1.8rem; margin-top: 4px; }
.ticket-id {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink-secondary);
    font-size: 0.9rem;
}
.booking-status-stamp {
    font-family: 'Courier New', courier, monospace;
    font-weight: 700;
    text-transform: uppercase;
    color: #d97706;
    border: 3px double #d97706;
    padding: 8px 16px;
    transform: rotate(-3deg);
    font-size: 1.05rem;
    opacity: 0.9;
}
.booking-status-stamp[data-status="confirmed"] {
    color: var(--green-success);
    border-color: var(--green-success);
    transform: rotate(2deg);
}
.booking-status-stamp[data-status="cancelled"] {
    color: #c53030;
    border-color: #c53030;
    transform: rotate(-1deg);
}

.booking-ticket-body { padding: 2.5rem; display: grid; gap: 2rem; }
.booking-client-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    flex-wrap: wrap;
}
.booking-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rose-accent);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.booking-client-name { font-weight: 700; }
.booking-client-meta { color: var(--ink-secondary); font-size: 0.9rem; }
.booking-client-contact { margin-left: auto; font-size: 0.8rem; padding: 8px 16px; }

.booking-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.8rem;
    min-width: 0;
}
.booking-spec-item { display: flex; flex-direction: column; gap: 6px; }
.booking-spec-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-secondary);
    font-weight: 700;
}
.booking-spec-value { font-size: 1.2rem; font-weight: 500; color: var(--ink-primary); }
.booking-spec-sub { font-size: 0.9rem; color: var(--ink-secondary); }
.booking-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--rose-accent);
}

.booking-proposal-callout {
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--rose-accent);
    background: rgba(255,255,255,0.7);
}

.booking-notes h3 { margin-bottom: 0.6rem; }
.booking-notes p { color: var(--ink-secondary); }

.booking-visuals h3 {
    text-align: center;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.booking-polaroid-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.booking-polaroid {
    background: white;
    padding: 12px 12px 50px 12px;
    box-shadow: var(--shadow-paper);
    transform: rotate(2deg);
    transition: 0.3s ease;
    width: min(240px, 100%);
    position: relative;
}
.booking-polaroid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(10%);
}
.booking-polaroid span {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--ink-primary);
}
.booking-polaroid:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: var(--shadow-lifted);
    z-index: 5;
}
.booking-polaroid-inspiration { transform: rotate(-3deg); }

.booking-action-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.booking-action-card {
    background: #FFF9F9;
    border: 2px solid #f3c1da;
    padding: 2rem;
    box-shadow: var(--shadow-paper);
}
.booking-action-card h3 { margin-bottom: 1rem; font-size: 1.6rem; color: var(--rose-accent); }
.booking-action-lead { font-size: 0.95rem; color: var(--ink-secondary); margin-bottom: 1.5rem; line-height: 1.4; }
.booking-decision-flow { display: grid; gap: 1rem; }
.booking-or-divider {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}
.booking-toggle-negotiation {
    background: transparent;
    border: none;
    color: var(--ink-secondary);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0;
}
.booking-toggle-negotiation:hover { color: var(--rose-accent); }

.booking-negotiation-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    background: white;
    border: 1px dashed rgba(0,0,0,0.1);
}
.booking-negotiation-panel.is-open {
    max-height: 500px;
    padding: 1.5rem;
    border-color: var(--rose-accent);
}
.booking-negotiation-form { display: grid; gap: 14px; }

.booking-danger-zone {
    text-align: center;
    padding: 1.5rem;
}
.booking-help-box {
    background: var(--bg-paper);
    border: 1px dashed #ccc;
    padding: 1.2rem;
    font-size: 0.9rem;
    color: var(--ink-secondary);
}
.provider-form-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}
.provider-form-layout > * { min-width: 0; }
.provider-form-aside { display: flex; }
.provider-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; align-items: start; min-width: 0; }
.provider-form-grid .form-field { display: grid; gap: 6px; min-width: 0; }
.provider-form-grid .field-hint { color: var(--ink-secondary); font-size: 0.85rem; }
.provider-form-grid .full-width { grid-column: 1 / -1; }
.provider-form-grid label { font-weight: 700; font-size: 0.95rem; }
.provider-form-grid .wizard-step {
    border: 0;
    padding: 0;
    margin: 0;
    grid-column: 1 / -1;
    width: 100%;
}
.provider-form-grid input:not([type="checkbox"]),
.provider-form-grid select,
.provider-form-grid textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 0;
    font-size: 0.95rem;
    max-width: 100%;
    min-width: 0;
}

.zone-list-full { margin-top: 12px; }
.zone-accordion { display: flex; flex-direction: column; gap: 10px; }
.zone-accordion .zone-list-full { display: none; }
.zone-accordion .zone-list-full.is-open { display: flex; }

.zone-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: #FFF9F9;
    border: 1px dashed rgba(209, 77, 114, 0.4);
    color: var(--rose-accent);
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
}

.zone-toggle:hover { background: #fff2f6; }
/* --- AMÉLIORATION WIDGET LOCATION --- */
.location-choice {
    display: grid;
    /* Responsive : 2 colonnes minimum, passe en 1 si trop petit */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.location-choice .choice-pill {
    position: relative;
    display: flex;
    align-items: center; /* Aligne le rond et le texte verticalement */
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 2px solid #E5E7EB; /* Gris clair par défaut */
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

/* Effet au survol */
.location-choice .choice-pill:hover {
    border-color: #f3c1da; /* Rose pâle */
    background: #FFF9F9;
    transform: translateY(-2px); /* Petit effet de levier sympa */
}

/* L'input radio réel est caché mais reste là pour la logique */
.location-choice input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin: 0;
    flex-shrink: 0; /* Empêche le rond de s'écraser */
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

/* Le texte à côté */
.location-choice .choice-pill span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-secondary);
    line-height: 1.3;
}

/* --- ÉTATS SÉLECTIONNÉS (La magie opère ici) --- */

/* Quand l'input est checked, on change le style du rond radio */
.location-choice input[type="radio"]:checked {
    border-color: var(--rose-accent);
    background-color: var(--rose-accent);
    box-shadow: inset 0 0 0 3px #fff; /* Crée le point blanc au centre */
}

/* Quand l'input est checked, on change le style de la carte parente (via JS class ou CSS moderne) */
.location-choice .choice-pill.is-selected {
    border-color: var(--rose-accent);
    background-color: #fff2f6; /* Fond rose très léger */
    box-shadow: 0 4px 12px rgba(209, 77, 114, 0.15); /* Ombre portée rose */
}

.location-choice .choice-pill.is-selected span {
    color: var(--ink-primary); /* Texte plus foncé pour confirmer */
}
.checkbox-field input[type="checkbox"] { width: auto; }
.provider-form-grid textarea { min-height: 140px; }
.provider-form-grid .estimation-box { grid-column: 1 / -1; background: #fff5fb; border: 1px solid #f3c1da; border-radius: 12px; padding: 12px; }
.provider-form-grid .estimation-box .estimate-value { font-weight: 800; font-size: 1.1rem; margin: 0; }
.provider-form-grid .checkbox-field { grid-column: 1 / -1; }
.checkbox-field label { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 700; white-space: normal; width: 100%; }
@media (max-width: 640px) {
    .location-choice { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
    .provider-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
    .provider-form-layout { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
    .provider-form-aside { position: sticky; top: 120px; }
}

.required-mark { color: var(--rose-accent); }
.table-wrapper { overflow-x: auto; }
.dashboard-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.dashboard-table th, .dashboard-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #E5E7EB; }
.dashboard-table th { color: var(--ink-secondary); font-size: 0.9rem; }
.status-pill { display: inline-block; padding: 6px 10px; background: #FEF2F2; color: #991B1B; border-radius: 999px; font-weight: 700; font-size: 0.85rem; }
.login-form { display: grid; gap: 12px; margin-top: 14px; max-width: 420px; }
.login-form label { font-weight: 700; }
.login-form input { width: 100%; padding: 12px; border: 1px solid #E5E7EB; background: #fff; border-radius: 0; font-size: 0.95rem; }

@media (max-width: 640px) {
    .provider-profile,
    .providers-section,
    .provider-hero,
    .page-hero.providers-hero {
        padding-inline: clamp(16px, 5vw, 22px);
    }

    .provider-main .provider-section-title {
        margin-inline: clamp(6px, 3vw, 12px);
    }

    .provider-page-header,
    .provider-profile-card,
    .provider-main > .paper-card,
    .provider-main .paper-card,
    .provider-main .provider-form-card,
    .provider-sidebar > .paper-card,
    .provider-sidebar > .profile-photo-frame {
        margin-inline: clamp(6px, 3vw, 12px);
    }

    .request-card {
        margin-inline: clamp(6px, 3vw, 12px);
    }
}

/* ==========================================================================
   SERVICE HUB & SEO PAGES (AJOUTS)
   ========================================================================== */

/* --- LAYOUT PRINCIPAL (MAIN + SIDEBAR) --- */
.service-hub-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 80px;
}

@media (min-width: 960px) {
    .service-hub-layout {
        grid-template-columns: 1fr 320px;
    }
}

.providers-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* --- HERO SPECIFIQUE HUB --- */
.hero-content h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin: 20px 0;
    line-height: 1.1;
}

/* --- CARTES PRESTATAIRES COMPACTES (LISTE) --- */
.provider-card-compact {
    display: flex;
    flex-direction: column;
    background: var(--bg-paper);
    box-shadow: var(--shadow-paper);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 6px solid white;
    position: relative;
    overflow: hidden;
}

.provider-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lifted);
}

.provider-card-compact .provider-header {
    height: 240px;
}

@media (max-width: 720px) {
    .service-hub-layout {
        gap: 28px;
    }

    .providers-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 16px;
        gap: 8px;
    }

    .provider-card-compact {
        border-width: 4px;
    }

    .provider-card-compact .provider-header {
        height: 200px;
    }

    .provider-card-compact .provider-body {
        padding: 18px;
    }

    .gallery-item-hub {
        flex: 0 0 160px;
        height: 160px;
    }

    .service-sidebar {
        gap: 16px;
    }
}

@media (min-width: 600px) {
    .provider-card-compact {
        flex-direction: row;
        height: 220px;
    }
    .provider-card-compact .provider-header {
        width: 220px;
        height: 100%;
        flex-shrink: 0;
    }
}

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

.provider-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.provider-name {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.provider-loc {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--ink-secondary);
    font-size: 1.1rem;
}

/* --- SIDEBAR & NAVIGATION ZONES --- */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 960px) {
    .service-sidebar {
        position: sticky;
        top: 40px;
    }
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    font-size: 0.95rem;
    color: var(--ink-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover {
    padding-left: 8px;
    color: var(--rose-accent);
    border-bottom-color: var(--rose-accent);
}

.nav-link.active {
    color: var(--rose-accent);
    font-weight: 700;
    border-bottom: 1.5px solid var(--rose-accent);
}

.nav-link span:last-child {
    color: var(--rose-accent);
    font-weight: bold;
}

/* --- FORMULAIRE DE DEMANDE RAPIDE (INLINE) --- */
.inline-form-card {
    background: #FFF9F9;
    border: 2px dashed #f3c1da;
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.08);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 0;
}

.request-form-wrapper {
    max-width: 1200px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.form-section {
    padding: 80px 0;
    background-color: #F9F7F5;
    position: relative;
}

.paper-form {
    max-width: 760px;
    margin: 0 auto;
    background: white;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    border: 1px solid #EBE5E0;
    position: relative;
    border-radius: var(--radius-md);
    background-image: linear-gradient(#f4f4f4 1px, transparent 1px);
    background-size: 100% 32px;
}

.paper-form::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 140px;
    height: 35px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
}

.paper-form .request-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.inline-form-card h3,
.inline-form-card h2,
.inline-form-card h1 {
    color: var(--ink-primary);
}

.inline-form-card h3 {
    color: var(--rose-accent);
    margin-bottom: 10px;
}

/* Grille de formulaire interne */
.form-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
}

.request-card .form-grid {
    gap: 20px;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .request-card .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.form-field label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-primary);
}

.form-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-fieldset legend {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-primary);
    margin-bottom: 6px;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

/* Surcharge des inputs pour cohérence */
.inline-form-card input,
.inline-form-card select,
.inline-form-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #f2d6e2;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 0;
    max-width: 100%;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inline-form-card input:focus,
.inline-form-card select:focus,
.inline-form-card textarea:focus {
    border-color: var(--rose-accent);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
    outline: none;
}

.inline-form-card textarea {
    min-height: 100px;
}

/* --- GALERIE HORIZONTALE --- */
.gallery-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-top: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--rose-accent) transparent;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background-color: var(--rose-accent);
    border-radius: 10px;
}

.gallery-item-hub {
    flex: 0 0 200px;
    height: 200px;
    border: 5px solid white;
    box-shadow: var(--shadow-paper);
    transition: transform 0.3s ease;
}

.gallery-item-hub:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 2;
}

/* --- ALERTES & MESSAGES --- */
.alert {
    padding: 16px;
    border-radius: 0;
    font-weight: 600;
    margin-bottom: 24px;
}

.alert.error {
    background: #FFF5F5;
    color: #C53030;
    border-left: 4px solid #FC8181;
}

/* --- SERVICE PAGE / FORMS --- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 28px; }
.chip { padding: 10px 14px; background: #fff; border: 1px solid #eee; border-radius: 0; font-weight: 600; font-size: 0.9rem; color: var(--ink-secondary); }
.chip.active { border-color: var(--rose-accent); color: var(--rose-accent); }

.breadcrumb { color: var(--ink-secondary); font-size: 0.95rem; margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-secondary); }

.info-card.basic { border: 1px solid rgba(0,0,0,0.05); }
.request-card {
    background: #FFF9F9;
    border: 2px dashed #f3c1da;
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.request-card:hover { transform: translateY(-3px); }
.request-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.request-note { background: var(--bg-paper); color: var(--rose-accent); padding: 10px 14px; border-radius: 0; font-weight: 700; font-size: 0.9rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.info-grid.alt { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 30px 0 10px; }
@media (min-width: 900px) { .info-grid.alt { grid-template-columns: repeat(2, 1fr); } }

.highlight-list { display: grid; gap: 10px; color: var(--ink-secondary); }
.highlight-list li { line-height: 1.5; }
.highlight-list.pink-checks li { position: relative; padding-left: 26px; }
.highlight-list.pink-checks li::before { content: "✔"; color: #e91e63; position: absolute; left: 0; top: 0; font-weight: 800; }

.info-card form { display: grid; grid-template-columns: 1fr; gap: 16px; }
.info-card label { font-weight: 700; display: block; margin-bottom: 6px; }
.info-card input, .info-card select, .info-card textarea { width: 100%; padding: 12px; border: 1px solid #E5E7EB; background: #fff; border-radius: 0; font-size: 0.95rem; }
.info-card textarea { min-height: 120px; resize: vertical; }
.zone-search { position: relative; display: flex; flex-direction: column; gap: 6px; }
.zone-search__input { width: 100%; padding: 12px; border: 1px solid #E5E7EB; background: #fff; border-radius: 0; font-size: 0.95rem; }
.zone-search__dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 10; max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; }
.zone-search__option { padding: 10px 12px; text-align: left; background: white; border: none; border-bottom: 1px solid #F3F4F6; cursor: pointer; font-size: 0.95rem; }
.zone-search__option:last-child { border-bottom: none; }
.zone-search__option:hover, .zone-search__option:focus { background: #FFF4F8; outline: none; }
.choice-toggle-group { display: grid; gap: 12px; grid-template-columns: 1fr; }
.choice-toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #f2d6e2; background: #fff; cursor: pointer; border-radius: 16px; font-weight: 700; color: var(--ink-secondary); width: 100%; min-width: 0; white-space: normal; transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; }
.choice-toggle input[type="radio"] { margin: 0; accent-color: var(--rose-accent); transform: scale(1.1); }
.choice-toggle input[type="radio"]:focus-visible + span { outline: 2px solid var(--rose-accent); outline-offset: 2px; }
.choice-toggle:hover { border-color: var(--rose-accent); color: var(--ink-primary); box-shadow: 0 8px 18px rgba(233, 30, 99, 0.08); }

@media (min-width: 640px) {
    .choice-toggle-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.service-links { padding: 50px 0; text-align: center; }
.service-links .chips { justify-content: center; }

.detail-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 950px) { .detail-grid { grid-template-columns: 0.9fr 1.1fr; } }

.provider-visuals { display: grid; gap: 18px; align-content: start; }
.visual-frame { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-paper); background: var(--bg-paper); }

.form-card { background: var(--bg-paper); box-shadow: var(--shadow-paper); padding: 2rem; border: 1px solid rgba(0,0,0,0.04); display: grid; gap: 14px; }
.form-card form { display: grid; gap: 14px; }
.form-card label { font-weight: 700; font-size: 0.95rem; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 12px; border: 1px solid #E5E7EB; background: #fff; font-size: 0.95rem; }

.alert.success { background: #ECFDF3; color: #166534; border: 1px solid #BBF7D0; }
.request-confirmation {
    border-left: 4px solid #22C55E;
    box-shadow: 0 10px 18px rgba(34, 197, 94, 0.15);
}

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.provider-gallery-grid { align-items: stretch; }
.gallery-thumb {
    position: relative;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-thumb img,
.gallery-thumb video {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-thumb__play {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    z-index: 2;
    font-size: 0.85rem;
}

.gallery-thumb__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(233, 30, 99, 0.25));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(233, 30, 99, 0.18);
}
.gallery-thumb:hover img,
.gallery-thumb:hover video,
.gallery-thumb:focus-visible img {
    transform: scale(1.06);
}
.gallery-thumb:hover .gallery-thumb__overlay,
.gallery-thumb:focus-visible .gallery-thumb__overlay {
    opacity: 1;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2000;
}
.gallery-modal[hidden] { display: none; }
.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}
.gallery-modal__dialog {
    position: relative;
    background: #fff;
    width: min(920px, 92vw);
    max-height: 90vh;
    border-radius: 20px;
    padding: clamp(1rem, 2vw, 2rem);
    display: grid;
    gap: 1rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    z-index: 1;
}
.gallery-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: rgba(15, 23, 42, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1.2rem;
    cursor: pointer;
}
.gallery-modal__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}
.gallery-modal__nav {
    border: none;
    background: rgba(15, 23, 42, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.gallery-modal__nav:hover,
.gallery-modal__nav:focus-visible {
    background: rgba(233, 30, 99, 0.2);
}
.gallery-modal__figure {
    margin: 0;
    display: grid;
    gap: 0.6rem;
    text-align: center;
}
.gallery-modal__figure img,
.gallery-modal__figure video {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 16px;
    background: #f8f8f8;
}
.gallery-modal__caption {
    color: var(--ink-secondary);
    font-size: 0.95rem;
}
.gallery-modal__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
}
.gallery-modal__thumbs button {
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}
.gallery-modal__thumbs button.is-active {
    opacity: 1;
    border-color: var(--rose-accent);
}
.gallery-modal__thumbs img,
.gallery-modal__thumbs video {
    width: 100%;
    height: 60px;
    object-fit: cover;
    display: block;
}
.has-gallery-modal { overflow: hidden; }

@media (max-width: 700px) {
    .gallery-modal__main { grid-template-columns: 1fr; }
    .gallery-modal__nav { justify-self: center; }
    .gallery-modal__nav[data-gallery-prev] { order: 1; }
    .gallery-modal__figure { order: 2; }
    .gallery-modal__nav[data-gallery-next] { order: 3; }
}
.meta-line { color: var(--ink-secondary); font-size: 0.95rem; }

/* --- FOOTER --- */
footer {
    background: var(--ink-dark);
    color: #EBE5E0;
    padding: 80px 0 40px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.site-footer a { color: inherit; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-grid > * { min-width: 0; }

.footer-brand {
    display: grid;
    gap: 16px;
}

@media (min-width: 980px) {
    .footer-brand { grid-column: span 2; }
}

.footer-brand .logo { margin-bottom: 4px; }

.footer-copy {
    color: #E0D6D1;
    font-size: 0.98rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.footer-contact {
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
    color: #E0D6D1;
}

.footer-contact-link {
    color: #EBE5E0;
    opacity: 0.85;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', serif;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #EBE5E0;
    opacity: 0.7;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-contact-link:hover,
.footer-social a:hover {
    color: var(--rose-accent);
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 26px;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(235, 229, 224, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social a {
    color: rgba(235, 229, 224, 0.8);
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-main { padding: 2rem; }
    .hero-main h1 { font-size: 2.6rem; }
    .section-title { font-size: 2.1rem; }
    .hero-services { grid-template-columns: 1fr; }
    .provider-header { height: 260px; }
    .cta-banner { flex-direction: column; align-items: flex-start; }
    .paper-card { padding: 1.5rem; }
    .request-card, .provider-card { transform: none; }
    .provider-body { padding: 20px; }
    .provider-card { border-radius: var(--radius-sm); }
    .providers-grid { gap: 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .form-field { min-width: 0; }
    .provider-profile { padding: 40px 0; }
}


/* --- WIZARD FORM ADDITIONS --- */

/* Masquer les étapes non actives */
.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.wizard-step.active {
    display: grid;
    gap: 18px;
}

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

/* Barre de progression */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    max-width: 400px;
    margin-inline: auto;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.step-indicator {
    width: 30px;
    height: 30px;
    background: var(--bg-paper);
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ink-secondary);
    z-index: 1;
    position: relative;
    transition: 0.3s ease;
}

.step-indicator.active {
    border-color: var(--rose-accent);
    color: var(--rose-accent);
    box-shadow: 0 0 0 4px #fff2f6;
}

.step-indicator.completed {
    background: var(--rose-accent);
    border-color: var(--rose-accent);
    color: white;
}

/* Navigation Buttons */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(233, 30, 99, 0.15);
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}
.wizard-actions .btn {
    padding: 0.7rem 1.6rem;
    text-transform: none;
    letter-spacing: 0.5px;
}
.wizard-actions .btn-prev { box-shadow: none; }
.payment-element { max-width: 100%; }

.btn-prev {
    background: transparent;
    border: 1px solid var(--ink-secondary);
    color: var(--ink-secondary);
}

@media (max-width: 640px) {
    .wizard-actions {
        justify-content: center;
        align-items: stretch;
    }
    .wizard-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Custom File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed #f3c1da;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    padding: 10px;
}

.file-upload-wrapper:hover {
    background: #fff2f6;
    border-color: var(--rose-accent);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    color: var(--rose-accent);
    font-weight: 700;
    pointer-events: none;
}

.file-upload-info {
    font-size: 0.8rem;
    color: var(--ink-secondary);
    margin-top: 5px;
    pointer-events: none;
}

/* Sticky Price Bar (Mobile friendly) */
.sticky-price-bar {
    position: sticky;
    top: 120px;
    background: #fff;
    color: var(--ink-primary);
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-paper);
    display: grid;
    gap: 8px;
    border: 1px solid #f3c1da;
    width: 100%;
}

.sticky-price-bar.hidden {
    display: none;
}

.total-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-secondary); }
.total-amount { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; font-style: italic; color: var(--rose-accent); }
.sticky-price-bar .meta-line { margin: 0; font-size: 0.85rem; }
.deposit-summary { border-top: 1px dashed #f3c1da; padding-top: 8px; display: grid; gap: 4px; }
.deposit-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-secondary); }
.deposit-amount { font-weight: 700; color: var(--ink-primary); }

/* Secure Badge */
.secure-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ECFDF3;
    color: #065F46;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid #A7F3D0;
}

.city-discovery {
    padding: 64px 0 72px;
    text-align: center;
}

.city-discovery-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.city-discovery-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-secondary);
}

.city-discovery .section-title,
.city-discovery .section-subtitle {
    color: var(--ink-primary);
}

.city-chip-list {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 920px;
}

.city-chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink-primary);
    border: 1px solid rgba(86, 51, 40, 0.2);
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.city-chip:hover {
    transform: translateY(-1px);
}



.city-hero .hero-grid {
    grid-template-columns: 1fr;
}

.city-hero-paper {
    width: 100%;
}

.city-providers-section {
    padding-top: 20px;
}
