:root {
    --bg: #f6efe4;
    --surface: #fffaf3;
    --surface-soft: #f9f1e7;
    --surface-muted: #efe1d0;
    --ink: #3f2a1c;
    --ink-soft: #6f5846;
    --navy: #2b1a11;
    --navy-strong: #1d110b;
    --navy-soft: #5b3b24;
    --line: #e1cfb8;
    --line-strong: #cdb294;
    --accent: #d9a43f;
    --accent-soft: #f4e0ba;
    --success: #2f8d5c;
    --danger: #b44c4c;
    --shadow-sm: 0 16px 30px rgba(47, 29, 17, 0.08);
    --shadow-md: 0 24px 56px rgba(47, 29, 17, 0.14);
    --radius: 20px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100vw - 2rem));
    --heading: "Bahnschrift SemiCondensed", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
    --body: "Segoe UI Variable Text", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: linear-gradient(180deg, #fffaf2 0%, #f6efe4 100%);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 760px; }
.site-shell { min-height: 100vh; overflow: clip; }
body.menu-open { overflow: hidden; touch-action: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: visible;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    z-index: 120;
    padding: 0.8rem 1rem;
    color: #fff;
    background: var(--navy);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { top: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    color: #f7f9fc;
    background: rgba(43, 26, 17, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 225, 185, 0.16);
}
.site-utility {
    border-bottom: 1px solid rgba(255, 225, 185, 0.16);
    background: rgba(36, 21, 13, 0.38);
}
.utility-row,
.nav-row,
.utility-links,
.section-heading,
.button-row,
.hero-actions,
.social-links,
.slider-controls,
.slider-arrows {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.utility-row,
.nav-row,
.section-heading,
.slider-controls { justify-content: space-between; }
.utility-row {
    min-height: 46px;
    color: rgba(255, 240, 220, 0.82);
    font-size: 0.92rem;
}
.utility-text {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
}
.utility-links,
.menu-list,
.submenu,
.footer-links,
.footer-submenu,
.info-list,
.stats-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.utility-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-submenu {
    margin-top: 0.55rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.12);
}
.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.footer-nav-link::before {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--accent);
    flex: 0 0 auto;
}
.footer-address-item,
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-contact-link {
    color: #f7f9fc;
    text-decoration: none;
}
.footer-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
    color: rgba(255, 223, 176, 0.9);
}
.footer-contact-link:hover .footer-icon,
.footer-contact-link:focus-visible .footer-icon,
.footer-address-item .footer-icon {
    color: #fff;
}
.utility-links a,
.footer-links a,
.social-links a { transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
.utility-links a:hover,
.footer-links a:hover,
.social-links a:hover { color: #fff; }
.nav-row {
    min-height: 96px;
    gap: 1.5rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.brand strong,
h1,
h2,
h3,
h4,
summary { font-family: var(--heading); letter-spacing: 0.02em; }
.brand-copy { display: grid; gap: 0.18rem; }
.brand strong { font-size: 1.14rem; }
.brand small {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247, 249, 252, 0.66);
}
.brand-logo {
    display: block;
    height: clamp(38px, 5vw, 54px);
    width: auto;
    max-width: min(260px, 52vw);
    object-fit: contain;
}
.brand-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--accent) 0%, #ead0ad 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(66, 43, 27, 0.3);
    border-radius: 10px;
    clip-path: inherit;
}
.main-nav { margin-left: auto; }
.menu-toggle,
.submenu-toggle,
.slider-arrow {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: inherit;
}
.menu-toggle {
    display: none;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
}
.menu-list {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.menu-item { position: relative; }
.menu-link-row {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-radius: 14px;
    position: relative;
}
.menu-item > .menu-link-row > a {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0.95rem 0.95rem 0.9rem;
    color: rgba(247, 249, 252, 0.84);
    font-weight: 600;
    position: relative;
}
.menu-item > .menu-link-row > a::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.65rem;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 0.2s ease;
}
.menu-item.is-current > .menu-link-row > a,
.menu-item:hover > .menu-link-row > a,
.menu-item:focus-within > .menu-link-row > a { color: #fff; }
.menu-item.is-current > .menu-link-row > a::after,
.menu-item:hover > .menu-link-row > a::after,
.menu-item:focus-within > .menu-link-row > a::after { background: var(--accent); }
.submenu-toggle {
    min-width: 38px;
    min-height: 38px;
    margin-right: 0.35rem;
    border: 0;
    color: rgba(247, 249, 252, 0.76);
}
.submenu-toggle::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}
.menu-item.is-expanded > .menu-link-row .submenu-toggle::before,
.submenu-toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translateY(-1px); }
.submenu {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    min-width: 250px;
    padding: 0.6rem;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}
.menu-item:focus-within > .submenu,
.menu-item.is-expanded > .submenu { display: block; }
.submenu .menu-link-row {
    min-height: 46px;
    border-radius: 12px;
}
.submenu .menu-item > .menu-link-row > a {
    min-height: 46px;
    width: 100%;
    color: var(--ink);
    padding: 0.8rem 0.9rem;
}
.submenu .menu-item > .menu-link-row > a::after { display: none; }
.submenu .submenu-toggle { color: var(--navy); }
.submenu .menu-item:hover > .menu-link-row,
.submenu .menu-item:focus-within > .menu-link-row,
.submenu .menu-item.is-current > .menu-link-row { background: var(--surface-soft); }
.submenu .submenu {
    top: -0.6rem;
    left: calc(100% + 0.65rem);
}

.menu-item.is-open-left > .submenu {
    left: auto;
    right: 0;
}
.submenu .menu-item.is-open-left > .submenu {
    left: auto;
    right: calc(100% + 0.65rem);
}

.flash-wrap { padding-top: 1rem; }
.flash {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}
.flash-success { color: var(--success); background: #e8f7ef; border: 1px solid #bfdccf; }
.flash-error { color: var(--danger); background: #fff0f0; border: 1px solid #e4bbbb; }

.hero {
    position: relative;
    padding: clamp(3.6rem, 6vw, 5.4rem) 0 4rem;
}
.hero-home {
    padding: 0;
    color: #f7f9fc;
    background:
        radial-gradient(circle at top right, rgba(201, 153, 81, 0.16), transparent 32%),
        linear-gradient(135deg, #2d1a10 0%, #4b301f 58%, #6b462c 100%);
}
.hero-home::after,
.hero-inner::after {
    top: -58px;
    height: 60px;
    background: linear-gradient(180deg, #2a190f 0%, #3b2518 100%);
    clip-path: polygon(0 100%, 0 62%, 100% 84%, 100% 100%);
    transform: translateY(1px);
}
.hero-home::after {
    bottom: -1px;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(0 100%, 0 26%, 100% 100%, 100% 100%);
}
.hero-inner {
    background: linear-gradient(180deg, #fdf7ef 0%, #f4e9dc 100%);
    padding: 0 0 3.2rem;
}
.hero-inner::after {
    bottom: -1px;
    height: 40px;
    background: var(--bg);
    clip-path: polygon(0 100%, 0 36%, 100% 100%, 100% 100%);
}
.hero-layout,
.split-grid,
.content-grid,
.detail-hero,
.footer-grid {
    display: grid;
    gap: 2rem;
}
.hero-layout { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 2.4rem; }
.hero-layout.hero-layout-single { grid-template-columns: 1fr; }
.detail-hero { grid-template-columns: 1fr 0.92fr; align-items: center; }
.split-grid,
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-grid-balanced { align-items: start; }
.footer-grid { grid-template-columns: 1.15fr 0.9fr 0.95fr; gap: 1.6rem; }
.hero-copy.compact { max-width: 64ch; }
.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
    line-height: 1.02;
}
.hero-inner .hero-copy h1, .hero-inner .page-head h1 { color: var(--navy); }
.hero-summary,
.hero-copy p:last-child { max-width: 62ch; }
.hero-home .hero-summary,
.hero-home .hero-copy p:last-child { color: rgba(255, 223, 176, 0.9); }
.hero-inner .hero-copy p:last-child, .hero-inner .page-head p { color: var(--ink-soft); }
.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 700;
}
.button-row,
.hero-actions,
.social-links { flex-wrap: wrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.92rem 1.3rem;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
    color: #2b1a11;
    background: linear-gradient(135deg, var(--accent) 0%, #f1c978 100%);
    box-shadow: 0 14px 30px rgba(155, 106, 44, 0.28);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.button-secondary {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(72, 45, 28, 0.18);
}
.hero-home .button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}
.button-full { width: 100%; }
.text-link { color: var(--navy-soft); font-weight: 700; }
.text-link:hover { color: var(--navy); }
.stats-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}
.stats-item {
    padding: 1rem 1rem 1.05rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
.stats-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.42rem;
}
.stats-item span { color: rgba(255, 240, 220, 0.82); }
.hero-slider {
    position: relative;
    width: 100%;
    min-height: clamp(430px, 56vh, 540px);
    background: #2d1a10;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.hero-slider::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 82px;
    background: linear-gradient(180deg, rgba(43, 26, 17, 0.04) 0%, rgba(43, 26, 17, 0.74) 100%);
    clip-path: polygon(0 100%, 0 48%, 100% 8%, 100% 100%);
    pointer-events: none;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.35s ease, transform 0.45s ease;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide-media {
    margin: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
}
.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(1.2rem, 2.4vw, 2.2rem);
    background: linear-gradient(90deg, rgba(41, 24, 15, 0.8) 0%, rgba(41, 24, 15, 0.64) 34%, rgba(41, 24, 15, 0.28) 60%, rgba(41, 24, 15, 0.10) 100%);
}
.slide-copy {
    max-width: 640px;
    color: #fff;
    display: grid;
    gap: 0.95rem;
}
.slide-copy h1,
.slide-copy h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4.3vw, 4.1rem);
    line-height: 1.06;
}
.slide-text {
    margin: 0;
    max-width: 56ch;
    color: rgba(247, 249, 252, 0.92);
    font-size: clamp(1.02rem, 1.4vw, 1.14rem);
}
.slide-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    margin: 0 0 0.2rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    color: #2c1a10;
    background: #efc162;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.slide-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.button-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}
.slider-controls {
    position: absolute;
    left: clamp(1rem, 2vw, 1.6rem);
    right: clamp(1rem, 2vw, 1.6rem);
    bottom: clamp(0.8rem, 2vw, 1.2rem);
    z-index: 5;
    pointer-events: none;
}
.slider-arrows,
.slider-dots { pointer-events: auto; }
.slider-arrows { gap: 0.55rem; }
.slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 18, 30, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 1.4rem;
    line-height: 1;
    backdrop-filter: blur(2px);
}
.slider-arrow:hover { background: rgba(7, 18, 30, 0.8); }
.slider-dots { display: flex; gap: 0.55rem; }
.slider-dots button {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}
.slider-dots button[aria-current="true"] { background: var(--accent); }

