/* =========================================================
   ASENRA · Refined House Theme
   ========================================================= */
:root {
    /* Palette - cream + forest + brass */
    --cream-50:   #fbf7ec;
    --cream-100:  #f4ecd6;
    --cream-200:  #e9dcb8;
    --paper:      #ffffff;
    --ink:        #1c1611;
    --ink-soft:   #5a4a35;
    --ink-mute:   #8a785a;

    --brand:      #2f5d3a;       /* deep forest */
    --brand-d:    #1d3f25;
    --brand-l:    #54a06a;
    --brass:      #c9a45c;
    --brass-d:    #8b6f3e;
    --wood:       #5b3f1c;

    --line:       rgba(28,22,17,.10);
    --line-strong:rgba(28,22,17,.18);
    --shadow-sm:  0 2px 8px rgba(28,22,17,.06);
    --shadow-md:  0 12px 28px -8px rgba(28,22,17,.14);
    --shadow-lg:  0 30px 60px -20px rgba(28,22,17,.22);

    --bg:         var(--cream-50);
    --bg-alt:     var(--paper);
    --text:       var(--ink);
    --text-soft:  var(--ink-soft);
    --border:     var(--line);
    --maxw:       1280px;
    --r-lg:       28px;
    --r-md:       16px;
    --r-sm:       10px;

    /* Fonts */
    --f-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --f-body:    'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Helvetica Neue", Arial, sans-serif;
    --tracking:  .14em;
}

