/* ---------- Theme ---------- */
:root {
  --navy: #0b2340;
  --navy-2: #12355f;
  --blue: #1f6fd1;
  --blue-dark: #1859a8;
  --sky: #eaf3fc;
  --accent: #ffb020;
  --accent-dark: #f29b00;
  --green: #1e9e57;
  --ink: #1c2633;
  --muted: #5d6b7c;
  --line: rgba(12, 35, 64, .08);
  --radius: 18px;
  --shadow-sm: 0 2px 12px rgba(12, 35, 64, .06);
  --shadow: 0 18px 44px rgba(12, 35, 64, .14);
  --header-h: 112px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; letter-spacing: -.01em; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 12px; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.1rem; }
.btn-accent {
  --bs-btn-color: #1a1a1a;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #1a1a1a;
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-color: #1a1a1a;
  --bs-btn-active-bg: #e08f00;
  --bs-btn-active-border-color: #e08f00;
  --bs-btn-focus-shadow-rgb: 255, 176, 32;
  box-shadow: 0 10px 24px rgba(255, 176, 32, .35);
}
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--blue-dark);
  --bs-btn-hover-border-color: var(--blue-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--navy-2);
  --bs-btn-active-border-color: var(--navy-2);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--blue);
  --bs-btn-disabled-border-color: var(--blue);
  --bs-btn-focus-shadow-rgb: 31, 111, 209;
  box-shadow: 0 10px 24px rgba(31, 111, 209, .28);
}
.btn-accent, .btn-brand { transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn-accent:hover, .btn-brand:hover { transform: translateY(-2px); }

/* ---------- Header (license + phone always visible) ---------- */
.site-header { z-index: 1030; }
.top-strip { background: var(--navy); color: #c9d8ea; font-size: .875rem; }
.top-strip .bi { color: var(--accent); }
.top-strip strong { color: #fff; letter-spacing: .02em; }
.main-bar {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled .main-bar { box-shadow: 0 8px 28px rgba(12, 35, 64, .12); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-img { display: block; width: auto; height: 52px; }
.main-nav a {
  padding: .5rem .8rem;
  border-radius: 10px;
  color: var(--ink); font-weight: 500; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--blue); background: var(--sky); }
.open-now {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-left: .55rem; padding: .1rem .55rem;
  border-radius: 999px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
  vertical-align: middle;
}
.open-now:empty { display: none; }
.open-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-now.is-open { background: rgba(90, 209, 143, .16); color: #5ad18f; }
.open-now.is-closed { background: rgba(255, 255, 255, .12); color: #d5e1ef; }
.header-call { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; white-space: nowrap; }
.header-call .bi { font-size: 1.1rem; }
.header-call-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.header-call-text small { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.header-call-text span { font-size: 1.05rem; font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 140px;
  color: #fff;
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(66, 153, 255, .38), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 176, 32, .12), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a4f8c 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .92rem; font-weight: 500;
}
.hero-badge .bi { color: var(--accent); }
.hero h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
}
.hero h1 .hl { color: var(--accent); }
.hero .lead { max-width: 34rem; margin-bottom: 2rem; color: rgba(255, 255, 255, .82); font-size: 1.15rem; }
.hero .btn-outline-light { border-width: 2px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  margin: 2rem 0 0; padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .92); font-weight: 500;
}
.hero-points .bi { margin-right: .4rem; color: #5ad18f; }
.hero-visual { position: relative; max-width: 560px; margin-left: auto; }
.hero-visual img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.license-card {
  position: absolute; left: -24px; bottom: -26px;
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.2rem;
  border-radius: 16px;
  background: #fff; color: var(--ink);
  box-shadow: var(--shadow);
}
.license-card-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #e6f6ed; color: var(--green); font-size: 1.45rem;
}
.license-card small {
  display: block;
  color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.license-card strong { font-family: "Poppins", sans-serif; font-size: 1.1rem; color: var(--navy); }
.hero-wave { position: absolute; left: 0; bottom: -1px; display: block; width: 100%; height: 80px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: linear-gradient(180deg, #f5f9fd 0%, #edf4fb 100%); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: .9rem; padding: .35rem .85rem;
  border-radius: 999px;
  background: var(--sky); color: var(--blue);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.section-head h2 { margin-bottom: .6rem; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; color: var(--navy); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.07rem; }

/* ---------- Services ---------- */
.service-card {
  height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-img { aspect-ratio: 400 / 260; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 2.4rem 1.5rem 1.5rem; }
.service-icon {
  position: absolute; top: -30px; left: 1.5rem;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border: 4px solid #fff; border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 10px 22px rgba(31, 111, 209, .3);
}
.service-icon.warm { background: linear-gradient(135deg, #ff9a3d, #e5531f); box-shadow: 0 10px 22px rgba(229, 83, 31, .3); }
.service-icon.teal { background: linear-gradient(135deg, #22b8a0, #13806f); box-shadow: 0 10px 22px rgba(19, 128, 111, .3); }
.service-body h3 { margin-bottom: .45rem; font-size: 1.22rem; font-weight: 600; color: var(--navy); }
.service-body p { margin-bottom: 1.1rem; color: var(--muted); }
.service-link { margin-top: auto; color: var(--blue); font-weight: 600; text-decoration: none; }
.service-link .bi { display: inline-block; transition: transform .2s ease; }
.service-link:hover .bi { transform: translateX(4px); }
.also { margin-top: 44px; text-align: center; }
.also-label { display: block; margin-bottom: .6rem; color: var(--muted); font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: .25rem; padding: .45rem .95rem;
  border: 1px solid #d9e5f2; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: .93rem; font-weight: 500;
}
.chip .bi { color: var(--blue); }

/* ---------- Why us ---------- */
.feature {
  height: 100%;
  padding: 1.9rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 15px;
  font-size: 1.5rem;
}
.feature-icon.green { background: #e6f6ed; color: var(--green); }
.feature-icon.orange { background: #fff3dd; color: #df8600; }
.feature-icon.blue { background: var(--sky); color: var(--blue); }
.feature-icon.purple { background: #f0ebfd; color: #6b47d6; }
.feature h3 { margin-bottom: .35rem; font-size: 1.12rem; font-weight: 600; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-card { overflow: hidden; background: #fff; border-radius: 26px; box-shadow: var(--shadow); }
.contact-info {
  padding: 3.25rem;
  color: #fff;
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(66, 153, 255, .38), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; }
.contact-info p { color: rgba(255, 255, 255, .8); }
.eyebrow-light { background: rgba(255, 255, 255, .12); color: #fff; }
.contact-phone {
  display: inline-flex; align-items: center; gap: .85rem;
  margin: .6rem 0 1.8rem;
  color: #fff; text-decoration: none;
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
}
.contact-phone:hover { color: var(--accent); }
.contact-phone .bi {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: #1a1a1a; font-size: 1.3rem;
  box-shadow: 0 0 0 8px rgba(255, 176, 32, .18);
}
.contact-list { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; color: rgba(255, 255, 255, .9); }
.contact-list .bi { margin-top: .1rem; color: var(--accent); font-size: 1.1rem; }
.contact-list .open-now { display: flex; width: fit-content; margin: .4rem 0 0; }
.contact-list .open-now:empty { display: none; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.contact-form { padding: 3.25rem; }
.contact-form h3 { font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.contact-form .form-control,
.contact-form .form-select { border-color: #d5e1ee; border-radius: 12px; }
.contact-form .form-control:focus,
.contact-form .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .25rem rgba(31, 111, 209, .15); }
.contact-form textarea.form-control { height: 120px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 26px; background: var(--navy); color: #b6c6d9; }
.footer-logo { display: block; width: auto; height: 56px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: .5rem; }
.footer-contact .bi { margin-right: .5rem; color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 56px 0 120px; }
  .hero-visual { margin: 0 auto; }
  .license-card { left: 14px; bottom: -22px; }
}
@media (max-width: 575.98px) {
  :root { --header-h: 118px; }
  .brand-img { height: 44px; }
  .header-call { padding: .5rem .8rem; }
  .header-call-text span { font-size: .95rem; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 72px 0; }
  .contact-info, .contact-form { padding: 2.25rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .feature, .btn, .service-img img { transition: none; }
}