.section {
    position: relative;
    padding: 3.4rem 0;
}
.section-soft { background: linear-gradient(180deg, #f9f1e7 0%, #f1e4d4 100%); }
.section-surface { background: linear-gradient(180deg, #fffaf3 0%, #f7ecde 100%); }
.section-heading {
    margin-bottom: 1.5rem;
    gap: 1rem;
}
.section-heading.inline-start { justify-content: flex-start; }
.section-heading.inline-start > div { flex: 1 1 auto; }
.section-subtitle { margin: 0.45rem 0 0; color: var(--ink-soft); max-width: none; width: 100%; }
.list-reset { list-style: none; margin: 0; padding: 0; }
.card-grid,
.faq-grid,
.gallery-grid,
.stack-grid,
.field-grid,
.info-list,
.process-grid { display: grid; gap: 1rem; }
.card-grid.one-col { grid-template-columns: 1fr; }
.card-grid.three-col,
.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two-col,
.field-grid.two-col,
.stack-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.panel,
.sidebar-card,
.prose-card,
.form-card,
.mini-card,
.faq-item,
.intro-card,
.empty-state,
.process-step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card,
.horizontal-card { overflow: hidden; }
.card-body,
.panel,
.sidebar-card,
.prose-card,
.form-card,
.mini-card,
.intro-card,
.process-step { padding: 1.35rem; }
.card-body h3,
.mini-card h3,
.process-step strong { margin-top: 0; margin-bottom: 0.7rem; }
.card-body p,
.mini-card p,
.panel p,
.sidebar-card p,
.prose-card p,
.intro-card p,
.empty-state p,
.process-step p { color: var(--ink-soft); }
.card h3 a:hover,
.mini-card a:hover { color: var(--navy-soft); }
.card-media { margin: 0; background: linear-gradient(180deg, #f5eadc 0%, #ebdac5 100%); }
.related-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.content-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.content-card-fallback {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f3e7d7 0%, #e6d2b8 100%);
    color: #6b4a2a;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.region-card .chip { margin-bottom: 0.45rem; }

.horizontal-card { display: grid; grid-template-columns: 220px 1fr; }
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f4e1c2;
    color: #7a4f21;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.chip.is-active { color: #fff; background: var(--navy); }
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
}

.filter-bar.sticky {
    position: sticky;
    top: 1rem;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-left: 4px solid #c99951;
}

/* Angled Geometry Filter Chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c99951 0%, #a67c3e 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.filter-chip:hover {
    color: #c99951;
    background: #fffdf9;
    border-color: #c99951;
    transform: translateX(6px);
    box-shadow: 6px 6px 0 rgba(201, 153, 81, 0.15);
}

.filter-chip:hover::before {
    transform: scaleY(1);
}

.filter-chip.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #c99951 0%, #a67c3e 100%);
    border-color: #c99951;
    box-shadow: 6px 6px 0 rgba(201, 153, 81, 0.4);
    transform: translateX(6px);
}

.filter-chip.is-active::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleY(1);
}

.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    align-items: center;
    justify-content: space-between;
}

.mobile-filter-toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.mobile-filter-toggle::after {
    content: '⌄';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.mobile-filter-toggle.open::after {
    transform: rotate(180deg);
}

.mobile-filter-drawer {
    display: none;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.mobile-filter-drawer.open {
    display: block;
}

/* Advanced Filter Sidebar for 10+ categories */
.advanced-filter {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.filter-sidebar {
    position: sticky;
    top: 1rem;
    align-self: start;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #ffffff;
    border: none;
    border-left: 6px solid #c99951;
    border-radius: 0;
    padding: 0;
    box-shadow: 8px 8px 0 rgba(201, 153, 81, 0.1);
}

.filter-search-box {
    margin-bottom: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fffdf9 0%, #f9f4ec 100%);
    border-bottom: 3px solid #e2e8f0;
}

.filter-search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    border-radius: 0;
    outline: none;
    transition: all 0.3s ease;
    background: #ffffff;
}

.filter-search-box input:focus {
    border-color: #c99951;
    box-shadow: 0 0 0 4px rgba(201, 153, 81, 0.15);
    transform: translateX(4px);
}

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

.filter-category-item {
    margin-bottom: 0.5rem;
}

.filter-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #ffffff;
    border: none;
    border-left: 4px solid transparent;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.filter-category-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(201, 153, 81, 0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.filter-category-link:hover {
    background: #fffdf9;
    color: #c99951;
    border-left-color: #c99951;
    transform: translateX(8px);
    box-shadow: 4px 0 0 rgba(201, 153, 81, 0.2);
}

.filter-category-link:hover::before {
    width: 100%;
}

.filter-category-link.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #c99951 0%, #a67c3e 100%);
    border-left-color: #8b6f3a;
    box-shadow: 4px 4px 0 rgba(201, 153, 81, 0.4);
    transform: translateX(8px);
}

.filter-category-link.is-active::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.filter-category-count {
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.25rem 0.65rem;
    border-radius: 0;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

.filter-category-link:hover .filter-category-count {
    color: #c99951;
    background: #ffffff;
    border-color: #c99951;
}

.filter-category-link.is-active .filter-category-count {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}
.intro-card h2,
.panel h2,
.sidebar-card h2,
.prose-card h2,
.faq-item summary,
.empty-state h3,
.process-step strong { color: var(--navy); }
.sidebar-card-wide {
    grid-column: 1 / -1;
    width: 100%;
}
.intro-card { padding: 2rem; }
.intro-card .hero-summary {
    max-width: none;
    width: 100%;
}
.prose-copy > *:first-child { margin-top: 0; }
.prose-copy > *:last-child { margin-bottom: 0; }
.process-grid {
    counter-reset: process;
    padding: 0;
    list-style: none;
}
.process-step {
    position: relative;
    padding-top: 4.65rem;
}
.process-step::before {
    counter-increment: process;
    content: counter(process, decimal-leading-zero);
    position: absolute;
    top: 1.2rem;
    left: 1.35rem;
    min-width: 3.15rem;
    height: 2.1rem;
    padding: 0 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2d1a10;
    background: linear-gradient(135deg, #f1c566 0%, #d79c33 100%);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(171, 115, 34, 0.22);
    font-family: var(--heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.contact-panel {
    background: linear-gradient(180deg, #3a2416 0%, #5a3924 100%);
    color: #f7f9fc;
    border-color: rgba(255,255,255,0.08);
}
.contact-panel h2,
.contact-panel p,
.contact-panel .eyebrow { color: inherit; }
.accent-card { border-color: #d9c49e; }
.empty-state { padding: 1.4rem; text-align: center; }
.prose-card ul { padding-left: 1.2rem; }
.prose-card p:first-of-type,
.article-header + p { margin-top: 0; }
.article-header { margin-bottom: 1rem; }
.embedded-section { margin-top: 2rem; }
.service-intro-card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.service-intro-head h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}
.service-intro-head p {
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
    max-width: 72ch;
}
.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.service-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: visible;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.service-gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.service-gallery-item:hover img { transform: scale(1.03); }
.content-grid-gallery {
    grid-template-columns: 1fr;
    align-items: start;
}
.prose-card-gallery {
    position: relative;
    min-width: 0;
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    overflow: visible;
    border-color: rgba(151, 112, 65, 0.2);
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.98) 0%, rgba(247, 237, 221, 0.92) 100%);
}
.prose-card-gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(214, 161, 63, 0.95) 0%, rgba(125, 82, 40, 0.55) 100%);
}
.prose-card-gallery .article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.prose-card-gallery .article-header::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(169, 128, 79, 0.28) 0%, rgba(169, 128, 79, 0) 100%);
}
.prose-card-gallery > :not(.article-header) {
    max-width: none;
}
.prose-card-gallery > p,
.prose-card-gallery > ul,
.prose-card-gallery > ol,
.prose-card-gallery > h3,
.prose-card-gallery > h4,
.prose-card-gallery > section {
    width: 100%;
}
.prose-card-gallery > p:first-of-type {
    font-size: 1.02rem;
    color: var(--ink);
}
/* ======================================================
   GALLERY SHOWCASE — Angled/Sliced Geometry Edition
   ====================================================== */
.gallery-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
    gap: 4px;
    align-items: start;
    border: none;
}
.gallery-showcase-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}

/* Primary + Thumb base — keskin köşe, sert gölge */
.gallery-showcase-primary,
.gallery-showcase-thumb {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: #1a1009;
    box-shadow: 4px 4px 0 rgba(201, 153, 81, 0.35);
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 320px;
}

/* Altın diagonal accent — sol alt köşe diagonal */
.gallery-showcase-primary::before,
.gallery-showcase-thumb::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 28px 28px;
    border-color: transparent transparent #c99951 transparent;
    z-index: 2;
    transition: border-width 0.25s ease;
    pointer-events: none;
}
.gallery-showcase-primary:hover::before,
.gallery-showcase-thumb:hover::before {
    border-width: 0 0 36px 36px;
}

/* Hover overlay — altın gradyan */
.gallery-showcase-primary::after,
.gallery-showcase-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 153, 81, 0.22) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.gallery-showcase-primary:hover::after,
.gallery-showcase-thumb:hover::after {
    opacity: 1;
}

.gallery-showcase-primary img,
.gallery-showcase-thumb img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(1.05) contrast(1.02);
}
.gallery-showcase-primary img {
    aspect-ratio: 16 / 10;
}
.gallery-showcase-thumb img {
    aspect-ratio: 4 / 3;
}
.gallery-showcase-primary:hover img,
.gallery-showcase-thumb:hover img {
    transform: scale(1.06);
}

/* Sağ sütun — dikey thumbnails */
.gallery-showcase-thumbs {
    content-visibility: auto;
    contain-intrinsic-size: 640px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-content: start;
}

.gallery-showcase-note {
    margin: 1.2rem 0 0;
    max-width: 66ch;
    color: var(--ink-soft);
    padding-left: 1rem;
    border-left: 3px solid #c99951;
    font-style: italic;
}

/* Albüm Kapağı — tam genişlik hero strip */
.gallery-cover-card {
    margin-bottom: 4px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #1a1009;
    box-shadow: 6px 6px 0 rgba(201, 153, 81, 0.3);
    overflow: hidden;
    position: relative;
    border-left: 6px solid #c99951;
}
.gallery-cover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1d1108 0%, #2d1a10 100%);
    border-bottom: 2px solid #c99951;
}
.gallery-cover-head p {
    margin: 0;
    max-width: 62ch;
    color: rgba(255, 220, 170, 0.8);
    font-size: 0.88rem;
}
.gallery-cover-chip {
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    border-radius: 0;
    background: #c99951;
    color: #1d1108;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.gallery-showcase-cover {
    border-radius: 0;
}
.gallery-showcase-cover img {
    aspect-ratio: 21 / 9;
}

/* ======================================================
   ALBUM PHOTO GRID — Compact uniform tile grid
   ====================================================== */
.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4px;
}
.album-photo-tile {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #1a1009;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    box-shadow: none;
}
/* Alt sol köşe altın şerit */
.album-photo-tile::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #c99951 transparent;
    z-index: 2;
    transition: border-width 0.2s ease;
    pointer-events: none;
}
.album-photo-tile:hover::before {
    border-width: 0 0 30px 30px;
}
/* Hover altın overlay */
.album-photo-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,153,81,0.28) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}
.album-photo-tile:hover::after {
    opacity: 1;
}
.album-photo-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(1.04);
}
.album-photo-tile:hover img {
    transform: scale(1.07);
}


.service-prose-card,
.service-side { border-radius: 18px; }
.service-hero-visual {
    border-radius: 18px;
    overflow: visible;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.service-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}
.service-hero-points li {
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 600;
}
.service-flow {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}
.service-flow h2 { margin-top: 0; }
.service-flow-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}
.service-flow-grid li {
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}
.service-flow-grid strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--navy);
}
.service-flow-grid p {
    margin: 0;
    color: var(--ink-soft);
}
.service-side-note {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px dashed var(--line-strong);
    background: var(--surface-soft);
}
.service-side-note h3 {
    margin: 0 0 0.45rem;
    color: var(--navy);
    font-size: 1rem;
}
.service-side-note ul {
    margin: 0;
    padding-left: 1rem;
    color: var(--ink-soft);
}
.form-card {
    display: grid;
    gap: 1rem;
}
.form-header p { margin: 0.4rem 0 0; color: var(--ink-soft); }
.field-group {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}
.field-group legend {
    padding: 0 0.45rem;
    font-weight: 700;
    color: var(--navy);
}
.form-card label { display: grid; gap: 0.45rem; }
input,
textarea,
select {
    width: 100%;
    padding: 0.92rem 1rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}
textarea { resize: vertical; min-height: 140px; }
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible,
.submenu-toggle:focus-visible,
.slider-arrow:focus-visible,
.gallery-tile:focus-visible,
.video-launch:focus-visible,
.lightbox-close:focus-visible {
    outline: 3px solid rgba(201, 153, 81, 0.35);
    outline-offset: 3px;
}
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* İletişim / teklif — sliced form kit */
.form-slice {
    position: relative;
    padding: 1.75rem 1.85rem 2rem;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 55%, rgba(201, 153, 81, 0.05) 100%);
    border: 2px solid var(--line);
    border-left: 6px solid #c99951;
    box-shadow: 8px 8px 0 rgba(201, 153, 81, 0.08);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.form-slice-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.35rem;
}
.form-slice-header p {
    margin: 0.5rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}
