:root {
    --obsidian: #0A0E14;
    --charcoal: #14181F;
    --brass: #C9A961;
    --brass-light: #E4CB82;
    --steel: #4A6FA5;
    --pearl: #FAFBFC;
    --ink: #0A0E14;
    --ink-muted: #6B7280;
    --white: #ffffff;
    --line: rgba(10, 14, 20, 0.10);
    --line-dark: rgba(255, 255, 255, 0.10);
    --shadow: 0 26px 80px rgba(10, 14, 20, 0.12);
    --shadow-soft: 0 14px 42px rgba(10, 14, 20, 0.08);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    margin: 0;
    color: var(--ink);
    background: var(--pearl);
    font-family: "Inter", Segoe UI, Arial, sans-serif;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 60vh;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 16px;
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--obsidian);
    background: var(--brass);
    font-weight: 900;
}

.skip-link:focus {
    left: 16px;
}

.container {
    width: min(var(--container), calc(100% - 44px));
    margin-inline: auto;
}

h1,
h2,
h3,
h4,
.section-title,
.hero-title {
    font-family: "Playfair Display", Georgia, serif;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background:
        radial-gradient(circle at top left, rgba(201, 169, 97, 0.08), transparent 32%),
        radial-gradient(circle at bottom right, rgba(74, 111, 165, 0.08), transparent 30%),
        var(--white);
}

.section-dark {
    color: var(--white);
    background:
        radial-gradient(circle at 15% 10%, rgba(201, 169, 97, 0.16), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(74, 111, 165, 0.18), transparent 32%),
        var(--obsidian);
}

.section-header {
    max-width: 780px;
    margin-bottom: 38px;
}

.section-header.center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--brass);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--brass);
}

.section-title {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.section-subtitle {
    margin: 16px 0 0;
    color: var(--ink-muted);
    font-size: 17px;
    line-height: 1.8;
}

.section-header-light .section-subtitle,
.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.text-muted {
    color: var(--ink-muted);
}

/* Buttons */
.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 13px 22px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    box-shadow: 0 18px 40px rgba(201, 169, 97, 0.26);
}

.btn-secondary {
    color: var(--obsidian);
    background: rgba(201, 169, 97, 0.16);
    border-color: rgba(201, 169, 97, 0.38);
}

.btn-outline-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
    border-color: rgba(201, 169, 97, 0.70);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* Navbar */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
    background: rgba(10, 14, 20, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.nav-container {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-link,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    position: relative;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    font-weight: 950;
    letter-spacing: -0.06em;
    box-shadow: 0 18px 44px rgba(201, 169, 97, 0.24);
    overflow: hidden;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 10px;
    border: 1px solid rgba(10, 14, 20, 0.20);
}

.brand-text strong,
.footer-logo strong {
    display: block;
    color: var(--white);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.035em;
}

.brand-text small,
.footer-logo small {
    display: block;
    margin-top: 5px;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    position: relative;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 800;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(201, 169, 97, 0.22);
}

.nav-cta:hover {
    box-shadow: 0 18px 54px rgba(201, 169, 97, 0.36);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--white);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 128px 0 118px;
    background: var(--obsidian);
}

.hero-slides,
.hero-slide,
.hero-overlay,
.hero-grid-pattern,
.hero-glow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(10, 14, 20, 0.88), rgba(10, 14, 20, 0.70) 48%, rgba(10, 14, 20, 0.58)),
        rgba(10, 14, 20, 0.45);
}

.hero-grid-pattern {
    opacity: 0.24;
    background:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

.hero-glow {
    pointer-events: none;
}

.hero-glow-gold {
    background: radial-gradient(circle at 12% 30%, rgba(201, 169, 97, 0.24), transparent 30%);
}

.hero-glow-blue {
    background: radial-gradient(circle at 82% 20%, rgba(74, 111, 165, 0.22), transparent 34%);
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 60px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--brass-light);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.20em;
}

.hero-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--brass);
}

.hero-title {
    margin: 0;
    max-width: 800px;
    font-size: clamp(48px, 7.2vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.064em;
}

.hero-title em {
    color: var(--brass-light);
    font-style: italic;
}

.hero-text {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-right {
    position: relative;
    min-height: 470px;
}

.hero-glass-panel {
    position: absolute;
    inset: 18px 0 0 0;
    border-radius: 34px;
    overflow: hidden;
    transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(6px);
}

.hero-panel-lines {
    position: absolute;
    inset: 34px;
    border-radius: 24px;
    border: 1px solid rgba(228, 203, 130, 0.30);
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.13) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 72px);
}

.hero-panel-label {
    position: absolute;
    left: 28px;
    bottom: 28px;
    padding: 13px 18px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(10, 14, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-bottom {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 34px;
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

.hero-dots button.is-active {
    background: var(--brass);
}

.hero-stats {
    display: flex;
    gap: 14px;
}

.hero-stats div {
    min-width: 138px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.hero-stats strong {
    display: block;
    color: var(--brass-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    line-height: 1;
}

.hero-stats span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    font-weight: 700;
}

.hero-scroll-indicator {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-scroll-indicator i {
    width: 1px;
    height: 36px;
    background: linear-gradient(var(--brass), transparent);
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0.45);
        opacity: 0.45;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Grids / Cards */
.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.card-body {
    padding: 26px;
}

.card-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.card-text {
    margin: 13px 0 0;
    color: var(--ink-muted);
    line-height: 1.75;
}

.card-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--brass);
    font-weight: 950;
}

.image-card {
    overflow: hidden;
}

.image-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #e5e7eb;
}

.image-placeholder {
    min-height: 240px;
    display: grid;
    place-items: center;
    color: var(--brass);
    background:
        linear-gradient(135deg, rgba(201, 169, 97, 0.14), rgba(74, 111, 165, 0.10)),
        repeating-linear-gradient(90deg, rgba(10,14,20,0.08) 0 1px, transparent 1px 46px);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--brass-light);
    background: var(--obsidian);
    font-size: 12px;
    font-weight: 900;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* Existing section support */
.category-card {
    min-height: 250px;
    padding: 26px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 97, 0.65);
    box-shadow: var(--shadow);
}

.category-icon,
.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    font-size: 22px;
    font-weight: 950;
}

.category-card h3,
.service-card h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.category-card p,
.service-card p {
    margin: 14px 0 0;
    color: var(--ink-muted);
    line-height: 1.75;
}

.category-card span,
.service-card a {
    display: inline-flex;
    margin-top: 20px;
    color: var(--brass);
    font-weight: 950;
}

.service-card {
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(201, 169, 97, 0.14);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.20);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 97, 0.60);
}

.service-card h3 {
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.72);
}

/* Page Hero */
.page-hero {
    padding: 150px 0 82px;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(201, 169, 97, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(74, 111, 165, 0.16), transparent 32%),
        linear-gradient(135deg, var(--obsidian), var(--charcoal));
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 70px 70px;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin: 0;
    max-width: 900px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.8;
}

/* Forms */
.form-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    color: var(--ink);
    font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(10, 14, 20, 0.12);
    border-radius: 16px;
    padding: 14px 15px;
    outline: none;
    color: var(--ink);
    background: #f6f7f8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brass);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.16);
    background: var(--white);
}

.field-validation-error,
.validation-summary-errors {
    color: #b42318;
    font-size: 13px;
}

/* Detail pages */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 30px;
    align-items: start;
}

.detail-panel {
    padding: 30px;
}

.detail-main-image,
.detail-image-placeholder {
    width: 100%;
    min-height: 380px;
    border-radius: 22px;
}

.detail-main-image {
    object-fit: cover;
}

.detail-image-placeholder {
    display: grid;
    place-items: center;
    color: var(--brass);
    background:
        linear-gradient(135deg, rgba(201, 169, 97, 0.14), rgba(74, 111, 165, 0.10)),
        repeating-linear-gradient(90deg, rgba(10,14,20,0.08) 0 1px, transparent 1px 46px);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.detail-content {
    padding-top: 28px;
}

.detail-content h2,
.detail-panel h2 {
    margin: 0 0 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.detail-content p,
.detail-panel p {
    color: var(--ink-muted);
    line-height: 1.85;
}

.meta-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.meta-list dt {
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-list dd {
    margin: 5px 0 0;
    line-height: 1.6;
}

.detail-cta-box {
    display: grid;
    gap: 13px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.empty-state {
    padding: 46px;
    border: 1px dashed rgba(10, 14, 20, 0.18);
    border-radius: var(--radius-xl);
    background: var(--white);
    text-align: center;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.74);
    background: var(--obsidian);
}

.footer-glow {
    position: absolute;
    inset: auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(12px);
    pointer-events: none;
}

.footer-glow-gold {
    left: -160px;
    top: -160px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.16), transparent 66%);
}

.footer-glow-blue {
    right: -170px;
    bottom: -190px;
    background: radial-gradient(circle, rgba(74, 111, 165, 0.18), transparent 66%);
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.95fr 1fr;
    gap: 42px;
    padding: 74px 0;
}

.footer-brand p {
    max-width: 440px;
    margin: 20px 0 0;
    line-height: 1.8;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-col h3 {
    margin: 0 0 8px;
    color: var(--brass-light);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.footer-col a,
.footer-col span,
.footer-col p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
}

.footer-col a:hover {
    color: var(--brass-light);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--obsidian);
    background: var(--brass);
    font-size: 12px;
    font-weight: 950;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--brass-light);
    font-weight: 900;
}

