/* ==========================================================================
   Mesiada Prodcom — landing page
   Design tokens and components. Mobile breakpoint: 860px.
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-2: #2c302e;
  --ink-3: #3a3f3d;
  --ink-4: #4a4f4d;
  --muted: #6a6f6d;
  --muted-2: #8a8f8d;
  --orange: #f26722;
  --orange-dark: #d9541a;
  --stone: #d6d9d8;
  --stone-dark: #c9cdcb;
  --line: #e6e8e7;
  --surface: #f4f5f5;
  --on-dark: #c4c8c6;
  --on-dark-dim: #9aa09d;
  --white: #fff;

  --wrap: 1180px;
  --radius: 3px;
  --display: Jost, system-ui, sans-serif;
  --body: Barlow, system-ui, sans-serif;
}

/* --- base ---------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

a {
  color: var(--orange-dark);
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* uppercase Romanian stacks a breve above (Ă) against a comma below (Ț/Ș) —
     anything tighter than this makes them collide across lines */
  line-height: 1.14;
}

p {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- layout primitives --------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.section {
  padding: 88px 20px;
  /* the header is sticky — keep anchored sections clear of it */
  scroll-margin-top: 78px;
}

.section--tight {
  padding: 72px 20px;
}

.section--stone {
  background: var(--stone);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--orange {
  background: var(--orange);
  color: var(--white);
  padding: 80px 20px;
}

.section--ruled {
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.eyebrow--onink {
  font-size: 18px;
  color: var(--orange);
}

.h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
}

.lead {
  font-size: 18px;
  color: var(--ink-3);
}

.note {
  font-size: 17px;
  color: var(--ink-4);
}

.note a {
  font-weight: 600;
}

/* trailing call-to-action after a block of content */
.push {
  margin-top: 40px;
}

.push--md {
  margin-top: 36px;
}

.push--sm {
  margin-top: 24px;
}

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

.btn {
  display: inline-block;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 16px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-light:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 21px;
  padding: 20px 28px;
}

.btn--white:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--onorange {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  font-size: 19px;
  padding: 20px 28px;
}

.btn--onorange:hover {
  background: var(--white);
  color: var(--orange);
}

.btn--sm {
  padding: 12px 18px;
  font-size: 15px;
}

.btn--lg {
  padding: 20px 26px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
}

/* --- announcement bar ---------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: var(--white);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}

.topbar__claim {
  color: var(--stone);
}

.topbar__phone {
  color: var(--orange);
  font-weight: 600;
}

/* --- header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 14px 20px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-style: italic;
  line-height: 1;
}

.brand__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted-2);
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--orange-dark);
}

.site-header .btn {
  padding: 12px 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.hero {
  background: var(--stone);
  padding: 72px 20px;
  scroll-margin-top: 78px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__badge {
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 2px;
}

.hero__title {
  font-size: 60px;
  font-weight: 800;
  max-width: 15em;
}

.hero__title em {
  font-style: normal;
  color: var(--orange-dark);
}

.hero__lead {
  font-size: 19px;
  max-width: 34em;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.hero__actions .btn:first-child {
  flex: 1 1 240px;
}

.hero__actions .btn:last-child {
  flex: 0 1 260px;
  font-size: 18px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-top: 4px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.checks li {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.checks li::before {
  content: "✓ ";
}

/* Placeholder frame — swap for a real photo of the shop when one is available. */
.hero__media {
  border: 1px solid #b9bdbb;
  border-radius: var(--radius);
  background-color: var(--stone-dark);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 0 8px,
    transparent 8px 16px
  );
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-4);
  text-align: center;
  text-transform: uppercase;
}

/* --- per-section rhythm --------------------------------------------------- */

.section--ink .h2,
#reparatie .h2 {
  max-width: 20em;
}

#produse .h2 {
  max-width: 22em;
  margin-bottom: 12px;
}

#produse .lead {
  max-width: 46em;
  margin-bottom: 36px;
}

#service .h2 {
  margin-bottom: 20px;
}

#service .lead {
  margin-bottom: 28px;
}

#faq .h2 {
  margin-bottom: 28px;
}

/* --- category teasers ---------------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.cat-card:hover,
.cat-card:has(.cat-card__btn:focus-visible) {
  outline: 2px solid var(--orange);
}

/* the button covers the card, so the whole tile is the hit target */
.cat-card__btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.cat-card__btn::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cat-card__btn:focus-visible {
  outline: none;
}

.cat-card__img {
  display: block;
  width: 100%;
  height: 184px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: var(--white);
}

.cat-card__img--cover {
  object-fit: cover;
  padding: 0;
  background: var(--stone-dark);
}

.cat-card__body {
  padding: 18px 20px 22px;
}

.cat-card__title {
  font-size: 18px;
  font-weight: 700;
}

