/* YoungRoot Advertising & Signage - one-page site
   Colours come from the logo: black, white and the logo cyan. Font: Sora. */

@font-face {
  font-family: "Sora Site";
  src: url("../fonts/sora-site.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --text: #f4f4f4;
  --soft: #d2d2d2;
  --muted: #a9a9a9;
  --line: #2b2b2b;
  --cyan: #25aae1;
  --band: #f2f2f2;
  --ink: #141414;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 5vw, 64px);
  --nav: 68px;
  --bar: 56px;
  --font: "Sora Site", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
  background: var(--black);
  color: var(--text);
  font: 400 16.5px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(1320px, 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font: 700 0.8rem/1 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--cyan); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.74rem; }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--nav);
  width: min(1320px, 100% - 2 * var(--pad));
  margin-inline: auto;
}
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; }
.nav-links { display: none; margin-left: auto; gap: 30px; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-wa { display: none; }

/* phone menu: a native <details>, closed until the three lines are pressed (works without JavaScript) */
.menu { display: block; }
.menu > summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  list-style: none;
  cursor: pointer;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span { display: block; width: 18px; height: 2px; background: #fff; }
.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.menu-panel a {
  display: block;
  padding: 17px var(--pad);
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-tools { margin-left: 0; }
  .nav-wa { display: inline-flex; }
  .menu { display: none; }
}

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-copy { padding: 40px var(--pad) 56px; }
.kicker { font-size: 0.92rem; color: var(--muted); }
.hero h1 {
  margin: 16px 0 22px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.led {
  color: var(--cyan);
  text-shadow: 0 0 0.28em rgba(37, 170, 225, 0.55), 0 0 0.9em rgba(37, 170, 225, 0.25);
}
.hero-sub { max-width: 32em; margin-bottom: 30px; font-size: 1.05rem; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phones { display: none; }
.phones { gap: 22px; font-weight: 600; }
.phones a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.phones a:hover { border-color: var(--cyan); color: var(--cyan); }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    min-height: clamp(560px, calc(100svh - var(--nav)), 860px);
  }
  .hero-media { grid-column: 2; grid-row: 1; position: relative; }
  .hero-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    object-position: 82% 50%;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 64px clamp(24px, 4vw, 64px) 64px max(var(--pad), calc((100vw - 1320px) / 2));
  }
  .hero-phones { display: flex; margin-top: 22px; }
}

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--line); }
.proof ul { display: grid; grid-template-columns: 1fr; }
.proof li { padding: 24px 0; border-top: 1px solid var(--line); }
.proof li:first-child { border-top: 0; }
.proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.proof .proof-text { margin-top: 4px; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; }
.proof span { color: var(--muted); }
@media (min-width: 760px) {
  .proof ul { grid-template-columns: 1fr 1fr 1.5fr; }
  .proof li { border-top: 0; padding: 34px 28px; border-left: 1px solid var(--line); }
  .proof li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- clients: light band, logos blend into it and wake up on hover ---------- */
.clients { background: var(--band); color: var(--ink); padding: clamp(56px, 7vw, 96px) 0; }
.clients h2 { max-width: 22ch; margin-bottom: 44px; font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 34px 24px; }
.logo-grid li { display: flex; align-items: center; justify-content: center; height: 92px; }
.logo-grid img {
  max-width: 160px;
  max-height: 76px;
  width: auto;
  height: auto;
  mix-blend-mode: multiply;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease), opacity 0.5s var(--ease);
}
@media (hover: hover) {
  .logo-grid img { filter: grayscale(1); opacity: 0.6; }
  .logo-grid li:hover img { filter: none; opacity: 1; transform: scale(1.14); }
}
.also { max-width: 70ch; margin-top: 40px; font-size: 0.93rem; color: #444; }
@media (max-width: 640px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; }
  .logo-grid li { height: 68px; }
  .logo-grid img { max-width: 100%; max-height: 54px; }
}

/* ---------- shared section styles ---------- */
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section h2 { font-size: clamp(1.7rem, 3.1vw, 2.7rem); }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }

