/* Design language from the legal-kid "warm" brief: navy header + hero, sunny-yellow
   highlights, white section with 40px rounded top on the navy, cream sections,
   28px cards with soft coloured header strips, pill buttons, Plus Jakarta Sans + Inter. */

@font-face { font-family: 'Inter'; src: url('fonts/Inter-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --navy: #1A2456;
  --navy-line: #2A3570;
  --navy-block: #3A4A8C;
  --on-navy: #D3D8EE;
  --yellow: #FFC93C;
  --yellow-soft: #FFE7A3;
  --sky-soft: #DCE6FF;
  --sky-bubble: #E6ECFF;
  --peach-soft: #FFDCCB;
  --coral: #F2784B;
  --whatsapp: #1F7A3D;
  --whatsapp-hover: #18602F;
  --cream: #FFF9EE;
  --cream-deep: #FFF3DC;
  --white: #FFFFFF;
  --border: #F1E4C8;
  --muted: #4A4F68;
  --subtle: #5A5F78;
  --eyebrow: #9A4A00;
  --r-card: 28px;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad-x: clamp(20px, 5vw, 48px);
  --pad-y: clamp(56px, 8vw, 104px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-icon] { display: inline-grid; place-items: center; flex: none; }
[data-icon] svg { width: 1.15em; height: 1.15em; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad-x); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 999px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hl { background: var(--yellow); color: var(--navy); padding: 0 10px; border-radius: 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ── Buttons ─────────────────────────────── */
.pill-yellow, .btn-navy, .btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px; font: 700 15px var(--text); text-decoration: none; cursor: pointer; transition: background .12s, transform .12s;
}
.pill-yellow { background: var(--yellow); color: var(--navy); }
.pill-yellow:hover { background: #FFBE14; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #121A42; }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn-whatsapp:active, .btn-navy:active { transform: scale(.98); }
.btn-whatsapp.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-whatsapp.big [data-icon] svg { width: 22px; height: 22px; }

/* WhatsApp hours under the hero button */
.hours-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hours-note [data-icon] { color: var(--whatsapp); }
.hours-note strong { color: var(--navy); }

/* Location line above the hero badge */
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--eyebrow); }
.hero-kicker [data-icon] svg { width: 18px; height: 18px; }

/* 25+ years badge in the hero */
.exp-badge { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 28px; padding: 14px 22px 14px 18px; max-width: 520px; border-radius: 24px; background: var(--cream); border: 1.5px solid var(--border); }
.exp-num { margin: 0; font-family: var(--display); font-weight: 800; font-size: 52px; line-height: .9; letter-spacing: -0.04em; color: var(--navy); flex: none; }
.exp-num span { color: var(--eyebrow); }
.exp-label { margin: 0; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--navy); }
.exp-sub { margin: 3px 0 0; font-size: 13px; color: var(--muted); }

