:root {
  --bg: #f7fafc;
  --bg-soft: #edf2f7;
  --surface: #ffffff;
  --ink: #1a202c;
  --ink-2: #2d3748;
  --muted: #4a5568;
  --faint: #718096;
  --line: #e2e8f0;
  --blue: #2b6cb0;
  --blue-deep: #215387;
  --accent: #c53030;
  --wa: #00b200;
  --wa-bright: #25d366;
  --star: #f5a524;
  --footer: #e9d7d7;
  --shadow: 0 12px 30px rgba(26, 32, 44, 0.08);
  --hero-overlay: linear-gradient(105deg, rgba(26, 32, 44, 0.82) 0%, rgba(26, 32, 44, 0.45) 55%, rgba(43, 108, 176, 0.35) 100%);
  --success-bg: #c6f6d5;
  --success-text: #22543d;
  --wa-chip: #e4e4e4;
  --wa-chip-text: #5a5a5a;
  --drop-bg: #d36c00;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1290px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0f1419;
  --bg-soft: #1a222c;
  --surface: #161d26;
  --ink: #f1f5f9;
  --ink-2: #e2e8f0;
  --muted: #a0aec0;
  --faint: #8896a6;
  --line: #2d3748;
  --blue: #63b3ed;
  --blue-deep: #4299e1;
  --accent: #fc8181;
  --footer: #1a222c;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --hero-overlay: linear-gradient(105deg, rgba(8, 12, 18, 0.88) 0%, rgba(15, 20, 28, 0.55) 55%, rgba(26, 54, 93, 0.4) 100%);
  --success-bg: #1c4532;
  --success-text: #9ae6b4;
  --wa-chip: #243040;
  --wa-chip-text: #cbd5e0;
  --drop-bg: #9c4221;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.65rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  max-width: 22ch;
}
.section-lead { margin-top: 0.85rem; color: var(--muted); font-size: 1.05rem; max-width: 42ch; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 2.25rem; }
.section-head.center .section-title { max-width: 24ch; }
.center-lead { text-align: center; max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: 6px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease;
  min-height: 44px;
}
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(0, 178, 0, 0.25); }
.btn-wa:hover { background: #009400; transform: translateY(-2px); }
.btn-phone { background: #c8f0c8; color: #0b5c0b; border-radius: 999px; font-size: 1.05rem; padding: 0.95rem 1.6rem; }
[data-theme="dark"] .btn-phone { background: #1c4532; color: #9ae6b4; }
.btn-phone:hover { background: #b4e8b4; transform: translateY(-2px); }
[data-theme="dark"] .btn-phone:hover { background: #276749; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.55); color: #fff; border-radius: 999px; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 0.75rem; }
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(0.82rem, 2.3vw, 1.05rem); color: var(--ink); line-height: 1.15;
  white-space: normal; max-width: min(58vw, 16rem);
}
.brand-mark {
  width: 2.3rem; height: 2.3rem; border-radius: 0.45rem;
  background: linear-gradient(145deg, #fff5f5, #fed7d7); border: 1px solid #feb2b2;
  display: grid; place-items: center; flex-shrink: 0;
}
[data-theme="dark"] .brand-mark { background: #2d1f24; border-color: #744210; }
.brand-mark svg { width: 1.2rem; height: 1.2rem; }
.brand span { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 0.45rem; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-2); background: var(--bg-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--blue); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-links { display: flex; align-items: center; gap: 0.15rem 1rem; margin-left: auto; margin-right: 0.35rem; }
.nav-links > a, .nav-drop-btn { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links > a:hover, .nav-drop-btn:hover { color: var(--blue); }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 0.15rem; padding: 0.4rem 0; min-height: 44px; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 13rem; padding: 0.4rem;
  background: var(--drop-bg); border-radius: 0.35rem; display: none; flex-direction: column;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18); z-index: 20;
}
.nav-drop:hover .nav-drop-panel, .nav-drop.open .nav-drop-panel { display: flex; }
.nav-drop-panel a { padding: 0.85rem 1rem; font-size: 0.88rem; color: #f7fafc; border-bottom: 1px solid rgba(255,255,255,0.12); }
.nav-drop-panel a:last-child { border-bottom: none; }
.nav-drop-panel a:hover { background: rgba(0,0,0,0.25); }
.nav-cta { margin-left: 0.25rem; border-radius: 4px; padding: 0.65rem 1.1rem; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 0.55rem; border: 1px solid var(--line);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: var(--bg-soft);
}
.nav-toggle span { display: block; width: 1.1rem; height: 1.5px; background: var(--ink-2); transition: 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hero { position: relative; min-height: min(70vh, 620px); display: grid; align-items: center; overflow: hidden; background: #1a202c; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-veil { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-content {
  position: relative; z-index: 1; padding: clamp(3rem, 8vw, 4.5rem) 0;
  color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero-brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.55rem, 5.8vw, 3rem); letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 0.85rem; max-width: 16ch; }
.hero-brand em { font-style: normal; color: #feb2b2; }
.hero-title { font-family: var(--font-display); font-size: clamp(1.15rem, 4.2vw, 2rem); font-weight: 700; max-width: 22ch; line-height: 1.25; margin-bottom: 0.75rem; }
.hero-trust { color: rgba(255,255,255,0.88); font-size: clamp(0.88rem, 2.8vw, 1rem); margin-bottom: 1.5rem; padding-inline: 0.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; width: 100%; max-width: 28rem; }

.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-visual { border-radius: 0.5rem; overflow: hidden; min-height: 20rem; position: relative; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-title { max-width: 18ch; }
.about-text { margin-top: 1rem; color: var(--muted); max-width: 52ch; }
.about-actions { margin-top: 1.5rem; }

.services { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.service-card { background: var(--surface); border-radius: 0.5rem; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.3s ease; }
.service-card:hover { transform: translateY(-4px); }
.service-card-media { height: 10.5rem; background-size: cover; background-position: center; }
.tone-a .service-card-media { background-image: linear-gradient(160deg, #c05621aa, #1a202c88), url("hero-cati.jpg"); }
.tone-b .service-card-media { background-image: linear-gradient(160deg, #2b6cb0aa, #1a202c66), url("hero-cati.jpg"); background-position: 30% 40%; }
.tone-c .service-card-media { background-image: linear-gradient(160deg, #744210aa, #1a202c77), url("hero-cati.jpg"); background-position: 70% 20%; }
.tone-d .service-card-media { background-image: linear-gradient(160deg, #2c7a7baa, #1a202c66), url("hero-cati.jpg"); background-position: 50% 70%; }
.tone-e .service-card-media { background-image: linear-gradient(160deg, #9b2c2caa, #1a202c66), url("hero-cati.jpg"); background-position: 20% 60%; }
.tone-f .service-card-media { background-image: linear-gradient(160deg, #4a5568aa, #1a202c55), url("hero-cati.jpg"); background-position: 80% 50%; }
.service-card-body { padding: 1.05rem 1.1rem 1.25rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.service-card p { color: var(--faint); font-size: 0.92rem; }

.why { background: var(--surface); }
.why-checklist { text-align: center; color: var(--muted); font-size: 1.05rem; line-height: 1.9; margin: 0.5rem 0 2rem; }
.reason-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
.reason-item { background: var(--bg-soft); border-radius: 0.5rem; padding: 1.2rem 0.95rem; text-align: center; border: 1px solid var(--line); }
.reason-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--blue); margin-bottom: 0.45rem; }
.reason-item h3 { font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin-bottom: 0.35rem; }
.reason-item p { color: var(--faint); font-size: 0.88rem; }

.testimonials { background: var(--bg-soft); }
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testi-card { background: var(--surface); border-radius: 0.65rem; padding: 1.3rem 1.2rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stars { display: flex; gap: 0.15rem; margin-bottom: 0.75rem; color: var(--star); }
.testi-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.testi-card footer { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.9rem; }
.testi-card footer strong { color: var(--ink); font-family: var(--font-display); }
.testi-card footer span { color: var(--faint); }

.regions { background: var(--surface); }
.region-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; }
.region-list a {
  display: block; text-align: center; padding: 0.9rem 0.55rem; background: var(--bg-soft);
  border-radius: 0.45rem; font-size: 0.9rem; color: var(--ink-2); font-weight: 500; border: 1px solid var(--line);
  min-height: 44px; display: grid; place-items: center;
}
.region-list a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.cta-band { padding: 2.1rem 0; background: var(--bg-soft); text-align: center; border-block: 1px solid var(--line); }
.cta-band-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-band-inner p { font-family: var(--font-display); font-size: clamp(1.15rem, 3.5vw, 1.35rem); font-weight: 700; color: var(--ink); }

.contact { background: var(--bg); padding-bottom: calc(clamp(3rem, 7vw, 5.5rem) + 4rem); }
.contact-shell { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-meta { margin-top: 1.75rem; display: grid; gap: 1rem; }
.contact-item span { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 0.2rem; }
.contact-item a, .contact-item p { font-size: 1.1rem; color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 0.75rem; padding: clamp(1.15rem, 3vw, 1.85rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 0.45rem;
  padding: 0.85rem 0.95rem; outline: none; min-height: 48px; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,108,176,0.15); }
.field textarea { min-height: 7rem; resize: vertical; }
.form-actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.form-note { color: var(--faint); font-size: 0.85rem; }
.form-success { display: none; margin-top: 0.9rem; padding: 0.85rem 1rem; border-radius: 0.45rem; background: var(--success-bg); color: var(--success-text); }
.form-success.show { display: block; }

.footer { background: var(--footer); padding: 2.5rem 0 1.25rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { margin-bottom: 0.85rem; }
.footer-text { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.45rem; max-width: 28ch; }
.footer-phone { display: inline-block; margin-top: 0.35rem; color: var(--ink); font-weight: 700; }
.footer h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin-bottom: 0.85rem; }
.footer ul { display: grid; gap: 0.4rem; }
.footer ul a { color: var(--muted); font-size: 0.95rem; }
.footer ul a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1rem; text-align: center; }
.footer-bottom p { color: var(--faint); font-size: 0.88rem; }

.wa-float {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  background: var(--wa-chip); color: var(--wa-chip-text);
  border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.wa-float svg { background: var(--wa-bright); border-radius: 999px; padding: 0.3rem; box-sizing: content-box; }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 40;
}
.nav-backdrop.show { display: block; }

@media (max-width: 1100px) {
  .reason-grid, .region-list { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 0.1rem 0.7rem; }
  .nav-links > a, .nav-drop-btn { font-size: 0.88rem; }
}

@media (max-width: 900px) {
  .about-grid, .contact-shell, .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-track { grid-template-columns: 1fr; }
  .about-visual { min-height: 14rem; order: -1; aspect-ratio: 16 / 10; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 10rem; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(100% - 1.25rem, var(--max)); }
  .nav-inner { min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 64px 0.75rem auto; display: none; flex-direction: column; align-items: stretch;
    gap: 0.1rem; padding: 0.85rem; background: var(--surface); border: 1px solid var(--line);
    border-radius: 0.85rem; box-shadow: var(--shadow); max-height: calc(100svh - 5.5rem); overflow: auto;
    z-index: 55; margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-drop-btn { padding: 0.85rem 0.7rem; text-align: left; width: 100%; justify-content: space-between; }
  .nav-drop-panel { position: static; display: none; margin-top: 0.15rem; }
  .nav-drop.open .nav-drop-panel { display: flex; }
  .nav-cta { margin: 0.45rem 0 0; width: 100%; }
  .service-grid, .reason-grid, .region-list, .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-content { padding: 2.5rem 0 2rem; }
  .hero-brand { font-size: clamp(1.35rem, 6.5vw, 1.85rem); margin-bottom: 0.55rem; }
  .hero-title { font-size: clamp(0.98rem, 3.8vw, 1.2rem); margin-bottom: 0.5rem; }
  .hero-trust { font-size: 0.82rem; margin-bottom: 1rem; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 16.5rem;
  }
  .hero-actions .btn {
    width: 100%;
    flex: none;
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    line-height: 1.2;
  }
  .hero-actions .btn-phone {
    font-size: 0.92rem;
    padding: 0.55rem 1.05rem;
  }
  .about-actions .btn, .form-actions .btn, .cta-band .btn { width: 100%; max-width: 18rem; }
  .cta-band .btn-phone { font-size: 0.95rem; padding: 0.65rem 1.2rem; }
  .section-title { max-width: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.4rem; }
  .contact-form { padding: 1rem; }
  .footer-grid { gap: 1.5rem; }
}

@media (max-width: 420px) {
  .brand { font-size: 1rem; gap: 0.45rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .service-card-media { height: 8.5rem; }
}

/* district-grid-dense */
.region-list {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .region-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .region-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .region-list { grid-template-columns: 1fr; }
}
.nav-drop-panel {
  max-height: min(70vh, 28rem);
  overflow: auto;
}