/* Animations */
.reveal-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-right {
        min-height: 340px;
    }

    .hero-glass-panel {
        transform: none;
    }

    .hero-bottom {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin-top: 28px;
        align-items: start;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 86vw);
        height: 100vh;
        margin: 0;
        padding: 110px 24px 24px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: rgba(10, 14, 20, 0.98);
        border-left: 1px solid rgba(255,255,255,0.10);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    body.nav-open .site-nav {
        transform: translateX(0);
    }

    .site-nav a {
        padding: 15px 0;
        font-size: 16px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 68px 0;
    }

    .nav-container {
        min-height: 76px;
    }

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        max-width: 190px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 18px;
    }

    .hero-section {
        min-height: auto;
        padding: 118px 0 70px;
    }

    .hero-title {
        font-size: clamp(44px, 14vw, 66px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-bottom {
        flex-direction: column;
    }

    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-4,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }
}

/* Phase 16B: Premium Home Cards */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.system-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--obsidian);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(10, 14, 20, 0.08);
}

.system-card img,
.premium-product-media img,
.project-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.system-card:hover img,
.premium-product-card:hover img,
.project-showcase-card:hover img {
    transform: scale(1.06);
}

.system-card-overlay,
.project-showcase-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 20, 0.08), rgba(10, 14, 20, 0.82)),
        radial-gradient(circle at top right, rgba(201, 169, 97, 0.20), transparent 34%);
}

.system-card::after,
.project-showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color 0.25s ease;
    pointer-events: none;
}

.system-card:hover::after,
.project-showcase-card:hover::after {
    border-color: rgba(201, 169, 97, 0.85);
}

.system-card-content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    z-index: 2;
}

.system-card-content span,
.project-showcase-content span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--brass-light);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.system-card-content h3,
.project-showcase-content h3 {
    margin: 0;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.045em;
}

.system-card-content p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.system-card-content strong,
.project-showcase-content strong {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brass-light);
    font-weight: 950;
}

/* Featured Product Cards */
.featured-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.premium-product-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.premium-product-media {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: var(--charcoal);
}

.premium-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--brass-light);
    background: rgba(10, 14, 20, 0.78);
    border: 1px solid rgba(201, 169, 97, 0.35);
    font-size: 12px;
    font-weight: 950;
}

.premium-product-body {
    padding: 26px;
}

.premium-product-body h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.premium-product-body p {
    margin: 13px 0 0;
    color: var(--ink-muted);
    line-height: 1.75;
}

.premium-product-body small {
    display: block;
    margin-top: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.premium-product-body a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brass);
    font-weight: 950;
}

/* Premium Services */
.premium-services-section {
    position: relative;
    overflow: hidden;
}

.premium-services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 76px 76px;
}

.premium-services-section .container {
    position: relative;
    z-index: 2;
}

.premium-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.premium-service-card {
    position: relative;
    min-height: 320px;
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(201, 169, 97, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    box-shadow: 0 24px 75px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.premium-service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(201, 169, 97, 0.70);
}

.service-count {
    position: absolute;
    top: 26px;
    right: 26px;
    color: rgba(201, 169, 97, 0.35);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
}

.premium-service-card h3 {
    margin: 24px 0 0;
    color: var(--white);
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.premium-service-card p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.premium-service-card a {
    display: inline-flex;
    margin-top: 20px;
    color: var(--brass-light);
    font-weight: 950;
}

/* Project Showcase */
.project-showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 260px);
    gap: 24px;
}

.project-showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--obsidian);
    box-shadow: var(--shadow-soft);
}

.project-showcase-large {
    grid-row: span 2;
}

.project-showcase-content {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.project-showcase-content h3 {
    font-size: 34px;
}

.project-showcase-large .project-showcase-content h3 {
    font-size: clamp(42px, 5vw, 62px);
}

.project-showcase-content p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1050px) {
    .systems-grid,
    .featured-product-grid,
    .premium-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .project-showcase-card,
    .project-showcase-large {
        min-height: 340px;
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .systems-grid,
    .featured-product-grid,
    .premium-service-grid {
        grid-template-columns: 1fr;
    }

    .system-card {
        min-height: 360px;
    }

    .premium-product-media {
        height: 240px;
    }

    .premium-service-card {
        min-height: auto;
    }

    .project-showcase-card,
    .project-showcase-large {
        min-height: 300px;
    }
}

/* Phase 16C: Fix Remaining Home Sections */

/* Process Timeline */
.process-section {
    background:
        radial-gradient(circle at top center, rgba(201, 169, 97, 0.08), transparent 34%),
        linear-gradient(180deg, var(--pearl), #ffffff);
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.process-grid::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.7), transparent);
}

.process-card {
    position: relative;
    z-index: 2;
    min-height: 240px;
    padding: 22px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(10, 14, 20, 0.10);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 97, 0.65);
    box-shadow: var(--shadow);
}

.process-card span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 999px;
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 900;
}

.process-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
}

.process-card p {
    margin: 12px 0 0;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 410px;
    gap: 44px;
    align-items: center;
}

.why-content .section-subtitle {
    color: rgba(255, 255, 255, 0.74);
}

.why-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.why-points div,
.why-card {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(201, 169, 97, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.why-points div {
    padding: 20px;
}

.why-points strong,
.why-points span {
    display: block;
}

.why-points strong {
    color: var(--brass-light);
    font-size: 17px;
    font-weight: 900;
}

.why-points span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.why-card {
    padding: 36px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.why-number {
    display: block;
    color: var(--brass-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 78px;
    line-height: 0.9;
    font-weight: 900;
}

.why-card h3 {
    margin: 22px 0 0;
    color: var(--white);
    font-size: 32px;
    line-height: 1.05;
}

.why-card p {
    margin: 16px 0 24px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

/* Industries */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.industry-card {
    position: relative;
    min-height: 130px;
    display: grid;
    place-items: end start;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(10, 14, 20, 0.18), rgba(10, 14, 20, 0.80)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 16px;
    height: 2px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

/* Testimonials */
.testimonial-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 4px;
    border-radius: 999px;
    background: var(--brass);
    transform: scaleY(0.35);
    transform-origin: top;
    transition: transform 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--brass);
}

.testimonial-card p {
    margin: 0;
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    line-height: 1.55;
    font-style: italic;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
}

.testimonial-client img,
.testimonial-client span {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.testimonial-client img {
    object-fit: cover;
}

.testimonial-client span {
    display: grid;
    place-items: center;
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    font-weight: 950;
}

.testimonial-client strong,
.testimonial-client small {
    display: block;
}

.testimonial-client strong {
    font-weight: 950;
}

.testimonial-client small {
    margin-top: 3px;
    color: var(--ink-muted);
}

/* CTA Band */
.cta-section {
    padding: 86px 0;
    background: var(--white);
}

.cta-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 48px;
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(201, 169, 97, 0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(74, 111, 165, 0.22), transparent 34%),
        var(--obsidian);
    box-shadow: var(--shadow);
}

.cta-card h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.cta-card p {
    max-width: 740px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Header fixed offset improvement */
main {
    overflow: hidden;
}

/* Responsive fixes */
@media (max-width: 1100px) {
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-grid::before {
        display: none;
    }

    .why-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .process-grid,
    .why-points,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
    }

    .why-card,
    .cta-card {
        padding: 28px;
    }

    .why-number {
        font-size: 58px;
    }

    .industry-card {
        min-height: 110px;
    }

    .testimonial-card p {
        font-size: 18px;
    }

    .cta-actions {
        flex-direction: column;
    }
}

/* Phase 16D: Responsive Polish + Final Home Cleanup */

@media (min-width: 1101px) {
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-grid::before {
        display: none;
    }

    .process-card {
        min-height: 230px;
    }
}

@media (min-width: 1300px) {
    .process-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .process-grid::before {
        display: block;
    }
}

/* Better sticky header spacing after hero */
.site-header.is-scrolled,
body.nav-open .site-header {
    background: rgba(10, 14, 20, 0.94);
}

/* Hero mobile/readability polish */
@media (max-width: 900px) {
    .hero-section {
        padding-top: 110px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-right {
        min-height: 280px;
    }

    .hero-glass-panel {
        inset: 0;
    }

    .hero-stats div {
        padding: 14px 16px;
    }

    .hero-stats strong {
        font-size: 28px;
    }
}

@media (max-width: 720px) {
    .hero-section {
        padding-top: 105px;
        padding-bottom: 54px;
    }

    .hero-title {
        font-size: clamp(38px, 13vw, 56px);
        line-height: 0.96;
    }

    .hero-kicker,
    .eyebrow {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .hero-text,
    .section-subtitle {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-right {
        min-height: 230px;
    }

    .hero-panel-lines {
        inset: 22px;
    }

    .hero-panel-label {
        left: 18px;
        bottom: 18px;
        font-size: 9px;
        padding: 9px 12px;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stats div {
        border-radius: 14px;
    }

    .hero-stats strong {
        font-size: 24px;
    }

    .hero-stats span {
        font-size: 11px;
    }
}

/* Section spacing improvement */
.section {
    scroll-margin-top: 90px;
}

.section-header.center {
    max-width: 860px;
}

@media (max-width: 720px) {
    .section {
        padding: 58px 0;
    }

    .section-title {
        font-size: clamp(32px, 11vw, 46px);
    }

    .section-header {
        margin-bottom: 28px;
    }
}

/* Premium card readability */
.system-card-content h3,
.project-showcase-content h3 {
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
}

.system-card-content p,
.project-showcase-content p {
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.premium-product-body h3,
.premium-service-card h3,
.process-card h3,
.testimonial-card p {
    word-break: normal;
}

/* Process section should not look squeezed */
.process-card {
    display: flex;
    flex-direction: column;
}

.process-card p {
    font-size: 14px;
}

@media (max-width: 720px) {
    .process-card {
        min-height: auto;
        padding: 20px;
    }

    .process-card span {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }
}

/* Why choose section spacing */
.why-points div {
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.why-points div:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.55);
    background: rgba(255, 255, 255, 0.09);
}

/* CTA better responsive */
@media (max-width: 720px) {
    .cta-section {
        padding: 58px 0;
    }

    .cta-card h2 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .cta-card p {
        font-size: 15px;
    }
}

/* Footer mobile cleanup */
@media (max-width: 720px) {
    .footer-grid {
        gap: 30px;
        padding: 54px 0;
    }

    .footer-col {
        gap: 9px;
    }

    .footer-bottom a {
        width: 100%;
        text-align: left;
    }
}

/* Phase 16E: Final Homepage Credibility Polish */

/* Trust Strip */
.trust-strip {
    position: relative;
    padding: 28px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(10, 14, 20, 0.08);
}

.trust-strip-inner {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: center;
}

.trust-strip p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}

.trust-brand-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
}

.trust-brand-row span {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 999px;
    color: rgba(10, 14, 20, 0.45);
    background: #f4f5f6;
    border: 1px solid rgba(10, 14, 20, 0.06);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.trust-brand-row span:hover {
    color: var(--obsidian);
    border-color: rgba(201, 169, 97, 0.55);
    transform: translateY(-2px);
}

/* Hero stats spacing */
.hero-stats {
    gap: 20px;
}

.hero-stats div {
    min-width: 152px;
}

/* Testimonials premium quote */
.testimonial-card {
    isolation: isolate;
}

.testimonial-card::after {
    content: "“";
    position: absolute;
    right: 24px;
    top: 8px;
    z-index: -1;
    color: rgba(201, 169, 97, 0.16);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 118px;
    line-height: 1;
    font-weight: 900;
}

.testimonial-rating {
    color: var(--brass);
}

.testimonial-card::before {
    width: 5px;
    background: linear-gradient(180deg, var(--brass-light), var(--brass));
}

/* CTA glow boost */
.cta-card::before,
.cta-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(4px);
}

.cta-card::before {
    width: 360px;
    height: 360px;
    left: -140px;
    top: -160px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.30), transparent 65%);
}

.cta-card::after {
    width: 420px;
    height: 420px;
    right: -170px;
    bottom: -190px;
    background: radial-gradient(circle, rgba(74, 111, 165, 0.32), transparent 66%);
}

.cta-card > * {
    position: relative;
    z-index: 2;
}

/* Sectors stronger hover feedback */
.industry-card {
    isolation: isolate;
}

.industry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.05), rgba(201, 169, 97, 0.20));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.industry-card:hover::before {
    opacity: 1;
}

/* Better featured product image crop */
.premium-product-media img {
    object-position: center;
}

@media (max-width: 1050px) {
    .trust-strip-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .trust-brand-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stats {
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .trust-strip {
        padding: 24px 0;
    }

    .trust-brand-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-brand-row span {
        min-height: 42px;
        font-size: 12px;
    }

    .hero-stats div {
        min-width: 0;
    }

    .testimonial-card::after {
        right: 18px;
        top: 10px;
        font-size: 88px;
    }
}

/* Phase 17A: Premium Products Page + Details */

.premium-page-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 92px;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 169, 97, 0.20), transparent 34%),
        radial-gradient(circle at 92% 24%, rgba(74, 111, 165, 0.22), transparent 36%),
        linear-gradient(135deg, var(--obsidian), var(--charcoal));
}

