:root {
  --blue: #0b5cab;
  --blue-d: #073f78;
  --blue-l: #e8f1fb;
  --accent: #f59e0b;
  --accent-d: #d97f06;
  --wa: #1fae55;
  --wa-d: #178a43;
  --ink: #0f172a;
  --muted: #4b5a6e;
  --line: #dbe4ee;
  --bg: #ffffff;
  --soft: #f4f8fc;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 40, 80, .08);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-call { background: var(--accent); color: #1b1300; }
.btn-call:hover { background: var(--accent-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-ghost:hover { background: var(--blue-l); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--blue-d); color: #dbe9fa; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.langs-note { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #fff; }
.langs-note b { font-weight: 800; letter-spacing: .01em; }
.langs-note svg { width: 18px; height: 18px; flex: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: 1520px; }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { color: var(--blue); }
@media (max-width: 420px) { .site-header .logo { font-size: 1rem; gap: 7px; } .site-header .logo svg { width: 28px; height: 28px; } }
@media (max-width: 350px) { .site-header .logo { font-size: .88rem; gap: 5px; } .site-header .logo svg { width: 24px; height: 24px; } }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 7px; border-radius: 8px; white-space: nowrap; }
.nav > a:hover { background: var(--soft); color: var(--blue); }
.lang { display: flex; gap: 2px; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); }
.lang a { font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--muted); padding: 6px 7px; border-radius: 6px; }
.lang a[aria-current] { color: #fff; background: var(--blue); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.header-cta { padding: .55em 1em; white-space: nowrap; flex: none; }

@media (max-width: 1440px) {
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; order: 2; }
  .nav-toggle { margin-left: 0; order: 3; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 8px; border-bottom: 1px solid var(--soft); }
  .lang { margin: 12px 0 0; padding: 0; border: 0; }
  .lang a { padding: 8px 12px; border: 1px solid var(--line); }
}

