/* Aesthetic Interior Design: public site */
:root {
  --blue: #1475BC;
  --blue-d: #0f5f99;
  --sky: #00AEEF;
  --ink: #1b2029;
  --text: #3c4250;
  --muted: #6b7180;
  --gray: #5D5E60;
  --line: #e7e3dc;
  --stone: #f6f3ee;
  --paper: #ffffff;
  --r-card: 10px;
  --r-btn: 8px;
  --r-chip: 6px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --shadow: 0 10px 30px rgba(20, 26, 38, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-stone { background: var(--stone); }
.lead { font-size: 1.12rem; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--blue); margin-bottom: .6rem; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; font-family: var(--sans); text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #1891d6); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-d), var(--blue)); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: #d6d1c8; }
.btn-line:hover { border-color: #b9b2a6; color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .12); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(0, 0, 0, .22); }
.btn svg { width: 18px; height: 18px; }
.textlink { font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.textlink svg { width: 16px; height: 16px; }

/* Header */
.topbar { background: var(--ink); color: #c9ccd3; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { color: #e6e8ec; }
.topbar .tb-right { display: flex; gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 52px; height: 42px; }
.brand-name { font-family: var(--serif); line-height: 1; }
.brand-name b { display: block; font-size: 1.45rem; font-weight: 600; letter-spacing: .06em; color: #111; }
.brand-name span { display: block; font-size: .78rem; letter-spacing: .14em; color: var(--gray); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .96rem; padding: 10px 14px; border-radius: var(--r-btn); }
.nav a:hover { background: var(--stone); }
.nav a.active { color: var(--blue); }
.nav .btn { margin-left: 10px; min-height: 44px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-btn); width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 20px 24px; gap: 2px; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .12); z-index: 60; }
  .nav.open { transform: none; }
  .nav a { font-size: 1.08rem; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: var(--r-btn); border-bottom: 0; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .brand img { width: 44px; height: 36px; }
  .brand-name b { font-size: 1.2rem; }
  .brand-name span { font-size: .66rem; }
}
@media (min-width: 961px) { .nav-close { display: none !important; } }
.scrim { position: fixed; inset: 0; background: rgba(15, 18, 25, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* Hero slider */
.hero { position: relative; height: clamp(520px, 78vh, 760px); overflow: hidden; background: #222; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; }
.slide.on img { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 15, 22, .78) 0%, rgba(12, 15, 22, .45) 45%, rgba(12, 15, 22, .05) 100%); pointer-events: none; }
.slide-body { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.slide-body .wrap { max-width: var(--wrap); }
.slide-body .inner { max-width: 640px; }
.slide h1, .slide h2 { color: #fff; margin-bottom: .35em; }
.slide p { font-size: 1.15rem; color: #e9ecf1; max-width: 52ch; }
.slide .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-ctrl { position: absolute; z-index: 3; bottom: 28px; right: max(16px, calc((100% - var(--wrap)) / 2)); display: flex; gap: 8px; align-items: center; }
.hero-ctrl button { width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .2); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero-ctrl button:hover { border-color: #fff; }
.hero-ctrl svg { width: 20px; height: 20px; }
.hero-count { font-size: .9rem; color: #dfe3ea; margin-right: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .hero { height: 620px; }
  .slide::after { background: linear-gradient(0deg, rgba(12, 15, 22, .85) 0%, rgba(12, 15, 22, .5) 55%, rgba(12, 15, 22, .15) 100%); }
  .slide-body { align-items: flex-end; padding-bottom: 96px; }
  .slide p { font-size: 1rem; }
  .hero-ctrl { left: 16px; right: auto; }
}

/* Intro split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
.intro-imgs { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.intro-imgs img { width: 100%; object-fit: cover; border-radius: var(--r-card); }
.intro-imgs img:first-child { aspect-ratio: 4/5; }
.intro-imgs img:last-child { aspect-ratio: 3/4; margin-bottom: 40px; }
.points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.points svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.points b { color: var(--ink); display: block; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Services list with image swap */
.sv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.sv-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sv-head h2 { margin: 0; max-width: 16ch; }
.sv-list { border-top: 1px solid var(--line); }
.sv-item { display: grid; grid-template-columns: 54px 1fr 24px; gap: 16px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: background .15s; }
.sv-item:hover, .sv-item.on { background: #fff; }
.sv-item .no { font-family: var(--serif); font-size: 1.3rem; color: var(--muted); }
.sv-item h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.65rem); }
.sv-item p { margin: 4px 0 0; font-size: .95rem; color: var(--muted); display: none; }
.sv-item.on p { display: block; }
.sv-item svg { width: 20px; height: 20px; color: var(--muted); }
.sv-item.on svg { color: var(--blue); }
.sv-media { position: sticky; top: 100px; aspect-ratio: 4/4.4; border-radius: var(--r-card); overflow: hidden; background: #ddd; }
.sv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.sv-media img.on { opacity: 1; }
.sv-thumb { display: none; }
@media (max-width: 900px) {
  .sv { grid-template-columns: 1fr; }
  .sv-media { display: none; }
  .sv-item { grid-template-columns: 76px 1fr 20px; padding: 16px 0; }
  .sv-item .no { display: none; }
  .sv-thumb { display: block; width: 76px; height: 64px; object-fit: cover; border-radius: var(--r-chip); }
  .sv-item p { display: block; }
}

/* Project mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mosaic .pj:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.mosaic .pj:nth-child(2), .mosaic .pj:nth-child(3) { grid-column: span 2; }
.mosaic .pj:nth-child(4), .mosaic .pj:nth-child(5) { grid-column: span 3; }
.pj { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: #ddd; color: #fff; min-height: 260px; }
.pj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pj:hover img { transform: scale(1.04); }
.pj::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 18, .78) 0%, rgba(10, 12, 18, 0) 55%); }
.pj-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.pj-info h3 { color: #fff; margin: 0 0 4px; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.pj-info span { font-size: .9rem; color: #e4e7ec; display: inline-flex; gap: 6px; align-items: center; }
.pj-info svg { width: 15px; height: 15px; }
.mosaic .pj:nth-child(1) .pj-info h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .pj:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .mosaic .pj:nth-child(1) { grid-column: span 2; min-height: 320px; }
}
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; } .mosaic .pj:nth-child(n) { grid-column: auto; min-height: 280px; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.step { padding: 28px 24px 8px 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 2.6rem; color: var(--blue); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; margin-bottom: .35em; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* Wall decor band */
.band { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--ink); color: #d5d8de; }
.band-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-media img:first-child { grid-row: span 2; }
.band-body { padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.band-body h2 { color: #fff; }
.band-body .kicker { color: #6fcdf2; }
.band-body ul { padding: 0; list-style: none; margin: 8px 0 30px; display: grid; gap: 10px; }
.band-body li { padding-left: 22px; position: relative; }
.band-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--sky); }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } .band-media { min-height: 340px; } }

/* Testimonials */
.quote-box { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-box blockquote { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.35; margin: 0 0 24px; }
.quote-who { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.quote-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-who b { display: block; color: var(--ink); }
.quote-who span { font-size: .9rem; color: var(--muted); }
.q-item { display: none; }
.q-item.on { display: block; }
.q-nav { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.q-nav button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-btn); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.q-nav svg { width: 18px; height: 18px; }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; color: var(--text); }
.post-card .ph { aspect-ratio: 16/11; border-radius: var(--r-card); overflow: hidden; margin-bottom: 18px; background: #eee; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .ph img { transform: scale(1.04); }
.post-card h3 { font-size: 1.45rem; margin-bottom: .4em; }
.post-card:hover h3 { color: var(--blue); }
.post-meta { font-size: .86rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.post-card p { font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--blue); color: #eaf4fb; display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.cta-body { padding: clamp(32px, 6vw, 72px); }
.cta h2 { color: #fff; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta .btn-light { background: #fff; color: var(--blue); }
.cta .btn-light:hover { color: var(--blue-d); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-media { max-height: 260px; overflow: hidden; } }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: #222; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 15, 22, .82), rgba(12, 15, 22, .25)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 120px 0 48px; }
.page-hero h1 { color: #fff; margin: 0 0 .2em; max-width: 20ch; }
.page-hero p { color: #e2e6ec; max-width: 60ch; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: #cfd4dc; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #fff; }
.page-head { padding: 64px 0 24px; border-bottom: 1px solid var(--line); }
.page-head .crumbs, .page-head .crumbs a { color: var(--muted); }

/* Portfolio grid */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--r-chip); padding: 9px 16px; font: 500 .94rem var(--sans); cursor: pointer; }
.filters button:hover { border-color: #c7c1b6; }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .sep { width: 1px; background: var(--line); margin: 0 6px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.pcard { color: var(--text); display: block; }
.pcard .ph { aspect-ratio: 4/3.2; overflow: hidden; border-radius: var(--r-card); background: #eee; margin-bottom: 14px; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .ph img { transform: scale(1.04); }
.pcard h3 { font-size: 1.4rem; margin: 0 0 4px; }
.pcard:hover h3 { color: var(--blue); }
.pcard .meta { font-size: .9rem; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; }
.pcard.hide { display: none; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }

/* Project detail */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin: 0 0 40px; background: #fff; }
.facts div { padding: 18px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts span { display: block; font-size: .82rem; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 600; }
.pd { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.pd aside { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; background: #fff; }
.pd aside h3 { font-size: 1.4rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 40px 0; }
.gallery a { display: block; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3; background: #eee; }
.gallery a:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.03); }
.pn { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 40px; }
.pn a { max-width: 48%; }
.pn small { display: block; color: var(--muted); }
@media (max-width: 960px) { .pd { grid-template-columns: 1fr; } .pd aside { position: static; } .facts div { border-bottom: 1px solid var(--line); } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 14, .94); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-chip); }
.lb button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); width: 48px; height: 48px; border-radius: var(--r-btn); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb button svg { width: 22px; height: 22px; }
.lb .x { top: 16px; right: 16px; }
.lb .pv { left: 16px; top: 50%; }
.lb .nx { right: 16px; top: 50%; }
.lb .ct { position: absolute; bottom: 18px; color: #cfd3da; font-size: .9rem; }

/* Rich text */
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--text); max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.45rem; margin: 1.4em 0 .4em; }
.prose img { border-radius: var(--r-card); margin: 1.4em 0; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--line); font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--stone); color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r-card); }

/* Blog layout */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.side h4 { font-family: var(--sans); font-size: 1rem; margin: 0 0 12px; }
.side ul { list-style: none; padding: 0; margin: 0 0 32px; }
.side li a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.side li a.on, .side li a:hover { color: var(--blue); }
.side-cta { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: var(--stone); }
.pager { display: flex; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--ink); padding: 0 12px; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-head { max-width: 860px; margin: 0 auto; padding: 56px 0 28px; }
.article-cover { max-width: 1100px; margin: 0 auto 48px; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; }
@media (max-width: 960px) { .blog-layout { grid-template-columns: 1fr; } .blog-layout .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-layout .posts { grid-template-columns: 1fr; } .article-cover { border-radius: 0; aspect-ratio: 4/3; } }

/* About */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.values div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.values h3 { font-size: 1.4rem; }
.values p { margin: 0; color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.team img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-card); width: 100%; margin-bottom: 12px; }
.team h3 { font-size: 1.3rem; margin: 0; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } .values div:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Services page */
.svc-rows { display: grid; gap: 72px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc-row:nth-child(even) .svc-img { order: 2; }
.svc-img { aspect-ratio: 5/4; border-radius: var(--r-card); overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-img { order: 0; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; color: var(--ink); font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 300; color: var(--blue); }
.faq details[open] summary::after { content: '\2212'; }
.faq .ans { padding: 0 0 22px; color: var(--text); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.c-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 22px; }
.c-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.c-list .ic { width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.c-list .ic svg { width: 20px; height: 20px; }
.c-list span { display: block; font-size: .86rem; color: var(--muted); }
.c-list a, .c-list b { color: var(--ink); font-weight: 600; }
.form { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 4vw, 40px); background: #fff; }
.form h2 { font-size: 2rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
label.f { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #d9d4cb; border-radius: var(--r-btn); padding: 12px 14px; font: 400 1rem var(--sans); color: var(--ink); background: #fff; }
label.f textarea { min-height: 130px; resize: vertical; }
label.f input:focus, label.f select:focus, label.f textarea:focus { outline: 2px solid rgba(20, 117, 188, .25); border-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: var(--r-btn); margin-bottom: 18px; background: #eef6fc; color: #0f4f7f; }
.notice.err { background: #fbf3ec; color: #7a4b1c; }
.map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); margin-top: 24px; }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #12161d; color: #a9afba; padding: 72px 0 0; font-size: .95rem; }
.footer a { color: #d9dde4; }
.footer a:hover { color: #fff; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--sans); color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-name b { color: #fff; }
.footer .brand-name span { color: #a9afba; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border: 1px solid #2c333f; border-radius: var(--r-btn); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { border-color: #56606f; }
.social svg { width: 18px; height: 18px; }
.f-bottom { border-top: 1px solid #222934; margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: var(--r-card); background: #1fa855; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.wa:hover { color: #fff; transform: translateY(-2px); }
.wa svg { width: 28px; height: 28px; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } * { transition: none !important; } }

.edit-dyn { display: none; }
.h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.blog-layout .posts { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .blog-layout .posts { grid-template-columns: 1fr; } }
@media (max-width: 600px) { h1, .h1 { font-size: 1.95rem; } .page-hero h1 { font-size: 2.1rem; } h2 { font-size: 1.75rem; } }