.field-slice label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
    letter-spacing: 0.02em;
}
.field-slice .req {
    color: #c99951;
    font-weight: 800;
}
.input-slice,
.form-slice .input-slice {
    width: 100%;
    padding: 0.85rem 1rem;
    color: var(--ink);
    background: #fff;
    border: 2px solid #e2e8f0;
    border-left: 4px solid #cbd5e1;
    border-radius: 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 10px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea.input-slice {
    min-height: 140px;
    resize: vertical;
}
.input-slice-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1rem + 4px), calc(100% - 13px) calc(1rem + 4px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2.25rem;
}
.input-slice:hover {
    border-color: #94a3b8;
}
.input-slice:focus-visible {
    outline: none;
    border-color: #c99951;
    border-left-color: #c99951;
    box-shadow: 4px 4px 0 rgba(201, 153, 81, 0.12);
}
.field-slice.is-invalid .input-slice {
    border-color: #f87171;
    border-left-color: #ef4444;
    background: #fffafa;
}
.field-slice.is-valid .input-slice {
    border-color: #86efac;
    border-left-color: #22c55e;
}
.field-error {
    display: block;
    min-height: 1.25rem;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #b91c1c;
}
.field-slice.is-valid .field-error {
    color: #15803d;
}
.form-slice-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 0.25rem;
}
.form-slice-footnote {
    margin: 0;
    flex: 1 1 220px;
    font-size: 0.8125rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.field-group-slice {
    border: 2px dashed #cbd5e1;
    border-left: 5px solid #c99951;
    border-radius: 0;
    background: rgba(248, 250, 252, 0.85);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.field-group-slice legend {
    color: #a67c3e;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.panel-slice {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--line);
    border-left: 6px solid #c99951;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 70%, #1a150f 100%);
    color: #e2e8f0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    padding: 1.75rem 1.75rem 2rem;
    box-shadow: 8px 8px 0 rgba(201, 153, 81, 0.12);
}
.panel-slice .compact-heading h2 {
    color: #fff;
    margin: 0;
}
.panel-slice .info-list {
    color: #cbd5e1;
}
.panel-slice .info-list strong {
    color: #f1f5f9;
}
.panel-slice-accent {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 70%;
    background: linear-gradient(200deg, transparent 0%, rgba(201, 153, 81, 0.18) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
.panel-slice-note {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.45);
    border: 1px dashed rgba(201, 153, 81, 0.35);
    color: #94a3b8;
    font-size: 0.875rem;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.contact-quick-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}
.contact-page-grid {
    align-items: start;
}
.quote-page-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.9fr);
    align-items: start;
    gap: 1.75rem 2rem;
}
.quote-aside-stack {
    display: grid;
    gap: 1.25rem;
}
.quote-aside-slice {
    position: relative;
    overflow: hidden;
    border-left: 5px solid #c99951;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.quote-aside-slice .panel-slice-accent--subtle {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(200deg, transparent 40%, rgba(201, 153, 81, 0.07) 100%);
    pointer-events: none;
}
.quote-info-list a {
    color: #c99951;
    font-weight: 700;
}
.quote-process-slice {
    border: 2px solid var(--line);
    border-left: 5px solid #c99951;
    background: var(--surface-soft);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.quote-process-list {
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.75rem;
}
.quote-process-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--ink-soft);
    line-height: 1.5;
}
.quote-step-num {
    flex: 0 0 auto;
    min-width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: #fff;
    background: linear-gradient(135deg, #c99951 0%, #a67c3e 100%);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.quote-process-note {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: var(--ink-soft);
}
.quote-process-note a {
    color: #c99951;
    font-weight: 700;
}
.flash-slice {
    border-left: 5px solid #c99951;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

@media (max-width: 900px) {
    .quote-page-grid {
        grid-template-columns: 1fr;
    }
    .form-slice {
        clip-path: none;
    }
    .panel-slice {
        clip-path: none;
    }
}

.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-tile,
.video-launch {
    display: grid;
    gap: 0.8rem;
    width: 100%;
    padding: 0.8rem;
    color: inherit;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.video-launch span { color: var(--navy); font-weight: 700; }
.video-launch-badge,
.video-launch-label {
    color: #2b1a11 !important;
    background: linear-gradient(135deg, #c99951 0%, #f1c978 100%) !important;
    box-shadow: 4px 4px 0 rgba(201, 153, 81, 0.45) !important;
}

.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-item { padding: 1.15rem 1.2rem; }
.faq-item summary { cursor: pointer; }

.site-footer {
    position: relative;
    margin-top: 1rem;
    overflow: visible;
    isolation: isolate;
    padding: 4.25rem 0 4.8rem;
    color: #f7f9fc;
    background: linear-gradient(180deg, #2a190f 0%, #3b2518 100%);
}
.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -68px;
    height: 70px;
    background: linear-gradient(180deg, #28170e 0%, #341f14 54%, #3b2518 100%);
    clip-path: polygon(0 100%, 0 12%, 100% 62%, 100% 100%);
    pointer-events: none;
    z-index: 0;
}
.site-footer::after {
    content: none;
}
.site-footer .footer-grid,
.site-footer > .container:last-child {
    position: relative;
    z-index: 1;
}
.footer-panel {
    min-width: 0;
    padding: 1.4rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}
.footer-panel h2 { margin-top: 0; color: #fff; }
.footer-panel p { color: rgba(255, 240, 220, 0.82); }
.site-footer > .container:last-child {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.35rem;
}
.footer-signature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    width: fit-content;
    margin: 0;
    padding: 0.56rem 0.96rem;
    color: #fff3dd;
    font-family: var(--heading);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(78, 49, 31, 0.84) 0%, rgba(47, 29, 17, 0.94) 100%);
    border: 1px solid rgba(255, 223, 179, 0.14);
    box-shadow: 0 12px 24px rgba(22, 13, 7, 0.16);
    clip-path: var(--slice-shape-sm);
    text-align: center;
}
.footer-signature:hover,
.footer-signature:focus-visible {
    color: #fff8eb;
    border-color: rgba(255, 223, 179, 0.24);
}
.footer-address {
    display: grid;
    gap: 0.45rem;
    font-style: normal;
    color: rgba(255, 225, 188, 0.8);
}
.footer-links,
.footer-submenu { display: grid; gap: 0.7rem; }

.social-links a {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
}
.contact-address { font-style: normal; }
.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 230px;
    margin-top: 1rem;
    color: var(--ink-soft);
    background: linear-gradient(135deg, #f4e8d9 0%, #e7d5bf 100%);
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
}
.contact-dock-spacer {
    height: 118px;
}
.contact-dock {
    position: fixed;
    left: 50%;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    z-index: 70;
    width: min(calc(100vw - 1rem), 1080px);
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
}
.contact-dock.is-delayed {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(100% + 1.2rem));
}
.contact-dock.is-delayed .contact-dock-inner {
    pointer-events: none;
}
.contact-dock-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.95rem 1rem;
    color: #fff7ec;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.97) 0%, rgba(82, 52, 31, 0.98) 100%);
    border: 1px solid rgba(255, 225, 185, 0.18);
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(47, 29, 17, 0.28);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    overflow: visible;
    pointer-events: auto;
}
.contact-dock-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(244, 209, 142, 0.16) 0%, rgba(244, 209, 142, 0) 46%);
    pointer-events: none;
}
.contact-dock-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.18rem;
    margin: 0;
}
.contact-dock-copy strong {
    font-family: var(--heading);
    font-size: 1.02rem;
    letter-spacing: 0.03em;
}
.contact-dock-copy span {
    color: rgba(255, 237, 210, 0.82);
    font-size: 0.92rem;
}
.contact-dock-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}
.contact-dock-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 54px;
    padding: 0.95rem 1.25rem;
    border-radius: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.contact-dock-button:hover {
    transform: translateY(-1px);
}
.contact-dock-button svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
    flex: 0 0 auto;
}
.contact-dock-button.is-call {
    color: #2d1a10;
    background: linear-gradient(135deg, #f1c566 0%, #d79c33 100%);
    box-shadow: 0 14px 28px rgba(171, 115, 34, 0.26);
}
.contact-dock-button.is-whatsapp {
    color: #fffaf3;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 225, 185, 0.24);
}

/* ----------------------------------------------------
   Tam Genişlikte Rehber / İlgili Sayfalar Kartları
---------------------------------------------------- */
.card-grid.full-width-card {
    grid-template-columns: 1fr;
}
.card-grid.full-width-card > .card {
    grid-column: 1 / -1;
}

/* QUICK CONTACT TOGGLE (Desktop only) */
.contact-dock-toggle {
    position: fixed;
    right: 0;
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    z-index: 69;
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.25rem 0.9rem 1rem;
    font-weight: 800;
    color: #1a1005;
    background: linear-gradient(135deg, #f1c566 0%, #d79c33 100%);
    box-shadow: -4px 8px 16px rgba(47, 29, 17, 0.25);
    border: none;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}
.contact-dock-toggle:hover {
    background: linear-gradient(135deg, #f9d685 0%, #e8ab3e 100%);
}
.contact-dock-toggle-icon {
    display: inline-flex;
    animation: dock-arrow-pulse 1.8s ease-in-out infinite;
}
@keyframes dock-arrow-pulse {
    0%, 100% { transform: translateX(2px); }
    50% { transform: translateX(-4px); }
}

.contact-dock-close-desktop {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 34px;
    height: 34px;
    z-index: 5;
    background: #1f120a;
    border: 1px solid rgba(255, 225, 185, 0.15);
    color: #f1c566;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.2s, background 0.2s, color 0.2s;
}
.contact-dock-close-desktop:hover {
    transform: scale(1.1);
    background: #f1c566;
    color: #1f120a;
}

@media (min-width: 961px) {
    .contact-dock-toggle {
        display: inline-flex;
    }
    .contact-dock-close-desktop {
        display: inline-flex;
    }
    .contact-dock.is-hidden-desktop {
        transform: translate(-50%, calc(100% + 2rem));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    body.dock-toggled-open .contact-dock.is-hidden-desktop {
        transform: translateX(-50%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    body.dock-toggled-open .contact-dock-toggle {
        transform: translateX(120%);
    }
}
@media (max-width: 960px) {
    .contact-dock-toggle, .contact-dock-close-desktop {
        display: none !important;
    }
}

.footer-contact-static {
    color: rgba(255, 240, 220, 0.86);
    align-items: flex-start;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    overflow: auto;
    align-items: flex-start;
    justify-content: center;
    padding: max(1rem, calc(env(safe-area-inset-top) + 1rem)) clamp(0.9rem, 2vw, 1.5rem) max(1rem, calc(env(safe-area-inset-bottom) + 1rem));
    background: rgba(8, 14, 22, 0.92);
    overscroll-behavior: contain;
}
.lightbox.is-open { display: flex; }
.lightbox-dialog {
    position: relative;
    width: min(1100px, 100%);
    max-width: min(1100px, calc(100vw - 2rem));
    margin: clamp(3.75rem, 8vh, 5.25rem) auto 0;
}
.lightbox-dialog img {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 10.5rem);
    object-fit: contain;
    border-radius: 20px;
    background: rgba(255, 250, 243, 0.06);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}
.lightbox-dialog figcaption {
    margin-top: 0.8rem;
    padding: 0 0.2rem 0.2rem;
    color: rgba(247, 249, 252, 0.84);
}
.lightbox-close {
    position: fixed;
    top: max(0.9rem, calc(env(safe-area-inset-top) + 0.9rem));
    right: max(0.9rem, calc(env(safe-area-inset-right) + 0.9rem));
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
body.lightbox-open {
    overflow: visible;
}

.page-hero-layout { align-items: stretch; }
.hero-inner > .container.narrow {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.hero-inner > .container.narrow .page-head {
    border-left: 0;
    border-right: 0;
}
.page-head {
    position: relative;
    margin: 0;
    width: 100%;
    border-radius: 0;
    padding: clamp(1.1rem, 2.5vw, 1.85rem) max(1rem, calc((100vw - var(--container)) / 2));
    background: linear-gradient(135deg, #fffdf8 0%, #f6ece0 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 4px solid var(--accent);
    clip-path: inherit;
    pointer-events: none;
}
.page-head::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 52%;
    height: 12px;
    background: linear-gradient(90deg, rgba(43, 26, 17, 0), rgba(43, 26, 17, 0.22));
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    pointer-events: none;
}
.page-head .eyebrow {
    margin-bottom: 0.65rem;
    letter-spacing: 0.14em;
}
.page-head h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.08;
}
.page-head p {
    margin: 0.8rem 0 0;
    color: var(--ink-soft);
    max-width: 86ch;
}
.page-head .button-row { margin-top: 1rem; }
.page-head-with-actions { align-self: center; }
@media (max-width: 1080px) {
    .hero-layout,
    .detail-hero,
    .split-grid,
    .content-grid,
    .footer-grid,
    .card-grid.three-col,
    .card-grid.four-col,
    .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .service-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-showcase-grid,
    .content-grid-gallery { grid-template-columns: 1fr; }
    .gallery-showcase-thumbs {
    content-visibility: auto;
    contain-intrinsic-size: 640px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .service-hero-points,
    .service-flow-grid { grid-template-columns: 1fr; }

    .page-head { padding: 1rem 0.95rem; }

    .menu-toggle { display: inline-flex; }
    .nav-row { flex-wrap: wrap; padding: 1rem 0; }
    .main-nav { width: 100%; display: none; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 0.6rem; }
    .main-nav.is-open { display: block; }
    .menu-list,
    .hero-layout,
    .detail-hero,
    .split-grid,
    .content-grid,
    .footer-grid,
    .card-grid.three-col,
    .card-grid.two-col,
    .card-grid.four-col,
    .field-grid.two-col,
    .stack-grid.two-col,
    .faq-grid,
    .gallery-grid,
    .stats-list,
    .horizontal-card,
    .process-grid { grid-template-columns: 1fr; display: grid; }
    .menu-list { gap: 0.55rem; padding-top: 0.8rem; }
    .menu-link-row {
        width: 100%;
        min-height: 48px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
    }
    .menu-item > .menu-link-row > a {
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1rem;
    }
    .menu-item > .menu-link-row > a::after { display: none; }
    .submenu {
        position: static;
        min-width: 0;
        margin-top: 0.45rem;
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.08);
        box-shadow: none;
    }
    .submenu .menu-item > .menu-link-row > a,
    .submenu .submenu-toggle { color: #fff; }
    .submenu .menu-item:hover > .menu-link-row,
    .submenu .menu-item:focus-within > .menu-link-row,
    .submenu .menu-item.is-current > .menu-link-row { background: rgba(255,255,255,0.08); }
    .submenu .submenu {
        left: 0;
        top: 0.45rem;
    }
    .menu-item > .submenu {
        display: none;
    }
    .menu-item:hover > .submenu,
    .menu-item:focus-within > .submenu {
        display: none;
    }
    .menu-item.is-expanded > .submenu {
        display: block;
    }
    .hero-slider { min-height: 560px; }
    .slide-overlay { padding: 1.15rem; }
    .contact-dock { width: calc(100vw - 0.8rem); }
    .contact-dock-spacer { height: 118px; }
    .contact-dock.is-delayed {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(100% + 1.2rem));
}
.contact-dock.is-delayed .contact-dock-inner {
    pointer-events: none;
}
.contact-dock-inner {
        align-items: stretch;
        padding: 0.8rem;
    }
    .contact-dock-copy { display: none !important; max-height: 0; overflow: hidden; }
    .contact-dock-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .contact-dock-button {
        width: 100%;
        min-height: 50px;
        padding-inline: 0.9rem;
    }
}

@media (max-width: 720px) {
    .service-gallery-grid { grid-template-columns: 1fr; }
    .lightbox { padding-inline: 0.85rem; }
    .lightbox-dialog { max-width: calc(100vw - 1.7rem); margin-top: 4.5rem; }
    .lightbox-dialog img { max-height: calc(100dvh - 8.4rem); border-radius: 16px; }
    .lightbox-close { width: 46px; height: 46px; }
    .gallery-showcase-thumbs {
        content-visibility: auto;
        contain-intrinsic-size: 640px;
        grid-template-columns: 1fr;
    }

    .page-head { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
    .page-head h1 { font-size: clamp(1.45rem, 7vw, 1.95rem); }
    .utility-row,
    .utility-text,
    .utility-links,
    .section-heading,
    .hero-actions,
    .button-row,
    .slider-controls { flex-direction: column; align-items: flex-start; }
    .hero:not(.hero-home) { padding-top: 2.9rem; }
    .hero-home { padding-top: 0; }
    .hero-copy h1 { font-size: clamp(2.1rem, 11vw, 3.5rem); }
    .hero-slider {
        min-height: 500px;
    }
    .hero-slider::after {
        height: 60px;
        clip-path: polygon(0 100%, 0 58%, 100% 18%, 100% 100%);
    }
    .slide {
        transform: none;
    }
    .slide-overlay {
        align-items: flex-start;
        padding: 1.9rem 1rem 3.35rem;
        background: linear-gradient(180deg, rgba(41, 24, 15, 0.08) 0%, rgba(41, 24, 15, 0.22) 28%, rgba(41, 24, 15, 0.72) 72%, rgba(41, 24, 15, 0.9) 100%);
    }
    .slide-media img {
        object-position: center center;
    }
    .slide-copy {
        width: 100%;
        max-width: none;
        gap: 0.8rem;
    }
    .slide-copy h1,
    .slide-copy h2 {
        font-size: clamp(1.55rem, 6.8vw, 2.05rem);
        line-height: 1.12;
        max-width: 13ch;
    }
    .slide-text {
        font-size: 0.96rem;
        max-width: none;
    }
    .slide-badge {
        min-height: 32px;
        padding: 0.38rem 0.8rem;
        font-size: 0.75rem;
    }
    .slide-cta-row { width: 100%; }
    .slide-cta-row .button { width: 100%; }
    .slider-controls {
        right: 1rem;
        left: 1rem;
        bottom: 0.9rem;
        gap: 0.7rem;
    }
    .slider-dots {
        width: 100%;
        justify-content: flex-start;
    }
    .slider-arrows { order: 2; }
}

@media (max-width: 560px) {
    .site-utility { display: none; }
    .section { padding: 2.5rem 0; }
    .hero-home { padding-top: 0; }
    .hero-slider {
        min-height: 430px;
    }
    .slide-overlay {
        padding: 1.55rem 0.85rem 2.95rem;
    }
    .slide-copy h1,
    .slide-copy h2 {
        font-size: clamp(1.4rem, 7.2vw, 1.86rem);
        max-width: none;
    }
    .slide-text {
        font-size: 0.92rem;
    }
    .slider-arrow {
        width: 44px;
        height: 44px;
    }
    .slider-dots button {
        width: 28px;
    }
    .section-heading-featured {
        padding: 0.95rem 0.95rem 1rem;
        margin-bottom: 1.15rem;
    }
    .section-heading-featured::before,
    .section-heading-featured::after {
        display: none;
    }
    .section-heading-featured .section-subtitle {
        max-width: none;
    }
    .feature-service-grid {
        gap: 0.85rem;
    }
    .feature-card-media {
        min-height: 190px;
        border-bottom: 1px solid rgba(164, 112, 58, 0.12);
    }
    .feature-card-media img {
        width: 100%;
        height: 100%;
        min-height: 190px;
        aspect-ratio: auto;
        object-fit: cover;
    }
    .intro-card,
    .panel,
    .sidebar-card,
    .prose-card,
    .form-card,
    .mini-card,
    .card-body { padding: 1.15rem; }
    .process-step {
        padding: 4.15rem 1.15rem 1.15rem;
    }
    .process-step::before {
        top: 0.95rem;
        left: 1.15rem;
        min-width: 3rem;
        height: 2rem;
    }
    .process-step strong {
        display: block;
        padding-top: 0.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}





















.quick-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.quick-contact-actions .button {
    min-height: 50px;
}
.button-slice {
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.quick-contact-actions .button-secondary.button-slice {
    background: #f7f9fc;
    border: 1px solid var(--line-strong);
}
@media (max-width: 560px) {
    .quick-contact-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
    .quick-contact-actions .button {
        min-height: 46px;
        padding: 0.75rem 0.7rem;
    }
}
:root {
    --slice-shape: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    --slice-shape-sm: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

html {
    scrollbar-width: thin;
    scrollbar-color: #c48a2b rgba(60, 36, 20, 0.18);
}

body::-webkit-scrollbar,
.main-nav::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

body::-webkit-scrollbar-track,
.main-nav::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(80, 51, 30, 0.12) 0%, rgba(80, 51, 30, 0.04) 100%);
}

body::-webkit-scrollbar-thumb,
.main-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0b55f 0%, #b97923 100%);
    border: 3px solid rgba(255, 248, 238, 0.82);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body::-webkit-scrollbar-thumb:hover,
.main-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #edc874 0%, #c78627 100%);
}

body::-webkit-scrollbar-corner,
.main-nav::-webkit-scrollbar-corner {
    background: transparent;
}

.site-top-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 140;
    pointer-events: none;
    background: rgba(42, 25, 15, 0.08);
    backdrop-filter: blur(2px);
}

.site-top-progress-loading,
.site-top-progress-scroll {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
}

.site-top-progress-loading {
    background: linear-gradient(90deg, rgba(255, 229, 183, 0.1) 0%, rgba(255, 220, 142, 0.85) 38%, #c88627 100%);
    box-shadow: 0 0 18px rgba(201, 136, 39, 0.48);
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.site-top-progress-scroll {
    opacity: 0;
    background: linear-gradient(90deg, #f0c96f 0%, #cd8c2d 100%);
    box-shadow: 0 0 18px rgba(171, 115, 34, 0.28);
    transition: transform 0.16s linear, opacity 0.22s ease;
}

.site-top-progress.is-loaded .site-top-progress-loading {
    opacity: 0;
}

.site-top-progress.is-loaded .site-top-progress-scroll {
    opacity: 1;
}

.button,
.menu-toggle,
.submenu-toggle,
.slider-arrow,
.contact-dock-button,
.lightbox-close,
.slider-dots button,
.button-slice {
    position: relative;
    border-radius: 0;
    overflow: visible;
    isolation: isolate;
}

.button,
.menu-toggle,
.contact-dock-button,
.button-slice {
    clip-path: var(--slice-shape);
}

.submenu-toggle,
.slider-arrow,
.lightbox-close,
.slider-dots button {
    clip-path: var(--slice-shape-sm);
}

.button::before,
.menu-toggle::before,
.submenu-toggle::before,
.slider-arrow::before,
.contact-dock-button::before,
.lightbox-close::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(42, 25, 15, 0.16) 100%);
    pointer-events: none;
    z-index: -1;
}

.button,
.menu-toggle,
.slider-arrow,
.contact-dock-button,
.lightbox-close {
    box-shadow: 0 16px 30px rgba(47, 29, 17, 0.16);
}

.button {
    min-height: 50px;
    padding: 0.96rem 1.35rem;
    letter-spacing: 0.015em;
}

.button-primary {
    color: #2d1a10;
    background: linear-gradient(135deg, #f1c86f 0%, #d0932f 100%);
    border: 1px solid rgba(120, 74, 23, 0.14);
}

.button-secondary {
    background: linear-gradient(135deg, rgba(255, 251, 245, 0.98) 0%, rgba(245, 232, 214, 0.98) 100%);
    border: 1px solid rgba(124, 85, 50, 0.16);
}

.hero-home .button-secondary,
.button-ghost {
    color: #fff8ef;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 234, 204, 0.24);
}

.menu-toggle {
    min-height: 48px;
    padding: 0.8rem 1.1rem;
    font-weight: 700;
    color: #fff7ea;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 229, 183, 0.2);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: linear-gradient(135deg, rgba(255, 236, 208, 0.22) 0%, rgba(255, 236, 208, 0.08) 100%);
}

.submenu-toggle {
    min-width: 38px;
    min-height: 38px;
    background: rgba(255, 236, 208, 0.08);
    border: 1px solid rgba(255, 229, 183, 0.14);
}

.submenu-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    clip-path: inherit;
    pointer-events: none;
}

.submenu .submenu-toggle {
    background: linear-gradient(135deg, #fff9f1 0%, #f7ecdd 100%);
    border-color: rgba(124, 85, 50, 0.12);
}

.slider-arrow {
    width: 48px;
    height: 46px;
    color: #fff8ef;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.78) 0%, rgba(74, 45, 25, 0.72) 100%);
    border: 1px solid rgba(255, 229, 183, 0.2);
}

.slider-arrow:hover {
    background: linear-gradient(135deg, rgba(64, 38, 21, 0.9) 0%, rgba(100, 61, 34, 0.84) 100%);
}

.slider-dots button {
    height: 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.26);
}

.slider-dots button[aria-current="true"] {
    background: linear-gradient(90deg, #f1cb74 0%, #d29532 100%);
}

.lightbox-close {
    position: fixed;
    top: max(0.9rem, calc(env(safe-area-inset-top) + 0.9rem));
    right: max(0.9rem, calc(env(safe-area-inset-right) + 0.9rem));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #fff8ef;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.94) 0%, rgba(82, 52, 31, 0.96) 100%);
}

.reveal-ready {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    transition: opacity 0.65s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 960px) {
    .menu-toggle {
        min-width: 148px;
        justify-content: center;
    }

    .contact-dock-button,
    .button,
    .button-slice {
        min-height: 48px;
    }
}

@media (max-width: 720px) {
    .site-top-progress {
        height: 3px;
    }

    .button,
    .menu-toggle,
    .contact-dock-button,
    .button-slice {
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }

    .submenu-toggle,
    .slider-arrow,
    .lightbox-close,
    .slider-dots button {
        clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-top-progress-loading,
    .site-top-progress-scroll,
    .reveal-ready {
        transition: none !important;
    }

    .reveal-ready {
        opacity: 1 !important;
        transform: none !important;
    }
}

html::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

html::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(80, 51, 30, 0.12) 0%, rgba(80, 51, 30, 0.04) 100%);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0b55f 0%, #b97923 100%);
    border: 3px solid rgba(255, 248, 238, 0.82);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #edc874 0%, #c78627 100%);
}

.submenu-toggle::before {
    content: "";
    display: block;
    position: static;
    inset: auto;
    width: 8px;
    height: 8px;
    margin: 0 auto;
    background: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
    z-index: auto;
}

.menu-item.is-expanded > .menu-link-row .submenu-toggle::before,
.submenu-toggle[aria-expanded="true"]::before {
    transform: rotate(-135deg) translateY(-1px);
}

.home-services-showcase {
    position: relative;
    overflow: visible;
}
.home-services-showcase::before,
.home-services-showcase::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.home-services-showcase::before {
    inset: 2.5rem auto auto -8rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 185, 78, 0.2) 0%, rgba(244, 185, 78, 0.08) 38%, rgba(244, 185, 78, 0) 72%);
}
.home-services-showcase::after {
    right: -6rem;
    bottom: 1rem;
    width: 20rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 72, 29, 0.14) 0%, rgba(121, 72, 29, 0) 70%);
}
.home-services-showcase .container {
    position: relative;
    z-index: 1;
}
.section-heading-featured {
    position: relative;
    margin-bottom: 1.8rem;
    padding: 1.4rem 1.5rem 1.45rem;
    border: 1px solid rgba(118, 74, 30, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 250, 242, 0.98) 0%, rgba(250, 241, 227, 0.95) 58%, rgba(246, 230, 205, 0.9) 100%);
    box-shadow: 0 18px 34px rgba(91, 57, 24, 0.08);
    overflow: visible;
    isolation: isolate;
}
.section-heading-featured::before,
.section-heading-featured::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.section-heading-featured::before {
    top: -4.8rem;
    right: -1.25rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 74, 0.26) 0%, rgba(255, 196, 74, 0.1) 42%, rgba(255, 196, 74, 0) 72%);
}
.section-heading-featured::after {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0;
    height: 0.95rem;
    background: linear-gradient(90deg, rgba(175, 117, 47, 0) 0%, rgba(175, 117, 47, 0.55) 18%, rgba(255, 201, 91, 0.9) 48%, rgba(175, 117, 47, 0.55) 82%, rgba(175, 117, 47, 0) 100%);
    clip-path: polygon(0 100%, 6% 18%, 16% 100%, 26% 20%, 36% 100%, 46% 18%, 56% 100%, 66% 24%, 76% 100%, 86% 18%, 100% 100%);
    opacity: 0.82;
}
.section-heading-featured .section-heading-copy {
    flex: 1 1 38rem;
    position: relative;
    z-index: 2;
}
.section-heading-featured .eyebrow {
    margin-bottom: 0.7rem;
}
.section-heading-featured h2 {
    margin: 0;
    max-width: 16ch;
}
.section-heading-featured .section-subtitle {
    margin-top: 0.7rem;
    max-width: 58ch;
    color: rgba(66, 43, 22, 0.78);
}
.section-thermal-mark {
    flex: 0 0 8rem;
    align-self: stretch;
    min-height: 100%;
    position: relative;
    display: block;
    z-index: 1;
    opacity: 0.92;
}
.section-thermal-mark::before,
.section-thermal-mark::after {
    content: "";
    position: absolute;
    inset: 0;
}
.section-thermal-mark::before {
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 46% 46% / 56% 56% 42% 42%;
    border: 1px solid rgba(145, 95, 40, 0.18);
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 216, 121, 0.42) 0%, rgba(255, 216, 121, 0.14) 24%, rgba(255, 216, 121, 0.04) 38%, rgba(255, 216, 121, 0) 62%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.9) 0%, rgba(246, 234, 211, 0.78) 100%);
    box-shadow: inset 0 -22px 28px rgba(147, 91, 32, 0.1);
    transform: rotate(-10deg) translateY(0.1rem);
}
.section-thermal-mark::after {
    inset: 18% 28%;
    border-radius: 50%;
    border-top: 2px solid rgba(160, 104, 42, 0.28);
    border-bottom: 2px solid rgba(255, 207, 98, 0.18);
    transform: rotate(-12deg);
}
.text-link-sliced {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.82rem 1.12rem;
    border: 1px solid rgba(115, 71, 30, 0.18);
    background: linear-gradient(135deg, rgba(255, 251, 246, 0.94) 0%, rgba(245, 228, 199, 0.88) 100%);
    clip-path: polygon(0 0, calc(100% - 0.9rem) 0, 100% 0.9rem, 100% 100%, 0.9rem 100%, 0 calc(100% - 0.9rem));
    box-shadow: 0 14px 24px rgba(82, 51, 21, 0.08);
}
.text-link-sliced:hover {
    color: var(--navy);
    transform: translateY(-1px);
}
.feature-service-grid {
    position: relative;
    z-index: 1;
}
.feature-service-grid > li {
    display: flex;
}
.incubator-card {
    position: relative;
    overflow: visible;
    border-color: rgba(130, 82, 34, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 251, 247, 0.98) 0%, rgba(246, 236, 220, 0.96) 100%);
    box-shadow: 0 18px 36px rgba(82, 51, 21, 0.08);
}
.incubator-card::before,
.incubator-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.incubator-card::before {
    top: -6rem;
    right: -4rem;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 197, 84, 0.22) 0%, rgba(255, 197, 84, 0.07) 42%, rgba(255, 197, 84, 0) 70%);
}
.incubator-card::after {
    top: 0;
    right: 0;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(193, 146, 82, 0.18) 0%, rgba(193, 146, 82, 0) 72%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.feature-card-media {
    position: relative;
    overflow: visible;
    isolation: isolate;
}
.feature-card-media::before,
.feature-card-media::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
}
.feature-card-media::before {
    inset: auto auto -42% -10%;
    width: 80%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 202, 96, 0.24) 0%, rgba(255, 202, 96, 0.08) 46%, rgba(255, 202, 96, 0) 76%);
}
.feature-card-media::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(57, 38, 22, 0.02) 0%, rgba(57, 38, 22, 0.16) 100%);
}
.feature-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.feature-card-body {
    position: relative;
    z-index: 1;
}
.feature-card-body::before {
    content: "";
    display: block;
    width: 4.6rem;
    height: 0.72rem;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(141, 92, 39, 0.28) 0%, rgba(247, 191, 80, 0.95) 50%, rgba(141, 92, 39, 0.28) 100%);
    box-shadow: 0 0 0 0.28rem rgba(247, 191, 80, 0.08);
}
.feature-card-body::after {
    content: "";
    position: absolute;
    right: -2.4rem;
    bottom: -1.35rem;
    width: 7.2rem;
    height: 4.2rem;
    border-radius: 50%;
    border: 1px solid rgba(164, 112, 58, 0.14);
    transform: rotate(-16deg);
    opacity: 0.7;
}
.feature-card h3 a {
    color: #2f2116;
}
.feature-card p {
    color: rgba(66, 43, 22, 0.76);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(82, 51, 21, 0.12);
}