.premium-page-grid {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.premium-page-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.premium-page-glow-gold {
    width: 440px;
    height: 440px;
    left: -160px;
    top: -160px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.22), transparent 66%);
}

.premium-page-glow-blue {
    width: 500px;
    height: 500px;
    right: -190px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(74, 111, 165, 0.24), transparent 66%);
}

.premium-page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 22px;
    color: rgba(255,255,255,0.50);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.page-breadcrumb a:hover {
    color: var(--brass-light);
}

.page-breadcrumb strong {
    color: var(--brass-light);
}

.premium-page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.premium-page-hero p:not(.hero-kicker) {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255,255,255,0.74);
    font-size: 18px;
    line-height: 1.8;
}

/* Product Listing */
.premium-catalog-section {
    padding: 0 0 92px;
    background: var(--pearl);
}

.premium-filter-bar {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px 140px 120px;
    gap: 16px;
    align-items: end;
    margin-top: -50px;
    margin-bottom: 44px;
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(10,14,20,0.08);
    background: var(--white);
    box-shadow: var(--shadow);
}

.premium-filter-bar .form-group {
    margin-bottom: 0;
}

.premium-filter-bar label {
    color: var(--ink-muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.premium-filter-btn,
.premium-reset-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 950;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.premium-filter-btn {
    color: var(--white);
    background: var(--obsidian);
}

.premium-filter-btn:hover {
    color: var(--obsidian);
    background: var(--brass);
    transform: translateY(-2px);
}

.premium-reset-btn {
    color: var(--obsidian);
    border-color: rgba(10,14,20,0.14);
    background: var(--white);
}

.premium-reset-btn:hover {
    border-color: rgba(201,169,97,0.60);
    transform: translateY(-2px);
}

.premium-product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-page-card .premium-product-media {
    aspect-ratio: 4 / 3;
    height: auto;
}

.product-page-card .premium-product-body h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.product-page-card .premium-product-body a {
    position: relative;
}

.product-page-card .premium-product-body a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.product-page-card:hover .premium-product-body a::after {
    transform: scaleX(1);
}

.premium-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.premium-pagination a {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(10,14,20,0.12);
    background: var(--white);
    font-weight: 900;
}

.premium-pagination a.is-active,
.premium-pagination a:hover {
    color: var(--obsidian);
    background: var(--brass);
    border-color: var(--brass);
}

.premium-empty-state {
    max-width: 720px;
    margin: 0 auto;
    padding: 54px;
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(10,14,20,0.16);
    background: var(--white);
}

.premium-empty-state h2 {
    margin: 0;
    font-size: 42px;
}

.premium-empty-state p {
    margin: 12px 0 26px;
    color: var(--ink-muted);
}

/* Product Detail */
.product-detail-section {
    background: var(--pearl);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr);
    gap: 38px;
    align-items: start;
}

.product-gallery,
.product-info-panel {
    border-radius: var(--radius-xl);
}

.product-main-image-wrap {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--obsidian);
    box-shadow: var(--shadow);
}

.product-main-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.product-thumb {
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 18px;
    background: transparent;
}

.product-thumb.is-active,
.product-thumb:hover {
    border-color: var(--brass);
}

.product-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-info-panel {
    position: sticky;
    top: 110px;
    padding: 32px;
    background: var(--white);
    border: 1px solid rgba(10,14,20,0.08);
    box-shadow: var(--shadow-soft);
}

.static-tag {
    position: static;
    margin-bottom: 18px;
}

.product-info-panel h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.052em;
}

.product-info-panel > p {
    margin: 18px 0 0;
    color: var(--ink-muted);
    line-height: 1.75;
}

.product-key-features {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(10,14,20,0.10);
}

.product-key-features h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.product-key-features ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-key-features li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.product-key-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 10px;
    height: 2px;
    background: var(--brass);
}

.product-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.product-whatsapp-btn {
    color: #0b3d1c;
    background: #dff7e8;
    border-color: #9be7b7;
}

.product-spec-section {
    background: var(--white);
}

.spec-grid {
    display: grid;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(10,14,20,0.08);
    box-shadow: var(--shadow-soft);
}

.spec-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 20px 24px;
    background: var(--white);
    border-bottom: 1px solid rgba(10,14,20,0.08);
    border-left: 4px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.spec-row:nth-child(even) {
    background: var(--pearl);
}

.spec-row:hover {
    border-left-color: var(--brass);
    background: rgba(201,169,97,0.08);
}

.spec-row span {
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.spec-row strong {
    color: var(--ink);
    line-height: 1.55;
}

.product-description-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
}

.product-long-description {
    padding: 34px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.product-long-description h3 {
    margin: 0 0 12px;
    font-size: 28px;
}

.product-long-description h3:not(:first-child) {
    margin-top: 28px;
}

.product-long-description p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.85;
}

.mobile-product-inquiry-bar {
    display: none;
}

@media (max-width: 1050px) {
    .premium-filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .premium-product-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-layout,
    .product-description-grid {
        grid-template-columns: 1fr;
    }

    .product-info-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .premium-page-hero {
        padding: 120px 0 74px;
    }

    .premium-page-hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .premium-filter-bar {
        grid-template-columns: 1fr;
        margin-top: -36px;
        padding: 18px;
    }

    .premium-product-list-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-actions {
        grid-template-columns: 1fr;
    }

    .product-thumbnails {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-long-description {
        padding: 24px;
    }

    .mobile-product-inquiry-bar {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 900;
        display: block;
    }

    .mobile-product-inquiry-bar a {
        min-height: 52px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        color: var(--obsidian);
        background: linear-gradient(135deg, var(--brass-light), var(--brass));
        box-shadow: 0 18px 45px rgba(10,14,20,0.25);
        font-weight: 950;
    }
}

/* Phase 17B: Product CTA + Thumbnail + Card Alignment Fix */

.product-detail-actions .btn-primary {
    color: var(--obsidian);
    background: #C9A961;
    border-color: #C9A961;
    box-shadow: 0 18px 42px rgba(201, 169, 97, 0.32);
}

.product-detail-actions .btn-primary:hover {
    background: #E4CB82;
    border-color: #E4CB82;
}

.product-whatsapp-btn {
    color: #ffffff;
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.22);
}