[data-theme="dark"] {
    --cream-50:   #0e0c08;
    --cream-100:  #16120c;
    --cream-200:  #221a10;
    --paper:      #1b1610;
    --ink:        #f4ebd3;
    --ink-soft:   #d4c19a;
    --ink-mute:   #a8946a;
    --brand:      #62b27a;
    --brand-d:    #2f7a45;
    --brand-l:    #8edaa0;
    --brass:      #d8b06a;
    --brass-d:    #a18450;
    --wood:       #b9905a;
    --line:       rgba(216,176,106,.16);
    --line-strong:rgba(216,176,106,.28);
    --shadow-md:  0 14px 30px -10px rgba(0,0,0,.55);
    --shadow-lg:  0 30px 60px -18px rgba(0,0,0,.7);
    --bg:         var(--cream-50);
    --bg-alt:     var(--paper);
    --text:       var(--ink);
    --text-soft:  var(--ink-soft);
    --border:     var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; padding: 0;
    font-family: var(--f-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background .35s ease, color .35s ease;
    /* subtle paper texture */
    background-image:
        radial-gradient(circle at 25% 0%, rgba(201,164,92,.06), transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(47,93,58,.05), transparent 50%);
}
[data-theme="dark"] body {
    background-image:
        radial-gradient(circle at 25% 0%, rgba(216,176,106,.04), transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(98,178,122,.04), transparent 50%);
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }

::selection { background: var(--brand); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ============================================================
   HOUSE WRAPPER
   ============================================================ */
.house {
    display: flex; flex-direction: column;
    gap: 32px;
    padding: 0 0 4px;
}
@media (min-width: 900px) { .house { gap: 44px; } }
.floor[id] { scroll-margin-top: 92px; }
@media (max-width: 900px) { .floor[id] { scroll-margin-top: 70px; } }

/* ============================================================
   FLOOR FRAME - common style cho tầng 1..6
   Brass corners + thin border, cùng 1 token CSS
   ============================================================ */
.floor { width: 100%; }
.floor__window {
    position: relative;
    margin: 0 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    isolation: isolate;
}
.floor__window::before,
.floor__window::after {
    content: ""; position: absolute;
    height: 1px; left: 28px; right: 28px;
    background: linear-gradient(90deg, transparent, var(--brass) 18%, var(--brass) 82%, transparent);
    opacity: .55;
}
.floor__window::before { top: 14px; }
.floor__window::after  { bottom: 14px; }

/* Brass corner ornaments */
.floor__shutter {
    position: absolute; width: 38px; height: 38px;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38' fill='none' stroke='%23c9a45c' stroke-width='1.4'><path d='M2 14 V4 a2 2 0 0 1 2 -2 H14 M14 2 V6 M2 14 H6'/><circle cx='6' cy='6' r='1' fill='%23c9a45c'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}
.floor__shutter--top    { top: 8px; left: 8px; }
.floor__shutter--bottom { bottom: 8px; right: 8px; transform: rotate(180deg); }
[data-theme="dark"] .floor__shutter {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38' fill='none' stroke='%23d8b06a' stroke-width='1.4'><path d='M2 14 V4 a2 2 0 0 1 2 -2 H14 M14 2 V6 M2 14 H6'/><circle cx='6' cy='6' r='1' fill='%23d8b06a'/></svg>");
}

.floor__pane { padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px); }

.floor__header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.floor__tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: var(--tracking);
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 10px;
}
.floor__tag::before, .floor__tag::after {
    content: ""; display: inline-block;
    width: 28px; height: 1px;
    background: var(--brass);
}
.floor__title {
    margin: 6px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: var(--text);
    font-weight: 600;
}
.floor__sub {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================================
   ROOF / HERO
   ============================================================ */
.frame--roof { margin: 0; }
.roof {
    position: relative;
    overflow: hidden;
    color: #f5ecd9;
    text-align: center;
    padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 56px) clamp(70px, 9vw, 110px);
    background:
        radial-gradient(ellipse at 50% -20%, rgba(216,176,106,.18), transparent 60%),
        linear-gradient(180deg, #2a1c0d 0%, #3d2912 45%, #1b1108 100%);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.roof::before {
    /* rooftop tile pattern at top */
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 100%;
    background-image:
        repeating-linear-gradient(135deg,
            rgba(255,255,255,.025) 0 12px,
            rgba(0,0,0,.04) 12px 24px);
    opacity: .9; z-index: 0;
}
.roof::after {
    /* roof-line silhouette at bottom */
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1440 70'><path fill='%23fbf7ec' d='M0 70 V40 L120 40 L160 18 L200 40 L320 40 L380 6 L440 40 L600 40 L640 22 L680 40 L820 40 L880 4 L940 40 L1080 40 L1120 22 L1160 40 L1280 40 L1320 12 L1360 40 L1440 40 V70 Z'/></svg>");
    z-index: 1;
}
[data-theme="dark"] .roof::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1440 70'><path fill='%230e0c08' d='M0 70 V40 L120 40 L160 18 L200 40 L320 40 L380 6 L440 40 L600 40 L640 22 L680 40 L820 40 L880 4 L940 40 L1080 40 L1120 22 L1160 40 L1280 40 L1320 12 L1360 40 L1440 40 V70 Z'/></svg>");
}

.roof__inner {
    position: relative; z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex; flex-direction: column; gap: 28px;
}
.roof__bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.roof__brand { display: flex; align-items: center; gap: 14px; text-align: left; }
.roof__brand img { height: 56px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.roof__brand-text { line-height: 1.2; }
.roof__brand-text small {
    display: block; font-size: 11px; letter-spacing: var(--tracking);
    text-transform: uppercase; color: var(--brass); font-weight: 600;
}
.roof__brand-text strong {
    display: block; font-family: var(--f-display);
    font-size: 18px; color: #f5ecd9; letter-spacing: .02em;
    font-weight: 600;
}
.roof__actions { display: flex; gap: 8px; }
.roof__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #f5ecd9; cursor: pointer;
    font-size: 13px; font-weight: 500;
    backdrop-filter: blur(8px);
    transition: all .25s ease;
}
.roof__btn:hover {
    background: rgba(216,176,106,.18);
    border-color: var(--brass);
    transform: translateY(-1px);
}

.roof__hero {
    margin: clamp(20px, 4vw, 50px) auto 0;
    max-width: 880px;
}
.roof__eyebrow {
    display: inline-block;
    font-size: 12px; letter-spacing: var(--tracking);
    text-transform: uppercase; color: var(--brass);
    margin-bottom: 18px; font-weight: 600;
}
.roof__title {
    margin: 0;
    font-family: var(--f-display);
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fbf7ec;
    text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.roof__title em {
    font-style: italic;
    color: var(--brass);
    font-weight: 500;
}
.roof__lead {
    margin: 18px auto 0; max-width: 640px;
    font-size: clamp(15px, 1.6vw, 17px);
    color: rgba(245,236,217,.78);
    line-height: 1.7;
}
.roof__cta {
    margin-top: clamp(22px, 4vw, 36px);
    display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600; font-size: 14px;
    cursor: pointer; transition: all .25s ease;
}
.btn--primary {
    background: var(--brass);
    color: #2a1c0d;
}
.btn--primary:hover { background: #e0bb74; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(201,164,92,.6); }
.btn--ghost {
    background: transparent;
    color: #f5ecd9;
    border-color: rgba(245,236,217,.3);
}
.btn--ghost:hover { background: rgba(245,236,217,.08); border-color: rgba(245,236,217,.6); }

/* mini stats under hero */
.roof__stats {
    margin-top: clamp(28px, 5vw, 48px);
    display: grid; gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}
.roof__stat {
    padding: 14px;
    border-left: 1px solid rgba(216,176,106,.3);
}
.roof__stat:first-child { border-left: 0; }
.roof__stat strong {
    display: block;
    font-family: var(--f-display);
    font-size: clamp(26px, 3.6vw, 36px);
    color: var(--brass);
    line-height: 1;
}
.roof__stat span {
    display: block; margin-top: 4px;
    font-size: 12px; letter-spacing: var(--tracking);
    text-transform: uppercase; color: rgba(245,236,217,.6);
}

/* ============================================================
   CARDS · grid · masonry
   ============================================================ */
.grid-cards {
    display: grid; gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}
.grid-cards--4 { grid-template-columns: repeat(4, 1fr); }

.masonry { columns: 3; column-gap: 22px; }
.masonry .card { display: inline-block; width: 100%; margin-bottom: 22px; break-inside: avoid; }

.card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.4,.0,.2,1), box-shadow .35s ease;
    position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cream-100);
}
.masonry .card__media { aspect-ratio: auto; }
.card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.0,.2,1);
    cursor: zoom-in;
}
.masonry .card__media img { height: auto; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35) 100%);
    opacity: 0; transition: opacity .35s ease;
    pointer-events: none;
}
.card:hover .card__media::after { opacity: 1; }
.card__pin {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,.92);
    color: var(--brand);
    font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 999px;
    letter-spacing: var(--tracking); text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 2;
}
.card__body {
    padding: 16px 18px 18px;
}
.card__title {
    margin: 0 0 4px; font-size: 17px; font-weight: 600;
    color: var(--text); line-height: 1.3;
}
.card__desc { margin: 0; font-size: 13.5px; color: var(--text-soft); }

