/* Demboys Marine Detailing - site styles
   Palette: black, white, light blue. Fonts: Josefin Sans (headings), Yellowtail (one script word), Instrument Sans (body). */
:root {
  --black: #0a0a0a;
  --ink2: #1c1c1c;
  --white: #ffffff;
  --blue: #9fd0f2;
  --blue-deep: #4fa3d9;
  --tint: #eef6fc;
  --box: #dcecf7;
  --gray: #4a4a4a;
  --soft: #d9d9d9;
  --line: #dfe7ee;
  --radius: 22px;
  --pad: clamp(20px, 5vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px; line-height: 1.6; color: var(--black); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-deep); outline-offset: 3px;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: var(--black); padding: 12px 20px; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.display, h1, h2, h3, h4 { font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif; }
h1, h2 { text-transform: uppercase; letter-spacing: 0.01em; font-weight: 700; line-height: 1.05; }
h1 { font-size: clamp(40px, 6vw, 84px); }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.script { font-family: 'Yellowtail', cursive; font-weight: 400; text-transform: none; font-size: 1.25em; letter-spacing: 0; color: var(--blue); }
section { padding: clamp(72px, 10vw, 128px) 0; }
.tint { background: var(--tint); }
.dark { background: var(--black); color: var(--white); }
.lede { font-size: clamp(19px, 1.8vw, 22px); color: var(--gray); max-width: 640px; }
.dark .lede { color: var(--soft); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.head .lede { margin: 0; max-width: 420px; }

/* Buttons */
.btn { display: inline-block; border-radius: 999px; font-weight: 700; padding: 16px 34px; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 17px; line-height: 1.3; transition: background .15s, color .15s, border-color .15s; }
.btn-blue { background: var(--blue); color: var(--black); }
.btn-blue:hover { background: #b6dcf6; }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #2a2a2a; }
.btn-line { color: var(--white); border-color: #5a5a5a; }
.btn-line:hover { border-color: var(--white); }
.btn-line-dark { color: var(--black); border-color: var(--black); }
.btn-line-dark:hover { background: var(--black); color: var(--white); }

/* Header */
.site-header { background: var(--black); color: var(--white); position: relative; z-index: 20; }
.bar { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: 0.02em; text-transform: uppercase; }
.logo span { font-weight: 400; color: #a9a9a9; text-transform: none; letter-spacing: 0; }
.menu { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; }
.menu a:hover { color: var(--blue); }
.menu .btn { padding: 12px 24px; font-size: 16px; }
.menu .btn:hover { color: var(--black); }
.menu .phone { font-weight: 700; }
.menu-toggle { display: none; background: none; border: 2px solid #5a5a5a; border-radius: 999px; color: var(--white); padding: 8px 18px; font: 600 15px 'Instrument Sans', sans-serif; cursor: pointer; }

/* Hero (home) */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; padding: 0; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; }
.hero-body { display: flex; gap: 80px; align-items: center; padding: 32px 0 150px; }
.hero-text { flex: 1.15; min-width: 0; }
.hero-media { flex: 0.85; min-width: 0; position: relative; }
.pill-label { display: inline-block; border: 1px solid #4a4a4a; border-radius: 999px; padding: 8px 18px; font-size: 15px; color: var(--soft); margin-bottom: 32px; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
.hero .sub { margin-top: 36px; font-size: 22px; line-height: 1.5; color: var(--soft); max-width: 520px; }
.actions { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.video { background: var(--ink2); border: 1px solid #3b3b3b; border-radius: 28px; aspect-ratio: 4 / 5; display: flex; align-items: flex-start; justify-content: center; text-align: center; color: #a9a9a9; padding: 18% 24px 24px; overflow: hidden; }
.video video, .video img { width: 100%; height: 100%; object-fit: cover; }
.play { width: 88px; height: 88px; border-radius: 50%; background: var(--blue); margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; }
.play i { width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 24px solid var(--black); margin-left: 6px; }
.video strong { display: block; color: var(--white); font-size: 20px; }
.quick { position: absolute; left: -96px; bottom: -64px; width: 300px; background: var(--white); color: var(--black); border-radius: 20px; padding: 24px; box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.quick h2 { font-size: 22px; margin-bottom: 14px; }

/* Forms */
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; border: 1px solid #b9c7d3; border-radius: 12px; padding: 12px 14px; font: 16px 'Instrument Sans', sans-serif; margin-bottom: 14px; background: var(--white); color: var(--black);
}
.quick input { padding: 10px 12px; font-size: 15px; margin-bottom: 10px; border-radius: 10px; }
.quick .btn { width: 100%; text-align: center; padding: 12px; font-size: 15px; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }

/* Trust bar */
.trust-wrap { position: relative; margin-top: -64px; padding: 0; z-index: 5; }
.trust { background: var(--white); border-radius: 20px; box-shadow: 0 18px 40px rgba(10,10,10,.14); display: flex; padding: 8px 0; }
.trust > div { flex: 1; padding: 26px 32px; }
.trust > div + div { border-left: 1px solid var(--line); }
.trust b { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 20px; line-height: 1.3; }
.trust span { display: block; color: var(--gray); font-size: 15px; margin-top: 4px; }
.after-trust { padding-top: 120px; }

/* Placeholders for photos */
.ph { background: var(--box); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); font-size: 15px; padding: 16px; aspect-ratio: 4 / 3; overflow: hidden; }
.ph small { display: block; opacity: .8; margin-top: 4px; }
figure.photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--box); }
figure.photo img { width: 100%; height: 100%; object-fit: cover; }
.card > figure.photo { aspect-ratio: 3 / 2; }
.feature > figure.photo { aspect-ratio: auto; min-height: 320px; flex: 1; }
.about-photos figure.photo { aspect-ratio: auto; height: 100%; }
.service-block .pic figure.photo { border-radius: var(--radius); }
.round { border-radius: var(--radius); overflow: hidden; }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card .body p { color: var(--gray); font-size: 16px; margin-top: 10px; flex: 1; }
.card .body .more { margin-top: 18px; font-weight: 700; border-bottom: 2px solid var(--blue); align-self: flex-start; }
.feature { flex-direction: row; }
.feature .ph, .feature figure { flex: 1; aspect-ratio: auto; min-height: 320px; }
.feature .body { flex: 1; padding: 40px; justify-content: center; }
.card.black { background: var(--black); color: var(--white); padding: 40px; justify-content: space-between; }
.card.black p { color: var(--soft); }
.card.black a.more { color: var(--blue); font-weight: 700; margin-top: 24px; }
.band { background: var(--blue); color: var(--black); border-radius: var(--radius); padding: 36px 44px; display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.band h3 { font-size: 30px; }

/* Areas */
.areas-wrap { display: flex; gap: 96px; align-items: flex-start; }
.areas-left { flex: 1; position: sticky; top: 40px; }
.areas-left h2 { margin-bottom: 28px; }
.map-box { margin-top: 40px; background: #1c1c1c; border: 1px solid #3b3b3b; border-radius: var(--radius); aspect-ratio: 4 / 3; max-width: 420px; display: flex; align-items: center; justify-content: center; color: #a9a9a9; font-size: 15px; text-align: center; padding: 16px; }
.areas-list { flex: 1; border-left: 2px solid #3b3b3b; padding-left: 40px; margin-left: 8px; }
.areas-list a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid #2f2f2f; }
.areas-list a b { font-family: 'Josefin Sans', sans-serif; font-size: 28px; font-weight: 700; display: block; line-height: 1.2; }
.areas-list a small { color: #a9a9a9; font-size: 15px; display: block; }
.areas-list a::before { content: ""; position: absolute; left: -49px; top: 50%; margin-top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); }
.areas-list a .arrow { color: var(--blue); font-size: 24px; }
.areas-list a:hover b { color: var(--blue); }

/* Reviews slider */
.slider-nav { display: flex; gap: 12px; }
.slider-nav button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); font-size: 20px; font-weight: 700; cursor: pointer; }
.slider-nav button:last-child { background: var(--blue); border-color: var(--blue); }
.slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(440px, 86%); scroll-snap-align: start; border-radius: 26px; padding: 40px; background: var(--tint); }
.review.big { background: var(--black); color: var(--white); flex-basis: min(640px, 90%); padding: 48px; }
.stars { color: var(--blue-deep); letter-spacing: 4px; font-size: 20px; margin-bottom: 18px; }
.review.big .stars { color: var(--blue); }
.review p { color: var(--gray); }
.review.big p { font-family: 'Josefin Sans', sans-serif; font-size: 28px; line-height: 1.3; color: var(--white); }
.review .who { margin-top: 24px; font-weight: 700; font-size: 16px; }

/* About / why */
.about-split { display: flex; gap: 88px; align-items: center; margin-bottom: 96px; }
.about-photos { flex: 1; position: relative; height: 560px; }
.about-photos .a { position: absolute; left: 0; top: 0; width: 75%; height: 78%; border-radius: 26px; overflow: hidden; }
.about-photos .b { position: absolute; right: 0; bottom: 0; width: 55%; height: 52%; border-radius: 26px; overflow: hidden; border: 8px solid var(--tint); background: #c6e0f3; }
.about-photos .ph { aspect-ratio: auto; height: 100%; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1; }
.about-text p { margin-top: 24px; color: var(--gray); font-size: 20px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why .card { padding: 36px; }
.why .num { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 44px; line-height: 1; }
.why h3 { margin-top: 10px; }
.why p { margin-top: 10px; color: var(--gray); font-size: 16px; }

/* Quote band */
.quote-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.quote-band h2 { font-size: clamp(40px, 6vw, 72px); }
.quote-band p { margin-top: 20px; color: var(--soft); font-size: 21px; }
.quote-band .right { text-align: right; }
.quote-band .call { margin-top: 20px; font-size: 20px; font-weight: 600; }
.quote-band .btn { padding: 22px 48px; font-size: 19px; }

/* Inner page header */
.page-head { background: var(--black); color: var(--white); padding: 40px 0 88px; position: relative; overflow: hidden; }
.page-head .wrap { position: relative; }
.crumbs { font-size: 15px; color: #a9a9a9; margin-bottom: 28px; }
.crumbs a:hover { color: var(--blue); }
.page-head h1 { max-width: 16ch; }
.page-head.wide h1 { max-width: 20ch; }
.page-head .lede { margin-top: 28px; }

/* Prose / lists */
.prose { max-width: 760px; }
.prose p { margin-top: 20px; color: var(--gray); }
.prose h2 { margin-top: 56px; font-size: clamp(28px, 3.4vw, 40px); }
.prose h3 { margin-top: 36px; }
.checks { list-style: none; margin-top: 20px; }
.checks li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); color: var(--gray); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 7px; border-left: 3px solid var(--blue-deep); border-bottom: 3px solid var(--blue-deep); transform: rotate(-45deg); }
.service-block { display: flex; gap: 64px; align-items: flex-start; padding: 56px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .info { flex: 1; }
.service-block .pic { flex: 1; }
.service-block .pic .ph, .service-block .pic figure { border-radius: var(--radius); overflow: hidden; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: 'Josefin Sans', sans-serif; font-size: 22px; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--gray); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chips a { border: 2px solid var(--black); border-radius: 999px; padding: 10px 22px; font-weight: 600; font-size: 16px; }
.chips a:hover { background: var(--blue); border-color: var(--blue); }

/* Footer */
.site-footer { background: #111; color: var(--white); padding: 72px 0 32px; font-size: 16px; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 18px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; color: #a9a9a9; }
.site-footer a:hover { color: var(--blue); }
.legal { border-top: 1px solid #2a2a2a; margin-top: 48px; padding-top: 24px; color: #8a8a8a; font-size: 14px; }

/* Draft placeholders: bracketed text that still needs real content */
.todo { background: #fff6cc; outline: 1px dashed #c9a400; color: #4a3b00; padding: 0 4px; border-radius: 3px; }
.dark .todo, .card.black .todo, .review.big .todo { background: #4a3b00; color: #fff6cc; }

@media (max-width: 960px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 96px; background: var(--black); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--pad) 28px; border-top: 1px solid #2a2a2a; }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; width: 100%; border-bottom: 1px solid #1f1f1f; }
  .menu .btn { margin-top: 16px; text-align: center; width: auto; }
  .menu-toggle { display: inline-block; }
  .hero-body { flex-direction: column; align-items: stretch; gap: 48px; padding: 24px 0 120px; }
  .quick { position: relative; left: 0; bottom: 0; width: auto; margin: -48px 16px 0; }
  .trust { flex-direction: column; }
  .trust > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .g2, .g3, .why, .cols { grid-template-columns: 1fr; }
  .feature { flex-direction: column; }
  .grid[style*="2fr 1fr"] { grid-template-columns: 1fr !important; }
  .areas-wrap, .about-split, .service-block { flex-direction: column; gap: 48px; }
  .areas-left { position: static; }
  .about-photos { width: 100%; height: 420px; }
  .quote-band .right { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip { font: 600 16px 'Instrument Sans', sans-serif; border: 2px solid var(--black); background: var(--white); color: var(--black); border-radius: 999px; padding: 10px 22px; cursor: pointer; }
.chip:hover, .chip.is-on { background: var(--blue); border-color: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery .g-item[hidden] { display: none; }
.gallery figure.photo { border-radius: var(--radius); aspect-ratio: 4 / 5; }

.page-head .lede { color: var(--soft); }
.grid figure.photo { border-radius: var(--radius); }

/* ===== Round 3: logo header, tablet header, hero alignment, tighter sections ===== */
.logo { display: flex; align-items: center; }
.logo img { height: 80px; width: auto; display: block; }
.bar { height: 100px; }
.menu-toggle { display: none; }
.menu { font-size: 16px; }
@media (max-width: 1100px) { .menu { gap: 22px; } }
@media (min-width: 701px) and (max-width: 960px) {
  .menu { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; background: transparent; gap: 15px; font-size: 15px; }
  .menu a { padding: 0; border-bottom: 0; width: auto; }
  .menu .phone { display: none; }
  .menu .btn { margin-top: 0; padding: 10px 18px; font-size: 15px; }
  .menu-toggle { display: none; }
  .logo img { height: 68px; }
  .bar { height: 88px; }
}
@media (max-width: 700px) {
  .menu { top: 88px; }
  .menu-toggle { display: inline-block; }
  .logo img { height: 64px; }
  .bar { height: 88px; }
}

/* Hero: headline lines, video even with the words, quote card tucked into the corner */
.hero h1 .ln { display: block; line-height: 1.04; }
.hero h1 .script { line-height: 0; display: inline-block; vertical-align: baseline; }
.hero-body { align-items: stretch; padding: 40px 0 175px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-media { display: flex; flex-direction: column; }
.hero .video { flex: 1; aspect-ratio: auto; min-height: 440px; position: relative; }
.hero .video video { position: absolute; inset: 0; }
.quick { left: -140px; bottom: -84px; }
@media (max-width: 960px) {
  .hero-body { padding: 24px 0 120px; align-items: stretch; }
  .hero .video { flex: none; aspect-ratio: 4 / 5; min-height: 0; }
  .quick { left: 0; bottom: 0; }
}

/* Services: slightly smaller images and text, small labels */
#services { padding: 80px 0; }
#services .head { margin-bottom: 36px; }
#services .head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.svc-label { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font: 600 13px 'Instrument Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.svc-label::after { content: ""; flex: 1; height: 1px; background: #c9d9e5; }
.svc-row1 { grid-template-columns: 2fr 1fr; margin-bottom: 28px; }
.svc-row2 { margin-bottom: 24px; }
#services .card .body { padding: 22px; }
#services .card h3 { font-size: 21px; }
#services .card p { font-size: 15px; margin-top: 8px; }
#services .card .more { font-size: 15px; margin-top: 14px; }
#services .card > figure.photo, #services .card > .ph { aspect-ratio: 16 / 10; }
#services .feature .body { padding: 30px; }
#services .card.black { padding: 30px; }
#services .band { padding: 24px 32px; margin-top: 8px; }
#services .band h3 { font-size: 24px; }
.ba-pair { flex: 1.15; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-height: 250px; background: var(--white); }
.tagged { position: relative; display: block; min-height: 0; }
.tagged figure.photo, .ba-pair figure.photo { aspect-ratio: auto; height: 100%; width: 100%; border-radius: 0; }
.tagged .tag { position: absolute; top: 10px; left: 10px; background: var(--black); color: var(--white); font: 600 11px 'Instrument Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; z-index: 2; }

/* Areas: tighter, with the map photo */
#areas { padding: 84px 0; }
#areas .areas-wrap { gap: 72px; }
#areas .areas-left h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 18px; }
#areas .areas-list a { padding: 15px 0; }
#areas .areas-list a b { font-size: 23px; }
#areas .areas-list a small { font-size: 14px; }
.map-photo { margin: 26px 0 0; max-width: 270px; border-radius: 22px; overflow: hidden; border: 1px solid #3b3b3b; background: #1c1c1c; }
.map-photo img { width: 100%; height: auto; display: block; }

/* Reviews: smaller */
#reviews { padding: 72px 0; }
#reviews .head { margin-bottom: 32px; }
#reviews .head h2 { font-size: clamp(26px, 3.2vw, 40px); }
#reviews .slider-nav button { width: 44px; height: 44px; font-size: 18px; }
.review { padding: 26px; flex-basis: min(360px, 86%); border-radius: 22px; }
.review.big { padding: 30px; flex-basis: min(520px, 90%); }
.review p { font-size: 15px; }
.review.big p { font-size: 21px; line-height: 1.35; }
.review .who { margin-top: 18px; font-size: 15px; }
.stars { font-size: 17px; margin-bottom: 14px; }

/* Blog teasers and before & after */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card figure.photo { border-radius: var(--radius); aspect-ratio: 16 / 10; }
.blog-card h3 { font-size: 22px; margin-top: 16px; }
.blog-card .more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 16px; border-bottom: 2px solid var(--blue); }
#blog { padding-bottom: 40px; }
#before-after { padding: 72px 0; }
.ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ba-grid figure.photo { aspect-ratio: 4 / 5; border-radius: var(--radius); height: 100%; }
.ba-grid .tagged figure.photo { aspect-ratio: 4 / 5; }
.ba-grid .tagged .tag { top: 12px; left: 12px; }

/* Footer social + gallery video */
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border: 1px solid #3b3b3b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); }
.social a:hover { border-color: var(--blue); color: var(--blue); }
.g-item video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #111; display: block; }

/* Phones */
@media (max-width: 960px) {
  .svc-row1, .blog-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-pair { min-height: 220px; }
  .map-photo { max-width: 260px; }
}
@media (max-width: 700px) {
  section { padding: 56px 0; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  #services, #areas, #reviews, #before-after { padding: 56px 0; }
  .trust-wrap { margin-top: -40px; }
  .head { margin-bottom: 28px; }
  .quote-band h2 { font-size: 44px; }
  .quote-band .btn { padding: 18px 36px; }
  .cols { gap: 28px; }
}

/* tweaks after review */
.logo img { height: 92px; }
.bar { height: 108px; }
.hero-body { padding: 36px 0 200px; }
.quick { left: -150px; bottom: -112px; }
#services .band { flex-wrap: nowrap; gap: 28px; }
#services .band > div { flex: 1 1 auto; min-width: 0; }
#services .band .btn { flex: none; }
@media (min-width: 701px) and (max-width: 960px) { .logo img { height: 72px; } .bar { height: 92px; } .hero-body { padding: 24px 0 120px; } .quick { left: 0; bottom: 0; } }
@media (max-width: 960px) { #services .band { flex-wrap: wrap; } }
@media (max-width: 700px) { .logo img { height: 66px; } .bar { height: 88px; } .menu { top: 88px; } .hero-body { padding: 24px 0 120px; } .quick { left: 0; bottom: 0; } }
.tagged .tag.right { left: auto; right: 12px; }

.gallery .g-item.wide { grid-column: span 2; }
.gallery .g-item.wide video { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .gallery .g-item.wide { grid-column: span 1; } }

/* Hero is a touch lighter than the header so they separate */
.site-header { background: #0a0a0a; border-bottom: 1px solid #1d1d1d; }
.hero, .page-head { background: #181818; }

/* What to expect: five steps joined by a dashed line */
#expect { padding: 84px 0; }
.center { text-align: center; }
#expect h2 { font-size: clamp(28px, 3.8vw, 46px); max-width: 18ch; margin: 0 auto 56px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .circle { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); color: var(--black); display: grid; place-items: center; margin: 0 auto 20px; position: relative; z-index: 1; }
.step p { font-size: 17px; line-height: 1.4; color: var(--black); max-width: 190px; margin: 0 auto; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 42px; left: calc(50% + 50px); width: calc(100% - 100px + 12px); border-top: 2px dashed #7fb4d8; z-index: 0; }
@media (max-width: 960px) {
  #expect { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .step { display: flex; align-items: flex-start; gap: 18px; text-align: left; padding: 0 0 30px; }
  .step .circle { width: 64px; height: 64px; margin: 0; flex: none; }
  .step .circle svg { width: 28px; height: 28px; }
  .step p { margin: 0; padding-top: 18px; max-width: none; }
  .step:not(:last-child)::before { top: 66px; left: 31px; width: 0; height: calc(100% - 66px); border-top: 0; border-left: 2px dashed #7fb4d8; }
}

.g-cap { font-size: 14px; line-height: 1.4; color: var(--gray); margin: 10px 2px 0; }
.g-item { display: flex; flex-direction: column; }
.grid .g-cap { margin-top: 12px; font-size: 15px; }

/* Trusted by */
.trusted { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.trusted-label { font: 700 12px 'Instrument Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--black); }
.trusted ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; }
.trusted li { font-size: 14px; color: var(--gray); }
.trusted li + li::before { content: "\00b7"; margin: 0 12px; color: var(--blue-deep); font-weight: 700; }
@media (max-width: 700px) { .trusted ul { flex-direction: column; } .trusted li + li::before { content: none; } .trusted { gap: 8px; } }

/* Before & after tags: keep "After" on the opposite corner so they never crowd on phones */
.ba-grid .tagged .tag.right { top: auto; bottom: 12px; left: auto; right: 12px; }
@media (max-width: 700px) { .tagged .tag { font-size: 10px; padding: 4px 9px; } .ba-grid .tagged .tag { top: 10px; left: 10px; } .ba-grid .tagged .tag.right { top: auto; bottom: 10px; left: auto; right: 10px; } }

/* Detailed Wash before/after pair on tablets and phones: fixed height so the photos never spill over the text */
@media (max-width: 960px) {
  .feature .ba-pair { flex: none; height: clamp(240px, 62vw, 380px); min-height: 0; overflow: hidden; grid-template-rows: 100%; }
  .feature .ba-pair .tagged { height: 100%; min-height: 0; overflow: hidden; }
  .feature .ba-pair .tagged figure.photo { height: 100%; width: 100%; }
  .feature .ba-pair .tagged figure.photo img { height: 100%; width: 100%; object-fit: cover; }
  #services .feature .body { padding: 22px; }
}

/* Quick quote: smaller, cut-out border like the About photos (flipped to the bottom-left of the video) */
.quick { width: 258px; padding: 18px 18px 20px; border: 8px solid #181818; border-radius: 28px; box-shadow: none; left: -132px; bottom: -98px; box-sizing: border-box; }
.quick h2 { font-size: 19px; margin-bottom: 10px; }
.quick label { font-size: 12px; margin-bottom: 3px; }
.quick input { padding: 8px 10px; font-size: 14px; margin-bottom: 8px; border-radius: 9px; }
.quick .btn { padding: 10px; font-size: 14px; margin-top: 2px; }
@media (max-width: 960px) {
  .quick { width: auto; left: 0; bottom: 0; margin: -46px 12px 0; border-width: 6px; }
}

/* Blog posts: disclaimer box, tables, inline photos */
.disclaimer { border: 2px solid var(--black); border-left: 8px solid var(--blue-deep); background: var(--tint); border-radius: 16px; padding: 20px 24px; margin: 8px 0 32px; }
.disclaimer p { margin: 0; color: var(--black); font-size: 17px; line-height: 1.55; }
.disclaimer p + p { margin-top: 12px; }
.tbl { overflow-x: auto; margin: 22px 0; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--tint); font-family: 'Josefin Sans', sans-serif; font-size: 15px; letter-spacing: .02em; }
.post-photo { margin: 30px 0; max-width: 520px; }
.post-photo img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post-photo figcaption { font-size: 14px; color: var(--gray); margin-top: 8px; }
.prose h3 { font-size: 20px; margin-top: 28px; }

/* Links inside article text should look like links */
.prose p a:not(.btn), .prose li a:not(.btn) { border-bottom: 2px solid var(--blue); font-weight: 600; }
.prose p a:not(.btn):hover, .prose li a:not(.btn):hover { background: var(--tint); }

/* numbered steps on city pages */
.prose ol.steps-list { padding-left: 22px; margin: 12px 0 8px; }
.prose ol.steps-list li { margin: 8px 0; padding-left: 4px; }