.product-whatsapp-btn::before {
    content: "◔";
    font-size: 15px;
    line-height: 1;
}

.product-whatsapp-btn:hover {
    color: #ffffff;
    background: #1ebe5d;
    border-color: #1ebe5d;
}

.product-thumb img {
    display: block;
    background: #f3f4f6;
}

.premium-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-product-body {
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.premium-product-body p {
    flex: 1;
}

.premium-product-body small {
    min-height: 34px;
}

.premium-product-body a {
    margin-top: auto;
    padding-top: 14px;
}

.product-page-card .premium-product-body {
    min-height: 280px;
}

@media (max-width: 720px) {
    .premium-product-body,
    .product-page-card .premium-product-body {
        min-height: auto;
    }

    .premium-product-body small {
        min-height: auto;
    }
}

/* Phase 18A: Premium Services Page Fix */

.services-page-hero {
    padding-bottom: 88px;
}

.services-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 48px;
    align-items: center;
}

.services-hero-visual {
    display: flex;
    justify-content: flex-end;
}

.services-hero-panel {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 4.5;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.14);
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0,0,0,0.24);
    backdrop-filter: blur(10px);
}

.services-hero-panel::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 28px;
    border: 1px solid rgba(201, 169, 97, 0.34);
}

.services-hero-panel-inner {
    position: absolute;
    inset: 54px;
    border-radius: 24px;
    border: 1px solid rgba(201, 169, 97, 0.26);
}

.services-hero-panel-lines {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 58px 58px;
}

.services-hero-panel-label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--white);
    background: rgba(10,14,20,0.74);
    border: 1px solid rgba(201,169,97,0.28);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Image-based service cards */
.services-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.service-image-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--obsidian);
    box-shadow: var(--shadow-soft);
}

.service-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-image-card:hover img {
    transform: scale(1.06);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,14,20,0.06), rgba(10,14,20,0.86)),
        radial-gradient(circle at top right, rgba(201,169,97,0.16), transparent 34%);
}

.service-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.22s ease;
    pointer-events: none;
}

.service-image-card:hover::after {
    border-color: rgba(201,169,97,0.82);
}

.service-image-content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    z-index: 2;
}

.service-image-content span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--brass-light);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.service-image-content h2 {
    margin: 0;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.048em;
    text-shadow: 0 6px 20px rgba(0,0,0,0.38);
}

.service-image-content p {
    margin: 12px 0 0;
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
    text-shadow: 0 4px 16px rgba(0,0,0,0.34);
}

.service-image-content strong {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brass-light);
    font-weight: 950;
}

/* Process strip */
.services-process-band {
    background:
        radial-gradient(circle at top center, rgba(201,169,97,0.08), transparent 34%),
        linear-gradient(180deg, var(--white), var(--pearl));
}

.service-process-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 10px;
}

.service-process-line {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,97,0.65), transparent);
}

.service-process-step {
    position: relative;
    z-index: 2;
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(10,14,20,0.08);
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-process-step:hover {
    transform: translateY(-5px);
    border-color: rgba(201,169,97,0.55);
    box-shadow: var(--shadow);
}

.service-process-step span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--brass-light), var(--brass));
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 900;
}

.service-process-step h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.08;
}

.service-process-step p {
    margin: 10px 0 0;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* Services CTA */
.services-cta-section {
    background: var(--pearl);
    padding-top: 22px;
}

.services-cta-card {
    background:
        radial-gradient(circle at top left, rgba(201,169,97,0.24), transparent 34%),
        radial-gradient(circle at bottom right, rgba(74,111,165,0.26), transparent 36%),
        linear-gradient(135deg, var(--obsidian), var(--charcoal));
}

@media (max-width: 1100px) {
    .services-hero-layout {
        grid-template-columns: 1fr;
    }

    .services-hero-visual {
        justify-content: flex-start;
    }

    .services-image-grid,
    .service-process-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-process-line {
        display: none;
    }
}

@media (max-width: 720px) {
    .services-page-hero {
        padding-bottom: 70px;
    }

    .services-hero-panel {
        max-width: 100%;
        aspect-ratio: 4 / 3.7;
    }

    .services-image-grid,
    .service-process-strip {
        grid-template-columns: 1fr;
    }

    .service-image-card {
        min-height: 360px;
    }

    .service-image-content h2 {
        font-size: 28px;
    }

    .service-process-step {
        padding: 20px;
    }
}

/* Phase 18B: Premium Service Details Page */

.service-detail-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 150px 0 82px;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.service-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,14,20,0.52), rgba(10,14,20,0.86)),
        radial-gradient(circle at top right, rgba(201,169,97,0.22), transparent 34%);
}

.service-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 72px 72px;
}

.service-detail-hero-content {
    position: relative;
    z-index: 2;
}

.service-detail-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(50px, 7vw, 94px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.service-detail-hero p:not(.hero-kicker) {
    max-width: 740px;
    margin: 18px 0 0;
    color: rgba(255,255,255,0.76);
    font-size: 18px;
    line-height: 1.8;
}

/* Main Detail Layout */
.service-detail-main-section {
    background: var(--pearl);
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
    gap: 40px;
    align-items: start;
}

.service-detail-content {
    padding: 38px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(10,14,20,0.08);
}

.service-detail-content > p:not(.eyebrow) {
    margin: 22px 0 0;
    color: var(--ink-muted);
    line-height: 1.9;
    font-size: 17px;
}

.service-included-box {
    margin-top: 34px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--pearl);
    border: 1px solid rgba(10,14,20,0.08);
}

.service-included-box h3,
.service-mini-process h3 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.05;
}

.service-included-box ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-included-box li {
    position: relative;
    padding-left: 30px;
    color: var(--ink-muted);
    line-height: 1.65;
}

.service-included-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--obsidian);
    background: var(--brass);
    font-size: 12px;
    font-weight: 950;
}

.service-mini-process {
    margin-top: 34px;
}

.service-mini-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.service-mini-process-grid::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,97,0.70), transparent);
}

.service-mini-process-grid div {
    position: relative;
    z-index: 2;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(10,14,20,0.08);
}

.service-mini-process-grid span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 999px;
    color: var(--obsidian);
    background: var(--brass);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 900;
}

.service-mini-process-grid strong {
    display: block;
    font-size: 14px;
}

/* Sticky Inquiry */
.service-inquiry-panel {
    position: sticky;
    top: 110px;
}

.service-inquiry-card {
    padding: 30px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid rgba(10,14,20,0.08);
    box-shadow: var(--shadow);
}

.service-inquiry-card h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.05;
}

.service-inquiry-card > p:not(.eyebrow) {
    margin: 12px 0 24px;
    color: var(--ink-muted);
    line-height: 1.7;
}

.service-mini-form .btn {
    width: 100%;
}

.service-direct-contact {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(10,14,20,0.10);
}

.service-direct-contact span {
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.service-phone-link {
    color: var(--brass);
    font-size: 22px;
    font-weight: 950;
}

.service-whatsapp-link {
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: #25D366;
    font-weight: 950;
}

/* Gallery */
.service-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-auto-rows: 260px;
    gap: 22px;
}

.service-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    background: var(--obsidian);
}