/* ============================================================
   F4 · service groups
   ============================================================ */
.svc-grid { display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); }
.svc-card {
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #1c1611;
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.0,.2,1), opacity .4s ease;
    opacity: .85;
}
.svc-card:hover img { transform: scale(1.08); opacity: 1; }
.svc-card__overlay {
    position: absolute; inset: 0; padding: 22px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78) 100%);
    color: #fbf7ec;
}
.svc-card__overlay h3 {
    margin: 0 0 6px; font-size: 22px; font-weight: 600;
    font-family: var(--f-display);
}
.svc-card__overlay span { font-size: 13px; opacity: .85; }
.svc-card__overlay .pill {
    align-self: flex-start;
    background: var(--brass); color: #1c1611;
    padding: 4px 12px; border-radius: 999px;
    font-size: 11px; letter-spacing: var(--tracking); font-weight: 700;
    margin-bottom: 10px;
}
.svc-card__cta {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px;
    font-size: 12px; letter-spacing: var(--tracking);
    text-transform: uppercase;
    color: var(--brass);
    transform: translateY(8px); opacity: 0;
    transition: all .4s ease;
}
.svc-card:hover .svc-card__cta { transform: translateY(0); opacity: 1; }

/* ============================================================
   F2 · client logos
   ============================================================ */
.logo-grid { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.logo-cell {
    aspect-ratio: 4/3;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    transition: all .3s ease;
    overflow: hidden;
    position: relative;
}
.logo-cell::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(201,164,92,.08));
    opacity: 0; transition: opacity .3s ease;
}
.logo-cell:hover::before { opacity: 1; }
.logo-cell:hover {
    transform: translateY(-3px);
    border-color: var(--brass);
    box-shadow: var(--shadow-md);
}
.logo-cell img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    filter: grayscale(100%);
    opacity: .65;
    transition: all .35s ease;
    position: relative; z-index: 1;
}
.logo-cell:hover img { filter: none; opacity: 1; }

/* ============================================================
   F3 · contact + reviews
   ============================================================ */
