/* =========================================================
   Blue 16 Electrical Services – East Worthing
   ========================================================= */
:root {
  --blue: #1f63e6;
  --blue-deep: #0b3fa8;
  --blue-bright: #2f7bff;
  --sky: #eaf2ff;
  --sky-2: #f4f8ff;
  --navy: #0a1b3d;
  --sun: #ffd23f;
  --text: #33405a;
  --muted: #66738c;
  --line: #e3e9f3;
  --white: #fff;
  --r: 22px;
  --shadow: 0 24px 50px -28px rgba(10, 27, 61, .35);
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --hh: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.12rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.hl { color: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.light { color: #9cc2ff; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .95rem; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn svg { transition: transform .2s; }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn-blue { background: linear-gradient(135deg, var(--blue-bright), var(--blue) 55%, var(--blue-deep)); color: var(--white); box-shadow: 0 14px 28px -14px rgba(31, 99, 230, .8); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(31, 99, 230, .9); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-full { width: 100%; padding: 15px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s, background .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(10, 27, 61, .4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-badge { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep)); color: var(--white); font-family: var(--head); font-weight: 800; font-size: 1.32rem; letter-spacing: -.06em; padding-right: 5px; box-shadow: 0 10px 20px -10px rgba(31, 99, 230, .9); }
.brand-badge svg { position: absolute; top: 6px; right: 5px; width: 13px; height: 13px; color: var(--sun); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.035em; color: var(--navy); }
.brand-word em { font-style: normal; color: var(--blue); margin-left: 4px; }
.brand-word small { font-family: var(--head); font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-family: var(--head); font-size: .93rem; font-weight: 600; color: var(--navy); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--sky); transition: background .2s; }
.header-call:hover { background: #dde9ff; }
.hc-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 1rem; }
.hc-text { font-family: var(--head); font-weight: 800; color: var(--navy); line-height: 1.1; font-size: 1.02rem; }
.hc-text small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sky); cursor: pointer; padding: 0 12px; }
.menu-btn span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--hh) + 56px) 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(47, 123, 255, .14), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 210, 63, .14), transparent 60%),
    linear-gradient(180deg, var(--sky-2), var(--white)); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 99, 230, .13) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(10, 27, 61, .3); font-family: var(--head); font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 210, 63, .3); }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); margin-bottom: 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .2em; background: var(--sun); opacity: .55; border-radius: 4px; z-index: -1; }
.lead { font-size: 1.12rem; color: var(--text); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.hero-ticks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--blue); color: var(--white); }

.hero-media { position: relative; padding: 0 0 34px 28px; }
.hero-photo { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4.4; background: var(--sky); transform: rotate(1.2deg); border: 6px solid var(--white); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; transform: rotate(-1.2deg) scale(1.05); }
.float-card { position: absolute; background: var(--white); border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(10, 27, 61, .4); margin: 0; }
.fc-review { left: -14px; bottom: 0; max-width: 270px; padding: 16px 18px; }
.fc-q { color: var(--blue); font-size: 1.4rem; margin-bottom: 4px; }
.fc-review blockquote { margin: 0 0 6px; font-family: var(--head); font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.35; }
.fc-review figcaption { font-size: .78rem; color: var(--muted); }
.fc-owner { right: -10px; top: 26px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; }
.fc-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sun); color: var(--navy); font-size: 1.1rem; }
.fc-owner b { display: block; font-family: var(--head); color: var(--navy); font-size: .95rem; line-height: 1.2; }
.fc-owner small { font-size: .76rem; color: var(--muted); }

