/* =========================================================
   YoseF Digital — styles
   Colours come from the brand: charcoal, banner red, ribbon lilac.
   ========================================================= */
:root {
  --ink: #141416;
  --ink-2: #2a2a2f;
  --text: #3f3f46;
  --muted: #52525b;
  --line: #e7e7ea;
  --grey: #f4f4f5;
  --white: #ffffff;
  --red: #e0262b;
  --red-text: #c81e25;
  --red-dark: #9e161c;
  --lilac: #b9a6e8;
  --lilac-bg: #ece8f8;
  --on-dark: #c9c9cf;
  --radius: 20px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--red-text); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.stack-md { display: flex; flex-direction: column; gap: 32px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font: 600 16px/1.2 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--grey); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: #4a4a52; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 14px; border-radius: 10px; }
.site-nav > a:not(.btn):hover { background: var(--grey); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; background: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #e4e4e7; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.05; font-weight: 800; }
.hero .accent { color: #ff5a5f; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--on-dark); max-width: 540px; }
.ticks { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--on-dark); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 9px; border-left: 2px solid var(--lilac); border-bottom: 2px solid var(--lilac); transform: rotate(-45deg) translateY(-3px); }
.ticks-dark { color: var(--text); }
.ticks-dark li::before { border-color: var(--red); }
.hero-media { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-media img { width: 100%; height: 220px; object-fit: cover; object-position: center 30%; border-radius: 18px; }
.hero-media .hero-main { grid-column: span 2; height: 320px; object-position: center 55%; }

/* ---------- Trust strip ---------- */
.trust { background: var(--grey); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: 26px; font-size: 15px; color: var(--muted); }
.trust strong { color: var(--ink); }
.trust .bf { font-family: var(--head); font-weight: 800; font-size: 21px; color: var(--red-text); margin-right: 8px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding-top: 0; }
.section-grey { background: var(--grey); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; }

/* ---------- Service cards ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card { border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.card-dark { background: var(--ink); color: #fff; }
.card-light { background: var(--grey); }
.card > img { width: 100%; height: 280px; object-fit: cover; object-position: center 60%; }
.card-icons { height: 280px; background: var(--lilac-bg); display: flex; align-items: center; justify-content: center; gap: 28px; }
.card-icons svg { width: 84px; height: 84px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-body h3 { font-size: 28px; font-weight: 800; }
.card-body p { font-size: 16px; line-height: 1.6; }
.card-dark p { color: var(--on-dark); }
.card-light p { color: var(--muted); }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.list-2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 15px; }
.list-2 li::before { content: "•"; color: var(--red); margin-right: 8px; font-weight: 700; }
.card-dark .list-2 { color: #e4e4e7; }
.card-dark .list-2 li::before { color: var(--lilac); }
.also { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--text); font-size: 15px; }
.also strong { font-family: var(--head); font-size: 18px; color: var(--ink); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.steps .num { font-family: var(--head); font-size: 40px; font-weight: 800; color: var(--red); line-height: 1; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Gallery ---------- */
.owners-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #d4d4d8; background: #fff; color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--grey); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.gallery figure[hidden] { display: none; }
.zoom { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; overflow: hidden; }
.zoom img { width: 100%; height: 300px; object-fit: cover; transition: transform .35s ease; }
.zoom:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gallery figcaption span { font-weight: 600; font-size: 15px; }
.gallery figcaption em { font-style: normal; font-size: 13px; color: var(--muted); background: var(--lilac-bg); padding: 4px 10px; border-radius: 999px; }
.empty { color: var(--muted); }

/* ---------- Band ---------- */
.band { background: var(--ink); color: #fff; }
.band-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.band-inner > img { flex: 1 1 520px; min-width: 0; height: 400px; object-fit: cover; border-radius: 22px; }
.band-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band-copy p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }

/* ---------- Enquiry form ---------- */
.enquire-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.enquire-inner .section-head { flex: 1 1 360px; }
.enquiry { flex: 1 1 440px; min-width: 0; background: var(--grey); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px var(--body); color: var(--ink); background: #fff; border: 1px solid #d4d4d8; border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lilac); border-color: var(--ink); }
.form-error { color: var(--red-text); font-weight: 600; font-size: 15px; }

/* ---------- Branches ---------- */
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.branch { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.branch h3 { font-size: 24px; }
.branch p { font-size: 16px; line-height: 1.6; color: var(--text); }
.branch .muted { font-size: 15px; color: var(--muted); }
.branch a { font-weight: 600; font-size: 15px; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.tag-red { background: var(--red); color: #fff; }
.tag-lilac { background: var(--lilac-bg); color: var(--ink); }
.branch-dark { background: var(--ink); border-color: var(--ink); color: #fff; gap: 6px; }
.branch-dark h3 { margin-bottom: 6px; }
.branch-dark .phone { color: #fff; font-size: 19px; text-decoration: none; padding: 6px 0; }
.branch-dark .phone:hover { color: var(--lilac); }
.phones-small, .phones-small a { color: var(--on-dark) !important; font-weight: 500 !important; text-decoration: none; }
.branch-dark .email { color: var(--lilac); padding-top: 6px; }
.map-wrap { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); height: 360px; background: var(--grey); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--grey); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--red-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; border-radius: 28px; padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.cta p { font-size: 18px; color: #ffe4e5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 48px; padding-bottom: 96px; }
.footer-brand { max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.site-footer nav { display: flex; flex-direction: column; }
.site-footer nav a { color: #e4e4e7; text-decoration: none; padding: 6px 0; font-size: 15px; }
.site-footer nav a:hover { color: #fff; }
.copy { font-size: 13px; align-self: flex-end; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,10,12,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .zoom img { transition: none; }
}

/* ---------- Phones & tablets ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 4px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { font-size: 17px; padding: 14px 8px; }
  .site-nav .btn { margin-top: 8px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-media img { height: 160px; }
  .hero-media .hero-main { height: 220px; }
  .btn-row .btn { flex: 1 1 100%; }
  .card-body { padding: 24px; }
  .list-2 { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  .enquiry { padding: 22px; }
  .band-inner > img { height: 260px; }
}