.cat-card__blurb {
  font-size: 15px;
  color: var(--muted);
}

.cat-card__cta {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-top: 8px;
}

.cat-card__cta::after {
  content: " →";
}

.cat-card:has(.cat-card__btn[aria-expanded="true"]) .cat-card__cta::after {
  content: " ↑";
}

.ask {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.ask p {
  font-size: 15px;
  color: var(--ink-4);
}

/* --- product panels ------------------------------------------------------ */

.panel {
  background: var(--white);
  padding: 72px 20px;
  border-top: 4px solid var(--orange);
  scroll-margin-top: 78px;
}

.panel[hidden] {
  display: none;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.panel__title {
  font-size: 42px;
  font-weight: 800;
  max-width: 20em;
}

.panel__foot {
  margin-top: 28px;
  font-size: 17px;
}

.panel__foot a {
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product__img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 10px;
  background: var(--white);
}

.product__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product__name {
  font-size: 17px;
  font-weight: 700;
}

.product__spec {
  font-size: 14px;
  color: var(--muted);
}

.product__cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

/* --- reasons ------------------------------------------------------------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.reason {
  border-top: 3px solid var(--orange);
  padding-top: 18px;
}

.reason h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.reason p {
  font-size: 16px;
  color: var(--on-dark);
}

/* --- service ------------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
}

.service-cell {
  background: var(--white);
  padding: 26px;
}

.service-cell h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-cell p {
  font-size: 16px;
  color: var(--ink-4);
}

/* --- repair steps -------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step {
  background: var(--surface);
  border-left: 4px solid var(--orange);
  padding: 28px 26px;
}

.step__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
}

.step h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 10px 0 8px;
}

.step p {
  font-size: 16px;
  color: var(--ink-4);
}

/* --- locations ----------------------------------------------------------- */

.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.location {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.location__map {
  display: block;
  height: 150px;
  background: var(--stone-dark);
}

.location__map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  display: block;
  /* the whole tile is a link to Google Maps — don't let the frame swallow it */
  pointer-events: none;
}

.location__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.location__body h3 {
  font-size: 24px;
  font-weight: 800;
}

.location__address {
  font-size: 16px;
  color: var(--ink-3);
}

.location__hours {
  font-size: 15px;
  color: var(--ink-4);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.location__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.location__actions .btn {
  flex: 1;
  padding: 13px 10px;
  font-size: 15px;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--stone);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.faq details {
  background: var(--white);
  padding: 20px 4px;
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  font-size: 16px;
  color: var(--ink-4);
  margin-top: 10px;
}

/* --- callback form ------------------------------------------------------- */

.callback {
  background: var(--ink);
  color: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.callback h3 {
  font-size: 26px;
  font-weight: 800;
}

.callback p {
  font-size: 16px;
  color: var(--on-dark);
}

.callback input {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--white);
  border-radius: var(--radius);
  padding: 14px;
  font-family: var(--body);
  font-size: 16px;
}

.callback button {
  border: 0;
  padding: 17px 20px;
  font-weight: 800;
  font-size: 18px;
}

.callback__note {
  font-size: 14px;
  color: var(--on-dark-dim);
}

/* --- closing CTA --------------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.cta-band__copy {
  flex: 1 1 420px;
}

.cta-band__copy .h2 {
  font-size: 44px;
  margin-bottom: 12px;
}

.cta-band__copy p {
  font-size: 19px;
  max-width: 30em;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 56px 20px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-grid h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-grid p {
  font-size: 15px;
}

.footer-brand__name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  font-style: italic;
  letter-spacing: -0.03em;
}

.footer-brand__tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.footer-links a,
.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer a[href^="tel:"] {
  color: var(--orange);
  font-weight: 600;
}

.footer-legal {
  margin: 32px auto 0;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 13px;
  color: #7a807d;
}

/* --- mobile sticky call bar ---------------------------------------------- */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 1px;
  background: var(--ink);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18);
}

.sticky-bar a {
  padding: 18px 8px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--white);
  flex: 1;
}

.sticky-bar a:first-child {
  flex: 1.4;
  background: var(--orange);
  font-weight: 800;
}

.sticky-bar a:last-child {
  background: var(--ink);
}

/* --- responsive ---------------------------------------------------------- */

@media (min-width: 861px) {
  .sticky-bar {
    display: none;
  }

  .split--service {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split--faq {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (max-width: 860px) {
  body {
    /* leave room for the fixed call bar */
    padding-bottom: 84px;
  }

  .nav {
    display: none;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .section,
  .section--orange,
  .panel {
    padding: 56px 20px;
  }

  .hero__title {
    font-size: 40px;
  }

  .h2,
  .panel__title,
  .cta-band__copy .h2 {
    font-size: 30px;
  }
}

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

  .btn {
    transition: none;
  }
}
