/* ==========================================================
   Torrance Concrete Leveling - Homepage styles
   ========================================================== */
:root {
  --navy: #0b2a55;
  --navy-dark: #071d3d;
  --blue: #1a6ee6;
  --blue-dark: #1258c2;
  --blue-light: #2f8dff;
  --text: #1c2430;
  --muted: #4a5566;
  --line: #dfe5ee;
  --bg-soft: #f4f7fb;
  --white: #fff;
  --head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 6px 22px rgba(10, 35, 75, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; font-family: var(--body); color: var(--text); line-height: 1.55; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.15; }
p { margin: 0; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }

/* Icons */
.ico { width: 1em; height: 1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: .7em 1.4em; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline { border-color: var(--blue-light); color: var(--white); background: rgba(11, 42, 85, .35); }
.btn--outline:hover { background: var(--blue); border-color: var(--blue); }
.btn--lg { font-size: 1.1rem; padding: .8em 1.6em; }
.btn--sm { font-size: .9rem; padding: .55em 1.1em; }
.btn--block { width: 100%; font-size: 1.05rem; padding: .85em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 66px; width: auto; }
.logo--footer img { height: 64px; }

.topbar__badges { display: flex; gap: 26px; font-size: .85rem; font-weight: 500; color: var(--navy); }
.topbar__badges span { display: flex; align-items: center; gap: 6px; }
.topbar__badges .ico { color: var(--blue); width: 20px; height: 20px; }

.topbar__phone { display: flex; align-items: center; gap: 10px; color: var(--navy-dark); }
.topbar__phone-ico { width: 30px; height: 30px; color: var(--blue); }
.topbar__phone span { display: flex; flex-direction: column; line-height: 1.2; }
.topbar__phone strong { font-family: var(--head); font-size: 1.55rem; font-weight: 800; }
.topbar__phone small { font-size: .8rem; color: var(--muted); }
.topbar__phone small:first-of-type { font-weight: 700; color: var(--navy); font-size: .88rem; }

/* ---------- Navbar ---------- */
.site-header { position: sticky; top: calc(var(--topbar-h, 89px) * -1); z-index: 100; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.navbar { background: var(--navy); position: relative; }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 58px; }
.navbar__menu { display: flex; height: 100%; }
.navbar__menu a { display: block; padding: 18px 22px; color: var(--white); font-weight: 500; font-size: .98rem; }
.navbar__menu a:hover { background: rgba(255, 255, 255, .08); }
.navbar__menu a.active { background: var(--blue); }
.navbar__cta { font-size: 1.1rem; padding: .6em 1.4em; }
.navbar__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.navbar__toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Services dropdown */
.navbar__menu .has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 270px; z-index: 120;
  background: var(--white); box-shadow: 0 14px 30px rgba(7, 29, 61, .22); padding: 6px 0; border-top: 3px solid var(--blue);
}
.navbar__menu .dropdown a { color: var(--navy-dark); padding: 10px 18px; font-size: .95rem; }
.navbar__menu .dropdown a:hover, .navbar__menu .dropdown a:focus-visible { background: #eef4fd; color: var(--blue); }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: block; }
.service-card h3 a:hover { color: var(--blue); }

/* Footer service links */
.footer__services { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 18px; }
.footer__services ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer__services a { font-size: .9rem; color: #d7e2f2; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.footer__services a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(115deg, #0a2246 0%, #12396f 45%, #1b4d86 100%);
}
.hero__photo {
  /* Photo is anchored to the page center so the worker always sits
     between the headline and the estimate form on any desktop width. */
  position: absolute; top: 0; bottom: 0;
  left: calc(50% - 830px); width: 1500px;
  background: url("../images/concrete-leveling-hero.jpg") center 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 29, 61, .92) 0%, rgba(7, 29, 61, .78) 30%, rgba(7, 29, 61, .15) 58%, rgba(7, 29, 61, .05) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; min-height: 560px; }
.hero__content { max-width: 520px; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.hero__eyebrow { font-size: .95rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 22px; }
.hero__title span { display: block; color: var(--blue-light); }
.hero__subtitle { font-family: var(--body); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.hero__text { font-size: 1.02rem; color: #eef3fb; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; }
.hero__features { display: flex; gap: 30px; }
.hero__features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .85rem; font-weight: 500; line-height: 1.25; }
.hero__features svg { width: 36px; height: 36px; color: var(--white); }
.hero__features li:nth-child(n+3) svg { color: var(--blue-light); }

/* Estimate form */
.estimate-form {
  background: var(--white); border-radius: 8px; padding: 20px; color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: grid; gap: 14px;
}
.estimate-form__title { background: var(--blue); color: var(--white); text-align: center; font-size: 1.05rem; font-weight: 700; padding: 10px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.estimate-form input, .estimate-form select, .estimate-form textarea {
  width: 100%; font: inherit; font-size: .9rem; color: var(--text);
  border: 1px solid #c9d2df; border-radius: var(--radius); padding: 12px 12px; background: var(--white);
}
.estimate-form textarea { resize: vertical; min-height: 70px; }
.estimate-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c2430' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.estimate-form .is-invalid { border-color: #d93025; background-color: #fff5f4; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 110, 230, .2); }
.form-message { font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-message.is-error { color: #d93025; }
.form-message.is-success { color: #137333; font-weight: 500; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.section-eyebrow { color: var(--blue); font-family: var(--head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.section-title { color: var(--navy-dark); font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 700; text-align: center; margin-bottom: 14px; }
.section-lead { font-size: 1.05rem; color: var(--text); }

/* ---------- Services ---------- */
.services { padding-top: 40px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10, 35, 75, .06); display: flex; flex-direction: column; }
.service-card img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.service-card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.service-card p { font-size: .95rem; color: var(--text); margin-bottom: 20px; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* ---------- Cost ---------- */
.cost {
  color: var(--white); padding: 18px 0;
  background:
    linear-gradient(90deg, rgba(8, 30, 62, .97) 0%, rgba(8, 30, 62, .85) 45%, rgba(40, 60, 90, .55) 100%),
    repeating-linear-gradient(35deg, #6d7584 0 2px, #5f6878 2px 5px),
    #5f6878;
}
.cost__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cost__title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 14px; }
.cost__content p { font-size: 1.05rem; margin-bottom: 22px; max-width: 520px; color: #e6edf7; }
.cost__cta { display: inline-flex; align-items: center; gap: 16px; background: var(--blue); padding: 16px 26px; border-radius: var(--radius); transition: background .2s; }
.cost__cta:hover { background: var(--blue-dark); }
.cost__cta-ico { width: 38px; height: 38px; flex: none; }
.cost__cta strong { display: block; font-family: var(--head); font-size: 1.3rem; }
.cost__cta small { font-size: .88rem; }

.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); color: var(--text); font-size: .95rem; box-shadow: var(--shadow); }
.price-table th { background: var(--navy); color: var(--white); text-align: left; padding: 10px 14px; font-family: var(--head); font-size: 1.05rem; }
.price-table th + th { border-left: 1px solid rgba(255, 255, 255, .2); }
.price-table td { padding: 8px 14px; border: 1px solid var(--line); }
.price-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.price-table__note { font-size: .8rem; color: #c9d5e6; margin-top: 8px; line-height: 1.45; }

/* ---------- Why choose ---------- */
.why { padding: 30px 0 34px; }
.why .section-title { margin-bottom: 26px; }
.why__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; text-align: center; }
.why__grid svg { width: 44px; height: 44px; color: var(--blue); margin: 0 auto 10px; }
.why__grid h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 4px; }
.why__grid p { font-size: .85rem; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 35% 1fr 180px; background: var(--navy-dark); color: var(--white); }
.about__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; min-height: 300px; }
.about__content { padding: 38px 34px; align-self: center; }
.about__content h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.about__content p + p { margin-top: 12px; }
.about__content p { font-size: 1.05rem; color: #e3eaf5; line-height: 1.6; max-width: 70ch; }
.about__badges { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 24px 16px; text-align: center; }
.about__badges li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .9rem; line-height: 1.3; }
.about__badges svg { width: 40px; height: 40px; color: var(--blue-light); }

/* ---------- Price Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.calc__form { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; }
.calc__title { font-size: 1.5rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 20px; }
.calc__label { display: block; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; font-size: .98rem; }
.calc__label-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; }
.calc__label-row output { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--blue); }
.calc__form select {
  width: 100%; font: inherit; padding: 12px; border: 1px solid #c9d2df; border-radius: var(--radius); background: var(--white);
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c2430' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.calc__form input[type="range"] { width: 100%; accent-color: var(--blue); margin: 4px 0; cursor: pointer; }
.calc__hint { font-size: .85rem; color: var(--muted); }
.calc__group { border: 0; padding: 0; margin: 22px 0 0; }
.calc__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc__options label { position: relative; cursor: pointer; }
.calc__options input { position: absolute; opacity: 0; }
.calc__options span {
  display: flex; flex-direction: column; text-align: center; gap: 2px; padding: 12px 8px;
  border: 2px solid var(--line); border-radius: var(--radius); font-size: .85rem; color: var(--muted); transition: border-color .15s, background .15s;
}
.calc__options strong { font-family: var(--head); font-size: 1.05rem; color: var(--navy-dark); }
.calc__options input:checked + span { border-color: var(--blue); background: #eaf2fe; }
.calc__options input:focus-visible + span { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.calc__check { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.calc__check input { width: 18px; height: 18px; accent-color: var(--blue); }
.calc__check span { margin-left: auto; color: var(--muted); font-weight: 500; }

.calc__result { background: var(--navy-dark); color: var(--white); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 80px; }
.calc__result-label { font-size: .95rem; color: #b9c6da; }
.calc__price { font-family: var(--head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1.1; margin: 6px 0 20px; color: var(--white); }
.calc__summary { margin: 0 0 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.calc__summary div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: .95rem; }
.calc__summary dt { color: #b9c6da; }
.calc__summary dd { margin: 0; font-weight: 500; text-align: right; }
.calc__disclaimer { font-size: .8rem; color: #b9c6da; margin-top: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}
@media (max-width: 480px) {
  .calc__form, .calc__result { padding: 20px; }
  .calc__options { grid-template-columns: 1fr; }
}

/* ---------- Before & After ---------- */
.before-after { background: var(--bg-soft); }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10, 35, 75, .06); }
.ba-card__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--white); }
.ba-card__img { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.ba-card__img img { width: 100%; aspect-ratio: 187 / 206; object-fit: cover; transition: transform .3s ease; }
.ba-card__img:hover img { transform: scale(1.04); }
.ba-tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: var(--radius);
  font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--white);
}
.ba-tag--before { background: #c0392b; }
.ba-tag--after { background: var(--blue); }
.ba-card__body { padding: 18px 20px 22px; }
.ba-card__body h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; }
.ba-card__body p { font-size: .95rem; color: var(--text); }
.ba-cta { text-align: center; margin-top: 34px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 14, 30, .9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 520px); max-height: 80vh; width: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy-dark); font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 800px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 20px; }
.faq__title { font-size: 2rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 22px; }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 60px; row-gap: 22px; }
.faq__list li { margin: 0; }
.faq__list h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 2px; }
.faq__list p { font-size: .95rem; color: var(--text); line-height: 1.6; }