/* ---------- Highlights ---------- */
.highlights { padding: 0 0 20px; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hl-item { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.hl-icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 1.3rem; }
.hl-item b { display: block; font-family: var(--head); color: var(--navy); font-size: .98rem; line-height: 1.3; }
.hl-item span:not(.hl-icon) { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Services (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--navy); isolation: isolate; box-shadow: 0 10px 30px -22px rgba(10, 27, 61, .5); }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 27, 61, 0) 30%, rgba(10, 27, 61, .55) 58%, rgba(10, 27, 61, .92) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: rgba(255, 255, 255, .86); }
.tile-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: 1.15rem; border: 1px solid rgba(255, 255, 255, .25); }
.tile h3 { color: var(--white); margin-bottom: 6px; }
.tile p { margin: 0; font-size: .88rem; line-height: 1.5; }
.tile-xl .tile-body { padding: 32px; }
.tile-xl h3 { font-size: 1.7rem; }
.tile-xl p { font-size: 1rem; max-width: 440px; }
.tile-xl .tile-icon { background: var(--sun); color: var(--navy); border: 0; width: 50px; height: 50px; font-size: 1.35rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.chips span { padding: 7px 15px; border-radius: 999px; background: var(--sky-2); border: 1px solid var(--line); font-size: .86rem; color: var(--navy); }
.chips .chips-label { background: none; border: 0; padding-left: 0; font-family: var(--head); font-weight: 800; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--white), var(--sky-2)); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-media { position: relative; padding: 0 0 40px 0; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.about-media::before { content: ""; position: absolute; left: -22px; top: -22px; width: 140px; height: 140px; border-radius: 30px; background: var(--sun); z-index: -1; opacity: .9; }
.about-note { position: absolute; right: -18px; bottom: 0; max-width: 300px; padding: 20px 22px; border-radius: 20px; background: var(--blue); color: var(--white); box-shadow: 0 20px 40px -18px rgba(31, 99, 230, .8); }
.about-note svg { font-size: 1.4rem; color: var(--sun); margin-bottom: 6px; }
.about-note p { margin: 0; font-family: var(--head); font-weight: 600; font-size: .98rem; line-height: 1.45; }
.about-copy > p:not(.eyebrow) { font-size: 1.04rem; }
.tags { margin: 26px 0 30px; padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.tags-title { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px !important; }
.tags ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tags li { padding: 12px; border-radius: 14px; background: var(--sky-2); text-align: center; }
.tags b { display: block; font-family: var(--head); color: var(--navy); font-size: .95rem; }
.tags span { font-size: .76rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 34px 30px 30px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 20px; background: var(--sky); color: var(--blue); font-family: var(--head); font-weight: 800; font-size: 1.35rem; }
.step:nth-child(2) .step-n { background: var(--blue); color: var(--white); }
.step:nth-child(3) .step-n { background: var(--sun); color: var(--navy); }
.step p { margin: 0; color: var(--muted); }
.step + .step::before { content: ""; position: absolute; left: -20px; top: 60px; width: 20px; border-top: 2px dashed #c7d6f2; }

/* ---------- Reviews ---------- */
.reviews { background: var(--sky-2); }
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews-top .sec-head { margin: 0; }
.reviews-top h2 { margin: 0; }
.g-badge { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.g-logo { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: var(--blue); background: var(--sky); }
.g-badge b { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.g-stars { display: inline-flex; gap: 1px; color: #f5b301; font-size: .95rem; }
.g-stars .dim { color: #f5b301; opacity: .35; }
.g-badge small { font-size: .8rem; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review { margin: 0; padding: 30px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.review .q { font-size: 2rem; color: var(--blue); }
.review blockquote { margin: 0; font-size: 1rem; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.r-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-family: var(--head); font-weight: 800; }
.review figcaption b { display: block; font-family: var(--head); color: var(--navy); font-size: .95rem; }
.review figcaption small { font-size: .8rem; color: var(--muted); }
.review-blue { background: linear-gradient(150deg, var(--blue-bright), var(--blue) 50%, var(--blue-deep)); border: 0; color: var(--white); transform: translateY(-14px); box-shadow: 0 30px 50px -28px rgba(31, 99, 230, .9); }
.review-blue blockquote { color: rgba(255, 255, 255, .92); }
.review-blue .q { color: var(--sun); }
.review-blue figcaption { border-color: rgba(255, 255, 255, .2); }
.review-blue figcaption b { color: var(--white); }
.review-blue figcaption small { color: rgba(255, 255, 255, .7); }
.review-blue .r-av { background: rgba(255, 255, 255, .18); color: var(--white); }

/* ---------- Areas ---------- */
.areas { padding: clamp(64px, 8vw, 96px) 0; }
.areas-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.areas h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.area-list li:first-child { background: var(--blue); border-color: var(--blue); color: var(--white); }
.area-list li:first-child svg { color: var(--sun); }
.area-list svg { color: var(--blue); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 clamp(72px, 9vw, 110px); }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 34px; color: rgba(255, 255, 255, .85); background: var(--navy); isolation: isolate; }
.contact-photo { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 27, 61, .97) 0%, rgba(10, 27, 61, .9) 45%, rgba(11, 63, 168, .78) 100%),
    url("../images/cta-bg.jpg") right center / cover no-repeat; }
.contact h2 { color: var(--white); }
.big-phone { display: inline-flex; align-items: center; gap: 14px; margin: 10px 0 26px; font-family: var(--head); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--white); letter-spacing: -.02em; }
.big-phone span { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--sun); color: var(--navy); font-size: 1.4rem; }
.big-phone:hover { color: var(--sun); }
.contact-list { display: grid; gap: 10px; font-size: .95rem; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { color: #9cc2ff; }

.quote { background: var(--white); color: var(--text); border-radius: 24px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.quote h3 { font-size: 1.4rem; margin-bottom: 18px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f-wide { grid-column: 1 / -1; }
.f > span { font-family: var(--head); font-size: .8rem; font-weight: 700; color: var(--navy); }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--navy); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sky-2); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.f select { appearance: none; cursor: pointer; padding-right: 40px;
  background: var(--sky-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2366738c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(31, 99, 230, .12); }
.f.invalid input, .f.invalid textarea { border-color: #e0505a; }
.form-status { margin: 10px 0 0; font-size: .88rem; min-height: 1.2em; color: #1d7a46; }
.form-status.error { color: #c62f3a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 22px; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; font-family: var(--head); font-weight: 600; color: var(--navy); }
.footer-nav a:hover { color: var(--blue); }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; font-size: .8rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.review-blue.reveal.visible { transform: translateY(-14px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .tile-xl { grid-row: span 1; grid-column: span 2; }
  .tile-xl h3 { font-size: 1.4rem; }
}

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: var(--hh); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 28px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(10, 27, 61, .4); transform: translateY(-110%); visibility: hidden; transition: transform .35s ease, visibility .35s; z-index: -1; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: flex; margin-top: 18px; border: 0; color: var(--white); }
  .header-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 620px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .review-grid { grid-template-columns: 1fr; max-width: 640px; }
  .review-blue, .review-blue.reveal.visible { transform: none; }
  .areas-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step + .step::before { display: none; }
}

@media (max-width: 640px) {
  :root { --hh: 68px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand-badge { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
  .brand-word b { font-size: 1.25rem; }
  .brand-word small { font-size: .52rem; letter-spacing: .16em; }
  .header-call { padding: 0; background: none; }
  .hc-text { display: none; }
  .hc-icon { width: 44px; height: 44px; }

  .hero { padding: calc(var(--hh) + 28px) 0 48px; }
  .kicker { font-size: .76rem; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .lead { font-size: 1.02rem; margin-bottom: 26px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ticks { flex-direction: column; gap: 10px; }
  .hero-media { padding: 0 0 70px; }
  .hero-photo { aspect-ratio: 4 / 3.4; border-radius: 24px; transform: none; border-width: 4px; }
  .hero-photo img { transform: none; }
  .fc-review { left: 12px; right: 12px; max-width: none; }
  .fc-owner { right: 10px; top: 10px; padding: 8px 14px 8px 8px; }
  .fc-avatar { width: 34px; height: 34px; }

  .hl-grid { grid-template-columns: 1fr; gap: 10px; }
  .hl-item { padding: 16px; }

  .sec-head { margin-bottom: 30px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 14px; }
  .tile-xl, .tile-wide { grid-column: auto; }
  .tile-xl { grid-row: span 1; }
  .tile-xl .tile-body { padding: 22px; }
  .tile-xl h3 { font-size: 1.3rem; }
  .tile-xl p { font-size: .9rem; }

  .about-media { padding-bottom: 60px; }
  .about-media::before { left: -10px; top: -12px; width: 90px; height: 90px; }
  .about-note { right: 12px; left: 12px; max-width: none; padding: 16px 18px; }
  .tags { padding: 18px; }
  .tags ul { grid-template-columns: 1fr 1fr; }

  .review { padding: 24px; }
  .g-badge { width: 100%; }

  .contact { padding-bottom: 56px; }
  .contact-card { width: 100%; border-radius: 0; padding: 48px 16px; }
  .quote { padding: 22px 18px; }
  .q-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { margin-left: 0; }
  .footer { padding-bottom: 96px; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-family: var(--head); font-weight: 700; }
  .mb-call { background: var(--sky); color: var(--blue); }
  .mb-quote { background: var(--blue); color: var(--white); }
}

/* stacking contexts for decorative layers */
.hero h1, .about-media { position: relative; z-index: 0; }