.service-gallery-item:first-child {
    grid-row: span 2;
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.service-gallery-item:hover img {
    transform: scale(1.06);
}

.related-service-card {
    min-height: 360px;
}

@media (max-width: 1050px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-inquiry-panel {
        position: static;
    }

    .service-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-gallery-item:first-child {
        grid-row: auto;
    }

    .service-mini-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-mini-process-grid::before {
        display: none;
    }
}

@media (max-width: 720px) {
    .service-detail-hero {
        min-height: 58vh;
        padding: 120px 0 62px;
    }

    .service-detail-hero h1 {
        font-size: clamp(42px, 13vw, 62px);
    }

    .service-detail-content,
    .service-inquiry-card {
        padding: 24px;
    }

    .service-mini-process-grid,
    .service-gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-gallery-grid {
        grid-auto-rows: 240px;
    }

    .service-inquiry-card h2 {
        font-size: 30px;
    }
}

/* Phase 18C: Navbar State Fix + Service Detail CTA Fix */

/* Default navbar state: solid obsidian for all inner pages and scrolled state */
.site-header {
    background: rgba(10, 14, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.nav-container {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Home page only: transparent before scroll */
body.home-page .site-header:not(.is-scrolled):not(.nav-open) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

body.home-page .site-header:not(.is-scrolled):not(.nav-open) .nav-container {
    padding-top: 22px;
    padding-bottom: 22px;
}

/* Inner pages: always solid */
body.inner-page .site-header {
    background: rgba(10, 14, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

/* Brand and link colors */
.brand-text strong {
    color: #ffffff;
}

.brand-text small {
    color: #9AA3AD;
}

.site-nav a {
    color: #ffffff;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #C9A961;
}

.site-nav a.is-active::after {
    transform: scaleX(1);
    background: #C9A961;
}

/* CTA exact premium gold spec */
.nav-cta {
    color: #0A0E14;
    background: #C9A961;
    box-shadow: 0 16px 44px rgba(201, 169, 97, 0.22);
}

.nav-cta:hover {
    background: #D9BC78;
    box-shadow: 0 18px 56px rgba(201, 169, 97, 0.40);
}

/* Inner page header clearance from fixed navbar */
body.inner-page .premium-page-hero,
body.inner-page .page-hero {
    padding-top: 200px;
}

body.inner-page .service-detail-hero {
    padding-top: 200px;
}

/* Fix service listing header overlap */
.services-page-hero {
    padding-top: 200px;
}

/* Service details Send Inquiry button exact gold */
.service-mini-form .btn-primary,
.service-inquiry-card .btn-primary {
    color: #0A0E14;
    background: #C9A961;
    border-color: #C9A961;
    box-shadow: 0 18px 42px rgba(201, 169, 97, 0.30);
}

.service-mini-form .btn-primary:hover,
.service-inquiry-card .btn-primary:hover {
    color: #0A0E14;
    background: #D9BC78;
    border-color: #D9BC78;
    box-shadow: 0 18px 52px rgba(201, 169, 97, 0.42);
}

/* Service details direct phone styling */
.service-phone-link {
    display: inline-flex;
    color: #C9A961;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.service-phone-link:hover {
    color: #D9BC78;
}

/* WhatsApp remains strong green */
.service-whatsapp-link {
    color: #ffffff;
    background: #25D366;
}

.service-whatsapp-link:hover {
    color: #ffffff;
    background: #1ebe5d;
}

/* Mobile navbar panel should remain solid */
body.nav-open .site-header {
    background: rgba(10, 14, 20, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

@media (max-width: 720px) {
    .nav-container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    body.home-page .site-header:not(.is-scrolled):not(.nav-open) .nav-container {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body.inner-page .premium-page-hero,
    body.inner-page .page-hero,
    body.inner-page .service-detail-hero,
    .services-page-hero {
        padding-top: 140px;
    }
}

/* Phase 18D: Hard Navbar Position + Active Link Fix */

/* Force navbar to always stay fixed at top */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5000 !important;
}

/* Inner pages should keep solid navbar */
body.inner-page .site-header,
.site-header.is-scrolled,
body.nav-open .site-header {
    background: rgba(10, 14, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22) !important;
}

/* Home page only transparent before scroll */
body.home-page .site-header:not(.is-scrolled):not(.nav-open) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Make sure nav text is always readable */
.site-nav a {
    color: #ffffff !important;
}

/* Active and hover link */
.site-nav a:hover,
.site-nav a.is-active {
    color: #C9A961 !important;
}

/* Gold underline for active page */
.site-nav a.is-active::after {
    transform: scaleX(1) !important;
    background: #C9A961 !important;
}

/* CTA button exact style */
.nav-cta {
    color: #0A0E14 !important;
    background: #C9A961 !important;
}

.nav-cta:hover {
    background: #D9BC78 !important;
    box-shadow: 0 18px 56px rgba(201, 169, 97, 0.40) !important;
}

/* Ensure hero content clears fixed navbar */
body.inner-page .premium-page-hero,
body.inner-page .page-hero,
body.inner-page .service-detail-hero,
.services-page-hero {
    padding-top: 200px !important;
}

@media (max-width: 720px) {
    body.inner-page .premium-page-hero,
    body.inner-page .page-hero,
    body.inner-page .service-detail-hero,
    .services-page-hero {
        padding-top: 145px !important;
    }
}

/* Phase 19A: Premium Projects List + Details */

/* Hard navbar guarantee */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9000 !important;
}

body.inner-page .site-header,
.site-header.is-scrolled,
body.nav-open .site-header {
    background: rgba(10, 14, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
}

.projects-page-hero {
    padding-top: 200px !important;
}

.projects-list-section {
    background: var(--pearl);
    padding-top: 64px;
}

/* Filter Pills */
.project-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.project-filter-pills a {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--obsidian);
    background: var(--white);
    border: 1px solid rgba(10, 14, 20, 0.10);
    box-shadow: 0 10px 28px rgba(10,14,20,0.05);
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-filter-pills a:hover,
.project-filter-pills a.is-active {
    color: var(--obsidian);
    background: var(--brass);
    border-color: var(--brass);
    transform: translateY(-2px);
}

/* Magazine masonry list */
.premium-project-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 280px;
    gap: 24px;
}

.premium-project-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--obsidian);
    box-shadow: var(--shadow-soft);
}

.premium-project-tile.is-large {
    grid-row: span 2;
}

.premium-project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.premium-project-tile:hover img {
    transform: scale(1.06);
}

.premium-project-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,14,20,0.06), rgba(10,14,20,0.84)),
        radial-gradient(circle at top right, rgba(201,169,97,0.20), transparent 34%);
}

.premium-project-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.22s ease;
    pointer-events: none;
}

.premium-project-tile:hover::after {
    border-color: rgba(201,169,97,0.82);
}

.premium-project-hover {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.premium-project-hover span {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--obsidian);
    background: var(--brass);
    font-size: 12px;
    font-weight: 950;
}

.premium-project-tile:hover .premium-project-hover {
    opacity: 1;
    transform: translateY(0);
}

.premium-project-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.premium-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.premium-project-tags span {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--brass-light);
    background: rgba(10,14,20,0.78);
    border: 1px solid rgba(201,169,97,0.28);
    font-size: 11px;
    font-weight: 950;
}

.premium-project-content h2 {
    margin: 0;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 6px 22px rgba(0,0,0,0.42);
}

.premium-project-tile.is-large .premium-project-content h2 {
    font-size: clamp(40px, 5vw, 58px);
}

.premium-project-content p {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.74);
    line-height: 1.6;
}

.premium-project-content strong {
    display: inline-flex;
    margin-top: 16px;
    color: var(--brass-light);
    font-weight: 950;
}

/* Project Details */
.project-detail-hero {
    position: relative;
    min-height: 66vh;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 200px 0 82px;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.project-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,14,20,0.46), rgba(10,14,20,0.88)),
        radial-gradient(circle at top right, rgba(201,169,97,0.22), transparent 34%);
}

.project-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 72px 72px;
}

.project-detail-hero-content {
    position: relative;
    z-index: 2;
}

.project-detail-hero h1 {
    max-width: 1050px;
    margin: 0;
    font-size: clamp(48px, 7vw, 90px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.project-detail-hero p:not(.hero-kicker) {
    max-width: 780px;
    margin: 18px 0 0;
    color: rgba(255,255,255,0.76);
    font-size: 18px;
    line-height: 1.8;
}

.project-detail-main-section {
    background: var(--pearl);
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
    gap: 38px;
    align-items: start;
}

.project-story-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid rgba(10,14,20,0.08);
    box-shadow: var(--shadow-soft);
}

.project-story-image {
    overflow: hidden;
    background: var(--obsidian);
}

.project-story-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-story-content {
    padding: 34px;
}

.project-story-content h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.05;
}

.project-story-content > p {
    margin: 16px 0 0;
    color: var(--ink-muted);
    line-height: 1.85;
}

.project-story-sections {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.project-story-sections section {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--pearl);
    border: 1px solid rgba(10,14,20,0.08);
}

.project-story-sections h3 {
    margin: 0 0 10px;
    font-size: 26px;
}

.project-story-sections p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.75;
}

.project-info-card {
    position: sticky;
    top: 116px;
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid rgba(10,14,20,0.08);
    box-shadow: var(--shadow);
}

.project-info-card h2 {
    margin: 0 0 24px;
    font-size: 36px;
    line-height: 1;
}

.project-info-list {
    display: grid;
    gap: 18px;
    margin: 0;
}

.project-info-list dt {
    color: var(--ink-muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.project-info-list dd {
    margin: 5px 0 0;
    color: var(--ink);
    line-height: 1.55;
}

.project-info-cta {
    display: grid;
    gap: 13px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(10,14,20,0.10);
}

.project-info-cta h3 {
    margin: 0;
    font-size: 24px;
}

.project-info-cta p {
    margin: 0 0 8px;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* Gallery */
.project-gallery-masonry {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-auto-rows: 230px;
    gap: 22px;
}

.project-gallery-tile {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--obsidian);
    box-shadow: var(--shadow-soft);
}

.project-gallery-tile.is-large {
    grid-row: span 2;
}

.project-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.project-gallery-tile:hover img {
    transform: scale(1.06);
}

.premium-project-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.related-project-tile {
    min-height: 360px;
}

/* Lightbox */
.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(10,14,20,0.92);
    backdrop-filter: blur(12px);
}

.project-lightbox[hidden] {
    display: none;
}

.project-lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 100px rgba(0,0,0,0.45);
}

.project-lightbox-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--obsidian);
    background: var(--brass);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

body.gallery-open {
    overflow: hidden;
}

@media (max-width: 1050px) {
    .premium-project-masonry,
    .premium-project-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-detail-layout {
        grid-template-columns: 1fr;
    }

    .project-info-card {
        position: static;
    }

    .project-gallery-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .project-gallery-tile.is-large {
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .projects-page-hero,
    .project-detail-hero {
        padding-top: 145px !important;
    }

    .premium-project-masonry,
    .premium-project-related-grid,
    .project-gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .premium-project-tile,
    .premium-project-tile.is-large,
    .project-gallery-tile {
        min-height: 340px;
        grid-row: auto;
    }

    .project-gallery-tile img {
        aspect-ratio: 4 / 3;
    }

    .project-story-content,
    .project-info-card {
        padding: 24px;
    }

    .project-detail-hero h1 {
        font-size: clamp(42px, 13vw, 62px);
    }
}

/* Phase 19B.1: Permanent Navbar Lock */
html body .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    z-index: 999999 !important;
    transform: translateZ(0);
}