/* ── Header + hero (navy) ────────────────── */
.site-header { background: var(--navy); border-bottom: 1px solid var(--navy-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: var(--white); text-decoration: none; }
.logo span { background: var(--yellow); color: var(--navy); padding: 0 8px; margin-left: 2px; border-radius: 10px; display: inline-block; transform: rotate(-3deg); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a:not(.pill-yellow) { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.pill-yellow):hover { color: var(--yellow); }

/* Amazon-style service menu bar under the header */
.subnav { background: #232E66; border-bottom: 1px solid var(--navy-line); }
.subnav-row { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); padding-right: 40px; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; border: 1px solid transparent; border-radius: 6px; }
.subnav a:hover { border-color: var(--white); }
.subnav a:first-child { margin-left: -12px; }
.subnav-all { font-weight: 700 !important; }
.burger { position: relative; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
.service-card, #parts { scroll-margin-top: 16px; }
.service-card:target { box-shadow: 0 0 0 3px var(--yellow); }

.hero { background: var(--white); color: var(--navy); padding: clamp(40px, 6vw, 80px) 0 calc(var(--pad-y) + 40px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.22; margin: 0 0 48px; }
.hero h1 .hl { white-space: nowrap; }

.hero-visual { position: relative; padding: 20px; }
.deco { position: absolute; pointer-events: none; }
.deco.circle { width: 240px; height: 240px; border-radius: 50%; background: var(--yellow); top: -40px; right: -50px; }
.deco.square { width: 160px; height: 160px; border-radius: 32px; background: var(--sky-soft); bottom: -10px; left: 10%; transform: rotate(-12deg); }
.deco.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--coral); left: 6%; top: 22%; }

/* Hero phone: a WhatsApp-style chat that builds the customer's message */
.phone { position: relative; display: flex; flex-direction: column; max-width: 460px; margin-left: auto; background: var(--white); border: 10px solid #0E1435; border-radius: 40px; overflow: hidden; box-shadow: 0 30px 60px rgba(26, 36, 86, .22); }
.wa-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--whatsapp); color: var(--white); }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex: none; }
.wa-name { margin: 0; font-weight: 700; font-size: 16px; }
.wa-status { margin: 0; font-size: 12px; opacity: .85; }
.wa-chat { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 14px; background-color: #EFE7DC;
  background-image: radial-gradient(rgba(26, 36, 86, .06) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.wa-msg { position: relative; align-self: flex-start; margin: 0; max-width: 85%; padding: 10px 14px; background: var(--white); border-radius: 0 14px 14px 14px; font-size: 15px; font-weight: 500; color: var(--navy); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-msg::before { content: ''; position: absolute; left: -8px; top: 0; border-width: 0 10px 10px 0; border-style: solid; border-color: transparent var(--white) transparent transparent; }
.picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px;
  font: 600 13px var(--text); color: var(--whatsapp); background: var(--white); border: 1.5px solid transparent;
  border-radius: 999px; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); transition: background .12s, color .12s;
}
.pick .icon { width: 15px; height: 15px; }
.pick:hover { border-color: var(--whatsapp); }
.pick[aria-pressed="true"] { background: var(--whatsapp); color: var(--white); }
.wa-compose { display: flex; align-items: center; gap: 8px; padding: 10px; background: #F0F2F5; }
.wa-input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; font: 500 15px var(--text); color: var(--navy); background: var(--white); border: 1.5px solid transparent; border-radius: 999px; outline: none; }
.wa-input::placeholder { color: var(--subtle); }
.wa-input:focus { border-color: var(--whatsapp); }
.wa-send { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--whatsapp); color: var(--white); font: 700 15px var(--text); cursor: pointer; flex: none; }
.wa-send:hover { background: var(--whatsapp-hover); }
.wa-send:active { transform: scale(.97); }

/* ── Sections ────────────────────────────── */
.eyebrow { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--eyebrow); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.section-lead { margin: 14px 0 36px; max-width: 640px; font-size: 17px; color: var(--muted); }

.services { background: var(--cream); border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; padding: var(--pad-y) 0; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-card); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(26, 36, 86, .10); }
.strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.strip.yellow { background: var(--yellow-soft); }
.strip.sky { background: var(--sky-soft); }
.strip.peach { background: var(--peach-soft); }
.kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.strip h3 { font-size: 22px; line-height: 1.2; }
.icon-box { width: 56px; height: 56px; border-radius: 18px; background: var(--white); flex: none; }
.icon-box svg { width: 26px; height: 26px; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-line { margin: 0; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.list li { display: flex; align-items: flex-start; gap: 10px; }
.list li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2456' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") no-repeat center / 12px; }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 2px dashed var(--border); }
.card-foot .btn-navy { width: 100%; }

.parts { background: var(--white); padding: var(--pad-y) 0; }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.parts-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.parts-head { display: flex; align-items: center; gap: 14px; }
.parts-head .icon-box { background: var(--yellow-soft); }
.parts-head h3 { font-size: 22px; }
.parts-head p { margin: 2px 0 0; color: var(--subtle); font-size: 14px; }
.part-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.part-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--border); color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .12s, border-color .12s; }
.part-chips a:hover { background: var(--yellow); border-color: var(--yellow); }
.parts-card > .btn-navy { align-self: flex-start; margin-top: auto; }

.how { background: var(--cream-deep); padding: var(--pad-y) 0; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.step { background: var(--white); border-radius: var(--r-card); padding: 28px; }
.num { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

.cta-wrap { background: var(--cream-deep); padding: 0 0 var(--pad-y); }
.cta-band { background: var(--navy); color: var(--white); border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); max-width: 620px; }
.cta-band p { margin: 10px 0 0; color: var(--on-navy); }

/* Areas we serve */
.areas { background: var(--cream); padding: var(--pad-y) 0; }
.area-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.area-group { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-card); padding: 26px; }
.area-group h3 { font-size: 22px; margin-bottom: 16px; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--border); font-weight: 600; font-size: 15px; }
.area-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ── Footer ──────────────────────────────── */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 48px 0 104px; } /* bottom room for the floating WhatsApp button */
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 64px; align-items: start; }
.footer-tag { margin: 10px 0 0; font-size: 14px; }
.footer-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-info a, .footer-info span { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.footer-info a:hover { color: var(--yellow); }
.footer-info .icon { width: 18px; height: 18px; color: var(--yellow); }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--navy-line); }
.copyright { margin: 0; font-size: 13px; }
/* Parent company: small, secondary */
.parent-company { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.5; color: var(--on-navy); }
.parent-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--white); flex: none; object-fit: cover; }
.parent-text p { margin: 0; }
.parent-name { font-size: 13px; }
.parent-name strong { color: var(--white); font-weight: 700; }