@media (max-width: 960px) {
    .section-heading-featured {
        display: block;
        padding: 1.05rem 1rem 1.1rem;
    }
    .section-heading-featured .section-heading-copy {
        flex: 0 1 auto;
        width: 100%;
    }
    .section-heading-featured h2 {
        max-width: none;
    }
    .section-thermal-mark {
        display: none;
    }
    .feature-card-body::after {
        right: -1rem;
        width: 5rem;
        height: 3.1rem;
    }
}

@media (max-width: 560px) {
    .section-heading-featured {
        display: block;
        gap: 0.85rem;
    }
    .section-thermal-mark {
        width: 4.8rem;
        min-height: 4.2rem;
    }
    .text-link-sliced {
        width: 100%;
        margin-top: 0.9rem;
    }
}
.lightbox-meta {
    position: fixed;
    top: max(1rem, calc(env(safe-area-inset-top) + 1rem));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    min-width: 98px;
    padding: 0.72rem 1rem;
    color: #fff6eb;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.9) 0%, rgba(82, 52, 31, 0.96) 100%);
    box-shadow: 0 16px 30px rgba(47, 29, 17, 0.22);
    clip-path: var(--slice-shape-sm);
    text-align: center;
    backdrop-filter: blur(12px);
}
.lightbox-counter {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff8ef;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.94) 0%, rgba(82, 52, 31, 0.96) 100%);
    box-shadow: 0 16px 30px rgba(47, 29, 17, 0.22);
    clip-path: var(--slice-shape-sm);
    transform: translateY(-50%);
    overflow: visible;
    isolation: isolate;
}
.lightbox-nav::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(42, 25, 15, 0.16) 100%);
    pointer-events: none;
    z-index: -1;
}
.lightbox-nav span {
    position: relative;
    z-index: 1;
    font-size: 1.85rem;
    line-height: 1;
}
.lightbox-prev {
    left: max(0.9rem, calc(env(safe-area-inset-left) + 0.9rem));
}
.lightbox-next {
    right: max(0.9rem, calc(env(safe-area-inset-right) + 0.9rem));
}
.lightbox-nav[hidden] {
    display: none !important;
}
.lightbox-nav:focus-visible {
    outline: 3px solid rgba(201, 153, 81, 0.35);
    outline-offset: 3px;
}
@media (max-width: 720px) {
    .lightbox-meta {
        top: auto;
        bottom: calc(max(0.9rem, env(safe-area-inset-bottom)) + 4.2rem);
        min-width: 92px;
        padding: 0.65rem 0.9rem;
    }
    .lightbox-nav {
        top: auto;
        bottom: max(0.9rem, calc(env(safe-area-inset-bottom) + 0.9rem));
        width: 54px;
        height: 48px;
        transform: none;
    }
    .lightbox-prev {
        left: calc(50% - 66px);
    }
    .lightbox-next {
        right: calc(50% - 66px);
    }
}
.listing-showcase-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.listing-showcase-card .card-media {
    position: relative;
    flex: 0 0 auto;
    display: block;
    overflow: visible;
    isolation: isolate;
}
.listing-showcase-card .card-body {
    flex: 1 1 auto;
    min-height: 0;
}
.gallery-listing-grid .gallery-album-card .card-media {
    min-height: clamp(220px, 23vw, 290px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: var(--listing-cover-image);
}
.gallery-listing-grid .gallery-album-card .card-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(220px, 23vw, 290px);
    aspect-ratio: auto;
    object-fit: cover;
}
.listing-showcase-card .card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 20, 12, 0.04) 0%, rgba(32, 20, 12, 0.34) 100%);
    pointer-events: none;
}
.media-gallery img,
.media-video img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.media-gallery img {
    aspect-ratio: 16 / 10;
}
.media-video img {
    aspect-ratio: 16 / 9;
}
.listing-showcase-card:hover .card-media img {
    transform: scale(1.04);
}
.listing-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem;
    pointer-events: none;
}
.listing-top-chip {
    background: rgba(255, 248, 236, 0.92);
    color: #6f4620;
    box-shadow: 0 12px 22px rgba(87, 55, 29, 0.12);
}
.listing-stat-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    color: #fff8ef;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.94) 0%, rgba(82, 52, 31, 0.96) 100%);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 14px 24px rgba(47, 29, 17, 0.22);
    clip-path: var(--slice-shape-sm);
}
.listing-stat-badge-video {
    background: linear-gradient(135deg, rgba(153, 103, 32, 0.96) 0%, rgba(199, 146, 58, 0.96) 100%);
    color: #2d1a10;
}
.listing-card-body {
    display: grid;
    gap: 1rem;
    min-height: 0;
    align-content: start;
}
.listing-card-copy {
    display: grid;
    gap: 0.7rem;
}
.listing-card-copy h3,
.listing-card-copy p {
    margin: 0;
}
.listing-card-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Premium Industrial UI Additions --- */