html body.inner-page .site-header,
html body .site-header.is-scrolled,
html body.nav-open .site-header {
    background: rgba(10, 14, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22) !important;
}

html body.home-page .site-header:not(.is-scrolled):not(.nav-open) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

body.inner-page .premium-page-hero,
body.inner-page .project-detail-hero,
body.inner-page .service-detail-hero,
body.inner-page .page-hero {
    padding-top: 200px !important;
}

@media (max-width: 720px) {
    body.inner-page .premium-page-hero,
    body.inner-page .project-detail-hero,
    body.inner-page .service-detail-hero,
    body.inner-page .page-hero {
        padding-top: 145px !important;
    }
}

/* Phase 19B.2: Project Card Hover Overlay */
.premium-project-tile {
    isolation: isolate;
}

.premium-project-overlay {
    opacity: 1;
    transition: background 0.28s ease, opacity 0.28s ease;
}

.premium-project-content {
    transition: transform 0.28s ease;
}

.premium-project-content strong {
    opacity: 0.9;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.premium-project-hover {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.premium-project-tile:hover img {
    transform: scale(1.07);
}

.premium-project-tile:hover .premium-project-overlay {
    background:
        linear-gradient(180deg, rgba(10,14,20,0.10), rgba(10,14,20,0.94)),
        radial-gradient(circle at top right, rgba(201,169,97,0.34), transparent 38%);
}

.premium-project-tile:hover .premium-project-content {
    transform: translateY(-8px);
}

.premium-project-tile:hover .premium-project-content strong {
    opacity: 1;
    transform: translateX(5px);
}

.premium-project-tile:hover .premium-project-hover {
    opacity: 1;
    transform: translateY(0);
}

/* Phase 19B.3: Balanced 3 Project Layout */
.premium-project-masonry.three-project-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 440px;
}

.premium-project-masonry.three-project-layout .premium-project-tile,
.premium-project-masonry.three-project-layout .premium-project-tile.is-large {
    grid-row: auto !important;
}

@media (max-width: 1050px) {
    .premium-project-masonry.three-project-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 360px;
    }
}

@media (max-width: 720px) {
    .premium-project-masonry.three-project-layout {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .premium-project-masonry.three-project-layout .premium-project-tile {
        min-height: 340px;
    }
}

/* Project Gallery Lightbox */
.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(14px);
}

.project-lightbox[hidden] {
    display: none;
}

.project-lightbox img {
    max-width: min(1120px, 92vw);
    max-height: 86vh;
    border-radius: var(--radius-xl);
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.55);
}

.project-lightbox-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    color: #0A0E14;
    background: #C9A961;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

body.gallery-open {
    overflow: hidden;
}

.project-gallery-tile {
    cursor: zoom-in;
}

/* Final Navbar Rule: Solid navbar on every page */
.site-header,
body.home-page .site-header,
body.home-page .site-header:not(.is-scrolled),
body.home-page .site-header.is-scrolled,
body.inner-page .site-header,
body.inner-page .site-header.is-scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;

    background: rgba(10, 14, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22) !important;
}

/* All page hero sections must clear fixed navbar */
.hero-section,
.premium-page-hero,
.project-detail-hero,
.service-detail-hero,
.product-detail-hero,
.page-hero {
    padding-top: 150px !important;
}

@media (max-width: 720px) {
    .hero-section,
    .premium-page-hero,
    .project-detail-hero,
    .service-detail-hero,
    .product-detail-hero,
    .page-hero {
        padding-top: 125px !important;
    }
}

/* FINAL HARD RULE: Solid navbar on ALL pages, including Home */
html body.public-site.home-page .site-header,
html body.public-site.home-page .site-header:not(.is-scrolled),
html body.public-site.home-page .site-header:not(.is-scrolled):not(.nav-open),
html body.public-site.home-page .site-header.is-scrolled,
html body.public-site.inner-page .site-header,
html body.public-site.inner-page .site-header:not(.is-scrolled),
html body.public-site.inner-page .site-header.is-scrolled,
html body .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;

    background: rgba(10, 14, 20, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24) !important;
}

/* Stop old home transparent nav-container rules from visually changing header */
html body.public-site.home-page .site-header:not(.is-scrolled):not(.nav-open) .nav-container,
html body.public-site.home-page .site-header .nav-container,
html body.public-site.inner-page .site-header .nav-container {
    background: transparent !important;
}

/* Make nav text readable everywhere */
html body .site-header a,
html body .site-header .nav-link,
html body .site-header .brand-title {
    color: #ffffff !important;
}

html body .site-header .brand-tagline {
    color: #9AA3AD !important;
}

html body .site-header a:hover,
html body .site-header .nav-link:hover,
html body .site-header .nav-link.active,
html body .site-header a.active {
    color: #C9A961 !important;
}

/* All top sections must clear fixed navbar */
html body .hero-section,
html body .premium-page-hero,
html body .project-detail-hero,
html body .service-detail-hero,
html body .product-detail-hero,
html body .page-hero {
    padding-top: 150px !important;
}

/* =========================================================
   FINAL NAVBAR NORMALIZER
   Same solid navbar on Home, Products, Services, Projects, Contact
   ========================================================= */

html body.public-site .site-header,
html body.public-site.home-page .site-header,
html body.public-site.inner-page .site-header,
html body.public-site.home-page .site-header:not(.is-scrolled),
html body.public-site.home-page .site-header:not(.is-scrolled):not(.nav-open),
html body.public-site.home-page .site-header.is-scrolled,
html body.public-site.inner-page .site-header.is-scrolled,
html body.public-site.nav-open .site-header,
html body .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;

    height: 82px !important;
    min-height: 82px !important;
    padding: 0 !important;

    background: rgba(10, 14, 20, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24) !important;
}

/* Same internal navbar container height on all pages */
html body.public-site .site-header .nav-container,
html body.public-site.home-page .site-header .nav-container,
html body.public-site.home-page .site-header:not(.is-scrolled):not(.nav-open) .nav-container,
html body.public-site.inner-page .site-header .nav-container {
    height: 82px !important;
    min-height: 82px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    display: flex !important;
    align-items: center !important;
    background: transparent !important;
}

/* Keep logo block same size on all pages */
html body.public-site .site-brand,
html body.public-site .brand,
html body.public-site .brand-link {
    display: flex !important;
    align-items: center !important;
}

/* Keep nav links vertically centered */
html body.public-site .site-nav,
html body.public-site .nav-menu {
    display: flex !important;
    align-items: center !important;
}

/* Keep CTA same height everywhere */
html body.public-site .nav-cta,
html body.public-site .site-header .btn,
html body.public-site .site-header .btn-primary {
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Text color fixed */
html body.public-site .site-header a,
html body.public-site .site-header .nav-link,
html body.public-site .site-header .brand-title {
    color: #ffffff !important;
}

html body.public-site .site-header .brand-tagline {
    color: #9AA3AD !important;
}

html body.public-site .site-header a:hover,
html body.public-site .site-header .nav-link:hover,
html body.public-site .site-header .nav-link.active,
html body.public-site .site-header a.active {
    color: #C9A961 !important;
}

/* All hero/top sections clear fixed navbar equally */
html body.public-site .hero-section,
html body.public-site .premium-page-hero,
html body.public-site .project-detail-hero,
html body.public-site .service-detail-hero,
html body.public-site .product-detail-hero,
html body.public-site .page-hero {
    padding-top: 150px !important;
}

@media (max-width: 720px) {
    html body.public-site .site-header,
    html body.public-site .site-header .nav-container {
        height: 74px !important;
        min-height: 74px !important;
    }

    html body.public-site .hero-section,
    html body.public-site .premium-page-hero,
    html body.public-site .project-detail-hero,
    html body.public-site .service-detail-hero,
    html body.public-site .product-detail-hero,
    html body.public-site .page-hero {
        padding-top: 125px !important;
    }
}

/* =========================================================
   PHASE 23A: WhatsApp icon + premium contact page
   ========================================================= */

.whatsapp-icon {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    flex: 0 0 auto;
}

.has-whatsapp-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
}

.product-whatsapp-btn,
.service-whatsapp-link,
.whatsapp-action-btn {
    background: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.25) !important;
}

.product-whatsapp-btn:hover,
.service-whatsapp-link:hover,
.whatsapp-action-btn:hover {
    background: #1ebe5d !important;
    border-color: #1ebe5d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.footer-whatsapp-link .whatsapp-icon {
    width: 18px;
    height: 18px;
}

.contact-premium-hero {
    min-height: 420px;
}

.contact-hero-inner {
    max-width: 920px;
}

.contact-premium-section {
    background:
        radial-gradient(circle at 8% 18%, rgba(201, 169, 97, 0.08), transparent 32%),
        radial-gradient(circle at 88% 14%, rgba(58, 91, 130, 0.10), transparent 30%),
        #f7f8fa;
}

.contact-premium-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 34px;
    align-items: start;
}

.contact-premium-info {
    position: sticky;
    top: 112px;
}

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.contact-quick-card {
    min-height: 138px;
    border-radius: 24px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(10, 14, 20, 0.08);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    color: #0A0E14;
    text-decoration: none;
}

