/*
Theme Name: NITA Studio
Description: ქართული ავეჯის სახელოსნოს თემა.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: nita-studio
*/

/* Noto Sans Georgian variable 400–700, SIL OFL (assets/FONT-LICENSE.txt). */
@font-face {
    font-family:"Nita Sans";
    src:url(assets/NotoSansGeorgian-Var-georgian.woff2) format('woff2');
    font-weight:400 700;
    font-display:swap;
    unicode-range:U+0589,U+10A0-10FF,U+1C90-1CBA,U+1CBD-1CBF,U+205A,U+2D00-2D2F,U+2E31;
}
@font-face {
    font-family:"Nita Sans";
    src:url(assets/NotoSansGeorgian-Var-latin.woff2) format('woff2');
    font-weight:400 700;
    font-display:swap;
    unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --bg:#ffffff;
    --soft:#f6f4f0;
    --soft-2:#efebe4;
    --ink:#1f2523;
    --muted:#5d625f;
    --line:#e3ded5;
    --brand:#2f5862;
    --brand-dark:#22444c;
    --brand-tint:#e8f0f1;
    --wood:#a5683d;
    --wood-tint:#f6ece2;
    --sage-tint:#edf2ea;
    --radius:16px;
    --radius-lg:24px;
    --shadow:0 1px 2px rgba(31,37,35,.05),0 8px 24px rgba(31,37,35,.06);
    --sans:"Nita Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}

* { box-sizing:border-box; }

body {
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font:16px/1.6 var(--sans);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; height:auto; }
figure,p,h1,h2,h3,ol,ul,dl,dd { margin:0; }

h1,h2,h3 {
    font-weight:700;
    line-height:1.25;
    letter-spacing:-.01em;
    overflow-wrap:break-word;
}
h1 { font-size:clamp(2rem,3.4vw,3rem); }
h2 { font-size:clamp(1.5rem,2.4vw,2.25rem); }
h3 { font-size:1.2rem; }

.wrap { width:min(1240px,calc(100% - 48px)); margin-inline:auto; }

.skip {
    position:absolute; z-index:30; left:8px; top:8px;
    transform:translateY(-200%); background:#fff; padding:.7rem; border-radius:8px;
}
.skip:focus { transform:none; }
:focus-visible { outline:3px solid var(--wood); outline-offset:3px; border-radius:6px; }
main:focus { outline:none; }
[id] { scroll-margin-top:96px; }

/* Header */
.top {
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--line);
    position:sticky; top:0; z-index:20;
    backdrop-filter:saturate(1.4) blur(8px);
}
.admin-bar .top { top:32px; }
.top-inner { min-height:76px; display:flex; align-items:center; gap:clamp(16px,2.4vw,36px); }
.wordmark { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; line-height:1; color:var(--brand); }
.wordmark-mark { width:44px; height:44px; flex:none; }
.wordmark-text { height:31px; width:auto; flex:none; overflow:visible; --wm-sub:var(--muted); }
.foot .wordmark-text { --wm-sub:#9fb0ae; }
.custom-logo-link img { max-width:180px; max-height:54px; object-fit:contain; }
.desktop-nav { margin-left:auto; display:flex; gap:clamp(14px,2.2vw,30px); font-weight:500; }
.desktop-nav a { padding:6px 0; border-bottom:2px solid transparent; }
.desktop-nav a:hover { border-color:var(--brand); }
.nav-drop { position:relative; }
.nav-drop-link { display:inline-flex; align-items:center; gap:6px; }
.nav-caret { width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .2s; }
.nav-drop:hover .nav-caret,.nav-drop:focus-within .nav-caret { transform:translateY(1px) rotate(225deg); }
.nav-sub {
    list-style:none; margin:0; padding:8px; position:absolute; left:-14px; top:100%; min-width:260px;
    background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
    opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .15s,transform .15s,visibility .15s; z-index:25;
}
.nav-drop::after { content:""; position:absolute; left:0; right:0; top:100%; height:10px; }
.nav-drop:hover .nav-sub,.nav-drop:focus-within .nav-sub { opacity:1; visibility:visible; transform:translateY(10px); }
.desktop-nav .nav-sub a { display:block; padding:10px 14px; border-radius:10px; border:0; font-weight:500; white-space:nowrap; }
.desktop-nav .nav-sub a:hover { background:var(--soft); color:var(--brand); }
.desktop-nav .nav-sub-all { border-top:1px solid var(--line); margin-top:6px; padding-top:6px; }
.desktop-nav .nav-sub-all a { color:var(--brand); font-weight:600; }
@media (prefers-reduced-motion:reduce) { .nav-sub,.nav-caret { transition:none; } }
.header-phone { font-weight:600; color:var(--brand); white-space:nowrap; }
.header-phone:hover { text-decoration:underline; text-underline-offset:4px; }
.mobile-nav { display:none; }

/* Buttons and links */
.btn {
    background:var(--brand); color:#fff;
    border:1px solid var(--brand); border-radius:12px;
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    min-height:50px; padding:12px 24px;
    font:inherit; font-weight:600; font-size:.95rem; line-height:1.3;
    cursor:pointer; text-align:center;
    transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.btn:hover { background:var(--brand-dark); border-color:var(--brand-dark); }
.btn.compact { min-height:44px; padding:9px 18px; font-size:.9rem; }
.btn.ghost { background:transparent; color:var(--brand); border-color:#bfd0d3; }
.btn.ghost:hover { background:var(--brand-tint); border-color:var(--brand); }
.btn.light { background:#fff; color:var(--brand); border-color:#fff; }
.btn.light:hover { background:var(--brand-tint); }
.btn.wide { width:100%; }
.btn span[aria-hidden],.sample-photo span { font-size:0; }
.btn span[aria-hidden]::after,.sample-photo span::after {
    content:""; display:block; width:11px; height:11px; background:currentColor;
    clip-path:polygon(18% 0,100% 0,100% 82%,87% 82%,87% 23%,12% 100%,0 88%,74% 13%,18% 13%);
}
.textlink,.prose a,.contact-alt a,.privacy-link,.card-foot a {
    color:var(--brand); font-weight:600;
    text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px;
}
.textlink:hover { text-decoration-thickness:2px; }

.tag {
    display:inline-block; font-size:.8rem; font-weight:600; color:var(--brand);
    background:var(--brand-tint); border-radius:999px; padding:5px 12px; margin-bottom:16px;
}
.actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:28px; }

/* Check lists */
.checks { list-style:none; padding:0; display:grid; gap:10px; margin-top:22px; }
.checks li { position:relative; padding-left:32px; }
.checks li::before {
    content:""; position:absolute; left:0; top:.2em; width:20px; height:20px; border-radius:50%;
    background:var(--brand-tint) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.5 2.4L10 3.3' fill='none' stroke='%232f5862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checks-grid { grid-template-columns:1fr 1fr; column-gap:24px; }

/* Hero */
.hero-band { background:linear-gradient(180deg,var(--soft) 0%,var(--bg) 100%); }
.hero {
    display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
    gap:clamp(28px,5vw,72px); align-items:center;
    padding-block:clamp(28px,4.5vw,64px) clamp(40px,5.5vw,80px);
}
.hero h1 span { color:var(--brand); display:block; }
.hero-lede { margin-top:16px; font-size:1.08rem; color:var(--muted); max-width:56ch; }
.hero-lede p { margin:0; }

/* Tool card (hero right) */
.start-card {
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
    padding:clamp(22px,2.6vw,32px); box-shadow:var(--shadow);
}
.start-card fieldset { border:0; margin:0; padding:0; min-width:0; }
.start-card legend { padding:0; margin-bottom:16px; }
.card-title { display:block; font-size:1.3rem; font-weight:700; line-height:1.3; }
.card-sub { display:block; color:var(--muted); font-size:.93rem; margin-top:4px; }
.start-card > .card-sub { margin-bottom:6px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.chip { position:relative; }
.chip input { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.chip span {
    display:inline-flex; align-items:center; min-height:44px; padding:9px 16px;
    border:1px solid var(--line); border-radius:999px; background:var(--soft);
    font-size:.92rem; font-weight:500; cursor:pointer; transition:all .15s ease;
}
.chip input:checked + span { background:var(--brand); border-color:var(--brand); color:#fff; }
.chip input:focus-visible + span { outline:3px solid var(--wood); outline-offset:2px; }
.chip:hover span { border-color:var(--brand); }
.checks-card { margin:14px 0 22px; }
.card-foot { margin-top:14px; font-size:.85rem; color:var(--muted); }

/* Sections */
.section { padding-block:clamp(48px,6vw,88px); }
.soft { background:var(--soft); }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:clamp(24px,3vw,36px); }
.section-head p { color:var(--muted); margin-top:8px; max-width:60ch; }
.section-head .textlink { white-space:nowrap; }

/* Service cards */
.cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.cards-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.card {
    position:relative; display:flex; flex-direction:column; gap:10px;
    background:var(--soft); border-radius:var(--radius-lg); padding:clamp(22px,2.6vw,32px);
    transition:background .15s ease,box-shadow .15s ease;
}
.card:hover { background:#fff; box-shadow:var(--shadow); outline:1px solid var(--line); }
.card img { width:72px; height:auto; margin-bottom:6px; }
.card h3 { font-size:1.3rem; }
.card h3 a:hover { color:var(--brand); }
.card p { color:var(--muted); flex:1; }
.card-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:10px; }
.card-actions .btn { min-height:44px; padding:9px 18px; }

/* Trust banner */
.banner {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    background:var(--brand); color:#fff; border-radius:28px; overflow:hidden;
}
.banner-copy { padding:clamp(28px,4.5vw,64px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:16px; }
.banner-copy p { color:#e3edee; max-width:48ch; }
.banner .tag { background:rgba(255,255,255,.14); color:#fff; margin:0; }
.banner-img { position:relative; min-height:320px; background:#d7c6aa; }
.banner-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.banner-img figcaption {
    position:absolute; right:14px; bottom:14px; font-size:.72rem; color:#fff;
    background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px;
}

/* Use-case tiles */
.tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.tile { border-radius:var(--radius); padding:24px; min-height:150px; }
.tile h3 { font-size:1.15rem; margin-bottom:8px; }
.tile p { color:var(--muted); font-size:.95rem; }
.tone-0 { background:var(--brand-tint); }
.tone-1 { background:var(--wood-tint); }
.tone-2 { background:var(--sage-tint); }

/* Details */
.details { padding-top:0; }
.details-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:40px; max-width:820px; }
.details-img { border-radius:var(--radius-lg); width:100%; object-fit:cover; }
.prose { max-width:68ch; font-size:1.03rem; }
.prose p { margin:0 0 1.05rem; color:#2f3533; }
.prose h2 { font-size:clamp(1.35rem,2vw,1.75rem); margin:2rem 0 .8rem; }
.prose > :first-child { margin-top:0; }

/* Terms */
.terms {
    display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(24px,5vw,72px);
    background:var(--soft); border-radius:28px; padding:clamp(26px,4vw,56px);
}
.terms p { color:var(--muted); margin-top:12px; }
.terms dl { display:grid; gap:0; }
.terms dl > div { display:grid; grid-template-columns:minmax(120px,.7fr) 1.3fr; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.terms dl > div:first-child { padding-top:0; }
.terms dt { color:var(--muted); font-size:.9rem; }
.terms dd { font-weight:600; }

/* Steps */
.steps { list-style:none; padding:0; counter-reset:step; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.steps li { counter-increment:step; background:#fff; border-radius:var(--radius); padding:26px; border:1px solid var(--line); }
.steps li::before {
    content:counter(step); display:grid; place-items:center; width:40px; height:40px; border-radius:50%;
    background:var(--brand); color:#fff; font-weight:700; margin-bottom:18px;
}
.steps h3 { font-size:1.15rem; }
.steps p { margin-top:8px; color:var(--muted); font-size:.95rem; }

/* Samples */
.samples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.sample { display:block; border-radius:var(--radius-lg); overflow:hidden; background:var(--soft); transition:box-shadow .15s ease; }
.sample:hover { box-shadow:var(--shadow); }
.sample-photo { position:relative; overflow:hidden; aspect-ratio:1.25; background:#dbd1bd; }
.sample-photo img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.sample:hover img { transform:scale(1.03); }
.sample-photo span {
    position:absolute; right:12px; bottom:12px; border-radius:50%; background:#fff;
    width:36px; height:36px; display:grid; place-items:center; color:var(--brand);
}
.sample-body { padding:16px 20px 20px; }
.sample small { display:block; color:var(--muted); font-size:.8rem; margin-bottom:2px; }
.sample h3 { font-size:1.12rem; }

/* FAQ */
.faq { max-width:860px; }
.faq h2 { text-align:center; margin-bottom:28px; }
.faq-list { display:grid; gap:12px; }
.faq details { background:var(--soft); border-radius:var(--radius); padding:0 22px; }
.faq summary {
    cursor:pointer; list-style:none; font-weight:600; padding:20px 36px 20px 0; position:relative;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after {
    content:""; position:absolute; right:4px; top:50%; width:10px; height:10px; margin-top:-7px;
    border-right:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(45deg); transition:transform .2s ease;
}
.faq details[open] summary::after { transform:rotate(-135deg); margin-top:-2px; }
.faq details p { padding:0 0 20px; color:var(--muted); }

/* Contact band */
.contact-band { background:var(--soft); }
.channels { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.channels-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
.channels-6 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.channel {
    display:flex; flex-direction:column; gap:6px; background:#fff; border-radius:var(--radius);
    padding:22px; border:1px solid var(--line); transition:border-color .15s ease,box-shadow .15s ease;
}
.channel:hover { border-color:var(--brand); box-shadow:var(--shadow); }
.channel.primary { background:var(--brand); border-color:var(--brand); color:#fff; }
.channel.primary .ch-label,.channel.primary .ch-note { color:#d9e6e8; }
.ch-label { font-size:.8rem; color:var(--muted); font-weight:600; }
.channel strong { font-size:1.12rem; }
.ch-note { font-size:.86rem; color:var(--muted); }

/* Footer */
.foot { background:#1f2a2b; color:#d6dcdb; }
.foot .wordmark { color:#fff; }
.foot-main { display:grid; grid-template-columns:2fr 1fr 1fr; gap:30px; padding-block:48px; }
.foot-main > div > a:not(.wordmark),.foot-main strong { display:block; margin:6px 0; }
.foot-main strong { color:#fff; font-size:.9rem; }
.foot-main a:hover,.fine a:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.foot-main p { font-size:.86rem; margin-top:10px; }
.fine { display:flex; justify-content:space-between; gap:14px; border-top:1px solid #34403f; padding-block:16px; font-size:.82rem; }

/* Interior pages */
.interior { padding-bottom:clamp(56px,7vw,100px); }
.crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:.82rem; color:var(--muted); padding-top:20px; }
.hero-band .crumbs { margin-bottom:0; }
.wrap > .crumbs { margin-bottom:clamp(20px,3vw,36px); }
.crumbs a:hover { color:var(--brand); text-decoration:underline; }
.reading { max-width:820px; }
.interior h1 { margin:0 0 20px; max-width:24ch; }
.subsection { font-size:clamp(1.35rem,2vw,1.75rem); margin:2.4rem 0 1.2rem; }
.lede { font-size:1.08rem; color:var(--muted); max-width:66ch; }
.article-cover { width:100%; max-height:560px; object-fit:cover; border-radius:var(--radius-lg); margin-bottom:28px; }

/* Inquiry page */
.brief-grid {
    display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); column-gap:clamp(28px,5vw,72px); row-gap:0; align-items:start;
    grid-template-areas:"copy form" "aside form" ". form";
}
.brief-copy { grid-area:copy; }
.brief-aside { grid-area:aside; }
.brief-grid .form-panel { grid-area:form; }
.brief-aside .checks { margin-top:24px; }
.brief-copy .prose { color:var(--muted); }
.contact-alt { margin-top:26px; display:flex; flex-direction:column; gap:2px; color:var(--muted); background:var(--soft); border-radius:var(--radius); padding:18px 20px; }
.contact-alt a { font-size:1.25rem; text-decoration:none; }
.mini-steps { list-style:none; padding:0; margin-top:26px; display:grid; gap:10px; counter-reset:m; font-size:.93rem; color:var(--muted); }
.mini-steps li { counter-increment:m; display:flex; gap:10px; align-items:baseline; }
.mini-steps li::before { content:counter(m); flex:none; width:24px; height:24px; border-radius:50%; background:var(--brand-tint); color:var(--brand); font-weight:700; font-size:.8rem; display:grid; place-items:center; }
.mini-steps strong { color:var(--ink); }
.form-panel {
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
    padding:clamp(22px,3vw,40px); box-shadow:var(--shadow);
}
.form-panel h2 { font-size:1.5rem; margin:0 0 6px; }
.form-panel label:not(.check) { display:block; margin:18px 0 6px; font-size:.92rem; font-weight:600; }
.form-panel input:not([type=checkbox],[type=hidden]),.form-panel select,.form-panel textarea {
    width:100%; padding:11px 14px; min-height:50px; color:var(--ink); background:var(--soft);
    border:1px solid #cfc8bc; border-radius:12px; font:inherit;
}
.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus { background:#fff; border-color:var(--brand); outline:3px solid var(--brand-tint); outline-offset:0; }
.form-panel textarea { resize:vertical; }
.form-panel [aria-invalid=true] { border-color:#a23a2e; background:#fff8f6; }
.check { display:flex; align-items:flex-start; gap:10px; margin-top:18px; font-size:.9rem; }
.check input { margin:3px 0 0; width:20px; height:20px; flex:none; accent-color:var(--brand); }
.privacy-link { font-size:.82rem; display:inline-block; margin:8px 0 20px; }
.form-panel button { display:flex; width:100%; }
.form-note { font-size:.82rem; color:var(--muted); margin-top:12px; }
.trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.field-error,.error-summary { color:#8e2f24; }
.field-error { font-size:.85rem; margin-top:6px; }
.error-summary { background:#fff5f2; padding:14px 16px; border-radius:12px; border:1px solid #f0c9c0; margin-bottom:8px; }
.error-summary a { text-decoration:underline; }

/* Responsive */
@media (max-width:1024px) {
    .header-phone { display:none; }
    .channels { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:900px) {
    .hero,.brief-grid { grid-template-columns:minmax(0,1fr); }
    .brief-grid { grid-template-areas:"copy" "form" "aside"; row-gap:24px; }
    .banner { grid-template-columns:minmax(0,1fr); }
    .banner-img { min-height:0; aspect-ratio:1.6; }
    .terms { grid-template-columns:minmax(0,1fr); }
    .tiles,.steps { grid-template-columns:minmax(0,1fr); }
    .cards-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .tile { min-height:0; }
}

@media (max-width:760px) {
    .wrap { width:calc(100% - 32px); }
    .top-inner { min-height:64px; gap:8px; }
    .top-inner > .compact { margin-left:auto; padding:8px 12px; min-height:42px; }
    .desktop-nav { display:none; }
    .mobile-nav { display:block; }
    .mobile-nav summary {
        cursor:pointer; list-style:none; min-width:44px; min-height:44px;
        display:grid; place-items:center; border-radius:10px;
    }
    .mobile-nav summary::-webkit-details-marker { display:none; }
    .mobile-nav summary span { font-size:0; width:20px; height:12px; display:block; border-block:2px solid currentColor; position:relative; }
    .mobile-nav summary span::after { content:""; position:absolute; left:0; right:0; top:3px; border-top:2px solid currentColor; }
    .mobile-nav nav {
        position:absolute; right:16px; top:calc(100% + 6px); background:#fff;
        border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
        padding:8px; min-width:220px; max-width:calc(100vw - 32px);
    }
    .mobile-nav nav a { display:block; padding:12px 14px; border-radius:10px; font-weight:500; }
    .mobile-nav nav a:hover { background:var(--soft); }
    .mobile-sub { list-style:none; margin:0 0 4px 14px; padding:0 0 0 10px; border-left:2px solid var(--line); }
    .mobile-nav .mobile-sub a { padding:9px 12px; font-weight:400; color:var(--muted); }
    .wordmark { gap:9px; }
    .wordmark-mark { width:36px; height:36px; }
    .wordmark-text { height:25px; }
    .checks-grid { grid-template-columns:1fr; }
    .cards { grid-template-columns:minmax(0,1fr); gap:14px; }
    .samples { grid-template-columns:1fr 1fr; gap:14px; }
    .section-head { flex-direction:column; align-items:flex-start; gap:8px; }
    .foot-main { grid-template-columns:1fr 1fr; }
    .foot-main > div:first-child { grid-column:1/-1; }
    .terms dl > div { grid-template-columns:1fr; gap:4px; }
    .actions .btn { flex:1 1 auto; }
}

@media (max-width:480px) {
    .wordmark { gap:8px; flex-shrink:1; min-width:0; }
    .wordmark-mark { width:32px; height:32px; }
    .wordmark-text { height:22px; }
    .top-inner > .compact { padding:8px 10px; font-size:.85rem; }
    .samples,.channels { grid-template-columns:1fr; }
    .fine { flex-wrap:wrap; }
    .btn { padding-inline:16px; }
    .interior h1 { font-size:clamp(1.6rem,7.6vw,2rem); }
    .hero h1 { font-size:clamp(1.75rem,8.4vw,2.2rem); }
    .chip span { padding:8px 13px; font-size:.88rem; }
}

@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
}

/* ===== Landing variants ===== */
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.actions.center { justify-content:center; }
.photo-label {
    position:absolute; left:14px; bottom:14px; font-size:.78rem; font-weight:600; color:#fff;
    background:rgba(20,24,23,.72); padding:5px 12px; border-radius:999px;
}

/* Centred product hero (wardrobes) */
.hero-center { background:linear-gradient(180deg,var(--soft) 0%,var(--bg) 70%); padding-bottom:clamp(32px,4vw,56px); }
.hc-copy { text-align:center; max-width:760px; margin:clamp(20px,3vw,40px) auto 0; }
.hc-copy .hero-lede { margin-inline:auto; }
.hc-visual { max-width:860px; margin:clamp(28px,4vw,48px) auto 0; }
.hc-figure { background:#fff; border:1px solid var(--line); border-radius:28px; padding:clamp(14px,2.4vw,28px); box-shadow:var(--shadow); }
.hc-figure figcaption,.what-visual figcaption { text-align:center; color:var(--muted); font-size:.86rem; margin-top:12px; }
.sketch { display:block; width:100%; height:auto; }

/* Soft variant with photo strip (shelves) */
.hero-soft { background:linear-gradient(180deg,var(--wood-tint) 0%,var(--bg) 85%); padding-bottom:0; }
.strip {
    display:grid; grid-auto-flow:column; grid-auto-columns:minmax(240px,1fr); gap:16px;
    width:min(1240px,calc(100% - 48px)); margin:clamp(28px,4vw,48px) auto 0;
    overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px;
}
.strip-item { position:relative; display:block; scroll-snap-align:start; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3; background:#dbd1bd; }
.strip-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.strip-item:hover img { transform:scale(1.03); }
.strip-label { position:absolute; left:12px; bottom:12px; background:#fff; color:var(--ink); font-size:.8rem; font-weight:600; padding:6px 12px; border-radius:999px; }
.what-is { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,72px); align-items:center; }
.what-visual { background:var(--soft); border-radius:28px; padding:clamp(14px,2.4vw,24px); }

/* Bento grid */
.bento { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.bento-item { border-radius:var(--radius-lg); padding:clamp(22px,2.6vw,32px); display:flex; flex-direction:column; justify-content:space-between; gap:20px; min-height:200px; }
.bento-item.wide { grid-column:span 2; flex-direction:row; align-items:flex-end; }
.bento-item h3 { font-size:1.25rem; margin-bottom:8px; }
.bento-item p { color:var(--muted); max-width:46ch; }
.bento-img { width:140px; height:auto; flex:none; }

/* Big centred CTA */
.cta-center { background:var(--brand); color:#fff; text-align:center; padding-block:clamp(56px,7vw,96px); }
.cta-center h2 { font-size:clamp(1.7rem,3vw,2.6rem); }
.cta-center p { color:#d9e6e8; max-width:56ch; margin:14px auto 0; }
.btn.outline-light { background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }
.btn.outline-light:hover { background:rgba(255,255,255,.1); border-color:#fff; }

/* Split hero (workshop) */
.hero-split { background:var(--soft); }
.hs-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,64px); align-items:center; padding-block:clamp(24px,3.5vw,48px) clamp(40px,5vw,72px); }
.hs-photo { position:relative; border-radius:28px; overflow:hidden; aspect-ratio:4/3; background:#d7c6aa; }
.hs-photo img { width:100%; height:100%; object-fit:cover; }
.hs-photo figcaption { position:absolute; right:14px; bottom:14px; font-size:.72rem; color:#fff; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }

/* Minimal hero (desks, hub) */
.hero-plain { border-bottom:1px solid var(--line); padding-bottom:clamp(32px,4vw,56px); }
.hero-plain h1 { margin-top:clamp(20px,3vw,40px); max-width:20ch; }
.hero-plain .hero-lede { max-width:60ch; }
.checks-inline { display:flex; flex-wrap:wrap; gap:12px 28px; }
.hero-hub { background:linear-gradient(180deg,var(--brand-tint) 0%,var(--bg) 100%); border:0; }
.hero-hub .hero-lede p { margin:0; }

/* Zig-zag rows */
.zigzag { display:grid; gap:clamp(48px,7vw,104px); }
.zz-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,72px); align-items:center; }
.zz-row.flip .zz-visual { order:2; }
.zz-visual { border-radius:28px; padding:clamp(16px,2.6vw,32px); display:grid; place-items:center; min-height:300px; position:relative; overflow:hidden; }
.zz-icon { width:min(260px,70%); height:auto; }
.zz-photo { position:relative; display:block; width:100%; border-radius:20px; overflow:hidden; aspect-ratio:4/3; margin:0; }
.zz-photo img { width:100%; height:100%; object-fit:cover; }
.zz-photo figcaption { position:absolute; right:12px; bottom:12px; font-size:.72rem; color:#fff; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }
.zz-copy h2 { font-size:clamp(1.5rem,2.4vw,2.1rem); }
.zz-copy > p { color:var(--muted); margin-top:12px; max-width:52ch; font-size:1.03rem; }
.zigzag-large .zz-row { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
.zigzag-large .zz-row.flip { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); }
.zigzag-large .zz-visual { min-height:380px; }

/* Comparison table (hub) */
.compare-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-lg); }
.compare { width:100%; min-width:920px; border-collapse:collapse; }
.compare th,.compare td { padding:18px 20px; text-align:center; border-bottom:1px solid var(--line); vertical-align:middle; font-size:.93rem; }
.compare thead th { background:var(--soft); vertical-align:top; }
.compare thead th:first-child,.compare tbody th { text-align:left; width:26%; }
.compare thead th img { width:64px; height:auto; margin:0 auto 10px; }
.compare thead a { display:block; }
.compare thead a { font-weight:700; font-size:1.05rem; color:var(--brand); }
.compare tbody th { font-weight:600; }
.compare tbody td { color:var(--muted); }
.compare tfoot td { border:0; }
.compare-title { display:block; font-size:1.3rem; font-weight:700; }
.compare-sub { display:block; color:var(--muted); font-weight:400; font-size:.88rem; margin-top:4px; }
.yes { display:inline-block; width:26px; height:26px; border-radius:50%; background:var(--brand-tint) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.5 2.4L10 3.3' fill='none' stroke='%232f5862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Editorial text block */
.seo-text { border-top:1px solid var(--line); }
.seo-text h2 { margin-bottom:18px; }

@media (max-width:900px) {
    .what-is,.hs-grid,.zz-row,.zigzag-large .zz-row,.zigzag-large .zz-row.flip { grid-template-columns:minmax(0,1fr); }
    .zz-row.flip .zz-visual { order:0; }
    .zz-visual,.zigzag-large .zz-visual { min-height:0; }
    .bento { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
    .bento-item.wide { grid-column:1/-1; }
}
@media (max-width:600px) {
    .bento { grid-template-columns:minmax(0,1fr); }
    .bento-item.wide { flex-direction:column; align-items:flex-start; }
    .bento-item { min-height:0; }
    .strip { width:calc(100% - 32px); grid-auto-columns:78%; }
    .checks-inline { flex-direction:column; }
    .hc-copy { text-align:left; }
    .actions.center { justify-content:flex-start; }
    .cta-center { text-align:left; }
    .cta-center p { margin-inline:0; }
}

/* Flow graphic */
.flow { list-style:none; padding:0; margin:0; display:grid; gap:14px; width:min(380px,100%); }
.flow li { display:flex; align-items:center; gap:16px; background:#fff; border-radius:16px; padding:16px 18px; box-shadow:var(--shadow); }
.flow li + li { position:relative; }
.flow-n { flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--brand); color:#fff; font-weight:700; }
.flow strong { display:block; }
.flow small { display:block; color:var(--muted); font-size:.86rem; }
.what-title { font-size:clamp(1.4rem,2.2vw,1.9rem); margin-bottom:16px; }

/* Back to top */
.to-top {
    position:fixed; right:20px; bottom:20px; z-index:25;
    width:48px; height:48px; border-radius:50%; display:grid; place-items:center;
    background:var(--brand); color:#fff; box-shadow:0 6px 20px rgba(31,37,35,.22);
    transition:opacity .2s ease,transform .2s ease,background .15s ease;
}
.to-top:hover { background:var(--brand-dark); }
.to-top:focus-visible { outline:3px solid var(--wood); outline-offset:3px; }
.to-top-icon { width:12px; height:12px; border-left:2px solid currentColor; border-top:2px solid currentColor; transform:translateY(3px) rotate(45deg); }
.js-to-top .to-top:not(.is-visible) { opacity:0; transform:translateY(12px); pointer-events:none; visibility:hidden; }
@media (max-width:480px) { .to-top { right:16px; bottom:16px; width:44px; height:44px; } }
@media print { .to-top { display:none; } }

/* Centre the arrow icon: the hidden ↗ text node would otherwise take a grid row. */
.sample-photo span::after { position:absolute; inset:0; margin:auto; }

/* Trust banner spacing: full section gap below; a following white section drops its top padding. */
.banner-section { padding-bottom:clamp(48px,6vw,88px); }
.banner-section + .wrap.section { padding-top:0; }

/* Kitchen landing (inc/landing-samzareulo.php) */
.kx-hero { position:relative; color:#fff; overflow:hidden; background:#3a2a1d; min-height:clamp(520px,62vw,680px); display:flex; }
.kx-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:60% 50%; }
.kx-hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(24,30,29,.86) 0%,rgba(24,30,29,.62) 42%,rgba(24,30,29,.08) 78%); }
.kx-hero-inner { position:relative; display:flex; flex-direction:column; padding-bottom:clamp(88px,9vw,120px); }
.kx-hero .crumbs,.kx-hero .crumbs a { color:rgba(255,255,255,.82); }
.kx-hero-copy { margin-top:auto; max-width:620px; padding-top:clamp(40px,6vw,80px); }
.kx-hero .tag { background:rgba(255,255,255,.16); color:#fff; }
.kx-hero h1 { font-size:clamp(2.2rem,4.4vw,3.6rem); }
.kx-hero .hero-lede { color:rgba(255,255,255,.88); }
.kx-caption { position:absolute; right:0; bottom:clamp(88px,9vw,120px); font-size:.72rem; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }
.kx-facts { position:relative; z-index:2; margin-top:-56px; }
.kx-facts ul { list-style:none; margin:0; padding:10px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; background:#fff; border-radius:var(--radius-lg); box-shadow:0 2px 4px rgba(31,37,35,.06),0 18px 40px rgba(31,37,35,.12); }
.kx-facts li { display:flex; align-items:center; gap:14px; padding:16px 18px; font-weight:600; line-height:1.4; }
.kx-facts li + li { box-shadow:-1px 0 0 var(--line); }
.kx-n { flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--wood-tint); color:#86532f; font-weight:700; }
.kx-shapes { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.kx-shapes li { border:1px solid var(--line); border-radius:var(--radius-lg); padding:22px; background:#fff; transition:border-color .15s,box-shadow .15s; }
.kx-shapes li:hover { border-color:#bfd0d3; box-shadow:var(--shadow); }
.kx-shape { display:block; width:100%; max-width:150px; height:auto; margin-bottom:18px; background:var(--soft); border-radius:14px; padding:10px; }
.kx-shapes h3 { font-size:1.08rem; }
.kx-shapes p { color:var(--muted); font-size:.93rem; margin-top:6px; }
.kx-note { margin-top:22px; color:var(--muted); }
.kx-drawing { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); grid-template-areas:"head head" "fig list"; gap:clamp(24px,3.4vw,48px); align-items:start; }
.kx-drawing-head { grid-area:head; max-width:62ch; }
.kx-drawing-head p { color:var(--muted); margin-top:10px; }
.kx-drawing-fig { grid-area:fig; margin:0; background:#fff; border-radius:28px; padding:clamp(12px,2vw,24px); box-shadow:var(--shadow); }
.kx-drawing-fig figcaption { text-align:center; color:var(--muted); font-size:.86rem; margin-top:10px; }
.kx-markers { grid-area:list; list-style:none; margin:0; padding:0; counter-reset:kx; display:grid; gap:4px; }
.kx-markers li { counter-increment:kx; position:relative; padding:12px 0 12px 46px; border-bottom:1px solid var(--line); }
.kx-markers li:last-child { border-bottom:0; }
.kx-markers li::before { content:counter(kx); position:absolute; left:0; top:12px; width:30px; height:30px; border-radius:50%; background:var(--wood); color:#fff; display:grid; place-items:center; font-weight:700; font-size:.88rem; }
.kx-markers strong { display:block; }
.kx-markers span { display:block; color:var(--muted); font-size:.93rem; margin-top:2px; }
.kx-message { background:var(--brand); color:#fff; }
.kx-message-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:clamp(28px,5vw,72px); align-items:center; }
.kx-message-lede { color:#d9e6e8; margin-top:12px; max-width:52ch; }
.kx-message .checks li::before { background-color:rgba(255,255,255,.92); }
.kx-bubble { margin:0; background:#fff; color:var(--ink); border-radius:24px 24px 24px 6px; padding:clamp(22px,2.6vw,32px); box-shadow:0 18px 40px rgba(0,0,0,.18); }
.kx-bubble figcaption { font-size:.78rem; font-weight:600; color:var(--wood); margin-bottom:10px; }
.kx-bubble blockquote { margin:0; font-size:1.06rem; line-height:1.7; }
.kx-flow { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2.4vw,28px); counter-reset:kf; }
.kx-flow li { counter-increment:kf; display:flex; flex-direction:column; gap:4px; }
.kx-flow-visual { display:grid; place-items:center; aspect-ratio:4/3; border-radius:22px; overflow:hidden; background:var(--soft); margin-bottom:14px; position:relative; }
.kx-flow-visual .sketch { width:100%; height:100%; }
.kx-flow-visual::before { content:counter(kf); position:absolute; left:14px; top:14px; width:34px; height:34px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-weight:700; z-index:1; }
.kx-flow-done { background:var(--sage-tint); }
.kx-flow-done img { width:42%; height:auto; }
.kx-flow strong { font-size:1.12rem; }
.kx-flow li > span:last-child { color:var(--muted); }

@media (max-width:1024px) {
    .kx-shapes { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .kx-drawing { grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "fig" "list"; }
}
@media (max-width:900px) {
    .kx-message-grid { grid-template-columns:minmax(0,1fr); }
    .kx-facts ul { grid-template-columns:minmax(0,1fr); }
    .kx-facts li + li { box-shadow:0 -1px 0 var(--line); }
}
@media (max-width:760px) {
    .kx-hero { min-height:0; }
    .kx-hero-shade { background:linear-gradient(180deg,rgba(24,30,29,.55) 0%,rgba(24,30,29,.88) 70%); }
    .kx-hero-copy { padding-top:120px; }
    .kx-caption { bottom:auto; top:56px; }
    .kx-flow { grid-template-columns:minmax(0,1fr); }
    .kx-shapes li { padding:18px; }
}
@media (max-width:480px) {
    .kx-shapes { grid-template-columns:minmax(0,1fr); gap:12px; }
    .kx-shapes li { display:grid; grid-template-columns:84px minmax(0,1fr); column-gap:16px; align-items:start; padding:16px; }
    .kx-shape { grid-row:span 2; margin:0; padding:6px; }
    .kx-hero h1 { font-size:clamp(1.9rem,9vw,2.3rem); }
}

/* Five furniture directions: home grid 3 columns with the kitchen card wide; "other" lists in 4 columns */
.cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cards:not(.cards-3) > .card:first-child { grid-column:span 2; }
.cards-3 { grid-template-columns:repeat(4,minmax(0,1fr)); }

/* Shelves: drawn tiles inside the strip */
.strip-draw { display:flex; flex-direction:column; justify-content:space-between; padding:14px; background:var(--soft); }
.strip-draw.tone-1 { background:var(--wood-tint); }
.strip-draw.tone-2 { background:var(--sage-tint); }
.strip-draw .sketch { flex:1; min-height:0; width:100%; height:auto; }
.strip-draw-copy { background:#fff; border-radius:14px; padding:10px 14px; margin-top:10px; }
.strip-draw-copy strong { display:block; font-size:.95rem; }
.strip-draw-copy span { display:block; color:var(--muted); font-size:.84rem; line-height:1.45; }
.checks-center { justify-content:center; margin-top:18px; }

/* Nightstands landing (inc/landing-tumboebi.php) */
.tb-hero { background:linear-gradient(180deg,var(--brand-tint) 0%,var(--bg) 92%); }
.tb-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,72px); align-items:center; padding-block:clamp(24px,3.5vw,48px) clamp(40px,5vw,72px); }
.tb-hero-fig { margin:0; background:#fff; border-radius:28px; padding:clamp(12px,2vw,22px); box-shadow:var(--shadow); }
.tb-hero-fig figcaption,.tb-measure-fig figcaption { text-align:center; color:var(--muted); font-size:.86rem; margin-top:10px; }
.tb-options { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.tb-options li { background:var(--soft); border-radius:var(--radius-lg); padding:22px; border:1px solid transparent; transition:border-color .15s,background .15s; }
.tb-options li:hover { background:#fff; border-color:var(--line); }
.tb-front { display:block; width:100%; max-width:132px; height:auto; margin:0 auto 16px; }
.tb-options h3 { font-size:1.08rem; text-align:center; }
.tb-options p { color:var(--muted); font-size:.93rem; margin-top:6px; text-align:center; }
.tb-measure { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(28px,5vw,64px); align-items:center; }
.tb-measure-copy > p { color:var(--muted); margin-top:10px; max-width:52ch; }
.tb-steps { list-style:none; margin:24px 0 0; padding:0; counter-reset:tb; display:grid; gap:12px; }
.tb-steps li { counter-increment:tb; position:relative; background:#fff; border-radius:var(--radius); padding:16px 18px 16px 64px; box-shadow:var(--shadow); }
.tb-steps li::before { content:counter(tb); position:absolute; left:18px; top:16px; width:32px; height:32px; border-radius:50%; background:var(--wood); color:#fff; display:grid; place-items:center; font-weight:700; font-size:.9rem; }
.tb-steps strong { display:block; }
.tb-steps span { display:block; color:var(--muted); font-size:.93rem; margin-top:2px; }
.tb-measure-fig { margin:0; background:#fff; border-radius:28px; padding:clamp(12px,2vw,22px); box-shadow:var(--shadow); }
.tb-duo { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr); gap:20px; align-items:stretch; }
.tb-video { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:clamp(20px,3vw,36px); align-items:center; background:var(--wood-tint); border-radius:28px; padding:clamp(16px,2.4vw,28px); }
.tb-video-photo { position:relative; display:block; border-radius:20px; overflow:hidden; aspect-ratio:4/5; }
.tb-video-photo img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.tb-video-photo:hover img { transform:scale(1.03); }
.tb-video h2,.tb-pair h2 { font-size:clamp(1.3rem,2vw,1.7rem); }
.tb-video p,.tb-pair p { color:var(--muted); margin-top:10px; }
.tb-pair { background:var(--brand-tint); border-radius:28px; padding:clamp(20px,2.6vw,32px); display:flex; flex-direction:column; }
.tb-pair .actions { margin-top:auto; padding-top:22px; }
.tb-pair-art { display:flex; align-items:flex-end; justify-content:center; gap:6px; margin-bottom:20px; background:#fff; border-radius:20px; padding:18px 12px 12px; }
.tb-pair-art .tb-front { width:64px; margin:0; }
.tb-bed { width:120px; height:30px; border:2px solid var(--brand); border-radius:8px 8px 3px 3px; margin-bottom:8px; background:var(--soft); }

@media (max-width:1024px) {
    .cards-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .tb-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .tb-duo { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:900px) {
    .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .tb-hero-grid,.tb-measure { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:760px) {
    .cards:not(.cards-3) > .card:first-child { grid-column:auto; }
    .cards,.cards-3 { grid-template-columns:minmax(0,1fr); }
    .tb-video { grid-template-columns:minmax(0,1fr); }
    .tb-video-photo { aspect-ratio:4/3; }
}
@media (max-width:480px) {
    .tb-options li { padding:16px; }
    .tb-options { gap:12px; }
}

/* Messenger card: one channel with WhatsApp / Viber / Telegram buttons */
.channel-chat .chat-links { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:6px; }
.chat-links a { display:inline-flex; align-items:center; min-height:36px; padding:6px 12px; border-radius:999px; background:var(--brand-tint); color:var(--brand); font-size:.84rem; font-weight:600; }
.chat-links a:hover { background:var(--brand); color:#fff; }
.foot-loc { margin-top:6px; color:inherit; opacity:.8; font-size:.9rem; }
.contact-loc { margin-top:6px; color:var(--muted); font-size:.95rem; }

/* Footer v2: process strip, four columns */
.foot {
    position:relative; color:#c9d3d2;
    background:#1d2a2c;
    border-top:4px solid var(--wood);
}
.foot-flow { list-style:none; margin:0 auto; padding:34px 0 30px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; border-bottom:1px solid rgba(255,255,255,.09); }
.foot-step { display:flex; align-items:center; gap:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:14px 18px; }
.foot-step-n { flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--wood); color:#fff; font-weight:700; }
.foot-step strong { display:block; color:#fff; font-size:.98rem; margin:0; }
.foot-step small { display:block; color:#9fb0ae; font-size:.84rem; }
.foot-main { grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,44px); padding-block:44px 40px; }
.foot-brand p { font-size:.95rem; margin-top:14px; color:#dfe6e5; }
.foot-brand .foot-loc { margin-top:4px; color:#9fb0ae; font-size:.88rem; opacity:1; }
.foot-social { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.foot-main .foot-social a,.foot-main .foot-chat a { display:inline-flex; align-items:center; min-height:36px; margin:0; padding:6px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.18); color:#fff; font-size:.84rem; font-weight:600; }
.foot-main .foot-social a:hover,.foot-main .foot-chat a:hover { background:#fff; color:var(--brand); text-decoration:none; }
.foot-h { color:#fff; font-weight:700; font-size:.92rem; margin:0 0 12px; letter-spacing:.01em; }
.foot-col > a:not(.btn) { display:block; margin:0; padding:5px 0; color:#c9d3d2; font-size:.93rem; }
.foot-main .foot-phone { color:#fff; font-size:1.12rem; font-weight:700; padding-top:0; }
.foot-chat { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 16px; }
.foot-main .foot-contact .btn { display:inline-flex; margin:2px 0 0; }
.foot-main .foot-contact .btn:hover { text-decoration:none; color:var(--brand); }
.fine { border-top:1px solid rgba(255,255,255,.09); color:#9fb0ae; }
@media (max-width:1024px) {
    .foot-main { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .foot-main > .foot-brand { grid-column:1/-1; }
}
@media (max-width:760px) {
    .foot-flow { grid-template-columns:minmax(0,1fr); gap:10px; padding-top:28px; }
    .foot-main { grid-template-columns:1fr 1fr; }
    .foot-main > .foot-contact { grid-column:1/-1; }
}

/* Home v2: photo hero with floating drawing, quick-start bar, image tiles, three-image process */
.hm-hero { background:linear-gradient(180deg,var(--soft) 0%,var(--bg) 100%); }
.hm-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(28px,5vw,72px); align-items:center; padding-block:clamp(28px,4vw,56px) clamp(64px,7vw,96px); }
.hm-hero h1 span { color:var(--brand); display:block; }
.hm-visual { position:relative; }
.hm-photo { margin:0; position:relative; border-radius:28px; overflow:hidden; aspect-ratio:4/3.2; background:#d7c6aa; box-shadow:var(--shadow); }
.hm-photo img { width:100%; height:100%; object-fit:cover; }
.hm-photo figcaption { position:absolute; right:14px; top:14px; font-size:.72rem; color:#fff; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }
.hm-float { position:absolute; left:-28px; bottom:-32px; width:min(250px,46%); background:#fff; border-radius:20px; padding:10px 10px 12px; box-shadow:0 2px 4px rgba(31,37,35,.06),0 18px 40px rgba(31,37,35,.16); }
.hm-float .sketch { border-radius:12px; }
.hm-float span { display:block; text-align:center; font-weight:700; font-size:.88rem; color:var(--brand); margin-top:8px; }
.hm-quick { position:relative; z-index:2; margin-top:-36px; }
.hm-quick .start-card { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"set btn" "foot foot"; column-gap:24px; align-items:center; padding:20px 24px; }
.hm-quick fieldset { grid-area:set; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.hm-quick legend { float:left; margin:0; }
.hm-quick .card-title { font-size:1.08rem; }
.hm-quick .card-sub { display:none; }
.hm-quick .chips { margin:0; }
.hm-quick .btn.wide { grid-area:btn; width:auto; align-self:end; min-height:44px; padding:9px 22px; border-radius:999px; }
.hm-quick .card-foot { grid-area:foot; margin-top:10px; }

.tiles-x { list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.tile-x { display:flex; flex-direction:column; height:100%; background:var(--soft); border-radius:var(--radius-lg); overflow:hidden; transition:box-shadow .15s,transform .15s; }
.tile-x:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.tile-x-visual { position:relative; display:block; aspect-ratio:4/3; overflow:hidden; background:#e8e1d6; }
.tile-x-visual img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.tile-x:hover .tile-x-visual img { transform:scale(1.03); }
.tile-sketch { display:grid; place-items:center; width:100%; height:100%; background:var(--brand-tint); padding:14px; }
.tile-sketch .sketch { width:100%; height:auto; border-radius:14px; }
.tile-badge { position:absolute; left:12px; top:12px; font-size:.72rem; font-weight:600; color:#fff; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }
.tile-x-copy { display:flex; flex-direction:column; gap:6px; padding:18px 20px 20px; flex:1; }
.tile-x-copy strong { font-size:1.18rem; }
.tile-x-copy > span:not(.tile-x-more) { color:var(--muted); font-size:.93rem; }
.tile-x-more { margin-top:auto; padding-top:8px; color:var(--brand); font-weight:600; font-size:.9rem; }
.tiles-bento { grid-template-columns:repeat(4,minmax(0,1fr)); }
.tiles-bento > li:first-child { grid-column:span 2; grid-row:span 2; }
.tiles-bento > li:first-child .tile-x-visual { aspect-ratio:auto; flex:1; min-height:300px; }
.tiles-bento > li:first-child .tile-x-copy { flex:none; }
.tiles-bento > li:first-child .tile-x-copy strong { font-size:1.5rem; }
.tiles-row { grid-template-columns:repeat(5,minmax(0,1fr)); margin-top:clamp(28px,3.4vw,44px); }
.tiles-row .tile-x { background:#fff; border:1px solid var(--line); }
.tiles-row .tile-x-copy { padding:14px 16px 16px; }
.tiles-row .tile-x-copy strong { font-size:1.05rem; }
.tiles-row .tile-x-copy > span:not(.tile-x-more) { font-size:.86rem; }

.hm-process { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2.4vw,28px); counter-reset:hp; }
.hm-process li { counter-increment:hp; }
.hm-process-visual { position:relative; aspect-ratio:4/3; border-radius:22px; overflow:hidden; background:#fff; box-shadow:var(--shadow); margin-bottom:16px; }
.hm-process-visual .sketch { width:100%; height:100%; }
.hm-process-visual img { width:100%; height:100%; object-fit:cover; }
.hm-process-visual::before { content:counter(hp); position:absolute; left:14px; top:14px; z-index:1; width:34px; height:34px; border-radius:50%; background:var(--wood); color:#fff; display:grid; place-items:center; font-weight:700; }
.hm-process h3 { font-size:1.15rem; }
.hm-process p { color:var(--muted); margin-top:6px; }

/* Furniture hub v2 */
.hub-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px 40px; flex-wrap:wrap; }
.hub-head .actions { margin-top:0; }

.hub-paths { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.hub-paths li { position:relative; background:var(--soft); border-radius:var(--radius-lg); padding:26px 24px 24px; display:flex; flex-direction:column; gap:8px; }
.hub-path-n { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:var(--brand); color:#fff; font-weight:700; margin-bottom:6px; }
.hub-paths h3 { font-size:1.12rem; }
.hub-paths p { color:var(--muted); flex:1; }

@media (max-width:1180px) {
    .tiles-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:1024px) {
    .tiles-bento { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .tiles-bento > li:first-child { grid-row:auto; }
    .hm-quick .start-card { grid-template-columns:minmax(0,1fr); grid-template-areas:"set" "btn" "foot"; row-gap:14px; }
    .hm-quick .btn.wide { width:100%; }
}
@media (max-width:900px) {
    .hm-hero-grid { grid-template-columns:minmax(0,1fr); padding-bottom:72px; }
    .hm-float { left:12px; bottom:-28px; width:44%; }
    .hm-process,.hub-paths { grid-template-columns:minmax(0,1fr); }
    .hm-process li { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:0 20px; align-items:center; }
    .hm-process-visual { grid-row:span 2; margin:0; }
}
@media (max-width:760px) {
    .tiles-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .tiles-bento > li:first-child .tile-x-visual { min-height:220px; }
    .hm-quick { margin-top:-24px; }
    .hm-quick fieldset { display:block; }
    .hm-quick legend { float:none; margin-bottom:12px; }
}
@media (max-width:560px) {
    .tiles-bento { grid-template-columns:minmax(0,1fr); }
    .tiles-bento > li:first-child { grid-column:auto; }
    .hm-process li { grid-template-columns:minmax(0,1fr); }
    .hm-process-visual { grid-row:auto; margin-bottom:14px; }
}
@media (max-width:420px) {
    .tiles-row { grid-template-columns:minmax(0,1fr); }
}

/* Home hero collage of our own photos */
.hm-collage { margin:0; position:relative; display:grid; grid-template-columns:1.25fr 1fr; grid-template-rows:1fr 1fr; gap:12px; aspect-ratio:4/3.2; }
.hm-collage img { width:100%; height:100%; object-fit:cover; border-radius:22px; box-shadow:var(--shadow); }
/* Explicit cells: auto-placement left an empty cell when the first-child rule did not apply */
.hm-collage img { min-width:0; min-height:0; }
.hm-collage img:nth-of-type(1) { grid-column:1; grid-row:1 / 3; object-position:72% 50%; }
.hm-collage img:nth-of-type(2) { grid-column:2; grid-row:1; }
.hm-collage img:nth-of-type(3) { grid-column:2; grid-row:2; }
.hm-collage figcaption { position:absolute; right:12px; top:12px; font-size:.72rem; font-weight:600; color:#fff; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }
@media (max-width:560px) {
    .tiles-bento { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .tiles-bento > li:first-child { grid-column:span 2; }
    .tiles-bento > li:not(:first-child) .tile-x-copy > span:not(.tile-x-more) { display:none; }
    .tiles-bento > li:not(:first-child) .tile-x-copy { padding:12px 14px 14px; }
    .tiles-bento > li:not(:first-child) .tile-x-copy strong { font-size:1rem; }
    .hm-collage { gap:8px; }
    .hm-collage img { border-radius:16px; }
}

/* Messenger card: inline text links instead of buttons, so the row keeps its height */
.chat-inline { font-size:.9rem; color:var(--muted); }
.chat-inline a { color:var(--brand); font-weight:600; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.chat-inline a:hover { text-decoration-thickness:2px; }

/* Illustrative images (assets/ill-*.webp) */
.ill-figure { position:relative; margin:0; overflow:hidden; }
.ill-figure img { width:100%; height:100%; object-fit:cover; }
.ill-figure figcaption { position:absolute; right:12px; bottom:12px; left:auto; top:auto; font-size:.72rem; font-weight:600; color:#fff; background:rgba(20,24,23,.72); padding:4px 10px; border-radius:999px; }
.bento-photo { flex:0 0 46%; align-self:stretch; border-radius:18px; aspect-ratio:4/3; }
.tb-hero-visual { position:relative; }
.tb-hero-photo { border-radius:28px; aspect-ratio:4/3; box-shadow:var(--shadow); }
.tb-hero-photo figcaption { right:auto; left:14px; top:14px; bottom:auto; }
.tb-float { position:absolute; right:-22px; bottom:-28px; width:min(220px,42%); background:#fff; border-radius:20px; padding:10px 10px 12px; box-shadow:0 2px 4px rgba(31,37,35,.06),0 18px 40px rgba(31,37,35,.16); }
.tb-float .sketch { border-radius:12px; }
.tb-float span { display:block; text-align:center; font-weight:700; font-size:.84rem; color:var(--brand); margin-top:6px; }
@media (max-width:900px) {
    .tb-float { right:12px; bottom:-24px; width:40%; }
    .tb-hero-grid { padding-bottom:64px; }
}
@media (max-width:760px) {
    .bento-item.wide { flex-direction:column; align-items:stretch; }
    .bento-photo { flex:none; width:100%; }
}
/* Hub tiles on phones: same compact 2-column grid as the home page, kitchen full width */
@media (max-width:560px) {
    .tiles-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .tiles-row > li:first-child { grid-column:span 2; }
    .tiles-row > li:not(:first-child) .tile-x-copy > span:not(.tile-x-more) { display:none; }
    .tiles-row > li:not(:first-child) .tile-x-copy { padding:12px 14px 14px; }
}