/* Modern Industrial Comments Section */
.blog-comments-section { margin-top: 5rem; padding-bottom: 2rem; position: relative; }
.comments-header-slab { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; }
.comments-header-accent { width: 40px; height: 4px; background: #c99951; position: relative; }
.comments-header-accent::after { content: ''; position: absolute; right: -10px; top: -3px; width: 4px; height: 10px; background: #c99951; opacity: 0.5; }
.comments-title { font-size: 1.75rem; font-weight: 900; color: #111827; margin: 0; display: flex; align-items: center; gap: 0.85rem; letter-spacing: -0.02em; }
.comments-title i { color: #c99951; font-size: 1.5rem; }
.comments-count-badge { font-size: 0.9rem; background: #f3f4f6; color: #6b7280; padding: 0.15rem 0.6rem; font-weight: 700; border-radius: 4px; margin-left: 0.5rem; }

.no-comments-box { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4rem 2rem; background: #fff; border: 1px solid #f1f1f1; box-shadow: 15px 15px 0 rgba(0,0,0,0.015); clip-path: var(--slice-shape-sm); }
.no-comments-icon { font-size: 3rem; color: #f3f4f6; margin-bottom: 1rem; }
.no-comments { color: #9ca3af; font-size: 1.1rem; max-width: 400px; line-height: 1.6; }

.comment-card-premium { margin-bottom: 2.5rem; background: #fff; border: 1px solid #f1f1f1; box-shadow: 20px 20px 0 rgba(0,0,0,0.01); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); clip-path: var(--slice-shape-sm); }
.comment-card-premium:hover { transform: translateX(5px); }
.comment-card-header { padding: 1.5rem 2rem; background: linear-gradient(to right, #fafafa, #fff); border-bottom: 1px solid #f8f8f8; display: flex; justify-content: space-between; align-items: center; }
.author-profile { display: flex; align-items: center; gap: 1rem; }
.author-avatar-hex { width: 44px; height: 44px; background: #111827; color: #c99951; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); border: 1px solid rgba(201,153,81,0.2); }
.author-avatar-hex.admin-hex { background: #c99951; color: #fff; }
.author-name { font-weight: 800; color: #111827; font-size: 1.05rem; }
.role-badge { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; margin-top: 0.25rem; }
.badge-admin { color: #c99951; }
.badge-user { color: #9ca3af; }
.comment-timestamp { font-size: 0.8rem; color: #9ca3af; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; }
.comment-card-body { padding: 2rem; }
.comment-text-content { color: #374151; line-height: 1.8; font-size: 1.05rem; }

.comment-replies-container { padding: 0 2rem 2rem 4rem; position: relative; }
.reply-connector-line { position: absolute; left: 2rem; top: -1.5rem; bottom: 3rem; width: 2px; background: repeating-linear-gradient(to bottom, #e5e7eb, #e5e7eb 4px, transparent 4px, transparent 8px); }
.reply-card-premium { background: #fdfaf5; border: 1px solid rgba(201,153,81,0.1); margin-top: 1.5rem; clip-path: var(--slice-shape-sm); box-shadow: 10px 10px 0 rgba(201,153,81,0.03); }
.reply-card-premium .comment-card-header { background: rgba(201,153,81,0.03); }

.comment-form-panel { margin-top: 5rem; padding: 4rem; background: #111827; color: #fff; position: relative; clip-path: var(--slice-shape-md); overflow: hidden; }
.comment-form-decoration { position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border: 2px solid rgba(201,153,81,0.1); transform: rotate(45deg); pointer-events: none; }
.form-title { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 2.5rem; position: relative; }
.form-title::after { content: ''; position: absolute; bottom: -0.8rem; left: 0; width: 40px; height: 3px; background: #c99951; }

.premium-comment-form textarea { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 1.5rem; font-size: 1.05rem; line-height: 1.6; min-height: 150px; transition: all 0.3s; clip-path: var(--slice-shape-sm); }
.premium-comment-form textarea:focus { outline: none; border-color: #c99951; background: rgba(255,255,255,0.06); box-shadow: 0 0 30px rgba(201,153,81,0.1); }
.textarea-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.char-counter { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-family: monospace; }
.form-hint { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-style: italic; }

.comment-lock-box { text-align: center; padding: 3rem 2rem; background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; }
.lock-icon { font-size: 2.5rem; color: #c99951; margin-bottom: 1.25rem; opacity: 0.8; }
.comment-lock-box p { font-size: 1.15rem; color: #e5e7eb; margin-bottom: 0.5rem; }
.lock-subtext { font-size: 0.85rem; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; text-transform: uppercase; }

/* Toast Notifications Container */
.toast-container { position: fixed; top: 2rem; right: 2rem; z-index: 9999; display: grid; gap: 1rem; pointer-events: none; }
.toast { background: #111827; color: #fff; padding: 1.25rem 1.5rem; min-width: 320px; max-width: 450px; display: flex; align-items: flex-start; gap: 1rem; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05); clip-path: polygon(0 0, 95% 0, 100% 15%, 100% 100%, 5% 100%, 0 85%); pointer-events: auto; animation: toast-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes toast-slide-in { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast-content { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.toast-content strong { font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.25rem; color: #c99951; }
.toast-content span { font-size: 0.95rem; color: #e5e7eb; }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.15rem; }
.toast-close { background: none; border: none; color: rgba(255,255,255,0.4); padding: 0.25rem; cursor: pointer; transition: color 0.2s; margin-top: -0.25rem; margin-right: -0.5rem; }
.toast-close:hover { color: #fff; }
.toast-success { border-left: 4px solid #10b981; }
.toast-success .toast-content strong { color: #10b981; }
.toast-error { border-left: 4px solid #ef4444; }
.toast-error .toast-content strong { color: #ef4444; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: #c99951; width: 100%; transform-origin: left; animation: toast-progress-bar 5s linear forwards; }
@keyframes toast-progress-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 768px) {
    .blog-comments-section { margin-top: 3rem; }
    .comment-replies-container { padding-left: 1.5rem; padding-right: 1rem; }
    .reply-connector-line { left: 0.75rem; }
    .comment-form-panel { padding: 2.5rem 1.5rem; }
    .comment-card-header { padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .comment-timestamp { align-self: flex-end; }
    .toast-container { top: 1rem; right: 1rem; left: 1rem; }
    .toast { min-width: 0; width: 100%; }
}
.listing-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(127, 88, 44, 0.14);
}
.listing-card-meta {
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 600;
}
.listing-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--navy);
    font-weight: 800;
}
.listing-inline-link::after {
    content: "›";
    font-size: 1.1rem;
    line-height: 1;
}
.gallery-album-card .card-media,
.video-card .card-media {
    background: linear-gradient(180deg, #f4e7d4 0%, #e4ceb1 100%);
}
.listing-fallback-gallery,
.listing-fallback-video {
    aspect-ratio: 16 / 10;
}
.listing-fallback-video {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2d1a10 0%, #5b3922 100%);
    color: #fff0d9;
}
.section-video-detail {
    background: var(--bg);
    overflow: hidden;
}

.video-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: 16px 16px 0 rgba(43, 26, 17, 0.05);
    position: relative;
}

.video-hero-card::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.15;
}
.video-hero-copy {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}
.video-hero-copy h2,
.video-hero-copy p {
    margin: 0;
}
.video-hero-copy h2 {
    color: var(--navy);
    font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}
.video-hero-copy p {
    color: var(--ink-soft);
    max-width: 62ch;
}
.video-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.video-hero-media {
    min-width: 0;
}
.video-launch {
    position: relative;
    overflow: visible;
}
.video-launch img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
}
.video-launch-hero {
    display: block;
    width: 100%;
    padding: 0;
    line-height: 0;
    border-radius: 20px;
    border-color: rgba(130, 90, 42, 0.18);
    background: linear-gradient(135deg, rgba(43, 26, 15, 0.96) 0%, rgba(89, 56, 31, 0.96) 100%);
    box-shadow: 0 20px 42px rgba(47, 29, 17, 0.2);
}

.video-launch-hero::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    color: #fff6ea;
    background: rgba(42, 25, 15, 0.74);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    pointer-events: none;
}
.video-launch-badge,
.video-launch-label {
    position: absolute;
    left: 1.2rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.4rem 0.9rem;
    color: #fff8ef;
    background: rgba(36, 21, 13, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.video-launch-badge {
    top: 1.2rem;
}

.video-launch-label {
    bottom: 1.2rem;
}
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: max(1rem, calc(env(safe-area-inset-top) + 1rem)) clamp(0.9rem, 2vw, 1.4rem) max(1rem, calc(env(safe-area-inset-bottom) + 1rem));
    background: rgba(10, 7, 5, 0.76);
    backdrop-filter: blur(12px);
    overscroll-behavior: contain;
}
.video-modal.is-open {
    display: flex;
}
.video-modal-dialog {
    position: relative;
    width: min(1080px, calc(100vw - 2rem));
    display: grid;
    gap: 0;
    max-height: calc(100dvh - 2rem);
    padding: clamp(0.95rem, 2vw, 1.25rem);
    border: 1px solid rgba(229, 193, 137, 0.2);
    background: linear-gradient(180deg, rgba(62, 38, 24, 0.98) 0%, rgba(31, 20, 13, 0.99) 100%);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.video-modal-dialog::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255, 229, 187, 0.08);
    clip-path: inherit;
    pointer-events: none;
}
.video-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    width: 56px;
    height: 56px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff8ef;
    background: linear-gradient(135deg, rgba(42, 25, 15, 0.94) 0%, rgba(82, 52, 31, 0.96) 100%);
    box-shadow: 0 16px 30px rgba(47, 29, 17, 0.22);
    clip-path: var(--slice-shape-sm);
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.video-modal-close:hover {
    transform: translateY(-1px);
}
.video-modal-close:focus-visible {
    outline: 3px solid rgba(201, 153, 81, 0.35);
    outline-offset: 3px;
}
.video-modal-frame-wrap {
    position: relative;
    margin-top: 0;
    width: min(100%, calc((100dvh - 11rem) * 16 / 9));
    max-height: calc(100dvh - 5rem);
    justify-self: center;
    overflow: visible;
    aspect-ratio: 16 / 9;
    background: #050404;
    box-shadow: inset 0 0 0 1px rgba(255, 232, 194, 0.08);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.video-modal-frame-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 215, 154, 0.08) 0%, rgba(255, 215, 154, 0) 18%);
    pointer-events: none;
    z-index: 1;
}
.video-modal-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #050404;
}
@media (max-width: 960px) {
    .video-hero-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .video-hero-media {
        order: -1;
    }
}

@media (max-width: 720px) {
    .video-launch-hero::after {
        width: 64px;
        height: 64px;
        font-size: 1.40rem;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: auto !important;
        transform: none !important;
    }
    .video-launch-badge,
    .video-launch-label {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
        min-height: 28px;
        left: 0.8rem;
    }
    .video-launch-badge { top: 0.8rem; }
    .video-launch-label { bottom: 0.8rem; }
}

@media (max-width: 960px) {
    .video-modal-dialog {
        width: min(100%, calc(100vw - 1.5rem));
        max-height: calc(100dvh - 1.5rem);
    }
    .video-modal-frame-wrap {
        width: min(100%, calc((100dvh - 5rem) * 16 / 9));
        max-height: calc(100dvh - 5rem);
    }
}
@media (max-width: 720px) {
    .video-modal {
        padding: max(0.8rem, calc(env(safe-area-inset-top) + 0.8rem)) 0.75rem max(0.8rem, calc(env(safe-area-inset-bottom) + 0.8rem));
    }
    .video-modal-dialog {
        max-height: calc(100dvh - 1rem);
        padding: 0.85rem;
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
    }
    .video-modal-close {
        width: 48px;
        height: 48px;
        font-size: 1.55rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    .video-modal-frame-wrap {
        width: 100%;
        max-height: calc(100dvh - 4.75rem);
        clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    }
}
.parts-hero-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    gap: 1.35rem;
    padding: clamp(1.2rem, 2.8vw, 1.7rem);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 249, 240, 0.98) 0%, rgba(246, 234, 216, 0.92) 100%);
    box-shadow: var(--shadow-sm);
}
.parts-hero-media {
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #f6ead9 0%, #ecd8bc 100%);
    clip-path: var(--slice-shape);
}
.parts-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.parts-hero-media.is-fallback {
    display: grid;
    place-items: center;
}
.parts-hero-fallback {
    display: grid;
    gap: 0.8rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--navy);
}
.parts-hero-fallback strong {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.parts-hero-fallback p,
.parts-hero-copy p {
    margin: 0;
    color: var(--ink-soft);
}
.parts-hero-copy {
    display: grid;
    align-content: start;
    gap: 1rem;
}
.parts-hero-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.parts-meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}
.parts-meta-list li,
.part-sidebar-list li {
    padding: 0.82rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.45);
}
.parts-meta-list span,
.part-sidebar-list span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.parts-meta-list strong,
.part-sidebar-list strong {
    display: block;
    margin-top: 0.28rem;
    color: var(--navy);
}
.parts-models-inline {
    display: grid;
    gap: 0.7rem;
}
.parts-models-inline strong {
    color: var(--navy);
}
.parts-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.parts-model-tags span {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3ddaf 0%, #ebc97b 100%);
    color: #432717;
    font-weight: 700;
}
.part-sidebar-card {
    display: grid;
    align-content: start;
    gap: 1rem;
}
.part-sidebar-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}
.part-sidebar-list strong {
    text-align: right;
}
@media (max-width: 960px) {
    .parts-hero-card {
        grid-template-columns: 1fr;
    }
    .parts-meta-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 960px) {
    .video-hero-card {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .listing-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .listing-card-overlay {
        padding: 0.8rem;
    }
    .video-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .video-hero-actions .button {
        width: 100%;
    }
    .video-launch-hero::after {
        width: 72px;
        height: 72px;
        font-size: 1.55rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}
@media (max-width: 560px) {
    .video-hero-actions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 961px) {
    .hero-slider {
        min-height: clamp(470px, 60vh, 560px);
    }
    .slide-overlay {
        align-items: flex-start;
        padding: 2.3rem clamp(1.2rem, 2.4vw, 2.2rem) 4.6rem;
    }
    .slide-copy {
        max-width: 700px;
        gap: 0.78rem;
    }
    .slide-copy h1,
    .slide-copy h2 {
        font-size: clamp(1.95rem, 3.9vw, 3.7rem);
        line-height: 1.04;
    }
    .slide-text {
        max-width: 54ch;
    }
    .slide-cta-row {
        margin-top: 0.1rem;
        padding-bottom: 0;
    }
    .slider-controls {
        left: auto;
        right: clamp(1rem, 2vw, 1.6rem);
        bottom: 1rem;
        justify-content: flex-end;
        align-items: center;
        gap: 0.7rem;
    }
    .slider-arrows {
        order: 2;
    }
    .slider-dots {
        order: 1;
    }
}

.parts-listing-head { margin-bottom: 1rem; }
.parts-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.15rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.96) 0%, rgba(247, 236, 222, 0.92) 100%);
    box-shadow: var(--shadow-sm);
}
.parts-search-form { display: grid; gap: 0.55rem; }
.parts-search-label {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.parts-search-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}
.parts-search-input {
    min-height: 52px;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fffdf9;
    color: var(--ink);
}
.parts-search-input:focus {
    outline: 2px solid rgba(201, 153, 81, 0.22);
    border-color: rgba(137, 93, 49, 0.4);
}
.parts-search-summary {
    display: none;
}
.parts-search-summary strong {
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
}
.parts-filter-bar { margin-bottom: 1.8rem; }
.parts-listing-grid .card { height: 100%; }
.parts-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}
.parts-card-media img,
.parts-card-fallback {
    width: 100%;
    aspect-ratio: 16 / 10;
}
.parts-card-fallback {
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: linear-gradient(180deg, #f6ead9 0%, #ecd8bc 100%);
    color: var(--navy);
    font-family: var(--heading);
    font-size: 1.1rem;
    font-weight: 700;
}
.parts-card-body {
    display: grid;
    align-content: start;
    gap: 1rem;
}
.parts-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}
.parts-card-count {
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 700;
}
.parts-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.parts-card-tags span {
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: #f7eddc;
    color: #5a3822;
    font-size: 0.82rem;
    font-weight: 700;
}
.parts-card-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 0.4rem;
}
.parts-empty-state { text-align: left; }
.parts-empty-actions { margin-top: 1rem; }
.parts-pagination {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1.5rem;
}
.parts-pagination-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}
.parts-pagination .is-disabled {
    pointer-events: none;
    opacity: 0.5;
}
@media (max-width: 960px) {
    .parts-toolbar {
        grid-template-columns: 1fr;
    }
    .parts-search-summary {
        justify-items: start;
    }
}
@media (max-width: 720px) {
    .parts-search-group,
    .parts-pagination {
        grid-template-columns: 1fr;
    }
    .parts-pagination-pages {
        justify-content: flex-start;
    }
    
    /* Mobile Filter Responsive */
    .filter-bar {
        padding: 0.75rem;
        gap: 0.375rem;
    }
    
    .chip {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .advanced-filter {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        max-height: 100vh;
        z-index: 9999;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.2);
        border-left: 6px solid #c99951;
    }

    .filter-sidebar.is-open {
        left: 0;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9998;
        backdrop-filter: blur(4px);
    }

    .filter-overlay.is-open {
        display: block;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: #ffffff;
        background: linear-gradient(135deg, #c99951 0%, #a67c3e 100%);
        border: none;
        border-radius: 0;
        cursor: pointer;
        margin-bottom: 1rem;
        box-shadow: 4px 4px 0 rgba(201, 153, 81, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-filter-toggle:hover {
        transform: translateX(4px);
        box-shadow: 6px 6px 0 rgba(201, 153, 81, 0.5);
    }

    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
        scrollbar-color: #c99951 #f1f5f9;
    }

    .filter-bar::-webkit-scrollbar {
        height: 6px;
    }

    .filter-bar::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .filter-bar::-webkit-scrollbar-thumb {
        background: #c99951;
    }

    .filter-chip {
        flex: 0 0 auto;
    }
}

/* ============================================
   ARIZA REHBERI - ANGLED GEOMETRY
   ============================================ */

/* Fault Guide Header */
.fault-header {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-left: 8px solid #c99951;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.fault-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    text-transform: none;
}

.fault-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.fault-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #c99951 0%, #a67c3e 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.fault-info {
    display: flex;
    gap: 1.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.fault-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Fault Content Box */
.fault-content {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-left: 6px solid #c99951;
    border-radius: 0;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 8px 8px 0 rgba(201, 153, 81, 0.1);
}

.fault-section {
    margin-bottom: 2rem;
}

.fault-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #c99951;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fault-section-title::before {
    content: '';
    width: 8px;
    height: 24px;
    background: linear-gradient(180deg, #c99951 0%, #a67c3e 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.fault-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* Fault Steps */
.fault-steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    counter-reset: fault-step;
}

.fault-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 1.5rem;
    counter-increment: fault-step;
}

.fault-step::before {
    content: counter(fault-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #c99951 0%, #a67c3e 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.fault-step-content {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-left: 4px solid #c99951;
    padding: 1.25rem;
}

/* Warning & Danger Boxes */
.fault-warning,
.fault-danger {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    margin: 2rem 0;
    border-left-width: 6px;
    border-left-style: solid;
    border-radius: 0;
}

.fault-warning {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border-left-color: #f59e0b;
}

.fault-warning::before {
    content: '⚠️';
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    font-size: 1.5rem;
}

.fault-danger {
    background: linear-gradient(90deg, #fee2e2 0%, #fecaca 100%);
    border-left-color: #ef4444;
}

.fault-danger::before {
    content: '🚫';
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    font-size: 1.5rem;
}

/* Fault Tools List */
.fault-tools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.fault-tool {
    position: relative;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-left: 4px solid #c99951;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fault-tool:hover {
    transform: translateX(4px);
    box-shadow: 4px 4px 0 rgba(201, 153, 81, 0.2);
    border-color: #c99951;
}

.fault-tool-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fault-tool-name {
    font-weight: 700;
    color: #1e293b;
}

/* Fault Images Grid */
.fault-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.fault-image-card {
    position: relative;
    overflow: hidden;
    border: 3px solid #e2e8f0;
    border-left: 6px solid #c99951;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.fault-image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Fault Listing Card */
.fault-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-left: 6px solid #c99951;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 6px 6px 0 rgba(201, 153, 81, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.fault-card:hover {
    transform: translateX(8px);
    box-shadow: 8px 8px 0 rgba(201, 153, 81, 0.2);
    border-color: #c99951;
}

.fault-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.fault-card-summary {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1rem;
}

.fault-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Breadcrumb Angled */
.fault-breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.fault-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fault-breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.fault-breadcrumb-item a:hover {
    color: #c99951;
}

.fault-breadcrumb-separator {
    color: #cbd5e1;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .fault-header {
        padding: 2rem 1.5rem;
        clip-path: none;
    }

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

    .fault-content {
        padding: 1.5rem;
    }

    .fault-step {
        padding-left: 3rem;
    }

    .fault-step::before {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

/* Fault detail: layout + sliced accents */
.fault-detail-root {
    padding-top: 0.5rem;
}

.fault-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.fault-header-slice {
    overflow: hidden;
}

.fault-header-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    max-width: 280px;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(201, 153, 81, 0.12) 45%, rgba(201, 153, 81, 0.28) 100%);
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.fault-header.fault-header-slice {
    position: relative;
}

.fault-content-slice {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.fault-lead-text {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.fault-prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #334155;
}

.fault-prose > *:last-child {
    margin-bottom: 0;
}

.fault-callout-text {
    margin: 0;
}

.fault-cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(100deg, #f8fafc 0%, #f1f5f9 55%, rgba(201, 153, 81, 0.08) 100%);
    border: 2px solid #e2e8f0;
    border-left: 6px solid #c99951;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.fault-cta-strip-text {
    margin: 0;
    font-size: 0.9375rem;
    color: #475569;
    max-width: 36rem;
}

.fault-cta-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Fault smart links (single panel) */
.fault-smart-section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.fault-smart-panel {
    padding: 1.75rem 2rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-left: 6px solid #c99951;
    box-shadow: 6px 6px 0 rgba(201, 153, 81, 0.08);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.fault-smart-summary {
    margin: 0 0 1.25rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 52rem;
}

.fault-smart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Fault listing toolbar + cards */
.faults-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(105deg, #f8fafc 0%, #fff 50%, rgba(201, 153, 81, 0.06) 100%);
    border: 2px solid #e2e8f0;
    border-left: 6px solid #c99951;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.faults-search-form {
    flex: 1 1 280px;
    min-width: min(100%, 280px);
}

.faults-search-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.faults-search-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.faults-search-input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 0.65rem 1rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    background: #fff;
}

.faults-search-input:focus {
    outline: 2px solid rgba(201, 153, 81, 0.45);
    outline-offset: 2px;
    border-color: #c99951;
}

.faults-search-summary {
    font-size: 0.9375rem;
    color: #64748b;
}

.faults-search-summary strong {
    color: #1e293b;
    font-size: 1.25rem;
    margin-right: 0.35rem;
}

.faults-catalog-note {
    display: block;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.faults-pagination {
    margin-top: 2rem;
}

.fault-card-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.fault-card-title {
    margin-bottom: 0.65rem;
}

.fault-card-title a {
    color: inherit;
    text-decoration: none;
}

.fault-card-title a:hover {
    color: #c99951;
}

.fault-category-badge--compact {
    display: inline-flex;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.fault-card-media {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border: 3px solid #e2e8f0;
    border-left: 6px solid #c99951;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.fault-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fault-card-link {
    color: #c99951;
    font-weight: 600;
    text-decoration: none;
}

.fault-card-link:hover {
    text-decoration: underline;
}

.filter-chip-count {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 2px;
    vertical-align: middle;
}

.filter-chip.is-active .filter-chip-count {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
    .fault-card-inner {
        grid-template-columns: 1fr;
    }

    .fault-card-media {
        width: 100%;
        height: 180px;
        order: -1;
    }

    .fault-cta-strip {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 📰 Blog Detail Redesign (Angled Geometry) */
.blog-detail-root {
    padding-bottom: 4rem;
    background: var(--bg);
}

.blog-hero {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 10vw, 100px);
    background-color: var(--navy-strong);
    color: #fff;
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--blog-cover, none);
    opacity: 0.28;
    filter: grayscale(100%) contrast(1.1) brightness(0.8);
    transform: scale(1.05);
}

.blog-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 100px;
    background: var(--bg);
    clip-path: polygon(0 100%, 0 0%, 100% 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.blog-category-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    background: var(--accent);
    color: var(--navy-strong);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    margin-bottom: 2rem;
    box-shadow: 6px 6px 0 rgba(217, 164, 63, 0.3);
}

.blog-title {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
    margin: 0 0 2rem;
    font-family: var(--heading);
    font-weight: 800;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-meta-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.blog-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.blog-content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 16px 16px 0 rgba(43, 26, 17, 0.05);
    padding: clamp(1.5rem, 6vw, 4.5rem);
    position: relative;
}

.blog-content-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 80px;
    height: 80px;
    border-top: 8px solid var(--accent);
    border-left: 8px solid var(--accent);
}

.blog-summary-lead {
    font-size: 1.45rem;
    line-height: 1.6;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 3px solid var(--surface-soft);
    font-family: var(--heading);
    position: relative;
}

.blog-summary-lead::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--accent);
}

.prose-copy {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--ink);
}

.prose-copy h2, .prose-copy h3 {
    margin: 3.5rem 0 1.5rem;
    color: var(--navy);
    font-weight: 800;
}

.prose-copy h2 { font-size: 2rem; border-left: 6px solid var(--accent); padding-left: 1.5rem; }
.prose-copy h3 { font-size: 1.6rem; }

.prose-copy p {
    margin-bottom: 1.8rem;
}

.prose-copy ul, .prose-copy ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.prose-copy li {
    margin-bottom: 0.8rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 8px solid var(--accent);
    padding: 2.2rem;
    box-shadow: 10px 10px 0 rgba(43, 26, 17, 0.04);
}

.blog-sidebar-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-strong);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.blog-sidebar-title i { color: var(--accent); }

@media (max-width: 1024px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 0;
        padding-top: 3rem;
    }
    
    .blog-content-card {
        padding: 3rem 1.5rem;
    }
    
    .blog-hero::after {
        height: 60px;
    }
}

/* ======================================================
   SERVICE AREA EXPANDER — Professional hide/show
   ====================================================== */
.service-expander {
    margin-top: 2rem;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 8px 8px 0 rgba(43, 26, 17, 0.03);
    position: relative;
}

.service-expander-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, #1d1108 0%, #2d1a10 100%);
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid #c99951;
}

.service-expander-toggle:hover {
    background: linear-gradient(135deg, #2d1a10 0%, #3d2a20 100%);
}

.service-expander-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-expander-label i {
    color: #c99951;
    font-size: 1.2rem;
}

.service-expander-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c99951;
    color: #1d1108;
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-expander.is-expanded .service-expander-icon {
    transform: rotate(180deg);
}

.service-expander-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.service-expander.is-expanded .service-expander-content {
    max-height: 1000px;
    opacity: 1;
}

.service-expander-inner {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .service-expander-toggle {
        padding: 1rem 1.2rem;
    }
    .service-expander-label {
        font-size: 0.85rem;
    }
}

/* ======================================================
   404 ERROR PAGE — Premium Angled Geometry
   ====================================================== */
.error-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0906 0%, #1d1108 35%, #2d1a10 70%, #1a0f07 100%);
    padding: 6rem 0 5rem;
    min-height: 420px;
    display: flex;
    align-items: center;
}
.error-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.error-hero-slice { position: absolute; }
.error-hero-slice-1 {
    top: 0; right: -5%; width: 55%; height: 100%;
    background: linear-gradient(135deg, rgba(201,153,81,0.06) 0%, transparent 70%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.error-hero-slice-2 {
    bottom: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, #c99951 0%, transparent 60%);
}
.error-hero-slice-3 {
    top: 0; left: -2%; width: 40%; height: 100%;
    background: linear-gradient(180deg, rgba(201,153,81,0.04) 0%, transparent 50%);
    clip-path: polygon(0% 0%, 100% 0%, 70% 100%, 0% 100%);
}
.error-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.error-code-wrap {
    position: relative;
    margin-bottom: 1.5rem;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-code {
    font-family: var(--heading);
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #c99951 0%, #f1c566 40%, #c99951 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 20px rgba(201,153,81,0.3));
}
.error-code-shadow {
    position: absolute;
    font-family: var(--heading);
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(201,153,81,0.06);
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    user-select: none;
}
.error-headline {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.error-description {
    color: rgba(255,220,170,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 2.5rem;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}
.error-actions .button { min-width: 150px; }
.error-actions .button i { margin-right: 0.4rem; }

/* ── QUICK LINKS ── */
.error-quicklinks {
    background: var(--surface-soft);
    padding: 3.5rem 0;
}
.error-quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.error-quicklink-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid #c99951;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 6px 6px 0 rgba(43,26,17,0.04);
}
.error-quicklink-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent rgba(201,153,81,0.08) transparent transparent;
    transition: border-width 0.3s ease;
}
.error-quicklink-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 10px 0 rgba(201,153,81,0.12);
    border-left-color: #f1c566;
}
.error-quicklink-card:hover::before {
    border-width: 0 80px 80px 0;
}
.error-quicklink-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d1108, #2d1a10);
    color: #c99951;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.error-quicklink-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 0.6rem;
}
.error-quicklink-card p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 0 1.2rem;
    flex-grow: 1;
}
.error-quicklink-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #c99951;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}
.error-quicklink-card:hover .error-quicklink-cta { gap: 0.8rem; }

/* ── SERVICES GRID ── */
.error-recommendations { padding: 3.5rem 0; }
.error-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.error-service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0 rgba(43,26,17,0.04);
    position: relative;
}
.error-service-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #c99951 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.error-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 10px 0 rgba(201,153,81,0.12);
}
.error-service-card:hover::after { transform: scaleX(1); }
.error-service-img {
    overflow: hidden;
    background: #1a0f07;
}
.error-service-img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: saturate(1.05);
}
.error-service-card:hover .error-service-img img { transform: scale(1.06); }
.error-service-body {
    padding: 1.3rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.error-service-body h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 0.5rem;
}
.error-service-body p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 1rem;
    flex-grow: 1;
}
.error-service-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c99951;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}
.error-service-card:hover .error-service-cta { gap: 0.8rem; }

/* ── BLOG GRID ── */
.error-blog {
    background: linear-gradient(165deg, #0d0906 0%, #1d1108 50%, #2d1a10 100%);
    padding: 3.5rem 0;
}
.error-blog .eyebrow { color: #c99951; }
.error-blog h2 { color: #fff; }
.error-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.error-blog-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,153,81,0.15);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 rgba(201,153,81,0.06);
}
.error-blog-card:hover {
    background: rgba(201,153,81,0.08);
    border-color: rgba(201,153,81,0.35);
    transform: translateY(-3px);
    box-shadow: 6px 8px 0 rgba(201,153,81,0.12);
}
.error-blog-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}
.error-blog-excerpt {
    font-size: 0.85rem;
    color: rgba(255,220,170,0.6);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}
.error-blog-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c99951;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}
.error-blog-card:hover .error-blog-link { gap: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .error-hero { padding: 4rem 0 3rem; min-height: auto; }
    .error-code-wrap { height: 80px; margin-bottom: 1rem; }
    .error-description { font-size: 0.92rem; margin-bottom: 2rem; }
    .error-actions { flex-direction: column; align-items: center; }
    .error-actions .button { width: 100%; max-width: 280px; }
    .error-quicklinks-grid { grid-template-columns: 1fr; gap: 1rem; }
    .error-services-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .error-blog-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
    .error-services-grid { grid-template-columns: 1fr; }
}

/* ======================================================
   ABOUT / PAGE — Premium Angled Geometry
   ====================================================== */
.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0906 0%, #1d1108 35%, #2d1a10 70%, #1a0f07 100%);
    padding: 1.5rem 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.about-hero .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}
@media (max-width: 1200px) {
    .about-hero { min-height: 320px; }
}
.about-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.about-hero-slice { position: absolute; }
.about-hero-slice-1 {
    top: 0; right: -5%; width: 50%; height: 100%;
    background: linear-gradient(135deg, rgba(201,153,81,0.07) 0%, transparent 65%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.about-hero-slice-2 {
    bottom: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, #c99951 0%, transparent 50%);
}
.about-hero-image {
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.about-hero-content {
    position: relative;
    z-index: 2;
}
.about-hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin: 0.4rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.about-hero-summary {
    color: rgba(255,220,170,0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 2rem;
}
.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 2px solid rgba(201,153,81,0.4);
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.about-hero-badge-year {
    font-family: var(--heading);
    font-size: 2rem;
    font-weight: 900;
    color: #c99951;
    line-height: 1;
}
.about-hero-badge-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,220,170,0.55);
    line-height: 1.3;
}

/* ── CONTENT GRID ── */
.about-content-section { padding: 3.5rem 0; }
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}
.about-prose {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 6px solid #c99951;
    padding: 2.5rem 2rem;
    box-shadow: 8px 8px 0 rgba(43,26,17,0.04);
}
.about-prose-body { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.about-prose-body p { margin-bottom: 1.5rem; }
.about-prose-body p:last-child { margin-bottom: 0; }
.about-prose-body h2, .about-prose-body h3 {
    color: var(--navy);
    font-weight: 800;
    margin: 2rem 0 1rem;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 2rem;
}
.about-sidebar-card {
    padding: 1.3rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 4px 4px 0 rgba(43,26,17,0.03);
}
.about-sidebar-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d1108, #2d1a10);
    color: #c99951;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
.about-sidebar-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    margin: 0 0 0.3rem;
}
.about-sidebar-card p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    line-height: 1.4;
}
.about-sidebar-cta {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(201,153,81,0.06), rgba(201,153,81,0.02));
    border-color: rgba(201,153,81,0.25);
}

/* ── VALUES SECTION ── */
.about-values {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0906 0%, #1d1108 50%, #2d1a10 100%);
    padding: 4rem 0;
}
.about-values-bg { position: absolute; inset: 0; pointer-events: none; }
.about-values-slice {
    position: absolute;
    top: 0; right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201,153,81,0.04) 0%, transparent 60%);
    clip-path: polygon(35% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.about-value-card {
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,153,81,0.15);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 rgba(201,153,81,0.06);
}
.about-value-card:hover {
    background: rgba(201,153,81,0.08);
    border-color: rgba(201,153,81,0.35);
    transform: translateY(-4px);
    box-shadow: 6px 8px 0 rgba(201,153,81,0.12);
}
.about-value-icon {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c99951, #f1c566);
    color: #1d1108;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.about-value-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.6rem;
}
.about-value-card p {
    font-size: 0.88rem;
    color: rgba(255,220,170,0.6);
    line-height: 1.6;
    margin: 0;
}

/* ── CTA BAND ── */
.about-cta-band {
    background: var(--surface-soft);
    padding: 3rem 0;
}
.about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 6px solid #c99951;
    box-shadow: 8px 8px 0 rgba(43,26,17,0.04);
}
.about-cta-copy h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 0.4rem;
}
.about-cta-copy p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin: 0;
}
.about-cta-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .about-hero { padding: 4rem 0 3rem; min-height: auto; }
    .about-hero-image { width: 100%; opacity: 0.08; clip-path: none; }
    .about-content-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.8rem; }
    .about-sidebar-card { flex: 1 1 140px; }
    .about-values-grid { grid-template-columns: 1fr; gap: 1rem; }
    .about-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .about-cta-actions { justify-content: center; }
}

