:root {
  /* Black / graphite base with the gold of the logo */
  --gold: #dec254;
  --gold-d: #c4a83c;
  --gold-l: #f8f1d6;
  --link: #7a6410;         /* gold dark enough for text on white (AA) */
  --black: #0e0f11;
  --graphite: #1b1d21;
  --graphite-2: #2a2d33;
  --wa: #1fae55;
  --wa-d: #178a43;
  --ink: #16181b;
  --muted: #595e66;
  --line: #e4e1d9;
  --bg: #ffffff;
  --soft: #f5f4f0;
  --on-dark: #c9ccd1;      /* body text on graphite */
  --radius: 12px;
  --shadow: 0 6px 24px rgba(14, 15, 17, .08);
  --wrap: 1240px;
  --hazard: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--black) 14px 28px);
  --black-logo: #0a0a0a;   /* background of the logo artwork */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 90px; } /* anchors must not land under the sticky header */
:focus-visible { outline: 3px solid var(--gold-d); outline-offset: 2px; }
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(--link); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; font-weight: 800; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
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: 8px; border: 0;
  font: inherit; font-weight: 800; 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(--gold); color: var(--black); }
.btn-call:hover { background: var(--gold-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--gold-l); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--black); color: var(--on-dark); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.langs-note { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--on-dark); }
.langs-note b { font-weight: 700; color: #fff; letter-spacing: .01em; }
.langs-note svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--graphite); border-bottom: 3px solid var(--gold); }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.15rem; font-weight: 800; white-space: nowrap; }
.logo img { width: auto; height: 48px; flex: none; }
.logo b { color: var(--gold); }
/* Long brand name: two lines on phones ("Talleres Benidorm" / "Autograph BVS") */
@media (max-width: 560px) {
  .logo { white-space: normal; line-height: 1.15; font-size: .95rem; min-width: 0; gap: 8px; }
  .logo b { display: block; }
  .logo img { height: 38px; }
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { color: #e8e9eb; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.nav > a:hover { background: var(--graphite-2); color: var(--gold); }
.lang { display: flex; gap: 2px; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--graphite-2); }
.lang a { font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--on-dark); padding: 6px 7px; border-radius: 6px; }
.lang a:hover { color: #fff; }
.lang a[aria-current] { color: var(--black); background: var(--gold); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--graphite-2); border-radius: 8px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; color: #fff; }
.header-cta { padding: .55em 1em; white-space: nowrap; flex: none; }

@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--graphite); border-bottom: 3px solid var(--gold); padding: 8px 16px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.35);
  }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 8px; border-bottom: 1px solid var(--graphite-2); }
  .lang { margin: 12px 0 0; padding: 0; border: 0; }
  .lang a { padding: 8px 12px; border: 1px solid var(--graphite-2); }
}

/* Hero: graphite with a hazard stripe along the bottom */
.hero { position: relative; background: radial-gradient(ellipse at 85% 0%, rgba(245, 184, 0, .14), transparent 55%), linear-gradient(160deg, var(--graphite-2), var(--black) 70%); color: #fff; padding: 64px 0 76px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--hazard); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { font-size: 1.18rem; color: var(--on-dark); 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,.1); }
.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: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='3.2' 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); border-top: 6px solid var(--gold); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hero-card .big { font-size: 1.7rem; font-weight: 800; color: var(--ink); text-decoration: none; display: block; margin: 4px 0 14px; }
.hero-card .big:hover { color: var(--link); }
.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: var(--on-dark); }
.crumbs a { color: var(--gold); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 40px 0 56px; } }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--graphite); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { margin-bottom: 32px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; background: var(--gold); border-radius: 2px; }
.section-head p { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Google rating link in the home hero */
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: .95rem; }
.hero-rating:hover { background: rgba(255,255,255,.16); }
.hero-rating .stars { color: var(--gold); letter-spacing: 2px; }
/* Intro kept on one line on desktop */
.section-head.wide { max-width: none; }
.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-left: 4px solid var(--gold); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3:last-child { margin-bottom: 0; }
.card p { color: var(--muted); margin: 0; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 15, 17, .14); }
a.card .more { color: var(--link); font-weight: 700; margin-top: auto; padding-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; } }