.contact-grid {
    display: grid; gap: 32px;
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
}
.contact-form {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.contact-form::before {
    content: "";
    position: absolute; top: 0; left: 32px; right: 32px; height: 3px;
    background: linear-gradient(90deg, var(--brass), var(--brand));
    border-radius: 0 0 4px 4px;
}
.contact-form h3 {
    margin: 0 0 18px; font-size: 22px; font-family: var(--f-display);
}
.contact-form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.contact-form label {
    display: block; font-size: 12px; letter-spacing: var(--tracking);
    text-transform: uppercase; color: var(--ink-mute);
    margin-bottom: 6px; font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font: inherit; font-size: 14.5px;
    transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--brand);
    background: var(--paper);
}
.contact-form .field { margin-bottom: 14px; }
.contact-form .submit-row {
    display: flex; gap: 14px; align-items: center;
    margin-top: 6px;
}
.btn-primary {
    background: var(--brand); color: #fff; border: 0;
    padding: 13px 28px; border-radius: 999px; font-weight: 600;
    cursor: pointer; transition: all .25s ease; letter-spacing: .02em;
}
.btn-primary:hover { background: var(--brand-d); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(47,93,58,.6); }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-item {
    display: flex; gap: 14px; padding: 18px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .25s ease;
}
.review-item:hover { transform: translateX(4px); }
.review-item::before {
    content: "\201C";
    position: absolute; top: -10px; right: 14px;
    font-family: var(--f-display);
    font-size: 60px; color: var(--brass);
    line-height: 1; opacity: .5;
}
.review-item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--brass); }
.review-item h5 { margin: 0; font-size: 15px; color: var(--text); font-family: var(--f-display); font-weight: 600; }
.review-item small { color: var(--ink-mute); font-size: 12px; letter-spacing: .04em; }
.review-item p { margin: 8px 0 0; font-size: 14px; color: var(--text); line-height: 1.6; font-style: italic; }
.stars { color: var(--brass); font-size: 14px; letter-spacing: 2px; margin-top: 4px; }

/* ============================================================
   FLOAT · contact buttons
   ============================================================ */