.contact-quick-card span {
    display: block;
    margin-bottom: 10px;
    color: #C9A961;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-quick-card strong {
    display: block;
    color: #0A0E14;
    font-size: 1.02rem;
    line-height: 1.45;
}

.contact-quick-card small {
    display: block;
    margin-top: 10px;
    color: #64748b;
    line-height: 1.5;
}

.contact-quick-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.35);
}

.contact-whatsapp-card {
    margin-top: 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    color: #ffffff;
    background:
        radial-gradient(circle at 10% 10%, rgba(201, 169, 97, 0.25), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(37, 211, 102, 0.18), transparent 35%),
        linear-gradient(135deg, #0A0E14, #111827 55%, #1d2e45);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

.contact-whatsapp-badge {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-whatsapp-badge .whatsapp-icon {
    width: 24px;
    height: 24px;
}

.contact-whatsapp-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin: 0 0 8px;
}

.contact-whatsapp-card p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.contact-process-mini {
    margin-top: 22px;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(10, 14, 20, 0.08);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.contact-process-mini h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    margin-bottom: 18px;
}

.contact-process-mini > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(10, 14, 20, 0.08);
}

.contact-process-mini span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #C9A961;
    color: #0A0E14;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.72rem;
}

.contact-process-mini strong {
    display: block;
    color: #0A0E14;
}

.contact-process-mini p {
    grid-column: 2;
    margin: -8px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.contact-premium-form-card {
    border-radius: 32px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid rgba(10, 14, 20, 0.08);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
}

.contact-form-header {
    margin-bottom: 24px;
}

.contact-form-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    margin: 0 0 12px;
    color: #0A0E14;
}

.contact-form-header p {
    color: #64748b;
    line-height: 1.7;
}

.contact-premium-form .form-group label {
    font-weight: 900;
    color: #0A0E14;
}

.contact-premium-form input,
.contact-premium-form select,
.contact-premium-form textarea {
    background: #f8fafc;
    border: 1px solid rgba(10, 14, 20, 0.12);
}

.contact-premium-form input:focus,
.contact-premium-form select:focus,
.contact-premium-form textarea:focus {
    border-color: rgba(201, 169, 97, 0.75);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.13);
}

.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-submit-btn {
    min-width: 190px;
}

.contact-map-section {
    padding-top: 0;
}

.premium-map-frame {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.14);
}

@media (max-width: 980px) {
    .contact-premium-grid {
        grid-template-columns: 1fr;
    }

    .contact-premium-info {
        position: static;
    }
}

@media (max-width: 640px) {
    .contact-premium-form-card {
        padding: 24px;
        border-radius: 24px;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
    }

    .contact-whatsapp-card {
        grid-template-columns: 1fr;
    }

    .contact-form-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   FINAL WHATSAPP BUTTON NORMALIZER
   Same WhatsApp button style everywhere
   ========================================================= */

/* Kill old duplicate/tiny pseudo icon rules */
.product-whatsapp-btn::before,
.service-whatsapp-link::before,
.whatsapp-action-btn::before,
.footer-whatsapp-link::before {
    content: none !important;
    display: none !important;
}

/* Same WhatsApp button for product, service, contact */
html body .whatsapp-action-btn,
html body .product-whatsapp-btn,
html body .service-whatsapp-link {
    min-height: 52px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    background: #25D366 !important;
    border: 1px solid #25D366 !important;
    color: #ffffff !important;

    font-weight: 900 !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    text-decoration: none !important;

    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.28) !important;
}

html body .whatsapp-action-btn:hover,
html body .product-whatsapp-btn:hover,
html body .service-whatsapp-link:hover {
    background: #1ebe5d !important;
    border-color: #1ebe5d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(37, 211, 102, 0.36) !important;
}

html body .whatsapp-action-btn .whatsapp-icon,
html body .product-whatsapp-btn .whatsapp-icon,
html body .service-whatsapp-link .whatsapp-icon {
    width: 19px !important;
    height: 19px !important;
    color: #ffffff !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
}

html body .whatsapp-action-btn span,
html body .product-whatsapp-btn span,
html body .service-whatsapp-link span {
    color: #ffffff !important;
    font-weight: 900 !important;
}

/* Product detail buttons should look balanced */
html body .product-detail-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

html body .product-detail-actions .btn {
    min-width: 142px !important;
}

/* Service detail WhatsApp should match contact page button */
html body .service-direct-contact .service-whatsapp-link {
    width: 100% !important;
    margin-top: 12px !important;
}

/* Footer WhatsApp should be real WhatsApp green, not gold */
html body .footer-social a.footer-whatsapp-link {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #25D366 !important;
    border: 1px solid #25D366 !important;
    color: #ffffff !important;

    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.25) !important;
}

html body .footer-social a.footer-whatsapp-link:hover {
    background: #1ebe5d !important;
    border-color: #1ebe5d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

html body .footer-social a.footer-whatsapp-link .whatsapp-icon {
    width: 20px !important;
    height: 20px !important;
    color: #ffffff !important;
}

/* =========================================================
   MOBILE HOME PAGE FIXES
   Keeps desktop unchanged, fixes cramped phone layout
   ========================================================= */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container,
    .site-container,
    .page-container,
    .section-container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Home hero mobile layout */
    .home-hero,
    .hero-section,
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 56px;
        overflow: hidden;
    }

    .home-hero .container,
    .hero-section .container,
    .hero .container,
    .home-hero-grid,
    .hero-grid,
    .hero-inner {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 28px;
        align-items: start;
    }

    .home-hero-content,
    .hero-content,
    .hero-copy {
        width: 100%;
        max-width: 100%;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .home-hero h1,
    .hero-section h1,
    .hero h1,
    .hero-title {
        font-size: clamp(2.55rem, 13vw, 4rem) !important;
        line-height: 0.92 !important;
        letter-spacing: -0.05em;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .home-hero p,
    .hero-section p,
    .hero p,
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.65;
        max-width: 100%;
    }

    .hero-actions,
    .home-hero-actions,
    .cta-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin-top: 22px;
    }

    .hero-actions .btn,
    .home-hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 46px;
    }

    /* Decorative right hero panel should not squeeze text on phone */
    .home-hero-visual,
    .hero-visual,
    .glass-panel-visual,
    .hero-art {
        width: 100%;
        max-width: 280px;
        margin: 10px auto 0;
        opacity: 0.95;
        transform: none !important;
    }

    /* Stats should become clean mobile cards */
    .hero-stats,
    .home-hero-stats,
    .stats-panel,
    .hero-metrics {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin-top: 18px;
        transform: none !important;
    }

    .hero-stats > *,
    .home-hero-stats > *,
    .stats-panel > *,
    .hero-metrics > * {
        min-width: 0;
        padding: 12px 8px;
        text-align: center;
    }

    .hero-stats strong,
    .home-hero-stats strong,
    .stats-panel strong,
    .hero-metrics strong {
        font-size: 1rem;
        line-height: 1;
    }

    .hero-stats span,
    .home-hero-stats span,
    .stats-panel span,
    .hero-metrics span {
        font-size: 0.68rem;
        line-height: 1.25;
    }

    /* Category pills */
    .category-pills,
    .home-category-pills,
    .quick-filter-pills {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .category-pills a,
    .home-category-pills a,
    .quick-filter-pills a {
        width: 100%;
        text-align: center;
        justify-content: center;
        white-space: normal;
    }

    /* Home cards */
    .home-service-grid,
    .home-products-grid,
    .home-project-grid,
    .service-grid,
    .product-grid,
    .project-grid {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }

    .service-card,
    .product-card,
    .project-card,
    .premium-card {
        width: 100%;
        max-width: 100%;
    }

    .service-image-card,
    .home-service-card,
    .premium-system-card {
        min-height: 390px;
    }

    .product-card img,
    .service-card img,
    .project-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Section headings on mobile */
    .section-title,
    .home-section-title,
    section h2 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1;
        letter-spacing: -0.04em;
    }
}