/* Click-to-load map */
.map-embed { margin-top: 24px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center;
  background: var(--soft) repeating-linear-gradient(45deg, rgba(245, 184, 0, .08) 0 12px, transparent 12px 24px); }
.map-embed p { margin: 0; font-size: .85rem; color: var(--muted); }
.map-embed.loaded { padding: 0; border: 0; }
.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-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); 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 (dark) */
.trust { background: var(--graphite); 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: var(--on-dark); }
.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(--gold); }
.trust-nums span { color: var(--on-dark); 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, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 18px; }
.trust-list svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.trust-list strong { display: block; color: #fff; margin-bottom: 4px; }
.trust-list span { color: var(--on-dark); 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; border-left: 1px solid var(--line); border-bottom: 4px solid var(--gold); }
.card-media { display: block; margin: 0 -24px 18px; 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 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: 10px; background: var(--graphite); color: var(--gold); 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(--gold); color: var(--black); 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(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='3.2' 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; overflow-wrap: anywhere; }
.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; }
.prose .chips.brands { margin: 0 0 1em; padding: 0; }
.prose .chips.brands li { 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(--gold-d); }
.chips a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.chips a:hover { background: var(--gold-l); }

/* FAQ */
.faqs { max-width: 820px; display: grid; gap: 12px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
details.faq[open] { border-left: 4px solid var(--gold); }
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(--gold-d); }
details.faq[open] summary::after { content: "−"; }
details.faq > div { padding: 0 0 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--graphite); color: #fff; border-radius: var(--radius); border-left: 6px solid var(--gold); 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: var(--on-dark); }

/* Contact form */
.form { display: grid; gap: 14px; }
.form.card { border-left: 1px solid var(--line); border-top: 6px solid var(--gold); }
.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 #cfcbc0; border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(245, 184, 0, .45); border-color: var(--gold-d); }
.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: 8px; }
.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; color: var(--ink); border-bottom: 2px solid var(--gold); }
.contact-list a:hover { background: var(--gold-l); }
.contact-list span { display: block; color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { position: relative; background: var(--black-logo); color: #a3a7ae; padding: 66px 0 100px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--hazard); }
.site-footer a { color: #e8e9eb; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h2 { color: var(--gold); font-size: .95rem; margin: 0 0 .8em; text-transform: uppercase; letter-spacing: .08em; }
.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; }
.logo-full { display: block; margin: -8px 0 12px; }
.logo-full img { display: block; width: 240px; max-width: 100%; height: auto; }
.foot-bottom { border-top: 1px solid var(--graphite-2); 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; }
.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,.3); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 8px 2px calc(8px + env(safe-area-inset-bottom)); font-size: .8rem; line-height: 1.2; font-weight: 800; text-align: center; text-decoration: none; }
  .mobile-bar .m-route { background: var(--graphite); color: #fff; }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .m-call { background: var(--gold); color: var(--black); }
  .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(--ink); 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; } }
/* Home "why us" row: icon in a hexagon outline, title, gold rule, short text */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.feature-icon { display: grid; place-items: center; width: 104px; height: 120px; margin: 0 auto 22px; color: var(--gold-d);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 120'%3E%3Cpath d='M52 2l49 28v60l-49 28L3 90V30z' fill='none' stroke='%23c4a83c' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.feature-icon svg { width: 44px; height: 44px; stroke-width: 1.5; }
.features .feature h3 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.features .feature h3::after { content: ""; display: block; width: 36px; height: 2px; margin: 14px auto; background: var(--gold); }
.features .feature p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); padding-top: 40px; padding-bottom: 40px; } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

/* 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,.45); }
.hero.has-bg { background: linear-gradient(rgba(14,15,17,.3), rgba(14,15,17,.4)), var(--hero-img) center / cover no-repeat; }
/* Inner pages: text on a dark panel over the photo */
.hero-panel { max-width: 780px; background: rgba(14,15,17,.8); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 32px 40px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero-panel h1 { max-width: none; }
@media (max-width: 860px) { .hero-panel { padding: 24px 20px; } }
@media (max-width: 860px) { .hero-photo img { aspect-ratio: 16 / 9; } }

/* 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,.35); }
  .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); }
/* Photo grid of finished jobs */
.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; } }
.works-next { margin-top: 48px; }
.works-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }

