/*
Theme Name: Lala Decor
Theme URI: https://laladecorvn.com
Author: Lala Decor
Description: Theme riêng cho Công ty TNHH Lala Decor – thiết kế kiến trúc, nội thất và thi công trọn gói.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lala
*/

:root {
  --green-900: #22362A;
  --green-800: #2E4A37;
  --green-700: #4A6E53;
  --green-600: #5E8467;
  --green-500: #7FA383;
  --green-300: #A9C79A;
  --green-100: #E8F0E3;
  --sand-50: #FAF8F3;
  --sand-100: #F3EFE6;
  --ink: #262B28;
  --muted: #69706B;
  --line: #E4E7E2;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(34, 54, 42, .28);
  --header-h: 84px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  background: var(--green-600); color: #fff; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--green-800); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); }
.btn-outline { background: transparent; border-color: var(--green-600); color: var(--green-700); }
.btn-outline:hover { background: var(--green-600); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-700); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 19px; font-weight: 500; letter-spacing: .16em; color: #3c3f3d; }
.brand-text small { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--green-600); margin-top: 4px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.main-nav a { position: relative; display: block; padding: 6px 0; font-size: 15px; font-weight: 500; color: #3c3f3d; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green-500); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--green-700); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Common sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--sand-50); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head p { color: var(--muted); max-width: 520px; margin: 0; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--green-300); }
.thumb-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--green-100), var(--sand-100)); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: clamp(560px, 86vh, 820px); display: flex; align-items: center; overflow: hidden; background: var(--green-800); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(20, 34, 25, .78) 0%, rgba(20, 34, 25, .45) 50%, rgba(20, 34, 25, .1) 100%); }
.hero .container { position: relative; z-index: 1; padding: 60px 0 120px; }
.hero-content { max-width: 660px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 66px); font-weight: 600; margin-bottom: 20px; }
.hero p { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-search-wrap { position: relative; z-index: 2; margin-top: -64px; }
.hero-search { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 8px; align-items: stretch; padding: 12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 18px; border-radius: 12px; transition: background .2s; }
.field:hover, .field:focus-within { background: var(--sand-50); }
.field + .field { border-left: 1px solid var(--line); }
.field > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input { border: 0; background: transparent; padding: 4px 0; font-size: 16px; outline: none; width: 100%; }
.hero-search .btn { border-radius: 14px; }
.type-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; justify-content: center; }
.type-chips a { padding: 6px 16px; border-radius: 999px; background: var(--sand-100); font-size: 14px; color: var(--green-800); transition: background .2s; }
.type-chips a:hover { background: var(--green-100); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: var(--radius); background: var(--green-100); z-index: -1; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.about-text p { color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 600; color: var(--green-600); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; padding: 38px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-num { position: absolute; top: 26px; right: 30px; font-size: 14px; font-weight: 600; color: var(--green-300); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); margin-bottom: 24px; }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 21px; }
.service p { color: var(--muted); margin: 0; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, .filters a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.filters button:hover, .filters a:hover { border-color: var(--green-500); color: var(--green-700); }
.filters .is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.filters .is-active:hover { color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.project-card a { display: block; }
.project-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand-100); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-body { padding: 18px 2px 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 6px; }
.project-title { font-size: 20px; margin: 0 0 4px; transition: color .2s; }
.project-card:hover .project-title { color: var(--green-700); }
.project-meta { font-size: 14px; color: var(--muted); margin: 0; }
.center { text-align: center; margin-top: 48px; }
.empty { padding: 48px; text-align: center; color: var(--muted); background: var(--sand-50); border-radius: var(--radius); }

.featured-project { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.fp-main { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand-100); }
.fp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.fp-main:hover img { transform: scale(1.04); }
.fp-info h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 4px 0 12px; }
.fp-info h3 a:hover { color: var(--green-700); }
.fp-info p { color: var(--muted); }
.fp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 28px; }
.fp-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: opacity .2s; }
.fp-thumbs a:hover img { opacity: .85; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.member-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--green-100), var(--sand-100)); display: grid; place-items: center; margin-bottom: 18px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-initials { font-size: 48px; font-weight: 600; letter-spacing: .04em; color: var(--green-600); }
.member h3 { font-size: 19px; margin: 0 0 2px; }
.member-role { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-bottom: 10px; }
.member p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Workflow ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--line); transition: border-color .3s; }
.step:hover { border-color: var(--green-500); }
.step-num { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--green-500); }
.step h3 { font-size: 19px; margin: 8px 0; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 44px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.timeline .num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-weight: 600; font-size: 18px; }
.timeline h3 { font-size: 22px; margin: 14px 0 8px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card .post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-100); }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-date { font-size: 13px; color: var(--muted); }
.post-card h3 { font-size: 19px; margin: 0; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 clamp(64px, 9vw, 112px); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(36px, 5vw, 64px); border-radius: 24px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(169, 199, 154, .35), transparent 45%), var(--green-800); }
.cta h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page head / content ---------- */
.page-head { padding: clamp(52px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); background: var(--sand-50); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 0; max-width: 820px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 14px 0 0; font-size: 17px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--green-700); }
.crumbs span { margin: 0 8px; opacity: .6; }