/* Hero */
.hero { background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.16), transparent 38%),
    radial-gradient(circle at 8% 95%, rgba(77,166,255,.35), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M0 45h55a22 22 0 0 1 22 22v113'/%3E%3Cpath d='M125 0v32a22 22 0 0 0 22 22h33'/%3E%3Cpath d='M62 39v12M70 39v12'/%3E%3Cpath d='M120 120h60'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.07'%3E%3Cpath d='M138 78s-11 13-11 20a11 11 0 0 0 22 0c0-7-11-20-11-20z'/%3E%3Cpath d='M28 112s-7 8-7 13a7 7 0 0 0 14 0c0-5-7-13-7-13z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--blue-d), var(--blue) 60%, #1c7fd6);
  color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { font-size: 1.18rem; color: #e3eefb; max-width: 60ch; }
.hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-card .big { font-size: 1.6rem; font-weight: 800; color: var(--blue-d); text-decoration: none; display: block; margin: 4px 0 14px; }
.hero-card .btn { width: 100%; margin-top: 10px; }
.hero-card small { color: var(--muted); display: block; margin-top: 12px; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: #cfe0f5; }
.crumbs a { color: #fff; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 40px 0 48px; } }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 70ch; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--blue); }
a.card .more { color: var(--blue); font-weight: 700; margin-top: 12px; display: inline-block; }
/* Photos of real jobs */
.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.work-gallery figcaption { padding: 12px 16px; font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .work-gallery { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* Google map of the service area */
.map-embed { margin-top: 24px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--blue-l); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .map-embed { aspect-ratio: 4 / 3; } }

/* Cookie consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(15, 40, 80, .22); padding: 18px; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; font-size: .92rem; }
.consent .btn { padding: .55em 1.2em; }
@media (max-width: 760px) { .consent { bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* Trust band on the home page (in place of reviews until there are real ones) */
.trust { background: var(--blue-d); color: #fff; padding: 64px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.trust h2 { color: #fff; margin-top: 0; }
.trust-head p { color: #cfe0f5; }
.trust-nums { display: flex; gap: 36px; margin-top: 24px; }
.trust-nums b { display: block; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; font-weight: 800; color: var(--accent); }
.trust-nums span { color: #cfe0f5; font-size: .95rem; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 18px; }
.trust-list svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.trust-list strong { display: block; color: #fff; margin-bottom: 4px; }
.trust-list span { color: #cfe0f5; font-size: .95rem; }
@media (max-width: 860px) { .trust { padding: 48px 0; } .trust-grid, .trust-list { grid-template-columns: 1fr; gap: 24px; } .trust-list { gap: 12px; } }

/* Service cards with a photo on top (home page services block) */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.svc-grid > .card { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px) { .svc-grid > .card { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 980px) { .svc-grid > .card { flex-basis: calc((100% - 40px) / 3); } }
a.card.has-img { display: flex; flex-direction: column; padding: 0 24px 24px; overflow: hidden; }
a.card.has-img:hover { box-shadow: 0 14px 34px rgba(15, 40, 80, .16); }
.card-media { display: block; margin: 0 -24px; overflow: hidden; }
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
a.card.has-img:hover .card-img { transform: scale(1.04); }
.card.has-img .icon { position: relative; margin-top: -24px; background: #fff; box-shadow: 0 4px 14px rgba(16, 41, 74, .14); }
.card.has-img h3 { margin-top: 0; }
a.card.has-img .more { margin-top: auto; padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { .card-img, a.card { transition: none; } a.card.has-img:hover .card-img { transform: none; } }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 26px; height: 26px; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1b1300; font-weight: 800; display: grid; place-items: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 24px; } .section { padding: 48px 0; } }
.check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check li { padding-left: 32px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5cab' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.prose { max-width: 75ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.chips li:has(a) { padding: 0; border-color: var(--blue); }
.chips a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; }
.chips a:hover { background: var(--blue-l); }

/* FAQ */
.faqs { max-width: 820px; display: grid; gap: 12px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--blue); }
details.faq[open] summary::after { content: "−"; }
details.faq > div { padding: 0 0 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--blue-d); color: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #cfe0f5; }

/* Contact form */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #c3d0de; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(11,92,171,.25); border-color: var(--blue); }
.form .note { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn-row { margin: 4px 0 0; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.form-status.ok { color: #14532d; background: #dcfce7; }
.form-status.err { color: #7f1d1d; background: #fee2e2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.contact-list a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact-list span { display: block; color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { background: #0b1626; color: #b7c4d6; padding: 56px 0 100px; font-size: .95rem; }
.site-footer a { color: #e3ecf7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 .6em; text-transform: uppercase; letter-spacing: .06em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo b { color: #7fb8f2; }
.foot-bottom { border-top: 1px solid #22324a; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .85rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Sticky mobile bar + floating WhatsApp */
.mobile-bar { display: none; }
@media (max-width: 760px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px calc(15px + env(safe-area-inset-bottom)); font-weight: 800; text-decoration: none; }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .m-call { background: var(--accent); color: #1b1300; }
  .mobile-bar .m-wa { background: var(--wa); color: #fff; }
  .topbar a { display: none; }
  .langs-note { text-align: center; }
  .topbar .wrap { justify-content: center; }
}

/* Stats band under the hero */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 24px; text-align: center; }
.stats b { display: block; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.1; color: var(--blue); font-weight: 800; }
.stats span { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* Page photos */
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero.has-bg { background: linear-gradient(135deg, rgba(7,63,120,.94), rgba(11,92,171,.86) 60%, rgba(28,127,214,.80)), var(--hero-img) center / cover no-repeat; }
@media (max-width: 860px) { .hero-photo img { aspect-ratio: 16 / 9; } }

/* Plumber photo on top of the home hero card */
.hero-card { overflow: hidden; }
.hero-card-img { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 35%; margin: -28px -28px 20px; }
.hero-mobile-img { display: none; }
@media (max-width: 860px) {
  .hero-mobile-img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); margin: -16px 0 20px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
  .hero-card-img { display: none; }
  .hero.has-bg h1 { font-size: 1.85rem; }
  .hero.has-bg .lead { font-size: 1.05rem; }
}
.contact-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
/* "Trabajos realizados" photo grid on the home pages (same idea as manitasdomiciliobenidorm.com) */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery-more { margin: 20px 0 0; font-weight: 700; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }
/* Social profile icons in the footer */
.site-footer .social { list-style: none; display: flex; gap: 12px; margin: 16px 0 0; padding: 0; }
.site-footer .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #e3ecf7; }
.site-footer .social a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.site-footer .social svg { width: 20px; height: 20px; }
.site-footer .social li { margin: 0; }
/* Google Maps reviews (real reviews from the Business Profile) */
.reviews-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.reviews-logo { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.reviews-logo svg { width: 30px; height: 30px; }
.reviews-head h2 { margin: 0 0 4px; }
.reviews-score { margin: 0; color: var(--muted); }
.reviews-score b { color: var(--ink); font-size: 1.1rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.1rem; }
.review-who { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.review-who span { font-size: .85rem; color: var(--muted); }
.review-g svg { width: 22px; height: 22px; display: block; }
.review-stars { color: #fbbc04; font-size: 1.1rem; letter-spacing: 2px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.review figcaption svg { width: 14px; height: 14px; }
.reviews-more { margin: 24px 0 0; }
.reviews-more .btn svg { width: 18px; height: 18px; }
/* Short vertical video of a real job */
.work-video { margin: 24px auto 0; max-width: 340px; }
.work-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #0b1626; box-shadow: var(--shadow); }
.work-video figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--muted); }
/* "Our work" page: real jobs as cards with a category filter */
.works-intro { background: var(--soft); }
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.works-filter button { font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.works-filter button span { margin-left: 4px; color: var(--muted); font-weight: 500; }
.works-filter button:hover { border-color: var(--blue); }
.works-filter button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.works-filter button.is-active span { color: #cfe2f7; }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.case-card[hidden] { display: none; }
.case-cover { position: relative; }
.case-cover a { display: block; }
.case-cover img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.case-tag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.case-thumbs { list-style: none; margin: 0; padding: 10px 14px 0; display: flex; gap: 8px; }
.case-thumbs a { position: relative; display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.case-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.case-thumbs a:hover img { transform: scale(1.08); }
.case-thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 22, 38, .35); }
.case-thumbs .play::after { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.case-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.case-body h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 14px; }
.case-steps { list-style: none; counter-reset: step; margin: 0 0 16px; padding: 0; }
.case-steps li { counter-increment: step; position: relative; padding: 0 0 12px 38px; }
.case-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.case-steps li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; width: 2px; background: var(--line); }
.case-steps h3 { margin: 2px 0 2px; font-size: .95rem; }
.case-steps p { margin: 0; font-size: .95rem; line-height: 1.55; color: #3b4a5c; }
.case-link { margin-top: auto; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .case-thumbs img { transition: none; } }
/* Location pages: area photos with credits, map note, inline CTA, trust photos */
.area-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.area-card { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.area-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.area-card figcaption { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.area-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.area-card p { margin: 0 0 12px; line-height: 1.6; }
.area-card small { margin-top: auto; font-size: .78rem; color: var(--muted); }
.area-card small a { color: inherit; }
.map-note { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.cta-inline { margin-top: 28px; }
.cta-title { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; color: #fff; }
.cta-inline .btn-row { margin: 0; flex: 0 1 auto; flex-wrap: wrap; }
.trust-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trust-photos figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.trust-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.trust-photos figcaption { padding: 10px 12px; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .area-photos { grid-template-columns: 1fr; } }
/* City pages: 9 service cards as an even 3x3 grid */
.grid.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.cols3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