/* Before / after pairs (src/works.json) */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ba { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ba-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--black); }
.ba-pics a { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.ba-pics img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s; }
.ba-pics a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .ba-pics img { transition: none; } }
.ba-tag { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 6px; background: rgba(14, 15, 17, .82); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.ba-tag.after { background: var(--gold); color: var(--black); }
.ba figcaption { padding: 16px 18px 18px; border-top: 4px solid var(--gold); }
.ba figcaption b { display: block; margin-bottom: 4px; }
.ba figcaption span { color: var(--muted); font-size: .95rem; }
/* Workshop clips (vertical phone videos) */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vid { min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--black); }
.vid figcaption { padding: 14px 16px 16px; border-top: 4px solid var(--gold); }
.vid figcaption b { display: block; margin-bottom: 4px; }
.vid figcaption span { color: var(--muted); font-size: .95rem; }
/* Service pages: photos and clips as equal tiles in one row */
.media-grid { gap: 20px; }
.ba-grid + .media-grid { margin-top: 24px; }
.media-grid.cols-1 { grid-template-columns: minmax(0, 360px); }
.media-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.media-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.media-grid img, .vid-tile video { aspect-ratio: 4 / 5; object-position: 50% 50%; }
.vid-tile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--black); }
.vid-tile video { display: block; width: 100%; height: auto; object-fit: cover; }
.vid-tile .ba-tag { pointer-events: none; }
@media (max-width: 760px) {
  .media-grid { gap: 10px; }
  .media-grid.cols-3, .media-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .media-grid > li:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
}
@media (max-width: 760px) { .vid-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .vid figcaption { padding: 10px 12px 12px; } .vid figcaption span { font-size: .85rem; } }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { margin: 0; background: var(--graphite); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.team-card figcaption { padding: 14px 16px 18px; border-top: 4px solid var(--gold); }
.team-card b { display: block; color: var(--gold); margin-bottom: 4px; }
.team-card span { color: var(--on-dark); font-size: .92rem; line-height: 1.45; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team-grid { gap: 12px; } .team-card figcaption { padding: 12px; } .team-card span { font-size: .85rem; } }
/* Gallery popup (main.js) */
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 56px 72px; border: 0; background: transparent; box-sizing: border-box; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(14,15,17,.92); }
.lightbox img { display: block; max-width: calc(100vw - 144px); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: var(--radius); }
.lightbox-caption { max-width: calc(100vw - 144px); margin: 14px 0 0; color: #e8e9eb; text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--gold); color: var(--black); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lightbox { padding: 64px 12px; }
  .lightbox img, .lightbox-caption { max-width: calc(100vw - 24px); }
  .lightbox img { max-height: calc(100vh - 220px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}
/* 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: var(--graphite-2); color: #e8e9eb; }
.site-footer .social a:hover { background: var(--gold); color: var(--black); }
.site-footer .social svg { width: 20px; height: 20px; }
.site-footer .social li { margin: 0; }
/* Route button on the white card inside the dark hero */
.hero .hero-card .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.hero .hero-card .btn-ghost:hover { background: var(--gold-l); }
/* Outline button on the dark CTA band */
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Customer reviews from Google */
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; }
.review figcaption small { color: var(--muted); }
.review-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); color: var(--gold); font-weight: 800; }
.review blockquote { margin: 0; }
.review.clamp:not(.open) blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.review.open { align-self: start; }
.review-more { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--link); cursor: pointer; text-decoration: underline; }
.review-more[hidden] { display: none; }
.review-source, .reviews-more a { display: inline-flex; align-items: center; gap: 8px; }
.review-source { margin-top: auto; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.review-source:hover { color: var(--link); }
.review-source svg, .reviews-more svg { width: 18px; height: 18px; flex: none; }
.reviews-more { margin: 20px 0 0; font-weight: 700; }

/* Click-to-load map in the footer */
.site-footer .map-embed { margin-top: 0; aspect-ratio: 4 / 3; }
.foot-map-links { margin-top: 12px !important; }
.prose .review { margin-top: 12px; }
.prose .review + .review { margin-top: 16px; }

/* Reviews carousel: 4 cards on desktop, 2 on tablets, 1 and a bit on phones */
.review-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 4px; scrollbar-width: none; padding: 4px; margin: -4px; }
.review-track::-webkit-scrollbar { display: none; }
.review-track .review { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; scroll-snap-align: start; }
@media (max-width: 1100px) { .review-track .review { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .review-track .review { flex-basis: 88%; } }
.review-arrows { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.review-arrows[hidden] { display: none; }
.review-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.review-arrows button:hover:not(:disabled) { background: var(--gold-l); }
.review-arrows button:disabled { opacity: .3; cursor: default; }

/* About page */
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.about-photo figcaption { margin-top: 10px; font-size: .9rem; color: var(--on-dark); }
.about-story { align-items: center; }
.about-idea { background: var(--graphite); color: #fff; border-radius: var(--radius); border-left: 6px solid var(--gold); padding: 32px; }
.about-idea h3 { color: var(--gold); margin-bottom: .5em; }
.about-idea p { margin: 0; font-size: 1.25rem; line-height: 1.45; font-weight: 600; }
/* Workshop photo on top of the idea card (About page) */
.about-idea { overflow: hidden; }
.about-idea .about-photo { margin: -32px -32px 24px; }
.about-idea .about-photo img { aspect-ratio: 4 / 3; max-height: none; object-position: 50% 78%; border-radius: 0; box-shadow: none; }
.about-idea .about-photo figcaption { margin: 0; padding: 10px 32px 0; font-size: .85rem; }
.card.feature { border-left: 1px solid var(--line); border-top: 4px solid var(--gold); }
.grid:has(> .feature) { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.about-where { align-items: center; }
.about-where .map-embed { margin-top: 0; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
@media (max-width: 860px) { .about-photo img { aspect-ratio: 4 / 3; max-height: none; object-position: 50% 12%; } }

/* Links to the services on the about page */
.about-services { margin-top: 48px; }
.service-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 14px; }
.service-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.service-link:hover { border-color: var(--gold-d); box-shadow: var(--shadow); }
.service-link .icon { flex: none; width: 40px; height: 40px; margin: 0; }
.service-link .icon svg { width: 22px; height: 22px; }

.more-services { margin: 32px 0 14px; }

.stats-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { .stats-5 { grid-template-columns: repeat(2, 1fr); } }
.about-how { margin: 0; font-weight: 600; }

/* Home hero: real workshop photo with the contact card over its lower corner */
/* Home hero: workshop photo as the background, darker on the text side */
.hero.has-bg:has(.hero-side) { background: linear-gradient(rgba(14,15,17,.25), rgba(14,15,17,.35)), var(--hero-img) center / cover no-repeat; padding: 90px 0 100px; }
/* Dark panel behind the text so it stays readable on the light photo */
.hero-grid:has(.hero-side) > div:first-child { background: rgba(14,15,17,.8); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 36px 40px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero-side .hero-card { max-width: 360px; margin-left: auto; }
@media (max-width: 860px) {
  .hero.has-bg:has(.hero-side) { padding: 32px 0 48px; }
  .hero-grid:has(.hero-side) > div:first-child { padding: 24px 20px; }
  .hero-side .hero-card { max-width: none; }
}
.hero-visual { position: relative; }
.hero-visual-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hero-visual .hero-card { position: absolute; left: -48px; bottom: -24px; width: min(340px, 88%); padding: 20px 22px; }
.hero-visual .hero-card .big { font-size: 1.4rem; margin-bottom: 8px; }
.hero-visual .hero-card p { font-size: .9rem; margin-bottom: 10px; }
.hero-visual .hero-card .btn { margin-top: 0; padding: .6em 1em; }
@media (max-width: 860px) {
  .hero-visual-img { aspect-ratio: 4 / 3; max-height: none; object-position: 50% 10%; }
  .hero-visual .hero-card { position: static; width: auto; margin-top: 16px; }
}
/* Four before/after pairs: 2 x 2 instead of 3 + 1 */
@media (min-width: 761px) { .ba-grid:has(> .ba:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
/* Call buttons on phones: the number on one line; "Call:" is dropped where it would not fit */
.btn-call { white-space: nowrap; }
@media (max-width: 420px) { .call-label { display: none; } }
