/* ================================================
   ZENX GROUP — Base Stylesheet (shared by all pages)
   Colors: Crimson (#DC143C) · Black · White
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --brand:        #DC143C;
    --brand-dark:   #A50E2E;
    --brand-mid:    #C51135;
    --brand-bright: #F71E49;
    --brand-light:  #FDE8EC;
    --brand-rgb:    220, 20, 60;
    --ink:          #0B0B0D;
    --ink-rgb:      11, 11, 13;
    --ink-2:        #18181B;
    --ink-3:        #27272A;
    --steel:        #71717A;
    --gray:         #63636B;
    --gray-light:   #B4B4BB;
    --border:       #E4E4E7;
    --light:        #F7F7F8;
    --white:        #FFFFFF;
    --success:      #16A34A;

    --header-h:    120px;
    --shadow-sm:   0 2px 8px rgba(var(--ink-rgb),0.06);
    --shadow-md:   0 4px 20px rgba(var(--ink-rgb),0.10);
    --shadow-lg:   0 8px 40px rgba(var(--ink-rgb),0.16);
    --radius:      12px;
    --radius-lg:   20px;
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --trans:       all 0.3s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; overflow-x: clip; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink-2);
    background: var(--white);
    line-height: 1.6;
    overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; }

/* ---------- Base Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* ================================================
   UTILITIES
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 100px 0; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-tag.light {
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.08);
}

.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--ink);
    margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.75;
}
.section-sub.light { color: rgba(255,255,255,0.6); }

.body-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 14px;
}

.accent { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: var(--trans);
    cursor: pointer;
    white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-primary {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}
.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--brand-rgb),0.35);
}

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline-dark:hover {
    background: var(--ink);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 7px;
}
.btn-nav:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
}

.btn-white-solid {
    background: var(--white);
    color: var(--brand-dark);
    border-color: var(--white);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
}
.btn-white-solid:hover {
    background: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ---------- Scroll Reveal ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* Pages without the emergency top bar */
body.no-topbar { --header-h: 90px; }

/* ================================================
   HEADER — emergency top bar + navbar
   ================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
}

.topbar {
    background: var(--brand);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}
.topbar-promo { opacity: 0.92; }
.topbar-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    white-space: nowrap;
}
.topbar-call:hover { text-decoration: underline; }
.topbar .pulse-dot { background: var(--white); }

.navbar {
    padding: 18px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled .navbar,
.site-header.solid .navbar {
    background: rgba(var(--ink-rgb),0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.logo-mark {
    height: 50px;
    width: auto;
    margin-right: 4px;
    transition: height 0.4s var(--ease);
}
.site-header.scrolled .logo-mark { height: 40px; }
.footer-logo .logo-mark { height: 60px; }
.mobile-mark { height: 72px; width: auto; }
.logo-zen   { color: var(--white); }
.logo-group { color: var(--brand-bright); font-weight: 500; }
.logo-div {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 10px;
    margin-left: 4px;
    align-self: center;
}

.nav-links {
    display: flex;
    gap: 26px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--brand);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links .nav-switch {
    color: var(--brand-bright);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 899;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.mobile-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--white); }

/* Status pulse dot (used in hero badges + top bar) */
.pulse-dot {
    width: 8px; height: 8px;
    background: #22C55E;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    50%       { opacity: 0.8; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* ================================================
   SHARED HERO PIECES
   ================================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    margin-bottom: 28px;
    animation: fadeDown 0.8s var(--ease) both;
}
.hero-badge .pulse-dot { background: #22C55E; }

.hero-title {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.06;
    margin-bottom: 24px;
    animation: fadeUp 0.8s var(--ease) 0.15s both;
}

.hero-gradient {
    background: linear-gradient(135deg, #FF8FA3 0%, var(--brand-bright) 45%, var(--brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.7);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 40px;
    animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s var(--ease) 0.45s both;
}

/* Hero stat counters */
.hero-stats {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius);
    padding: 22px 32px;
    max-width: 580px;
    animation: fadeUp 0.8s var(--ease) 0.6s both;
}
.h-stat { flex: 1; text-align: center; }
.h-stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
}
.h-stat-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-bright);
    vertical-align: super;
}
.h-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}
.h-stat-div {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
    margin: 0 4px;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeUp 1s var(--ease) 1.2s both;
}
.scroll-mouse {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ================================================
   WHY CARDS (shared: restoration + technology)
   ================================================ */
.why-us {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}
.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
}
.why-us::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 240px;
    background: linear-gradient(to top, rgba(var(--brand-rgb),0.08), transparent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}
.why-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: var(--trans);
    transition-delay: var(--d, 0s);
}
.why-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(var(--brand-rgb),0.45);
    transform: translateY(-4px);
}
.why-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--brand);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 18px;
    transition: opacity 0.3s;
}
.why-card:hover .why-num { opacity: 0.7; }
.why-card h3 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 12px;
}
.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-bright) 100%);
}
.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        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: 48px 48px;
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-text h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    color: var(--white);
    margin-bottom: 12px;
    max-width: 620px;
}
.cta-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    line-height: 1.65;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================================
   CONTACT
   ================================================ */
