/* Tractări Rădăuți — one page, mobile first.
   Palette from the road: asphalt ink, road-sign blue, hazard red, reflector amber. */

:root {
  --paper: #ffffff;
  --mist: #eef2f6;
  --ink: #1b2533;
  --ink-soft: #4a5768;
  --sign-blue: #1d4f91;
  --call-red: #c8261d;
  --call-red-dark: #a31d15;
  --wa-green: #157a43;
  --wa-green-dark: #0f5f33;
  --amber: #f3b21b;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 68rem;
  --gutter: 1rem;
  --radius-btn: 999px;
  --callbar-h: 4.5rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: var(--callbar-h);
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

h2 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.375rem; font-weight: 600; }
p { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
}
.btn svg { width: 1.4rem; height: 1.4rem; fill: currentColor; flex: none; }

.btn--call { background: var(--call-red); }
.btn--call:hover { background: var(--call-red-dark); }
.btn--wa { background: var(--wa-green); }
.btn--wa:hover { background: var(--wa-green-dark); }

/* --- top bar ------------------------------------------------------------ */

.topbar {
  border-bottom: 1px solid var(--mist);
  /* reflector stripe, the only decoration on the page */
  border-top: 4px solid var(--amber);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--call-red);
  text-decoration: none;
}
.dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
}

/* --- hero --------------------------------------------------------------- */

.hero { padding: 1rem 0 2.5rem; }
.hero__grid { display: grid; gap: 1.5rem; }

.hero__photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--mist);
}
.hero__photo img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }

.hero h1 {
  font-size: clamp(2.6rem, 11vw, 4.25rem);
  letter-spacing: -.01em;
  max-width: 14ch;
}
.lead { margin-top: 1rem; font-size: 1.1875rem; color: var(--ink-soft); max-width: 34rem; }

.actions { display: grid; gap: .75rem; margin-top: 1.75rem; }
.hint { margin-top: .75rem; font-size: .9375rem; color: var(--ink-soft); }

/* --- sections ----------------------------------------------------------- */

.section { padding: 3rem 0; }
.section--tint { background: var(--mist); }

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
.services svg {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: var(--sign-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: .5rem;
}
.services p { margin-top: .3rem; color: var(--ink-soft); }

.reasons { margin: 0; display: grid; gap: 1.5rem; }
.reasons dt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.reasons dd { margin: .2rem 0 0; color: var(--ink-soft); }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: baseline;
  max-width: 40rem;
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--call-red);
}

/* --- road sign (the one bold moment) ----------------------------------- */

.roadsign {
  background: var(--sign-blue);
  color: #fff;
  border-radius: .75rem;
  padding: 1.75rem 1.5rem;
  outline: 3px solid #fff;
  outline-offset: -.6rem;
  box-shadow: 0 0 0 1px var(--sign-blue);
}
.roadsign ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem 2rem;
}
.roadsign li {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.roadsign li::before {
  content: "";
  width: .9rem;
  height: .9rem;
  flex: none;
  background: #fff;
  clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%);
}
.roadsign li:first-child { font-weight: 700; }
.note { margin-top: 1rem; color: var(--ink-soft); }

/* --- final call ---------------------------------------------------------- */

.final {
  background: var(--ink);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.final h2 { margin-bottom: 1rem; }
.final__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 13vw, 5rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
}
.final p { margin: .25rem 0 1.5rem; color: #c3ccd8; }

.footer { padding: 1.5rem 0; font-size: .875rem; color: var(--ink-soft); text-align: center; }

/* --- sticky call bar (phones) -------------------------------------------- */

.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .5rem;
  padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--mist);
}
.callbar .btn { min-height: 3.25rem; padding: .5rem 1rem; }

/* --- larger screens ----------------------------------------------------- */

@media (min-width: 40rem) {
  .actions { grid-auto-flow: column; justify-content: start; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .roadsign ul { grid-template-columns: repeat(2, auto); justify-content: start; }
}

@media (min-width: 60rem) {
  :root { --gutter: 2rem; }
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .hero { padding: 3rem 0 4.5rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
  .hero__photo { order: 2; }
  .section { padding: 4.5rem 0; }
  .services { grid-template-columns: repeat(4, 1fr); }
  .roadsign { display: inline-block; padding: 2.25rem 3rem; }
  .roadsign ul { grid-template-columns: repeat(4, auto); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