/* ---------- Reviews ---------- */
.reviews { padding: 20px 0 30px; }
.reviews__title { font-size: 2rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 18px; }
.reviews__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.review { margin: 0; border: 1px solid var(--line); background: var(--white); padding: 16px 18px; box-shadow: 0 2px 8px rgba(10, 35, 75, .05); display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; color: #f5b400; }
.review blockquote { margin: 0 0 16px; font-size: .92rem; flex: 1; }
.review figcaption { font-weight: 700; font-size: .92rem; }

/* ---------- Service Area ---------- */
.service-area { background: var(--bg-soft); }
.service-area__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.service-area__content h3 { font-size: 1.5rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 16px; }
.city-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin-bottom: 22px; }
.city-list li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  font-weight: 500; color: var(--navy-dark);
}
.city-list svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.service-area__note { margin-bottom: 22px; color: var(--muted); }
.service-area__note a { color: var(--blue); font-weight: 700; }
.service-area__map { min-height: 420px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e8eef6; }
.service-area__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

@media (max-width: 900px) {
  .service-area__inner { grid-template-columns: 1fr; }
  .service-area__map, .service-area__map iframe { min-height: 340px; }
}
@media (max-width: 420px) {
  .city-list { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 24, 51, .25) 0%, rgba(6, 24, 51, .55) 100%),
    url("../images/footer-bg.jpg") center 60% / cover no-repeat,
    #061833;
}
.footer__contact { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.footer__bottom { background: rgba(4, 16, 36, .55); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.footer__contact { display: grid; gap: 10px; font-size: 1rem; }
.footer__contact li { display: flex; align-items: center; gap: 12px; }
.footer__contact svg { width: 20px; height: 20px; color: var(--blue-light); }
.footer__contact a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; padding: 14px 20px; font-size: .85rem; color: #b9c6da; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: #d7e2f2; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 40% 1fr; }
  .about__badges { grid-column: 1 / -1; flex-direction: row; justify-content: space-around; }
  .navbar__menu a { padding: 18px 14px; }
}

@media (max-width: 900px) {
  /* Compact sticky mobile header: logo + menu button, phone bar underneath */
  html { scroll-padding-top: 120px; }
  .site-header { top: 0; }
  .topbar__badges { display: none; }
  .topbar__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0; padding-top: 8px; padding-bottom: 0; }
  .logo img { height: 42px; }
  .navbar__toggle { display: block; margin-right: -8px; }
  .navbar__toggle span { background: var(--navy-dark); }
  .topbar__phone {
    grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 8px;
    margin: 8px -20px 0; padding: 9px 16px; background: var(--blue); color: var(--white);
  }
  .topbar__phone-ico { width: 20px; height: 20px; color: var(--white); }
  .topbar__phone span { flex-direction: row; align-items: baseline; gap: 8px; }
  .topbar__phone strong { font-size: 1.25rem; }
  .topbar__phone small, .topbar__phone small:first-of-type { color: #e3eefe; font-size: .85rem; font-weight: 500; }
  .topbar__phone small:last-of-type { display: none; }
  .navbar__inner { min-height: 0; }
  .navbar__cta { display: none; }
  .navbar__menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto;
    max-height: calc(100vh - 110px); overflow-y: auto;
    flex-direction: column; background: var(--navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  }
  .navbar__menu.is-open { display: flex; }
  .navbar__menu a { padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .dropdown { display: block; position: static; min-width: 0; box-shadow: none; padding: 0; border: 0; background: rgba(0, 0, 0, .18); }
  .navbar__menu .dropdown a { color: #d7e2f2; padding: 11px 20px 11px 36px; font-size: .92rem; }
  .navbar__menu .dropdown a:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; background-position: 62% center; }
  .hero::after { background: rgba(7, 29, 61, .72); }
  .hero__content { max-width: none; }
  .cost__inner { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 20px; }
  .about { grid-template-columns: 1fr; }
  .about__image img { max-height: 320px; }
  .faq__list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}

@media (max-width: 600px) {
  .logo img { height: 36px; }
  .topbar__phone small { display: none; }
  .logo--footer img { height: 50px; }
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__features { flex-wrap: wrap; gap: 18px; justify-content: space-between; }
  .hero__features li { width: 42%; }
  .form-row { grid-template-columns: 1fr; }
  .cost__cta { padding: 14px 16px; }
  .cost__cta strong { font-size: 1.1rem; }
  .about__badges { flex-direction: column; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer { background-position: 0 0, 72% center, 0 0; }
  .footer__contact li { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