/* ---------- services: four equal cards ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.service { display: flex; flex-direction: column; }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service h3 { margin: 22px 0 8px; font-size: 1.35rem; letter-spacing: -0.015em; }
.service .intro { max-width: 40em; color: var(--soft); }
.checks { display: grid; gap: 7px; margin-top: 16px; }
.checks li { display: flex; align-items: baseline; gap: 12px; color: #e6e6e6; font-size: 0.97rem; }
.checks li::before { content: ""; flex: none; width: 12px; height: 2px; background: var(--cyan); transform: translateY(-4px); }
.svc-link { margin-top: auto; padding-top: 22px; }
.text-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--cyan); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* ---------- portfolio: photos keep their own proportions; details appear on hover ---------- */
.group {
  margin: 0 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(56px, 7vw, 96px); }
.row { display: flex; gap: 14px; align-items: flex-start; }
.shot { position: relative; overflow: hidden; flex: var(--ar) 1 0px; min-width: 0; }
.shot picture, .shot img { width: 100%; }
.shot img { transition: transform 0.9s var(--ease); }
.shot figcaption { padding-top: 10px; }
.cap-name { display: block; font-weight: 700; }
.cap-line { display: block; font-size: 0.88rem; color: var(--muted); }

@media (hover: hover) {
  .shot figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px 18px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    pointer-events: none;
  }
  .shot .cap-line { color: #dcdcdc; }
  .shot:hover img, .shot:focus-visible img { transform: scale(1.05); }
  .shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .rows { gap: 26px; }
  .row { flex-direction: column; gap: 26px; }
  .shot { flex: none; width: 100%; }
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.cta-band h3 { font-size: clamp(1.25rem, 2.1vw, 1.7rem); }
.cta-band p { margin-top: 8px; color: var(--muted); }
.cta-band .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.cta-phones { display: none; }
@media (min-width: 900px) { .cta-phones { display: flex; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.lead { max-width: 34em; margin-top: 20px; font-size: 1.1rem; color: var(--soft); }
.why li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.why strong { font-weight: 700; }
.why span { color: var(--soft); }
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.promise strong { display: block; margin-bottom: 4px; font-size: 1.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.promise span { color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
}
@media (max-width: 520px) { .why li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process li { padding-top: 20px; border-top: 1px solid var(--line); }
.step-n {
  display: block;
  margin-bottom: 14px;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}
.process h3 { margin-bottom: 8px; font-size: 1.15rem; }
.process p { color: var(--soft); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.quote { display: flex; flex-direction: column; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 1.1rem; line-height: 1.55; letter-spacing: -0.01em; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact h2 {
  max-width: 17em;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.contact .sub { margin-top: 16px; font-size: 1.15rem; color: var(--soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; }
.details { max-width: 900px; }
.details div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.details dt { color: var(--muted); }
.details a { text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.details a:hover { color: var(--cyan); }
@media (max-width: 520px) { .details div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- footer ---------- */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer h3 { margin-bottom: 12px; font-size: 0.93rem; color: #fff; }
.footer li { margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer .brand img { height: 40px; margin-bottom: 14px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.83rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---------- fixed contact bar: two phone numbers and WhatsApp, always in reach ---------- */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--black);
  border-top: 1px solid var(--line);
}
.cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--bar);
  padding: 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.cta-bar svg { flex: none; width: 17px; height: 17px; }
.bar-call { background: var(--cyan); color: #000; }
.bar-call:hover { background: #fff; }
.bar-call-2 { background: #111; color: #fff; }
.bar-call-2:hover { background: #fff; color: #000; }
.bar-wa { background: #25d366; color: #000; }
.bar-wa:hover { background: #fff; }
@media (min-width: 900px) {
  body { padding-bottom: 96px; }
  .cta-bar {
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%);
    grid-template-columns: repeat(3, auto);
    padding-bottom: 0;
    border: 1px solid var(--line);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6);
  }
  .cta-bar a { padding: 0 26px; font-size: 0.88rem; }
}
@media (max-width: 359px) { .cta-bar a { font-size: 0.72rem; gap: 4px; } .cta-bar svg { display: none; } }

/* ---------- motion: gentle reveals only, and only when the visitor allows it ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