/* ======================================================
   LISTING HERO & CTA — Premium Angled Geometry
   ====================================================== */
.listing-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0906 0%, #1d1108 35%, #2d1a10 70%, #1a0f07 100%);
    padding: 1.5rem 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.listing-hero .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (max-width: 1200px) {
    .listing-hero { min-height: 320px; }
}
.listing-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.listing-hero-slice { position: absolute; }
.listing-hero-slice-1 {
    top: 0; right: -5%; width: 50%; height: 100%;
    background: linear-gradient(135deg, rgba(201,153,81,0.06) 0%, transparent 65%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.listing-hero-slice-2 {
    bottom: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, #c99951 0%, transparent 55%);
}
.listing-hero-slice-3 {
    top: 0; left: -2%; width: 35%; height: 100%;
    background: linear-gradient(180deg, rgba(201,153,81,0.03) 0%, transparent 50%);
    clip-path: polygon(0% 0%, 100% 0%, 65% 100%, 0% 100%);
}
.listing-hero-content { position: relative; z-index: 2; }
.listing-hero-content h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 900;
    margin: 0.4rem 0 0.8rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.listing-hero-summary {
    color: rgba(255,220,170,0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 0 1.8rem;
}

/* ── STATS BADGES ── */
.listing-hero-stats {
    display: flex;
    gap: 1rem;
}
.listing-hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(201,153,81,0.3);
    padding: 0.5rem 1rem;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}
.listing-hero-stat-number {
    font-family: var(--heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #c99951;
    line-height: 1;
}
.listing-hero-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,220,170,0.5);
}

/* ── CTA BAND ── */
.listing-cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(13,9,6,0.98) 0%, rgba(29,17,8,0.95) 100%);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    margin: 4.5rem 0 2rem;
    border: 1px solid rgba(201,153,81,0.12);
    border-left: 6px solid #c99951;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.listing-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201,153,81,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.listing-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.listing-cta-slice {
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201,153,81,0.05) 0%, transparent 60%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.listing-cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 3.5rem 5rem;
}
.listing-cta-copy h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0.3rem 0 0.5rem;
}
.listing-cta-copy p {
    font-size: 0.92rem;
    color: rgba(255,220,170,0.6);
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}
.listing-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}
.listing-cta-actions .button {
    white-space: normal;
    height: auto;
    text-align: left;
    width: 100%;
    line-height: 1.35;
    padding: 1.2rem 1.6rem;
    background: rgba(201,153,81,0.03);
    border: 1px solid rgba(201,153,81,0.15);
    color: #c99951;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.95rem;
    font-weight: 700;
}
.listing-cta-actions .button:hover {
    background: #c99951;
    border-color: #c99951;
    color: #1a0f07;
    transform: translateX(8px);
    box-shadow: -10px 0 20px rgba(201,153,81,0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .listing-hero { padding: 3.5rem 0 2.5rem; min-height: auto; }
    .listing-hero-summary { font-size: 0.92rem; margin-bottom: 1.5rem; }
    .listing-hero-stats { gap: 0.6rem; }
    .listing-hero-stat { padding: 0.4rem 0.7rem; }
    .listing-hero-stat-number { font-size: 1.3rem; }
    
    .listing-cta-band { margin: 2rem 0; padding: 0.5rem 0; border-left-width: 4px; }
    .listing-cta-inner { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 2rem 1.5rem; 
        gap: 1.8rem;
    }
    .listing-cta-copy p { max-width: 100%; }
    .listing-cta-actions { 
        flex-direction: column; 
        width: 100%; 
        gap: 0.6rem; 
    }
    .listing-cta-actions .button { width: 100%; justify-content: flex-start; }
}

/* ======================================================
   DETAIL HERO & PAGE UNIFICATION
   ====================================================== */
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0906 0%, #1d1108 35%, #2d1a10 70%, #1a0f07 100%);
    padding: 1.5rem 0; /* Minimal vertical padding, centering handled by flex */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.detail-hero .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.detail-hero-content {
    padding: 0;
    margin: 0;
}
@media (max-width: 1200px) {
    .detail-hero { min-height: 320px; }
}
/* Container padding handled above for detail-hero context */
.detail-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.detail-hero-slice { position: absolute; }
.detail-hero-slice-1 {
    top: 0; right: -5%; width: 55%; height: 100%;
    background: linear-gradient(135deg, rgba(201,153,81,0.05) 0%, transparent 70%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.detail-hero-slice-2 {
    bottom: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, #c99951 0%, transparent 60%);
}
.detail-hero-slice-3 {
    top: 0; left: -2%; width: 40%; height: 100%;
    background: linear-gradient(180deg, rgba(201,153,81,0.02) 0%, transparent 50%);
    clip-path: polygon(0% 0%, 100% 0%, 60% 100%, 0% 100%);
}

.detail-hero-content { position: relative; z-index: 2; }
.detail-hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin: 0.5rem 0 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 900px;
}
.detail-hero-summary {
    color: rgba(255,220,170,0.6);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 0 2rem;
}

/* ── DETAIL BADGES ── */
.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.detail-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201,153,81,0.08);
    border: 1px solid rgba(201,153,81,0.25);
    padding: 0.4rem 0.9rem;
    color: #c99951;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.detail-badge i { font-size: 0.9rem; opacity: 0.8; }

/* ── CONTENT OVERRIDES FOR UNIFICATION ── */
.detail-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
    margin-top: -3rem; /* Pull content up slightly if needed */
    position: relative;
    z-index: 10;
}