@media (max-width: 420px) {
    .home-hero h1,
    .hero-section h1,
    .hero h1,
    .hero-title {
        font-size: 2.75rem !important;
    }

    .hero-stats,
    .home-hero-stats,
    .stats-panel,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .home-hero-visual,
    .hero-visual,
    .glass-panel-visual,
    .hero-art {
        max-width: 240px;
    }

    .category-pills,
    .home-category-pills,
    .quick-filter-pills {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PHASE 24: REAL MOBILE HOME RESPONSIVE FIX
   Actual classes only. Desktop untouched.
   ========================================================= */

@media (max-width: 820px) {
    html,
    body.public-site {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .container {
        width: min(100% - 28px, var(--container)) !important;
    }

    /* Mobile header */
    html body.public-site .site-header,
    html body.public-site .site-header .nav-container {
        height: 70px !important;
        min-height: 70px !important;
    }

    html body.public-site .brand-mark {
        width: 40px !important;
        height: 40px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
    }

    html body.public-site .brand-text strong {
        max-width: 145px !important;
        font-size: 14px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body.public-site .brand-text small {
        display: none !important;
    }

    html body.public-site .nav-cta {
        display: none !important;
    }

    html body.public-site .nav-toggle {
        display: grid !important;
        width: 42px !important;
        height: 42px !important;
        margin-left: auto !important;
    }

    /* Home hero mobile */
    html body.public-site .hero-section {
        display: block !important;
        min-height: auto !important;
        height: auto !important;
        padding: 104px 0 44px !important;
        overflow: hidden !important;
    }

    html body.public-site .hero-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        align-items: start !important;
    }

    html body.public-site .hero-content {
        max-width: 100% !important;
        position: relative !important;
        z-index: 5 !important;
    }

    html body.public-site .hero-kicker {
        margin-bottom: 14px !important;
        font-size: 9px !important;
        line-height: 1.4 !important;
        letter-spacing: 0.16em !important;
    }

    html body.public-site .hero-kicker::before {
        width: 24px !important;
    }

    html body.public-site .hero-title {
        max-width: 320px !important;
        font-size: clamp(38px, 12.5vw, 50px) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.058em !important;
        margin: 0 !important;
    }

    html body.public-site .hero-text {
        max-width: 315px !important;
        margin-top: 16px !important;
        font-size: 14.5px !important;
        line-height: 1.65 !important;
    }

    html body.public-site .hero-actions {
        width: 100% !important;
        max-width: 245px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 22px !important;
    }

    html body.public-site .hero-actions .btn {
        width: 100% !important;
        min-height: 44px !important;
        padding: 11px 16px !important;
        font-size: 13px !important;
    }

    /* On phone the decorative glass panel is wasting space, so hide it */
    html body.public-site .hero-right {
        display: none !important;
    }

    html body.public-site .hero-bottom {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 5 !important;
        display: block !important;
        margin: 22px auto 0 !important;
    }

    html body.public-site .hero-dots {
        display: none !important;
    }

    html body.public-site .hero-stats {
        width: 100% !important;
        max-width: 330px !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    html body.public-site .hero-stats div {
        min-width: 0 !important;
        padding: 10px 7px !important;
        border-radius: 14px !important;
    }

    html body.public-site .hero-stats strong {
        font-size: 19px !important;
        line-height: 1 !important;
    }

    html body.public-site .hero-stats span {
        margin-top: 5px !important;
        font-size: 9px !important;
        line-height: 1.25 !important;
    }

    html body.public-site .hero-scroll-indicator {
        display: none !important;
    }

    /* Trust strip */
    html body.public-site .trust-strip {
        padding: 22px 0 !important;
    }

    html body.public-site .trust-strip-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        text-align: center !important;
    }

    html body.public-site .trust-brand-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    html body.public-site .trust-brand-row span {
        min-height: 38px !important;
        font-size: 10px !important;
        padding: 8px !important;
    }

    /* Section spacing */
    html body.public-site .section {
        padding: 54px 0 !important;
    }

    html body.public-site .section-header {
        max-width: 100% !important;
        margin-bottom: 24px !important;
    }

    html body.public-site .section-header.center {
        text-align: center !important;
    }

    html body.public-site .section-title,
    html body.public-site section h2 {
        font-size: clamp(32px, 10.5vw, 44px) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.05em !important;
    }

    html body.public-site .section-subtitle {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
    }

    /* Home systems cards */
    html body.public-site .systems-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    html body.public-site .system-card {
        min-height: 335px !important;
        border-radius: 24px !important;
    }

    html body.public-site .system-card-content {
        left: 20px !important;
        right: 20px !important;
        bottom: 20px !important;
    }

    html body.public-site .system-card-content h3 {
        font-size: 31px !important;
        line-height: 1 !important;
    }

    html body.public-site .system-card-content p {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    /* Featured products */
    html body.public-site .featured-product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    html body.public-site .premium-product-card {
        border-radius: 24px !important;
    }

    html body.public-site .premium-product-media {
        height: 220px !important;
    }

    html body.public-site .premium-product-body {
        padding: 22px !important;
    }

    html body.public-site .premium-product-body h3 {
        font-size: 28px !important;
        line-height: 1.04 !important;
    }

    html body.public-site .premium-product-body p,
    html body.public-site .premium-product-body small {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    /* Services section */
    html body.public-site .premium-service-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    html body.public-site .premium-service-card {
        min-height: auto !important;
        padding: 24px !important;
        border-radius: 24px !important;
    }

    html body.public-site .premium-service-card h3 {
        font-size: 26px !important;
    }

    html body.public-site .service-count {
        font-size: 44px !important;
        top: 20px !important;
        right: 20px !important;
    }

    /* Projects showcase */
    html body.public-site .project-showcase-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 18px !important;
    }

    html body.public-site .project-showcase-card,
    html body.public-site .project-showcase-large {
        min-height: 325px !important;
        grid-row: auto !important;
        border-radius: 24px !important;
    }

    html body.public-site .project-showcase-content {
        left: 20px !important;
        right: 20px !important;
        bottom: 20px !important;
    }

    html body.public-site .project-showcase-content h3,
    html body.public-site .project-showcase-large .project-showcase-content h3 {
        font-size: 32px !important;
        line-height: 1 !important;
    }

    /* Process / why / industries */
    html body.public-site .process-grid,
    html body.public-site .why-grid,
    html body.public-site .why-points,
    html body.public-site .industry-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    html body.public-site .process-grid::before {
        display: none !important;
    }

    html body.public-site .process-card {
        min-height: auto !important;
        padding: 20px !important;
        border-radius: 22px !important;
    }

    html body.public-site .why-card,
    html body.public-site .cta-card {
        padding: 26px !important;
        border-radius: 26px !important;
    }

    html body.public-site .cta-card {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body.public-site .cta-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    html body.public-site .cta-actions .btn {
        width: 100% !important;
    }

    /* Footer */
    html body.public-site .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 48px 0 !important;
    }

    html body.public-site .footer-bottom-inner {
        min-height: auto !important;
        padding: 18px 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 430px) {
    html body.public-site .hero-title {
        max-width: 295px !important;
        font-size: clamp(35px, 12vw, 44px) !important;
    }

    html body.public-site .hero-text {
        max-width: 292px !important;
    }

    html body.public-site .hero-stats {
        max-width: 300px !important;
    }

    html body.public-site .hero-stats div {
        padding: 9px 5px !important;
    }

    html body.public-site .hero-stats strong {
        font-size: 17px !important;
    }

    html body.public-site .hero-stats span {
        font-size: 8px !important;
    }

    html body.public-site .system-card {
        min-height: 315px !important;
    }
}

/* =========================================================
   FINAL MOBILE NAV DESIGN - CLEAN DROPDOWN CARD
   ========================================================= */

@media (max-width: 1100px) {
    html body.public-site {
        overflow-x: hidden !important;
    }

    html body.public-site .site-header {
        z-index: 99999 !important;
        background: rgba(10, 14, 20, 0.96) !important;
        border-bottom: 1px solid rgba(255,255,255,0.10) !important;
        box-shadow: 0 14px 40px rgba(0,0,0,0.22) !important;
    }

    html body.public-site .nav-container {
        min-height: 70px !important;
    }

    html body.public-site .nav-toggle {
        display: grid !important;
        place-items: center !important;
        position: relative !important;
        z-index: 100001 !important;
        width: 42px !important;
        height: 42px !important;
        margin-left: auto !important;
        border-radius: 14px !important;
        background: rgba(255,255,255,0.08) !important;
        border: 1px solid rgba(255,255,255,0.16) !important;
        pointer-events: auto !important;
    }

    html body.public-site .nav-toggle span {
        width: 19px !important;
        height: 2px !important;
        margin: 2.5px auto !important;
        background: #ffffff !important;
        border-radius: 999px !important;
        transition: transform 0.22s ease, opacity 0.22s ease !important;
    }

    html body.public-site.nav-open .nav-toggle span:nth-child(1),
    html body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    html body.public-site.nav-open .nav-toggle span:nth-child(2),
    html body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    html body.public-site.nav-open .nav-toggle span:nth-child(3),
    html body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    html body.public-site .site-nav {
        position: fixed !important;
        top: 82px !important;
        left: 14px !important;
        right: 14px !important;
        width: auto !important;
        height: auto !important;
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;

        padding: 14px !important;
        margin: 0 !important;
        border-radius: 24px !important;

        background:
            radial-gradient(circle at top left, rgba(201,169,97,0.14), transparent 35%),
            radial-gradient(circle at bottom right, rgba(74,111,165,0.18), transparent 42%),
            rgba(10,14,20,0.985) !important;

        border: 1px solid rgba(255,255,255,0.12) !important;
        box-shadow: 0 26px 80px rgba(0,0,0,0.45) !important;
        backdrop-filter: blur(18px) !important;

        transform: translateY(-14px) scale(0.97) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease !important;
        z-index: 99998 !important;
    }

    html body.public-site.nav-open .site-nav,
    html body.nav-open .site-nav {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html body.public-site .site-nav a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;
        padding: 15px 16px !important;
        border-radius: 16px !important;

        color: rgba(255,255,255,0.88) !important;
        background: rgba(255,255,255,0.045) !important;
        border: 1px solid rgba(255,255,255,0.07) !important;

        font-size: 15px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    html body.public-site .site-nav a::after {
        display: none !important;
    }

    html body.public-site .site-nav a:hover,
    html body.public-site .site-nav a.is-active {
        color: var(--obsidian) !important;
        background: linear-gradient(135deg, var(--brass-light), var(--brass)) !important;
        border-color: rgba(201,169,97,0.65) !important;
    }

    html body.public-site .site-nav a::before {
        content: "" !important;
        width: 7px !important;
        height: 7px !important;
        border-radius: 999px !important;
        background: var(--brass) !important;
        opacity: 0.9 !important;
        margin-right: 10px !important;
    }

    html body.public-site .site-nav a:hover::before,
    html body.public-site .site-nav a.is-active::before {
        background: var(--obsidian) !important;
    }
}