.float-contact {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    display: flex; flex-direction: column; gap: 10px;
}
.float-contact button, .float-contact a {
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--brand); color: #fff; border: 0;
    box-shadow: var(--shadow-lg);
    cursor: pointer; font-size: 22px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease;
}
.float-contact button:hover, .float-contact a:hover { transform: scale(1.08) rotate(-6deg); background: var(--brand-d); }
.float-contact .zalo { background: #0084ff; }
.float-contact .zalo:hover { background: #0066cc; }

/* ============================================================
   MODAL · contact
   ============================================================ */
.modal {
    position: fixed; inset: 0; display: none;
    background: rgba(28,22,17,.55);
    backdrop-filter: blur(10px);
    z-index: 200;
    align-items: center; justify-content: center; padding: 18px;
    animation: modalIn .25s ease;
}
.modal.is-open { display: flex; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
    background: var(--paper); color: var(--text);
    border-radius: var(--r-md);
    width: 100%; max-width: 480px;
    padding: 32px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    animation: panelIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__panel h3 {
    margin: 0 0 6px; font-size: 24px; font-family: var(--f-display);
    color: var(--text);
}
.modal__panel ul { padding: 0; list-style: none; margin: 18px 0 0; }
.modal__panel ul li {
    padding: 12px 14px; border: 1px solid var(--border);
    border-radius: var(--r-sm); margin-bottom: 10px;
    display: flex; align-items: center; gap: 12px;
    font-size: 14px;
    background: var(--bg);
    transition: all .2s ease;
}
.modal__panel ul li:hover {
    border-color: var(--brand); transform: translateX(4px);
}
.modal__panel ul li .ico {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.modal__close {
    background: transparent; border: 0; font-size: 28px;
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--text-soft); cursor: pointer; line-height: 1;
    transition: background .2s ease;
}
.modal__close:hover { background: var(--bg); }

/* ============================================================
   GROUND · footer
   ============================================================ */
.frame--ground { margin: 0; }
.ground {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(216,176,106,.1), transparent 50%),
        linear-gradient(180deg, #1d3f25 0%, #0f2316 100%);
    color: #e2dac4;
    padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 60px) 32px;
}
.ground::before {
    content: "";
    position: absolute; top: -1px; left: 0; right: 0; height: 50px;
    background-repeat: no-repeat; background-size: cover;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1440 50'><path fill='%23fbf7ec' d='M0 0 V20 L1440 30 V0 Z'/></svg>");
}
[data-theme="dark"] .ground::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1440 50'><path fill='%230e0c08' d='M0 0 V20 L1440 30 V0 Z'/></svg>");
}
.ground__cta {
    max-width: var(--maxw); margin: 0 auto 48px;
    background: linear-gradient(135deg, rgba(201,164,92,.18), rgba(216,176,106,.08));
    border: 1px solid rgba(216,176,106,.25);
    border-radius: var(--r-md);
    padding: 28px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.ground__cta h3 {
    margin: 0; font-family: var(--f-display);
    font-size: clamp(22px, 3vw, 30px); color: #fbf7ec;
}
.ground__cta p { margin: 6px 0 0; color: rgba(245,236,217,.7); font-size: 14px; }
.ground__cta .btn { white-space: nowrap; }

.ground__grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; gap: 32px;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.ground h4 {
    color: var(--brass); margin: 0 0 14px;
    font-size: 13px; letter-spacing: var(--tracking); text-transform: uppercase;
    font-family: var(--f-body); font-weight: 700;
}
.ground p, .ground li {
    font-size: 14px; line-height: 1.75; color: rgba(226,218,196,.85);
}
.ground ul { padding: 0; margin: 0; list-style: none; }
.ground ul li { padding: 4px 0; }
.ground a {
    color: #fbf7ec; transition: color .2s ease;
    border-bottom: 1px solid transparent;
}
.ground a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.ground__brand {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.ground__brand img { height: 44px; width: auto; }
.ground__brand strong { font-family: var(--f-display); font-size: 20px; color: #fbf7ec; }
.ground__copy {
    max-width: var(--maxw); margin: 36px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(226,218,196,.55); flex-wrap: wrap; gap: 8px;
    letter-spacing: .03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .grid-cards, .grid-cards--4 { grid-template-columns: repeat(2,1fr); }
    .masonry { columns: 2; }
    .svc-grid { grid-template-columns: repeat(2,1fr); }
    .logo-grid { grid-template-columns: repeat(4,1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .ground__grid { grid-template-columns: 1fr 1fr; }
    .roof__stats { grid-template-columns: repeat(2,1fr); }
    .roof__stat { border-left: 0; border-top: 1px solid rgba(216,176,106,.15); padding-top: 14px; }
    .roof__stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 720px) {
    .house { gap: 24px; }
    .floor__window { margin: 0 10px; }
    .floor__pane { padding: 36px 18px 32px; }
    .grid-cards, .grid-cards--4 { grid-template-columns: 1fr; gap: 16px; }
    .masonry { columns: 1; }
    .svc-grid { grid-template-columns: 1fr; gap: 16px; }
    .logo-grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
    .ground__grid { grid-template-columns: 1fr; gap: 22px; }
    .ground__cta { flex-direction: column; text-align: center; padding: 22px; }
    .roof__bar { flex-direction: column; gap: 14px; }
    .roof__brand { flex-direction: column; text-align: center; }
    .roof__brand-text { text-align: center; }
    .roof__btn-label { display: none; }
    .roof__title { font-size: clamp(28px, 8vw, 40px); }
    .roof__stats { grid-template-columns: repeat(2,1fr); margin-top: 24px; }
    .contact-form { padding: 22px; }
    .contact-form .row { grid-template-columns: 1fr; }
    .contact-form .submit-row { flex-direction: column; align-items: stretch; }
    .float-contact { right: 12px; bottom: 12px; }
    .float-contact button, .float-contact a { width: 48px; height: 48px; font-size: 19px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   STICKY HEADER
   ============================================================ */
.hdr {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251,247,236,.78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .hdr {
    background: rgba(14,12,8,.82);
}
.hdr.is-scrolled { box-shadow: 0 6px 24px -10px rgba(28,22,17,.18); }
[data-theme="dark"] .hdr.is-scrolled { box-shadow: 0 6px 24px -10px rgba(0,0,0,.5); }
.hdr__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    height: 78px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.hdr__nav {
    display: flex; gap: 4px; align-items: center;
}
.hdr__nav a {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    transition: all .2s ease;
    white-space: nowrap;
}
.hdr__nav a:hover { color: var(--brand); background: rgba(47,93,58,.08); }
[data-theme="dark"] .hdr__nav a:hover { background: rgba(98,178,122,.12); color: var(--brand-l); }
.hdr__nav a.is-active {
    color: var(--brand);
    background: rgba(47,93,58,.10);
}
[data-theme="dark"] .hdr__nav a.is-active {
    color: var(--brand-l);
    background: rgba(98,178,122,.14);
}

.hdr__brand {
    display: flex; align-items: center; justify-content: center;
    height: 100%;
    padding: 6px 0;
}
.hdr__brand img.logo {
    height: 60px; width: auto; max-height: 64px;
    object-fit: contain; display: block;
    transition: transform .25s ease;
}
.hdr__brand:hover img.logo { transform: scale(1.04); }
.logo--dark  { display: none !important; }
[data-theme="dark"] .logo--light { display: none !important; }
[data-theme="dark"] .logo--dark  { display: block !important; }
.hdr__brand .logo--dark {
    height: 64px; max-height: 64px;
    border-radius: 10px;
    box-shadow: 0 6px 20px -8px rgba(0,0,0,.6);
}

.hdr__actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.hdr__icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: transparent; border: 1px solid var(--border);
    color: var(--text); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.hdr__icon:hover { background: var(--cream-100); border-color: var(--brand); color: var(--brand); }
[data-theme="dark"] .hdr__icon:hover { background: var(--cream-100); border-color: var(--brand-l); color: var(--brand-l); }

.btn--sm { padding: 9px 18px; font-size: 13px; }

.hdr__burger {
    display: none;
    width: 40px; height: 40px; border-radius: 8px;
    background: transparent; border: 1px solid var(--border);
    cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hdr__burger span {
    display: block; width: 18px; height: 2px;
    background: var(--text); border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .hdr__inner { grid-template-columns: auto 1fr auto; height: 64px; padding: 0 16px; gap: 10px; }
    .hdr__nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg-alt); border-bottom: 1px solid var(--border);
        padding: 10px;
        box-shadow: var(--shadow-md);
    }
    .hdr__nav.is-open { display: flex; animation: navIn .25s ease; }
    .hdr__nav a { padding: 14px 18px; border-radius: 10px; font-size: 15px; }
    .hdr__burger { display: inline-flex; }
    .hdr__brand img.logo { height: 46px; }
    .hdr__actions .btn { display: none; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   PAGE HERO (for Blog & Contact pages)
   ============================================================ */
.page-hero {
    text-align: center;
    padding: clamp(50px, 7vw, 90px) 24px clamp(36px, 5vw, 60px);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,164,92,.18), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.page-hero::before {
    content: ""; position: absolute; left: 50%; bottom: -1px;
    transform: translateX(-50%);
    width: 100px; height: 2px; background: var(--brass); border-radius: 2px;
}
.page-hero .eyebrow {
    display: inline-block;
    font-size: 12px; letter-spacing: var(--tracking);
    text-transform: uppercase; color: var(--brand);
    font-weight: 700;
    margin-bottom: 14px;
}
[data-theme="dark"] .page-hero .eyebrow { color: var(--brand-l); }
.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    color: var(--text);
    line-height: 1.1;
}
.page-hero p {
    margin: 0 auto; max-width: 640px;
    color: var(--text-soft); font-size: 16px; line-height: 1.7;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-list {
    max-width: var(--maxw); margin: 48px auto;
    padding: 0 22px;
    display: grid; gap: 26px;
    grid-template-columns: repeat(3, 1fr);
}
.blog-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__media {
    aspect-ratio: 16/10; overflow: hidden;
    background: var(--cream-100);
}
.blog-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.0,.2,1);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body {
    padding: 22px 22px 24px; flex: 1;
    display: flex; flex-direction: column;
}
.blog-card__meta {
    display: flex; gap: 14px; align-items: center;
    font-size: 12px; color: var(--ink-mute);
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.blog-card__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.blog-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--text);
}
.blog-card h3 a:hover { color: var(--brand); }
[data-theme="dark"] .blog-card h3 a:hover { color: var(--brand-l); }
.blog-card p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.7;
}
.blog-card__more {
    margin-top: auto;
    color: var(--brand);
    font-weight: 600; font-size: 13px;
    letter-spacing: .04em;
    display: inline-flex; align-items: center; gap: 6px;
    transition: gap .2s ease;
}
[data-theme="dark"] .blog-card__more { color: var(--brand-l); }
.blog-card__more:hover { gap: 10px; }

.blog-empty {
    text-align: center; padding: 80px 24px;
    color: var(--text-soft); font-style: italic;
    max-width: var(--maxw); margin: 0 auto;
}

/* Blog single */
.post {
    max-width: 820px; margin: 48px auto; padding: 0 22px;
}
.post__cover {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    border-radius: var(--r-md);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}
.post__meta {
    display: flex; gap: 14px; align-items: center;
    font-size: 13px; color: var(--ink-mute);
    margin-bottom: 14px;
    letter-spacing: .04em;
}
.post h1 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--text);
}
.post__excerpt {
    font-size: 18px; color: var(--text-soft);
    border-left: 3px solid var(--brass);
    padding: 4px 0 4px 18px;
    margin: 0 0 28px;
    font-style: italic;
}
.post__content {
    font-size: 16.5px; line-height: 1.85; color: var(--text);
}
.post__content p { margin: 0 0 18px; }
.post__content h2 { margin: 36px 0 14px; font-size: 26px; color: var(--text); }
.post__content h3 { margin: 28px 0 12px; font-size: 21px; color: var(--text); }
.post__content img { border-radius: var(--r-sm); margin: 18px 0; box-shadow: var(--shadow-sm); }
.post__content blockquote {
    border-left: 3px solid var(--brand);
    margin: 22px 0; padding: 4px 0 4px 18px;
    color: var(--text-soft); font-style: italic;
}
.post__content ul, .post__content ol { padding-left: 22px; margin: 0 0 18px; }
.post__content li { margin-bottom: 6px; }
.post__content a { color: var(--brand); border-bottom: 1px solid var(--brass); }
[data-theme="dark"] .post__content a { color: var(--brand-l); }
.post__content code {
    background: var(--cream-100); padding: 2px 6px;
    border-radius: 4px; font-size: 14px;
}
.post__content pre {
    background: var(--cream-100); padding: 16px;
    border-radius: var(--r-sm); overflow: auto; font-size: 14px;
}
.post__back {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 18px;
    color: var(--text-soft); font-size: 13px;
}
.post__back:hover { color: var(--brand); }
[data-theme="dark"] .post__back:hover { color: var(--brand-l); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
    max-width: var(--maxw);
    margin: 56px auto;
    padding: 0 22px;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
}
.contact-info {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.contact-info h3 {
    margin: 0 0 6px; font-size: 24px; color: var(--text);
}
.contact-info > p {
    margin: 0 0 24px; color: var(--text-soft); font-size: 14.5px;
}
.contact-info__list { list-style: none; padding: 0; margin: 0; }
.contact-info__list li {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}
.contact-info__list li:first-child { border-top: 0; }
.contact-info__list .ico {
    flex-shrink: 0;
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-d));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.contact-info__list .lbl {
    font-size: 11px; letter-spacing: var(--tracking); text-transform: uppercase;
    color: var(--ink-mute); display: block; margin-bottom: 2px; font-weight: 600;
}
.contact-info__list .val { color: var(--text); font-weight: 500; word-break: break-word; }
.contact-info__list a:hover { color: var(--brand); }
[data-theme="dark"] .contact-info__list a:hover { color: var(--brand-l); }

.contact-map {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--cream-100);
    box-shadow: var(--shadow-sm);
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

@media (max-width: 1100px) {
    .blog-list { grid-template-columns: repeat(2, 1fr); }
    .contact-page { grid-template-columns: 1fr; }
    .contact-map iframe { min-height: 320px; }
}
@media (max-width: 720px) {
    .blog-list { grid-template-columns: 1fr; gap: 18px; margin: 28px auto; }
    .post { margin: 28px auto; }
    .post h1 { font-size: 28px; }
    .contact-page { margin: 32px auto; }
    .contact-info { padding: 22px; }
}

/* ============================================================
   UTIL
   ============================================================ */
.empty {
    text-align: center; padding: 32px;
    color: var(--text-soft); font-style: italic; font-size: 14px;
}
.center { text-align: center; }