.entry { max-width: 780px; margin-inline: auto; font-size: 17px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.8em; }
.entry h3 { font-size: 21px; margin-top: 1.5em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--green-500); }
.entry a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--radius); }
.entry figure { margin: 2em 0; }
.entry figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.entry blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--green-500); font-size: 19px; color: var(--green-800); }
.entry .lead, .lead { font-size: 20px; color: var(--ink); }
.alignwide { max-width: 1100px; margin-inline: auto; }

/* ---------- Single project ---------- */
.project-hero img { width: 100%; max-height: 78vh; object-fit: cover; }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.project-layout .entry { margin: 0; max-width: none; }
.project-info { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--sand-50); }
.project-info h2 { font-size: 18px; margin-bottom: 14px; }
.project-info dl { margin: 0 0 24px; }
.project-info dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.project-info dt { color: var(--muted); }
.project-info dd { margin: 0; font-weight: 500; text-align: right; }
.project-info .btn { width: 100%; }

.post-hero { max-width: 1000px; margin: 0 auto 48px; }
.post-hero img { border-radius: var(--radius); width: 100%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.info-list .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list small { display: block; font-size: 13px; color: var(--muted); }
.info-list a:hover { color: var(--green-700); }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(127, 163, 131, .2); }
.form-grid textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
.notice-ok { background: var(--green-100); color: var(--green-800); }
.notice-err { background: #FBEAE7; color: #8A2D1F; }
.map { margin-top: clamp(48px, 6vw, 80px); }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; }
.page-numbers.current { background: var(--green-800); border-color: var(--green-800); color: #fff; }
a.page-numbers:hover { border-color: var(--green-500); color: var(--green-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr; gap: 48px; padding: 80px 0 56px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: var(--green-300); }
.brand-tile { width: 60px; height: 60px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.brand-tile img { height: 44px; width: auto; }
.footer-contact strong { color: #fff; font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }

.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform .2s; }
.float-contact a:hover { transform: scale(1.06); }
.float-contact svg { width: 24px; height: 24px; }
.fc-phone { background: var(--green-600); animation: pulse 2.4s infinite; }
.fc-zalo { background: #0068FF; font-size: 13px; font-weight: 700; }
.fc-label, .fc-form { display: none !important; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 132, 103, .5); } 70% { box-shadow: 0 0 0 14px rgba(94, 132, 103, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 132, 103, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .project-grid, .post-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .project-info { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .brand-mark { height: 42px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 24px var(--gutter); transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; }
  .admin-bar .main-nav { top: calc(var(--header-h) + 32px); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .about, .contact-grid, .featured-project { grid-template-columns: 1fr; }
  .about-media::before { inset: 16px -12px -16px 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .services, .project-grid, .post-grid, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-search { grid-template-columns: 1fr; }
  .field + .field { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-text { font-size: 16px; }
  .timeline li { grid-template-columns: 48px 1fr; gap: 16px; }
  .timeline .num { width: 48px; height: 48px; font-size: 16px; }
  .timeline li:not(:last-child)::before { left: 23px; top: 48px; }
  .timeline h3 { margin-top: 8px; }
  .about-media { margin-right: 12px; }

  /* Mobile: contact buttons become a bottom bar so they never cover content */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .float-contact { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3); }
  .float-contact a { flex: 1; width: auto; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; box-shadow: none; animation: none; }
  .float-contact a:hover { transform: none; }
  .float-contact svg { width: 18px; height: 18px; }
  .fc-label { display: inline !important; }
  .fc-form { display: flex !important; background: var(--green-100); color: var(--green-800) !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