@media (max-width: 1024px) {
    .detail-main-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 0; }
}

@media (max-width: 768px) {
    .detail-hero { padding: 4rem 0 3rem; min-height: auto; }
    .detail-hero-content h1 { font-size: 1.8rem; }
    .detail-hero-summary { font-size: 0.95rem; }
    .detail-meta-row { gap: 0.8rem; }
}

/* ── DETAIL COMPONENTS ── */
.featured-video-card {
    background: #fff;
    border-left: 6px solid #c99951;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: -4rem;
    position: relative;
    z-index: 20;
}
.video-card-header {
    background: linear-gradient(135deg, #1d1108 0%, #2d1a10 100%);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}
.video-card-header::after {
    content: "";
    position: absolute;
    top: 0; right: 0; width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,153,81,0.1));
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
.video-card-header-inner { position: relative; z-index: 2; }

.video-card-body {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: start;
}
.video-major-display {
    margin-bottom: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: #000;
}
.video-launch-major {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    position: relative;
    cursor: pointer;
}
.video-launch-major img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.video-launch-major:hover img { transform: scale(1.03); }
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(13,9,6,0.4);
    transition: background 0.3s ease;
}
.video-launch-major:hover .video-play-overlay { background: rgba(13,9,6,0.2); }
.video-play-icon {
    width: 80px; height: 80px;
    background: #c99951;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 0 rgba(201,153,81,0.4);
    animation: pulse-gold 2s infinite;
}
.video-play-text {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

@keyframes pulse-gold {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(201,153,81,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(201,153,81,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(201,153,81,0); }
}

.video-card-footer {
    background: #fcfaf7;
    border-top: 1px solid #eee;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.video-card-footer p { margin: 0; color: #666; font-size: 0.9rem; }
.video-card-actions { display: flex; gap: 1rem; }
 
/* ── PREMIUM PARTS CARD ── */
.parts-body-card.premium-slab {
    background: #fffdfa;
    border: 1px solid rgba(201,153,81,0.1);
    border-left: 6px solid #c99951;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.03);
    overflow: hidden;
    margin-bottom: 3rem;
}
.parts-main-media { position: relative; overflow: hidden; background: #f9f9f9; }
.parts-main-media img { display: block; filter: saturate(0.9); transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.parts-main-media:hover img { transform: scale(1.02); }
.media-tech-marker {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(26,15,7,0.75);
    backdrop-filter: blur(8px);
    color: #c99951;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    letter-spacing: 0.12em;
    border: 1px solid rgba(201,153,81,0.25);
}
.parts-body-content { padding: clamp(2rem, 5vw, 3.5rem); }
.parts-content-header { margin-bottom: 2.2rem; }
.tech-divider { height: 1px; background: linear-gradient(to right, rgba(201,153,81,0.25), transparent); margin-top: 1.2rem; }

/* ── SIDEBAR & MISC DETAIL ── */
.sidebar-info-card {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 3px solid #c99951;
}
.sidebar-info-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #1a0f07;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sidebar-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.9rem;
}
.sidebar-info-list li:last-child { border-bottom: none; }
.sidebar-info-list .label { color: #888; font-weight: 500; }
.sidebar-info-list .value { color: #1a0f07; font-weight: 700; }

.model-tags-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.model-tag {
    background: #f5f5f5;
    color: #555;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.sidebar-cta-card {
    background: linear-gradient(135deg, #1a0f07 0%, #2d1a10 100%);
    padding: 1.8rem;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.sidebar-cta-card p { color: rgba(255,220,170,0.7); margin-bottom: 1.2rem; font-size: 0.92rem; }

@media (max-width: 1200px) {
    .video-card-body { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem; }
}

@media (max-width: 768px) {
    .detail-hero { min-height: 320px; padding: 2.5rem 0; }
    .featured-video-card { margin-top: -2rem; }
    .video-card-body { padding: 1.5rem; }
    .video-card-header { padding: 1.25rem 1.5rem; }
    .video-card-footer { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .video-card-actions { justify-content: center; width: 100%; }
}

/* ----------------------------------------------------
   Toast Notifications (Flash Messages)
---------------------------------------------------- */
.toast-container {
    position: fixed;
    top: max(1.5rem, calc(env(safe-area-inset-top) + 1.5rem));
    right: max(1.5rem, calc(env(safe-area-inset-right) + 1.5rem));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}
.toast {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 380px;
    max-width: calc(100vw - 3rem);
    padding: 1rem 1.2rem;
    border-radius: 12px 12px 12px 0;
    color: #fff8ef;
    background: rgba(22, 13, 8, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 230, 190, 0.15);
    clip-path: var(--slice-shape-sm);
    transform: translateX(120%) scale(0.9);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
    overflow: hidden;
}
.toast.is-visible {
    transform: translateX(0) scale(1);
    opacity: 1;
}
.toast-success { border-left: 4px solid #f1c566; }
.toast-error { border-left: 4px solid #e76c53; }
.toast-info { border-left: 4px solid #8ab2c4; }

.toast-icon { width: 28px; height: 28px; flex-shrink: 0; }
.toast-success .toast-icon { color: #f1c566; }
.toast-error .toast-icon { color: #e76c53; }
.toast-info .toast-icon { color: #8ab2c4; }

.toast-content { flex-grow: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.toast-content strong { font-size: 0.95rem; font-family: var(--heading); letter-spacing: 0.02em; }
.toast-content span { font-size: 0.85rem; color: rgba(255, 240, 220, 0.75); line-height: 1.3; }

.toast-close {
    background: transparent; border: none; color: rgba(255, 255, 255, 0.4);
    cursor: pointer; display: inline-flex; padding: 0.4rem; border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.toast-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.toast-progress {
    position: absolute; bottom: 0; left: 0; height: 3px; width: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform-origin: left;
}
.toast-progress::after {
    content: ''; position: absolute; inset: 0;
    background: currentColor; width: 100%;
}
.toast-success .toast-progress::after { background: linear-gradient(90deg, #f1c566, #d79c33); }
.toast-error .toast-progress::after { background: #e76c53; }
.toast-info .toast-progress::after { background: #8ab2c4; }

.toast.is-progressing .toast-progress::after {
    animation: toast-progress cubic-bezier(0.1, 0, 0.1, 1) forwards;
}

@keyframes toast-progress { 0% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

@media (max-width: 560px) {
    .toast-container {
        top: auto; bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1.5rem));
        left: max(1.5rem, calc(env(safe-area-inset-left) + 1.5rem));
        right: max(1.5rem, calc(env(safe-area-inset-right) + 1.5rem));
    }
    .toast {
        width: 100%; max-width: none;
        transform: translateY(120%) scale(0.9);
    }
    .toast.is-visible { transform: translateY(0) scale(1); }
}

/* ----------------------------------------------------
   Footer Social Media - Sliced Geometry
---------------------------------------------------- */
.footer-social-wrap {
    margin: 1.5rem 0 2rem;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(201, 153, 81, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.footer-social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #c99951;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}
.footer-social-link:hover {
    color: #1a0f07;
    border-color: #c99951;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.footer-social-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.footer-social-link svg {
    transition: transform 0.3s ease;
}
.footer-social-link:hover svg {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .footer-social-wrap { margin: 1.25rem 0 1.75rem; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-social-link { width: 38px; height: 38px; }
}
