/* Gebr. Oetiker AG - Custom Styles */

/* ============ Selbst gehostete Schriften (OFL, DSG-konform) ============ */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../assets/fonts/dmsans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../assets/fonts/dmsans-latinext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../assets/fonts/playfair-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../assets/fonts/playfair-latinext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ NEW HERO (centered, v2) ============ */
.hv-hero {
    background: #543381;
    padding: 90px 32px 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(247, 206, 70, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(247, 206, 70, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hv-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: #f8f7f4;
    clip-path: ellipse(70% 100% at 50% 100%);
}

.hv-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(247, 206, 70, 0.14);
    color: #F7CE46;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.hv-hero-pill .hv-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #F7CE46;
    opacity: 0.6;
}

.hv-hero-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    max-width: 880px;
    margin: 0 auto 22px;
}

.hv-hero-title em {
    font-style: normal;
    color: #F7CE46;
    font-weight: 600;
}

.hv-hero-lead {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hv-hero-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hv-btn-primary {
    background: #F7CE46;
    color: #543381;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(247, 206, 70, 0.3);
}

.hv-btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hv-btn-secondary:hover {
    border-color: #F7CE46;
    color: #F7CE46;
}

@media (max-width: 900px) {
    .hv-hero {
        padding: 60px 20px 100px;
    }
}

/* ============ Highlight bar (after portrait) ============ */
.hv-highlight-bar {
    background: #543381;
    border-radius: 18px;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    overflow: hidden;
}

.hv-highlight-bar::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -50px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(247, 206, 70, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hv-highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(247, 206, 70, 0.16);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hv-highlight-bar p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

.hv-highlight-bar p strong {
    color: #F7CE46;
    font-weight: 600;
}

@media (max-width: 720px) {
    .hv-highlight-bar {
        padding: 22px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ============ Feature grid (Was im Alltag wirklich zählt) ============ */
.hv-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hv-feature-card {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    padding: 32px 28px;
    transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.hv-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(84, 51, 129, 0.25);
    box-shadow: 0 14px 32px rgba(27, 27, 27, 0.06);
}

.hv-feature-icon {
    width: 46px;
    height: 46px;
    background: rgba(84, 51, 129, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #543381;
}

.hv-feature-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    color: #1b1b1b;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hv-feature-card p {
    font-size: 14.5px;
    color: #6b6b6b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1023px) {
    .hv-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .hv-feature-grid { grid-template-columns: 1fr; }
}

/* ============ Service tile grid (Leistungen) ============ */
.hv-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hv-service-tile {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.hv-service-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(84, 51, 129, 0.3);
    box-shadow: 0 14px 32px rgba(27, 27, 27, 0.06);
}

.hv-service-num {
    font-size: 12px;
    font-weight: 700;
    color: #d2aa1e;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

.hv-service-tile h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #1b1b1b;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.hv-service-tile:hover h3 {
    color: #543381;
}

.hv-service-tile p {
    font-size: 14.5px;
    color: #6b6b6b;
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.hv-service-arrow {
    color: #543381;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
}

.hv-service-arrow::after {
    content: '\2192';
    transition: transform 0.2s ease;
}

.hv-service-tile:hover .hv-service-arrow::after {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .hv-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .hv-service-grid { grid-template-columns: 1fr; }
}

/* ============ Timeline (Geschichte) ============ */
.hv-timeline-frame {
    background: #fdfcf9;
    border: 1px solid #ebe7dd;
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: 0 14px 44px rgba(27, 27, 27, 0.04);
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.hv-timeline-frame::before,
.hv-timeline-frame::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    pointer-events: none;
}

.hv-timeline-frame::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid #F7CE46;
    border-left: 2px solid #F7CE46;
    border-top-left-radius: 24px;
}

.hv-timeline-frame::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid #543381;
    border-right: 2px solid #543381;
    border-bottom-right-radius: 24px;
}

.hv-timeline {
    position: relative;
    padding-left: 56px;
}

.hv-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(180deg, #F7CE46 0%, #543381 100%);
    border-radius: 2px;
}

.hv-timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.hv-timeline-item:last-child {
    padding-bottom: 0;
}

.hv-timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F7CE46;
    border: 3px solid #fdfcf9;
    box-shadow: 0 0 0 2px #543381;
    z-index: 1;
}

.hv-timeline-item--last::before {
    background: #543381;
    box-shadow: 0 0 0 2px #F7CE46;
}

/* Collapse / expand */
.hv-timeline-rest {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.3s ease;
}

.hv-timeline-frame.expanded .hv-timeline-rest {
    max-height: 1600px;
    opacity: 1;
    transition: max-height 0.7s ease, opacity 0.5s ease 0.15s;
}

.hv-timeline-toggle-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed #ebe7dd;
    text-align: center;
}

.hv-timeline-toggle {
    background: none;
    border: 1.5px solid rgba(84, 51, 129, 0.18);
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    color: #543381;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.hv-timeline-toggle:hover {
    background: #543381;
    border-color: #543381;
    color: #fff;
}

.hv-timeline-toggle .hv-timeline-toggle-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.hv-timeline-frame.expanded .hv-timeline-toggle .hv-timeline-toggle-icon {
    transform: rotate(180deg);
}

.hv-timeline-toggle-hide {
    display: none;
}

.hv-timeline-frame.expanded .hv-timeline-toggle-show {
    display: none;
}

.hv-timeline-frame.expanded .hv-timeline-toggle-hide {
    display: inline;
}

/* ============ Bento grid (Was wir Ihnen bieten können) ============ */
.hv-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hv-bento-card {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.hv-bento-card:hover {
    transform: translateY(-3px);
    border-color: rgba(84, 51, 129, 0.3);
    box-shadow: 0 14px 32px rgba(27, 27, 27, 0.06);
}

.hv-bento-large {
    grid-column: span 2;
    padding: 36px;
    min-height: 260px;
}

.hv-bento-spotlight {
    background: linear-gradient(160deg, #543381 0%, #6e46a0 100%);
    border-color: #543381;
    color: #fff;
}

.hv-bento-spotlight::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -70px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(247, 206, 70, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hv-bento-spotlight:hover {
    border-color: #6e46a0;
    box-shadow: 0 18px 40px rgba(84, 51, 129, 0.18);
}

.hv-bento-icon {
    width: 46px;
    height: 46px;
    background: rgba(84, 51, 129, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #543381;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hv-bento-large .hv-bento-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
}

.hv-bento-spotlight .hv-bento-icon {
    background: rgba(247, 206, 70, 0.18);
    color: #F7CE46;
}

.hv-bento-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    color: #1b1b1b;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.hv-bento-large h3 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hv-bento-spotlight h3 {
    color: #fff;
}

.hv-bento-card p {
    font-size: 14.5px;
    color: #6b6b6b;
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.hv-bento-large p {
    font-size: 15.5px;
}

.hv-bento-spotlight p {
    color: rgba(255, 255, 255, 0.8);
}

.hv-bento-arrow {
    margin-top: 18px;
    color: #543381;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.hv-bento-arrow::after {
    content: '\2192';
    transition: transform 0.2s ease;
}

.hv-bento-card:hover .hv-bento-arrow::after {
    transform: translateX(3px);
}

.hv-bento-spotlight .hv-bento-arrow {
    color: #F7CE46;
}

@media (max-width: 900px) {
    .hv-bento-grid { grid-template-columns: repeat(2, 1fr); }
    .hv-bento-large { grid-column: span 2; padding: 30px; }
}

@media (max-width: 540px) {
    .hv-bento-grid { grid-template-columns: 1fr; gap: 14px; }
    .hv-bento-large { grid-column: span 1; padding: 26px; min-height: 220px; }
    .hv-bento-large h3 { font-size: 22px; }
}

.hv-timeline-year {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    color: #543381;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.hv-timeline-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hv-timeline-content p {
    font-size: 14.5px;
    color: #6b6b6b;
    line-height: 1.65;
    margin: 0;
    max-width: 560px;
}

@media (max-width: 600px) {
    .hv-timeline-frame {
        padding: 36px 24px;
    }
    .hv-timeline {
        padding-left: 44px;
    }
    .hv-timeline::before {
        left: 14px;
    }
    .hv-timeline-item::before {
        left: -42px;
    }
    .hv-timeline-year {
        font-size: 26px;
    }
}

/* ============ Section headers (centered or left, shared) ============ */
.hv-section-head {
    margin-bottom: 44px;
}

.hv-section-head .hv-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #543381;
    margin-bottom: 14px;
}

.hv-section-head h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    color: #1b1b1b;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    max-width: 720px;
}

.hv-section-head p {
    color: #6b6b6b;
    font-size: 16px;
    line-height: 1.65;
    max-width: 580px;
    margin: 0;
}

/* Hero curved bottom */
.hero-curve::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 70px;
    background: #f8f7f4;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* Hero radial gradient overlay */
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(247, 206, 70, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* CTA top curve */
.cta-curve::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: #f8f7f4;
    clip-path: ellipse(55% 100% at 50% 0%);
}

/* Timeline line gradient */
.timeline-line::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #F7CE46, #543381);
}

/* Timeline dot */
.tl-dot {
    position: absolute;
    left: -27px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F7CE46;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #543381;
    z-index: 1;
}

.tl-dot-last {
    background: #543381;
    box-shadow: 0 0 0 2px #F7CE46;
}

/* Portrait card gradient */
.portrait-gradient {
    background: linear-gradient(160deg, #543381 0%, #6e46a0 100%);
}

/* Portrait initials ring */
.portrait-ring::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dashed rgba(247, 206, 70, 0.25);
}

/* Gallery placeholder */
.gallery-placeholder {
    background: linear-gradient(135deg, rgba(84, 51, 129, 0.08) 0%, rgba(247, 206, 70, 0.08) 100%);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Page hero for subpages */
.page-hero-curve::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

body.bg-light .page-hero-curve::after {
    background: #f8f7f4;
}

/* Shared shell */
.site-header {
    background: rgba(84, 51, 129, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(27, 27, 27, 0.12);
}

.site-header nav {
    gap: 1.35rem;
}

.site-header nav a:not(.header-callback),
.site-header nav button:not(.header-callback) {
    font-size: 0.97rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
}

.header-callback {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    background: #f7ce46;
    color: #543381;
    padding: 0.78rem 1.15rem;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(247, 206, 70, 0.2);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    cursor: pointer;
}

.header-callback:hover {
    transform: translateY(-1px);
    background: #ffd94f;
    box-shadow: 0 18px 34px rgba(247, 206, 70, 0.26);
}

.hero-dot-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(247, 206, 70, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.18;
    pointer-events: none;
}

.hero-photo-card,
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(84, 51, 129, 0.1);
    box-shadow: 0 24px 60px rgba(27, 27, 27, 0.14);
}

.hero-photo-card img,
.photo-card img,
.gallery-photo img,
.before-after-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-glow {
    position: relative;
}

.photo-glow::before {
    content: '';
    position: absolute;
    inset: auto -12% -12% auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(247, 206, 70, 0.22);
    filter: blur(36px);
    pointer-events: none;
}

.accent-panel {
    background: linear-gradient(145deg, #ffffff 0%, #f4efe2 100%);
}

.proof-chip {
    border: 1px solid rgba(247, 206, 70, 0.24);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.mini-stat-card {
    border: 1px solid rgba(84, 51, 129, 0.08);
    background: #fff;
    box-shadow: 0 12px 30px rgba(27, 27, 27, 0.06);
}

.craft-note {
    border: 1px solid rgba(247, 206, 70, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
}

.trust-panel {
    border-top: 1px solid #e8e6e1;
}

.trust-panel:first-child {
    border-top: 0;
}

.trust-number {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 0.95;
    color: #543381;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    border-top: 1px solid #e8e6e1;
    padding: 1.2rem 0;
    color: inherit;
}

.service-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.service-row:last-child {
    padding-bottom: 0;
}

.service-row:hover h3,
.service-row:hover h4 {
    color: #543381;
}

.service-row h4 {
    font-size: 1.13rem;
}

.service-index {
    color: #d2aa1e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.material-list {
    display: grid;
    gap: 0.75rem;
}

.material-list li {
    border-top: 1px solid #e8e6e1;
    padding-top: 0.75rem;
    font-size: 0.9rem;
    color: #3d3d3d;
}

.material-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.work-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.work-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: #5d5d5d;
    font-size: 0.91rem;
    line-height: 1.55;
}

.work-list li::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: #f7ce46;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .service-row {
        grid-template-columns: 7rem 1fr;
        gap: 2rem;
        padding: 1.45rem 0;
    }

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

.section-kicker {
    letter-spacing: 0.18em;
}

.quote-card {
    border-left: 3px solid #f7ce46;
    background: linear-gradient(180deg, rgba(247, 206, 70, 0.08) 0%, rgba(247, 206, 70, 0) 100%);
}

#mobile-menu a,
#mobile-menu button {
    font-size: 1rem;
    line-height: 1.35;
}

#callback-modal .modal-card {
    border: 1px solid #e8e6e1;
    box-shadow: 0 26px 55px rgba(27, 27, 27, 0.22);
}

#callback-modal .modal-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #543381;
    background: #f7ce46;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #ebe6d8;
}

.gallery-photo::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(27, 27, 27, 0.42), transparent);
    pointer-events: none;
}

.gallery-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
}

.before-after-card {
    border: 1px solid #e8e6e1;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(27, 27, 27, 0.08);
}

.before-after-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 220px;
    background: #efede7;
}

.before-badge,
.after-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.before-badge {
    background: rgba(27, 27, 27, 0.72);
    color: #fff;
}

.after-badge {
    background: rgba(247, 206, 70, 0.94);
    color: #543381;
}

.service-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-photo-grid .gallery-photo {
    min-height: 220px;
}

.contact-card {
    background: linear-gradient(160deg, #543381 0%, #6e46a0 100%);
}

@media (max-width: 767px) {
    .hero-photo-card {
        max-width: 28rem;
        margin: 0 auto;
    }

    .service-photo-grid {
        grid-template-columns: 1fr;
    }
}