/* Sticky WhatsApp bar (appears once the hero has scrolled away) */
.sticky-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 999px; background: var(--whatsapp); color: var(--white);
  font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(14, 20, 53, .3);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.sticky-wa.show { opacity: 1; transform: none; pointer-events: auto; }
.sticky-wa [data-icon] svg { width: 22px; height: 22px; }

/* ── Responsive ──────────────────────────── */
/* Grid children may shrink below their content width (prevents horizontal overflow). */
.hero-grid > *, .service-grid > *, .parts-grid > *, .area-groups > *, .steps > * { min-width: 0; }

@media (max-width: 900px) {
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* Tablet: keep text + phone side by side, a little tighter */
@media (min-width: 721px) and (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .hero h1 { font-size: clamp(36px, 5.2vw, 48px); }
  .exp-badge { gap: 12px; padding: 12px 16px; }
  .exp-num { font-size: 42px; }
  .exp-sub { font-size: 12px; }
  .hero-visual { padding: 12px 0; }
  .picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pick { min-height: 42px; padding: 6px 10px; font-size: 12px; line-height: 1.2; text-align: left; justify-content: flex-start; border-radius: 14px; }
}

/* Below tablet: stack, phone centred */
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: 100%; max-width: 460px; margin: 0 auto; }
  .phone { margin: 0 auto; }
}

@media (max-width: 600px) {
  /* Header: logo + "Talk to us" on one row; the services bar below handles navigation */
  .header-row { min-height: 60px; flex-wrap: nowrap; padding-block: 8px; }
  .logo { font-size: 24px; }
  .nav { gap: 0; }
  .nav a:not(.pill-yellow) { display: none; }
  .subnav a { font-size: 13.5px; padding: 0 10px; }

  /* Hero */
  .hero { padding: 24px 0 calc(var(--pad-y) + 24px); }
  .hero-kicker { font-size: 13.5px; align-items: flex-start; margin-bottom: 14px; }
  .hero-kicker [data-icon] { margin-top: 1px; }
  .exp-badge { display: flex; width: 100%; gap: 12px; margin-bottom: 22px; padding: 12px 16px; border-radius: 20px; }
  .exp-num { font-size: 40px; }
  .exp-label { font-size: 15px; }
  .exp-sub { font-size: 12.5px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 44px); line-height: 1.18; margin-bottom: 26px; }
  .hero h1 .hl { white-space: normal; }
  .hero-copy .btn-whatsapp.big { width: 100%; }
  .hours-note { justify-content: center; font-size: 13.5px; }
  .hero-visual { padding: 28px 0 8px; }
  .deco.circle { width: 120px; height: 120px; top: 0; right: -28px; }
  .deco.square, .deco.dot { display: none; }
  .phone { border-width: 7px; border-radius: 30px; }
  .wa-chat { padding: 14px 12px 16px; }
  .picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pick { min-height: 42px; padding: 6px 10px; font-size: 12.5px; line-height: 1.2; text-align: left; justify-content: flex-start; border-radius: 14px; }
  .wa-compose { padding: 8px; }
  .wa-send { padding: 0 16px; }

  /* Sections */
  .strip { padding: 16px 18px; }
  .strip h3 { font-size: 20px; }
  .card-body { padding: 18px; }
  .parts-card, .area-group { padding: 20px; }
  .area-list { gap: 8px; }
  .area-list li { min-height: 34px; padding: 0 12px; font-size: 14px; }
  .part-chips a { padding: 0 16px; }
  .step { padding: 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .step .num { width: 44px; height: 44px; font-size: 18px; margin: 0; grid-row: span 2; }
  .step h3 { font-size: 18px; margin: 9px 0 6px; }
  .step p { grid-column: 2; }
  .cta-band { border-radius: 24px; padding: 28px 22px; }
  .cta-band .btn-whatsapp { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-info a, .footer-info span { min-height: 44px; }
  .sticky-wa { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
  .site-footer { padding-bottom: 112px; } /* room for the sticky WhatsApp bar */
}