.contact { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}

.ci-item {
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
    align-items: flex-start;
}
.ci-icon {
    width: 44px; height: 44px;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ci-item strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.ci-item p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.ci-item a:hover { color: var(--brand); }

.ci-certs {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}
.ci-certs strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 10px;
}
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cert {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-light);
    border: 1px solid rgba(var(--brand-rgb),0.15);
    padding: 5px 12px;
    border-radius: 6px;
}

.ci-group strong { font-size: 14px; color: var(--ink); display: block; margin-bottom: 4px; }
.ci-group p { font-size: 13px; color: var(--gray); }

/* Form */
.contact-form-wrap {
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cf-group { margin-bottom: 18px; }
.cf-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 7px;
}
.cf-group input,
.cf-group select,
.cf-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    -webkit-appearance: none;
}
.cf-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2363636B' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb),0.1);
}
.cf-group input.invalid,
.cf-group select.invalid { border-color: var(--brand); }
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: var(--gray-light); }

.cf-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 18px;
    cursor: pointer;
}
.cf-check input { width: 18px; height: 18px; accent-color: var(--brand); }

.cf-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 15px;
    font-size: 15px;
}
.cf-submit.sent { background: var(--success); border-color: var(--success); }
.cf-status {
    font-size: 13px;
    color: var(--gray);
    margin-top: 12px;
    min-height: 1em;
    text-align: center;
}
.cf-status.error { color: var(--brand-dark); }
.cf-honey { display: none !important; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--ink);
    padding: 80px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo { margin-bottom: 14px; }
.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 300px;
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.footer-badges span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 5px 10px;
    border-radius: 6px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
}
.footer-col h4 a:hover { color: var(--brand-bright); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: color 0.3s;
}
.footer-col li a:hover { color: rgba(255,255,255,0.85); }

.footer-col address {
    font-style: normal;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin-bottom: 10px;
}
.footer-link {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: color 0.3s;
    display: block;
    margin-bottom: 6px;
}
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-link.strong { color: var(--white); font-weight: 600; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* ================================================
   BACK TO TOP + MOBILE CALL BAR
   ================================================ */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 800;
    width: 44px; height: 44px;
    background: var(--brand);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-top:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.callbar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 850;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
}
.callbar .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 10px;
    font-size: 15px;
}

/* ================================================
   KEYFRAME ANIMATIONS
   ================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav-links { gap: 20px; }
}

@media (max-width: 960px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text h2, .cta-text p { max-width: 100%; }
    .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 44px; }

    .topbar-promo { display: none; }
    .topbar-inner { justify-content: center; }

    .why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

    .hero-stats { flex-wrap: wrap; gap: 0; padding: 16px 20px; }
    .h-stat { flex: 0 0 48%; padding: 10px 0; }
    .h-stat-div { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .contact-form-wrap { padding: 24px; }
    .cf-row { grid-template-columns: 1fr; gap: 0; }

    body.has-callbar { padding-bottom: 72px; }
    body.has-callbar .callbar { display: flex; }
    body.has-callbar .back-top { bottom: 88px; right: 16px; }
}

@media (max-width: 900px) {
    /* Side-slide reveals overflow narrow screens — slide up instead */
    .reveal-left, .reveal-right { transform: translateY(32px); }
}

@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .logo { font-size: 22px; }
    .logo-mark { height: 40px; }
    .logo-div { display: none; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }
    .why-grid { grid-template-columns: 1fr; }
}

/* ================================================
   SERVICE CARDS (shared: restoration + technology)
   ================================================ */
.services { background: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.svc-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
    transition-delay: var(--d, 0s);
    display: flex;
    flex-direction: column;
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--brand-rgb),0.04), rgba(var(--ink-rgb),0.02));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.svc-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.svc-card:hover::after { opacity: 1; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover .svc-icon-wrap {
    background: var(--brand);
    color: var(--white);
}

.svc-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(var(--brand-rgb),0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 18px;
    transition: var(--trans);
    position: relative;
    z-index: 1;
}
.svc-icon { width: 26px; height: 26px; }

.svc-card h3 {
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.svc-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
    z-index: 1;
}
.svc-tags span {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 3px 10px;
    border-radius: 100px;
}

/* Expandable detail (restoration cards) */
.svc-detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease);
    position: relative;
    z-index: 1;
}
.svc-detail > div { overflow: hidden; }
.svc-card.expanded .svc-detail { grid-template-rows: 1fr; }
.svc-detail ul { padding: 4px 0 14px; display: flex; flex-direction: column; gap: 7px; }
.svc-detail li {
    font-size: 13.5px;
    color: var(--ink-3);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.svc-detail li::before {
    content: '';
    position: absolute;
    left: 2px; top: 7px;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--brand);
    transform: rotate(45deg);
}
.svc-more {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand);
    position: relative;
    z-index: 1;
    padding: 4px 0;
}
.svc-more svg { transition: transform 0.3s var(--ease); }
.svc-card.expanded .svc-more svg { transform: rotate(180deg); }

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { gap: 14px; }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
}
