:root {
  --ink: #1E2227;
  --ink-2: #2A2F35;
  --text: #2B2F33;
  --muted: #5F656B;
  --bg: #FFFFFF;
  --bg-alt: #F3F3F1;
  --line: #E2E2DE;
  --orange: #F58220;
  --orange-deep: #E2650A;
  --radius: 10px;
  --wrap: 1120px;
  --font-head: "Kanit", "Leelawadee UI", "Thonburi", "Noto Sans Thai", sans-serif;
  --font-body: "Kanit", "Leelawadee UI", "Thonburi", "Noto Sans Thai", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0; color: var(--ink); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.i { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px;
  border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(180deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 6px 18px rgba(245,130,32,.35); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-light { background: #fff; color: var(--orange-deep); }
.btn-light:hover { background: #FFF3E8; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { white-space: nowrap; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.55rem; letter-spacing: .5px; color: #fff; }
.brand-name b { color: var(--orange); font-weight: 700; }

.site-nav { display: flex; gap: 8px; }
.site-nav a { position: relative; white-space: nowrap; padding: 20px 18px; text-decoration: none; font-weight: 500; color: #E8E8E6; }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 3px; border-radius: 2px; background: var(--orange); }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: 420px; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(30,34,39,.75) 50%, rgba(30,34,39,0) 70%);
}
.hero-copy { position: relative; z-index: 2; padding-block: 64px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
.accent { color: var(--orange); }
.hero-sub { position: relative; margin: 34px 0 30px; font-family: var(--font-head); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; }
.hero-sub::before { content: ""; position: absolute; left: 0; top: -18px; width: 48px; height: 4px; border-radius: 2px; background: var(--orange); }

/* Sections */
.section { padding-block: 56px; }
.section-alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: center; }
.section-head h2 { white-space: nowrap; position: relative; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; padding-top: 18px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 4px; border-radius: 2px; background: var(--orange); }
.section-head p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 245 / 168; text-decoration: none; color: #fff; background: var(--ink-2); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,34,39,0) 35%, rgba(30,34,39,.9) 100%); }
.svc:hover img { transform: scale(1.05); }
.svc-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.svc-label::before { content: ""; position: absolute; left: 16px; bottom: 6px; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }
.svc-label .i:first-child { width: 26px; height: 26px; }
.svc-arrow { margin-left: auto; transition: transform .2s; }
.svc:hover .svc-arrow { transform: translateX(4px); }

/* Gallery */
.gallery-wrap { position: relative; min-width: 0; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 5); gap: 10px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: start; aspect-ratio: 4 / 3.3; border-radius: 8px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-next { position: absolute; right: -14px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.2); cursor: pointer; }
.gallery-next:hover { color: var(--orange); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 52px; width: 10px; height: 10px; border-right: 2px solid #8A9096; border-top: 2px solid #8A9096; transform: rotate(45deg); }
.step-icon { width: 42px; height: 42px; color: var(--orange); }
.steps h3 { margin-top: 10px; font-size: 1.02rem; font-weight: 600; }
.steps h3 span { color: var(--orange); margin-right: 4px; }
.steps p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-block: 8px 0; padding: 30px 40px; border-radius: var(--radius);
  color: #fff; background: linear-gradient(100deg, var(--orange-deep), var(--orange) 60%, #F7A04E);
  box-shadow: 0 10px 30px rgba(226,101,10,.3);
}
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; }
.cta-band p { margin: 4px 0 0; opacity: .95; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--orange); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Contact */
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.contact-list div { background: #fff; border-radius: var(--radius); padding: 16px 20px; border: 1px solid var(--line); }
.contact-list dt { font-size: .9rem; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-list .wide { grid-column: 1 / -1; }
.contact-list .address { font-size: 1rem; line-height: 1.5; }
.contact-list a:hover { color: var(--orange-deep); }

/* Footer */
.site-footer { background: var(--ink); color: #C9CACC; padding-block: 22px; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.footer-nav a { text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--orange); }
.copy { margin: 0 0 0 auto; font-size: .85rem; padding-right: 190px; }

/* Floating chat */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px;
  border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .95rem; box-shadow: 0 6px 22px rgba(0,0,0,.25);
}
.chat-fab .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--orange); color: #fff; }
.chat-fab:hover { color: var(--orange-deep); }

.mobile-bar { display: none; }

/* Tablet */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2)::after { display: none; }
  .gallery { grid-auto-columns: calc((100% - 20px) / 3); }
}

/* Mobile */
@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .header-inner { min-height: 60px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 1.2rem; }
  .menu-btn { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav a[aria-current="page"]::after { display: none; }

  .hero { min-height: 0; align-items: flex-end; }
  .hero-img { width: 100%; }
  .hero::before { background: linear-gradient(90deg, rgba(30,34,39,.92) 0%, rgba(30,34,39,.7) 55%, rgba(30,34,39,.25) 100%); }
  .hero-copy { padding-block: 40px 32px; }
  .hero-sub { margin: 26px 0 22px; }
  .hero .btn-row { flex-direction: column; max-width: 280px; gap: 10px; }

  .section { padding-block: 36px; }
  .services { grid-template-columns: 1fr; gap: 10px; }
  .svc { aspect-ratio: auto; height: 64px; }
  .svc::after { background: linear-gradient(90deg, rgba(30,34,39,.15) 0%, rgba(30,34,39,.85) 45%, rgba(30,34,39,.92) 100%); }
  .svc img { position: absolute; inset: 0; width: 40%; }
  .svc-label { inset: 0; justify-content: flex-end; padding: 0 16px 0 30%; font-size: 1.02rem; white-space: nowrap; }
  .svc-label::before { display: none; }
  .svc-arrow { margin-left: 14px; }

  .gallery { grid-auto-columns: calc((100% - 20px) / 3); }
  .gallery-next { right: -6px; width: 34px; height: 34px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }

  .cta-band { width: 100%; border-radius: 0; margin: 0; padding: 26px 16px; }
  .cta-band .btn-row { width: 100%; flex-direction: column; gap: 10px; }

  .contact-list { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav { padding-left: 0; border-left: 0; }
  .copy { margin: 0; padding-right: 0; }

  .chat-fab { bottom: 80px; right: 14px; padding: 6px; }
  .chat-fab span { display: none; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--ink); box-shadow: 0 -2px 10px rgba(0,0,0,.25);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #fff; text-decoration: none; font-size: .85rem; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .mobile-bar .i { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Article cards */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.more-link { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--orange-deep); white-space: nowrap; }
.more-link .i { width: 18px; height: 18px; }
.more-link:hover { color: var(--ink); }
.post-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-cards-home { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.post-cards-wide { grid-template-columns: repeat(3, 1fr); margin-block: 28px 8px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.post-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(30,34,39,.1); transform: translateY(-2px); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.post-card-body strong { font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.post-card-body span { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.post-cards-home .post-card-body strong { font-size: .95rem; }

/* Article pages */
.article-page { padding-block: 32px 64px; }
.article { max-width: 800px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--orange-deep); }
.article h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.article-meta { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.article-lead { margin: 18px 0 24px; font-size: 1.15rem; line-height: 1.85; color: var(--ink); }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.prose { margin-top: 8px; font-size: 1.0625rem; line-height: 1.9; }
.prose h2 { position: relative; margin: 40px 0 12px; padding-top: 16px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.35; scroll-margin-top: 90px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 4px; border-radius: 2px; background: var(--orange); }
.prose h3 { margin: 24px 0 6px; font-size: 1.12rem; font-weight: 600; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.4em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--orange-deep); font-weight: 600; }
.prose a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .94rem; line-height: 1.6; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.prose tbody th { font-weight: 600; background: var(--bg-alt); }
.prose tbody tr:last-child > * { border-bottom: 0; }
.note { padding: 12px 16px; border-left: 4px solid var(--orange); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; font-size: .93rem; color: var(--muted); }
.cta-box { margin: 40px 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); color: #fff; }
.cta-box h2 { color: #fff; font-size: 1.45rem; font-weight: 700; }
.cta-box p { margin: 8px 0 18px; }
.cta-box .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.related h2 { margin-bottom: 16px; font-size: 1.3rem; font-weight: 700; }

@media (max-width: 960px) {
  .post-cards-home { grid-auto-flow: column; grid-auto-columns: 240px; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .post-cards-home .post-card { scroll-snap-align: start; }
  .post-cards-wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .article-page { padding-block: 20px 40px; }
  .section-head-row { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .post-cards:not(.post-cards-home), .post-cards-wide { grid-template-columns: 1fr; }
  .post-cards:not(.post-cards-home) .post-card { flex-direction: row; }
  .post-cards:not(.post-cards-home) .post-card img { width: 112px; aspect-ratio: 1; flex: none; }
  .post-cards:not(.post-cards-home) .post-card-body span { display: none; }
  .cta-box { padding: 22px 18px; }
  .cta-box .btn-row { flex-direction: column; }
  .more-link { font-size: .9rem; }
}

/* ---------- Visual polish ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header */
.site-header { background: rgba(30,34,39,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.site-nav { margin-left: auto; }
.header-call { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; padding: 9px 18px; border-radius: 999px; background: linear-gradient(180deg, var(--orange), var(--orange-deep)); color: #fff; font-family: var(--font-head); font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(245,130,32,.35); transition: transform .15s, box-shadow .2s; }
.header-call .i { width: 18px; height: 18px; }
.header-call:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245,130,32,.45); }

/* Buttons */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-primary:hover::after, .btn-light:hover::after { left: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }

/* Hero */
.hero { min-height: 560px; }
.hero-img { animation: hero-zoom 18s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--orange-deep), var(--orange) 45%, rgba(245,130,32,0) 85%); }
.hero-copy { padding-block: 72px 110px; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; left: -60px; top: 30px; width: 300px; height: 300px; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); letter-spacing: -.01em; }
.hero h1 .accent { background: linear-gradient(90deg, #FFB25E, var(--orange) 55%, var(--orange-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .92rem; font-weight: 500; }
.hero-chips .i { width: 18px; height: 18px; color: var(--orange); }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* Feature strip */
.features-wrap { position: relative; z-index: 3; margin-top: -64px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-block: 0; padding: 0; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(30,34,39,.16); overflow: hidden; }
.feature { position: relative; padding: 26px 24px 24px; transition: background-color .25s; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.feature:hover { background: #FFF8F1; }
.feature:hover::before { transform: scaleX(1); }
.feature-icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: #FFF1E3; color: var(--orange-deep); }
.feature h3 { margin-top: 14px; font-size: 1.08rem; font-weight: 600; }
.feature p { margin: 6px 0 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }

/* Sections */
.section { padding-block: 72px; }
.section-alt { background-color: var(--bg-alt); background-image: radial-gradient(rgba(30,34,39,.07) 1px, transparent 1px); background-size: 22px 22px; }
.section-head h2::before { width: 48px; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); }

/* Cards */
.svc { box-shadow: 0 10px 28px rgba(30,34,39,.16); transition: transform .3s ease, box-shadow .3s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(30,34,39,.26); }
.svc:hover img { transform: scale(1.08); }
.svc-label::before { transition: width .3s ease; }
.svc:hover .svc-label::before { width: 64px; }
.gallery li { box-shadow: 0 6px 18px rgba(30,34,39,.12); }
.gallery img { transition: transform .5s ease; }
.gallery li:hover img { transform: scale(1.07); }
.gallery-next { transition: transform .2s, color .2s; }
.gallery-next:hover { transform: scale(1.1); }

.steps li { padding: 22px 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(30,34,39,.05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.steps li:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 14px 30px rgba(30,34,39,.12); }
.steps li:not(:last-child)::after { right: -15px; top: 50%; margin-top: -5px; border-color: var(--orange); }
.step-icon { width: 52px; height: 52px; padding: 11px; border-radius: 50%; background: #FFF1E3; color: var(--orange-deep); }

.cta-band { position: relative; overflow: hidden; padding: 36px 44px; border-radius: 16px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.09) 0 14px, transparent 14px 34px); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000); pointer-events: none; }
.cta-band > * { position: relative; }

.faq details { margin-bottom: 10px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details:hover, .faq details[open] { border-color: var(--orange); box-shadow: 0 8px 22px rgba(30,34,39,.08); }
.faq summary::after { right: 0; }

.contact-list div { transition: transform .25s, box-shadow .25s, border-color .25s; }
.contact-list div:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 12px 26px rgba(30,34,39,.1); }
.post-card img { transition: transform .5s ease; }
.post-card:hover img { transform: scale(1.05); }
.post-card { box-shadow: 0 4px 14px rgba(30,34,39,.05); }

.site-footer { border-top: 4px solid var(--orange); }
.chat-fab .i { animation: fab-pulse 2.6s ease-out infinite; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(245,130,32,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(245,130,32,0); } }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--reveal-delay, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms), border-color .25s, box-shadow .25s, background-color .25s; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) { .header-call { display: none; } }
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-copy { padding-block: 44px 84px; }
  .hero-copy::before { display: none; }
  .hero-chips { margin-top: 20px; }
  .hero-chips li { font-size: .85rem; padding: 5px 12px 5px 8px; }
  .features-wrap { margin-top: -52px; }
  .feature { padding: 18px 14px 16px; }
  .feature-icon { width: 40px; height: 40px; padding: 9px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: .86rem; }
  .section { padding-block: 44px; }
  .steps li { padding: 16px 14px; }
  .cta-band { padding: 28px 16px; border-radius: 0; }
  .site-nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img, .hero-copy > *, .chat-fab .i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn::after { display: none; }
}

/* iPad portrait and large phones in landscape */
@media (min-width: 600px) and (max-width: 900px) {
  .wrap { width: min(100% - 48px, var(--wrap)); }
  .hero { min-height: 480px; align-items: center; }
  .hero h1 { font-size: 2.6rem; }
  .hero .btn-row { flex-direction: row; max-width: none; gap: 14px; }
  .hero-chips li { font-size: .92rem; }
  .feature { padding: 22px 20px 20px; }
  .feature p { font-size: .92rem; }
  .services { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .svc { aspect-ratio: 245 / 190; height: auto; }
  .svc::after { background: linear-gradient(180deg, rgba(30,34,39,0) 35%, rgba(30,34,39,.9) 100%); }
  .svc img { position: static; width: 100%; }
  .svc-label { inset: auto 0 0 0; justify-content: flex-start; padding: 14px 14px; font-size: 1.02rem; }
  .svc-label::before { display: block; left: 14px; }
  .svc-arrow { margin-left: auto; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .steps li { padding: 18px 14px; }
  .cta-band { width: min(100% - 48px, var(--wrap)); margin-inline: auto; padding: 30px 28px; border-radius: 16px; }
  .cta-band .btn-row { width: auto; flex-direction: row; }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
  .contact-list dd { font-size: 1.05rem; }
  .post-cards-home { grid-auto-columns: calc((100% - 28px) / 3); }
  .footer-inner { flex-direction: row; align-items: center; }
  .copy { margin-left: auto; padding-right: 64px; }
}

/* iPad landscape */
@media (min-width: 961px) and (max-width: 1100px) {
  .split { grid-template-columns: 220px 1fr; gap: 24px; }
  .section-head h2 { white-space: normal; }
  .steps { gap: 16px; }
  .steps li { padding: 18px 12px; }
  .steps h3 { font-size: .95rem; }
  .steps li:not(:last-child)::after { right: -13px; }
  .contact-list dd { font-size: 1rem; }
  .post-cards-home { gap: 10px; }
  .post-cards-home .post-card-body { padding: 12px; }
}
