/* CGB Home Builder — Navy / Teal UI system
   Version: 6 | Mobile-first responsive stylesheet
*/
:root {
  color-scheme: light;
  --navy: #123B5D;
  --navy-dark: #0B2942;
  --navy-deep: #071D2D;
  --teal: #269F8B;
  --teal-bright: #35BFA7;
  --teal-pale: #E8F8F4;
  --ink: #183142;
  --muted: #647783;
  --white: #FFFFFF;
  --paper: #F6F9F9;
  --line: #DCE7E8;
  --container: 1160px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 12px 34px rgba(11, 41, 66, .07);
  --shadow-hover: 0 18px 44px rgba(11, 41, 66, .12);
  --ease: 220ms ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
p { margin-top: 0; }
::selection { color: var(--navy-dark); background: rgba(53,191,167,.28); }

:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,231,232,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.logo img { width: 78px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 27px);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.main-nav a {
  position: relative;
  padding-block: 8px;
  color: #334D5D;
  white-space: nowrap;
  transition: color var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.header-button:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); }

.mobile-menu-button { display: none; }
.mobile-menu { display: none; }

/* Hero */
.hero { background: var(--white); }
.hero-image {
  position: relative;
  width: 100%;
  height: clamp(390px, 48vw, 610px);
  overflow: hidden;
  background: #DCE7E8;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7,29,45,.16));
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.hero-content {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 76px) 0 clamp(64px, 7vw, 88px);
}
.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  line-height: 1.5;
}
.hero .eyebrow { color: var(--teal); }
.hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  color: var(--navy-dark);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: -.7px;
}
.hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-bright); color: var(--navy-dark); }
.btn-primary:hover { background: #27AD98; box-shadow: 0 8px 20px rgba(38,159,139,.18); }
.btn-outline { border-color: #B8C9D0; background: var(--white); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--teal-pale); }
.btn-line { background: var(--teal); color: var(--white); }
.btn-line:hover { background: #208875; box-shadow: 0 8px 20px rgba(38,159,139,.2); }

/* Shared section rhythm */
.section { padding: clamp(72px, 8vw, 108px) 0; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2,
.faq-heading h2,
.why-header h2 {
  margin: 0 0 16px;
  color: var(--navy-dark);
  font-size: clamp(31px, 3.8vw, 46px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.4px;
}
.section-heading p { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.85; }
.section-heading.center p { margin-inline: auto; }

/* About */
.intro { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 66px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.intro-grid p { max-width: 540px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.95; }

/* House collection */
.models { background: var(--paper); }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.model-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 3px 12px rgba(11,41,66,.025);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.model-card:hover { transform: translateY(-5px); border-color: #C5D9D9; box-shadow: var(--shadow-hover); }
.model-image { height: 265px; overflow: hidden; background: var(--teal-pale); }
.model-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.model-card:hover .model-image img { transform: scale(1.035); }
.model-content { padding: 26px 27px 30px; }
.model-number { display: block; margin-bottom: 8px; color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.model-content h3 { margin: 0 0 9px; color: var(--navy-dark); font-size: 22px; font-weight: 500; line-height: 1.4; }
.model-content p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* Services */
.services { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-item { padding: 38px 32px 40px; border-right: 1px solid var(--line); }
.service-item:first-child { padding-left: 0; }
.service-item:last-child { padding-right: 0; border-right: 0; }
.service-number { display: block; margin-bottom: 17px; color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: 2px; }
.service-item h3 { margin: 0 0 10px; color: var(--navy-dark); font-size: 20px; font-weight: 500; line-height: 1.45; }
.service-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* Service area */
.service-area { padding: clamp(70px, 8vw, 96px) 0; overflow: hidden; background: var(--navy-dark); color: var(--white); }
.area-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(35px, 6vw, 72px); }
.area-content { max-width: 530px; }
.area-content .section-label { color: var(--teal-bright); }
.area-content h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); font-weight: 500; line-height: 1.3; letter-spacing: -.4px; }
.area-content p { max-width: 480px; margin: 0 0 28px; color: #C6D4DC; line-height: 1.9; }
.area-map {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 45%, rgba(53,191,167,.10), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.area-map::before,
.area-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(53,191,167,.12);
  border-radius: 50%;
}
.area-map::before { width: 330px; height: 330px; top: 8%; left: 18%; }
.area-map::after { width: 230px; height: 230px; top: 21%; left: 31%; }
.area-map.show { opacity: 1; transform: translateY(0); }
.area-point {
  position: absolute;
  z-index: 1;
  padding-left: 17px;
  color: #F2FAF9;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 450ms ease, transform 450ms ease;
}
.area-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(53,191,167,.12);
}
.area-map.show .area-point { opacity: 1; transform: translateY(0); }
.p1 { top: 15%; left: 28%; } .p2 { top: 28%; left: 8%; }
.p3 { top: 43%; left: 20%; } .p4 { top: 58%; left: 8%; }
.p5 { top: 75%; left: 24%; } .p6 { top: 58%; left: 43%; }
.p7 { top: 25%; left: 72%; } .p8 { top: 47%; left: 58%; }
.p9 { top: 72%; left: 72%; }
.area-map.show .p1 { transition-delay: .08s; } .area-map.show .p2 { transition-delay: .14s; }
.area-map.show .p3 { transition-delay: .20s; } .area-map.show .p4 { transition-delay: .26s; }
.area-map.show .p5 { transition-delay: .32s; } .area-map.show .p6 { transition-delay: .38s; }
.area-map.show .p7 { transition-delay: .44s; } .area-map.show .p8 { transition-delay: .50s; }
.area-map.show .p9 { transition-delay: .56s; }

/* Why CGB */
.why-us { background: var(--paper); }
.why-header { max-width: 760px; margin-bottom: 45px; }
.why-header h2 { margin-bottom: 15px; }
.why-header > p { max-width: 700px; margin: 0; color: var(--muted); line-height: 1.9; }
.why-timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.why-item { min-width: 0; padding: 28px 24px 26px 0; }
.why-item + .why-item { padding-left: 24px; border-left: 1px solid var(--line); }
.why-dot { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; margin-bottom: 21px; border: 1px solid rgba(38,159,139,.32); border-radius: 50%; background: var(--teal-pale); color: var(--navy); font-size: 12px; font-weight: 600; }
.why-content h3 { margin: 0 0 9px; color: var(--navy-dark); font-size: 18px; font-weight: 500; line-height: 1.5; }
.why-content p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.why-footer { display: grid; grid-template-columns: .8fr 1.5fr; gap: 12px 36px; align-items: start; margin-top: 42px; padding: 30px 34px; border-radius: var(--radius); background: var(--navy-dark); color: var(--white); }
.why-footer strong { color: var(--teal-bright); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; }
.why-footer p { margin: 0; color: #D3DEE4; font-size: 14px; line-height: 1.85; }
.why-footer > span { grid-column: 2; color: var(--white); font-size: 14px; }

/* Process */
.process { background: var(--teal-pale); }
.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid rgba(18,59,93,.16); }
.process-item { min-width: 0; padding: 29px 20px 10px; border-right: 1px solid rgba(18,59,93,.15); }
.process-item:first-child { padding-left: 0; }
.process-item:last-child { padding-right: 0; border-right: 0; }
.process-item > span { display: block; margin-bottom: 15px; color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: 2px; }
.process-item h3 { margin: 0 0 8px; color: var(--navy-dark); font-size: 18px; font-weight: 500; line-height: 1.45; }
.process-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* FAQ */
.faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(45px, 7vw, 90px); }
.faq-heading { position: sticky; top: 120px; }
.faq-heading h2 { margin-bottom: 15px; }
.faq-heading p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.9; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--navy-dark);
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
.faq-question:hover { color: var(--teal); }
.faq-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); font-size: 21px; font-weight: 400; line-height: 1; transition: transform var(--ease), background var(--ease); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--teal-pale); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding-bottom 300ms ease; }
.faq-answer p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.faq-item.is-open .faq-answer { max-height: 320px; padding-bottom: 22px; }

/* Insights / blog cards */
.insights { background: var(--paper); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: transform 260ms ease, box-shadow 260ms ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.article-image { display: block; height: 220px; overflow: hidden; background: var(--teal-pale); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-content { padding: 23px 24px 26px; }
.article-category { display: inline-block; margin-bottom: 10px; color: var(--teal); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
.article-content h3 { margin: 0 0 10px; color: var(--navy-dark); font-size: 18px; font-weight: 500; line-height: 1.55; }
.article-content p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.article-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 14px; font-weight: 500; }
.article-link span { color: var(--teal); transition: transform var(--ease); }
.article-link:hover { color: var(--teal); }
.article-link:hover span { transform: translateX(3px); }

/* Contact CTA */
.cta { position: relative; overflow: hidden; background: var(--navy-dark); color: var(--white); text-align: center; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; top: -230px; right: -90px; border: 1px solid rgba(53,191,167,.25); border-radius: 50%; box-shadow: 0 0 0 42px rgba(53,191,167,.035), 0 0 0 84px rgba(53,191,167,.025); pointer-events: none; }
.cta::after { content: ""; position: absolute; width: 260px; height: 260px; bottom: -180px; left: -100px; border-radius: 50%; background: rgba(53,191,167,.07); pointer-events: none; }
.cta .container { position: relative; z-index: 1; }
.cta-inner { max-width: 760px; margin-inline: auto; }
.cta .eyebrow { color: var(--teal-bright); }
.cta h2 { margin: 0 0 18px; color: var(--white); font-size: clamp(34px, 4.7vw, 54px); font-weight: 500; line-height: 1.25; letter-spacing: -.5px; }
.cta p { max-width: 620px; margin: 0 auto 30px; color: #C9D6DE; line-height: 1.9; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer { padding: 58px 0 24px; background: var(--navy-deep); color: rgba(255,255,255,.72); }
.site-footer, .site-footer * { font-family: "Kanit", sans-serif; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 48px; padding-bottom: 42px; }
.footer-brand { max-width: 440px; }
.site-footer strong { display: block; margin-bottom: 13px; color: var(--white); font-size: 18px; font-weight: 500; letter-spacing: .4px; }
.footer-brand p { margin: 0 0 7px; font-size: 14px; line-height: 1.85; }
.footer-links h3 { margin: 0 0 14px; color: var(--white); font-size: 15px; font-weight: 500; }
.footer-links a { display: block; width: fit-content; margin-bottom: 8px; font-size: 14px; transition: color var(--ease); }
.footer-links a:hover, .footer-bottom a:hover { color: var(--teal-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom span, .footer-bottom a { font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }

/* Mobile contact bar */
.mobile-sticky-bar { display: none; }

/* Tablet */
@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .logo img { width: 70px; }
  .main-nav { gap: 14px; font-size: 13px; }
  .header-button { padding-inline: 15px; }
  .hero-image { height: clamp(360px, 48vw, 520px); }
  .model-grid, .article-grid { gap: 18px; }
  .model-image { height: 225px; }
  .area-grid { gap: 34px; }
  .area-map { min-height: 350px; }
  .area-point { font-size: 12px; }
  .process-item { padding-inline: 14px; }
  .why-item { padding-right: 16px; }
  .why-item + .why-item { padding-left: 16px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 70px; }
  .main-nav, .header-button { display: none; }
  .mobile-menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }
  .mobile-menu-button span { display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform var(--ease), opacity var(--ease); }
  .mobile-menu-button[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-button[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    border-top: 1px solid transparent;
    background: var(--white);
    transition: max-height 300ms ease, padding 300ms ease, border-color 300ms ease;
  }
  .mobile-menu.is-open { max-height: 480px; padding-block: 8px 14px; border-top-color: var(--line); }
  .mobile-menu a { display: block; padding: 10px 0; border-bottom: 1px solid #EDF1F2; color: var(--ink); font-size: 15px; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu .mobile-menu-cta { margin-top: 12px; padding: 12px 18px; border: 0; border-radius: 7px; background: var(--navy); color: var(--white); text-align: center; }
  .hero-image { height: clamp(280px, 52vw, 430px); }
  .hero-content { padding-block: 48px 62px; }
  .hero h1 { font-size: clamp(36px, 6.5vw, 48px); }
  .intro-grid { gap: 30px; }
  .model-grid, .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .model-card:last-child, .article-card:last-child { grid-column: 1 / -1; }
  .model-card:last-child { display: grid; grid-template-columns: .9fr 1fr; }
  .model-card:last-child .model-image { height: 100%; min-height: 220px; }
  .service-item { padding: 30px 22px; }
  .service-item:first-child { padding-left: 0; }
  .service-item:last-child { padding-right: 0; }
  .area-grid { grid-template-columns: 1fr; }
  .area-content { max-width: 680px; }
  .area-map { min-height: 330px; }
  .why-timeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-item { padding: 24px 20px 24px 0; }
  .why-item + .why-item { padding-left: 20px; }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .why-item:nth-child(4) { border-top: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-item, .process-item:first-child, .process-item:last-child { padding: 24px 20px; border-right: 1px solid rgba(18,59,93,.15); border-bottom: 1px solid rgba(18,59,93,.15); }
  .process-item:nth-child(2n) { border-right: 0; }
  .process-item:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading { position: static; }
  .faq-heading p { max-width: 620px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-sticky-bar {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -6px 22px rgba(11,41,66,.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .mobile-sticky-bar .sticky-btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 47px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
  }
  .mobile-sticky-bar .call-btn { background: var(--navy); }
  .mobile-sticky-bar .line-btn { background: var(--teal); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 78px; }
  .container, .hero-content { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; }
  .logo img { width: 66px; }
  .hero-image { height: 62vw; min-height: 245px; max-height: 330px; }
  .hero-image img { object-position: center; }
  .hero-content { padding: 38px 0 50px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 10px; letter-spacing: 2px; }
  .hero h1 { margin-bottom: 15px; font-size: clamp(32px, 8.4vw, 39px); line-height: 1.25; letter-spacing: -.35px; }
  .hero p { margin-bottom: 23px; font-size: 15px; line-height: 1.85; }
  .hero-actions { gap: 10px; }
  .hero .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .faq-heading h2, .why-header h2 { font-size: clamp(29px, 7.4vw, 34px); }
  .section-heading p { font-size: 15px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 25px; }
  .intro-grid p { font-size: 15px; line-height: 1.9; }
  .model-grid, .article-grid { grid-template-columns: 1fr; gap: 17px; }
  .model-card:last-child, .article-card:last-child { grid-column: auto; }
  .model-card:last-child { display: block; }
  .model-card:last-child .model-image { height: 220px; min-height: 0; }
  .model-image { height: 225px; }
  .model-content { padding: 22px; }
  .model-content h3 { font-size: 21px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:first-child, .service-item:last-child { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .service-item h3 { font-size: 19px; }
  .service-area { padding: 64px 0; }
  .area-content h2 { font-size: 32px; }
  .area-content p { font-size: 15px; }
  .area-map { min-height: 290px; border-radius: 13px; }
  .area-map::before { width: 260px; height: 260px; left: 12%; }
  .area-map::after { width: 175px; height: 175px; left: 28%; }
  .area-point { padding-left: 13px; font-size: 10px; }
  .area-point::before { width: 6px; height: 6px; }
  .p1 { left: 27%; } .p2 { left: 3%; } .p3 { left: 14%; }
  .p4 { left: 3%; } .p5 { left: 18%; } .p6 { left: 39%; }
  .p7 { left: 68%; } .p8 { left: 52%; } .p9 { left: 66%; }
  .why-header { margin-bottom: 28px; }
  .why-timeline { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item, .why-item:nth-child(3), .why-item:nth-child(4) {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .why-dot { width: 38px; height: 38px; margin: 0; }
  .why-content h3 { font-size: 17px; }
  .why-footer { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; padding: 23px; }
  .why-footer > span { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-item, .process-item:first-child, .process-item:last-child, .process-item:nth-child(2n) {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 0 12px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(18,59,93,.15);
  }
  .process-item > span { grid-row: 1 / span 2; margin: 3px 0 0; }
  .process-item h3 { margin-bottom: 4px; }
  .process-item:last-child { grid-column: auto; border-bottom: 0; }
  .faq-layout { gap: 24px; }
  .faq-question { gap: 12px; padding: 18px 0; font-size: 15px; }
  .faq-icon { flex-basis: 25px; width: 25px; height: 25px; }
  .faq-answer p { font-size: 14px; }
  .article-image { height: 210px; }
  .article-content { padding: 21px; }
  .cta h2 { font-size: 34px; }
  .cta p { font-size: 15px; }
  .cta .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-bottom nav { gap: 10px 17px; }
  .mobile-sticky-bar { gap: 8px; padding-inline: 10px; }
  .mobile-sticky-bar .sticky-btn { min-height: 45px; padding-inline: 6px; font-size: 13px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .area-map, .area-point { opacity: 1; transform: none; }
}