@charset "UTF-8";
/* ==========================================================================
   Pro Cars Garage
   Arabic / RTL single page. Written with logical properties throughout so the
   layout is direction-agnostic; the few places that must stay physical are
   commented where they appear.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand ramp derived from #882e26 = hsl(5 56% 34%).
     The 800/900 steps are also the endpoints of the gradient baked into the
     original logo artwork, so the palette and the emblem share a family. */
  --brand-900: #4a1915;
  --brand-800: #5f201b;
  --brand-700: #742720;
  --brand:     #882e26;
  --brand-500: #9f3730;
  --brand-400: #bf4d44;
  --brand-300: #d1786f;
  --brand-200: #edbdb8;
  --brand-100: #f8e5e3;
  --brand-050: #fdf5f4;

  --ink:    #101010;
  --ink-2:  #3d3a3a;
  --ink-3:  #6f6a69;
  --paper:  #ffffff;
  --paper-2:#f7f5f4;
  --night:  #0c0b0b;
  --night-2:#171414;

  --whatsapp: #1faa53;
  --whatsapp-dark: #17843f;

  --line:      rgb(16 16 16 / 0.12);
  --line-soft: rgb(16 16 16 / 0.07);
  --line-dark: rgb(255 255 255 / 0.14);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.05), 0 4px 16px rgb(0 0 0 / 0.07);
  --shadow-2: 0 2px 6px rgb(0 0 0 / 0.06), 0 14px 40px rgb(0 0 0 / 0.11);
  --shadow-brand: 0 8px 26px rgb(136 46 38 / 0.32);

  --header-h: 68px;
  --container: 1140px;

  --font: "Tajawal", "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

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

* { margin: 0; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { list-style: none; padding: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.25;
  font-weight: 800;
  text-wrap: balance;
}

.icon { inline-size: 1.25em; block-size: 1.25em; flex: none; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  inline-size: 100%;
  max-inline-size: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.75rem, 8vw, 6.5rem); }

.section__head { max-inline-size: 60ch; margin-block-end: clamp(2rem, 4vw, 3rem); }

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin-block-end: 0.75rem;
}
.section__kicker::before {
  content: "";
  inline-size: 28px;
  block-size: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }

.section__intro {
  margin-block-start: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--ink-3);
}

.skip-link {
  position: absolute;
  inset-block-start: -100%;
  inset-inline-start: 1rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 0; color: #fff; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease), translate 0.25s var(--ease);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.btn--lg { padding: 0.95rem 1.8rem; font-size: 1.02rem; }
.btn--block { display: flex; inline-size: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--night-2); color: #fff; }

.btn--ghost { border-color: var(--line-dark); color: #fff; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.1); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { translate: 0 -2px; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  margin-block-start: 1.5rem;
}
/* Physical rotate: the arrow glyph points right, and in RTL it must point left. */
.link-arrow .icon { rotate: 180deg; transition: translate 0.25s var(--ease); }
.link-arrow:hover .icon { translate: 4px 0; }

.pill {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgb(12 11 11 / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08), 0 10px 30px rgb(0 0 0 / 0.28);
}

.site-header__inner {
  block-size: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  flex: none;
}
.brand__mark { block-size: 38px; inline-size: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1rem; }
.brand__sub { font-size: 0.72rem; color: rgb(255 255 255 / 0.62); font-weight: 500; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover { background: rgb(255 255 255 / 0.1); color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: 10px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.2);
}
.nav-toggle .icon { inline-size: 1.4rem; block-size: 1.4rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    background: rgb(12 11 11 / 0.97);
    backdrop-filter: blur(14px);
    border-block-start: 1px solid var(--line-dark);
    padding: 0.75rem clamp(1rem, 4vw, 2rem) 1.5rem;
    /* Vertical only, so no RTL flip to worry about. */
    translate: 0 -12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 0.9rem 0.5rem; border-radius: 10px; font-size: 1.05rem; }

  .site-header__actions .btn span { display: none; }
  .site-header__actions .btn { padding-inline: 0.75rem; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  margin-block-start: calc(var(--header-h) * -1);
  padding-block: calc(var(--header-h) + clamp(3.5rem, 10vw, 6rem)) clamp(4rem, 10vw, 7rem);
  min-block-size: min(94svh, 860px);
  display: grid;
  align-items: center;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 45%; }

/* Two stacked washes: a vertical scrim for text contrast, and a brand-red glow
   that ties the photograph to the palette. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 62% at 50% 38%, rgb(136 46 38 / 0.55), transparent 70%),
    linear-gradient(to bottom, rgb(12 11 11 / 0.86) 0%, rgb(12 11 11 / 0.7) 45%, rgb(12 11 11 / 0.95) 100%);
}

.hero__inner { text-align: center; display: grid; justify-items: center; }

.hero__logo {
  inline-size: min(340px, 68vw);
  block-size: auto;
  margin-block-end: clamp(1.25rem, 3vw, 2rem);
  filter: drop-shadow(0 10px 30px rgb(0 0 0 / 0.5));
}

.hero__eyebrow { margin-block-end: 1.1rem; }

.hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 5.4vw, 3.4rem);
  letter-spacing: -0.01em;
  max-inline-size: 20ch;
}
.hero__title-accent { display: block; color: var(--brand-300); }

.hero__lede {
  margin-block-start: 1.1rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgb(255 255 255 / 0.8);
  max-inline-size: 46ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-block-start: clamp(1.75rem, 4vw, 2.5rem);
}

.hero__scroll {
  position: absolute;
  inset-block-end: 1.5rem;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  color: rgb(255 255 255 / 0.65);
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
}
.hero__scroll:hover { color: #fff; border-color: rgb(255 255 255 / 0.6); }

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll .icon { animation: nudge 2.2s var(--ease) infinite; }
}
@keyframes nudge {
  0%, 100% { translate: 0 -2px; }
  50%      { translate: 0 3px; }
}

@media (max-width: 640px) {
  .hero { min-block-size: auto; }
  .hero__scroll { display: none; }
}

/* --------------------------------------------------------------------------
   8. About
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.35fr 1fr; }
}

.about__lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  padding-inline-start: 1.1rem;
  border-inline-start: 3px solid var(--brand);
}
.about__text { margin-block-start: 1.25rem; }

.figures {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 520px) and (max-width: 899px) {
  .figures { grid-template-columns: repeat(3, 1fr); }
}

.figure {
  background: var(--paper-2);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}
.figure__value {
  display: block;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}
.figure__label { display: block; font-size: 0.9rem; color: var(--ink-3); margin-block-start: 0.3rem; }

/* --------------------------------------------------------------------------
   9. Services
   -------------------------------------------------------------------------- */

.section--services { background: var(--paper-2); }

.cards {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  /* auto-fit means a fourth service can be added in config with no CSS change. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), translate 0.3s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .card:hover { translate: 0 -4px; }
}
.card:hover { box-shadow: var(--shadow-2); border-color: var(--brand-200); }

.card__icon {
  display: grid;
  place-items: center;
  inline-size: 54px;
  block-size: 54px;
  border-radius: 16px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  margin-block-end: 1.1rem;
}
.card__icon .icon { inline-size: 1.7rem; block-size: 1.7rem; }

.card__title { font-size: 1.18rem; margin-block-end: 0.5rem; }
.card__body { color: var(--ink-3); font-size: 0.98rem; }

.services__note, .work__note {
  margin-block-start: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. Before / after slider
   -------------------------------------------------------------------------- */

.section--work { background: var(--night); }
.section--work .section__title { color: #fff; }
.section--work .section__intro { color: rgb(255 255 255 / 0.62); }
.section--work .section__kicker { color: var(--brand-300); }
.section--work .section__kicker::before { background: var(--brand-300); }
.work__note { color: rgb(255 255 255 / 0.62); }
.work__note a { color: var(--brand-300); }

.ba-wrap { margin: 0; }

.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.45);
  background: var(--night-2);
  touch-action: pan-y;
}

.ba picture { position: absolute; inset: 0; }
.ba__img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* clip-path is a physical property and does not mirror in RTL, so the inset is
   written explicitly from the left and --pos is measured from the left edge to
   match the LTR-pinned range input below. Result in an RTL reading order: the
   "before" frame occupies the right of the seam, "after" the left. */
.ba__clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.ba__badge {
  position: absolute;
  inset-block-start: 1rem;
  z-index: 3;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgb(12 11 11 / 0.66);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / 0.18);
  pointer-events: none;
}
/* Logical insets: in RTL "before" lands on the right, matching the clip above. */
.ba__badge--before { inset-inline-start: 1rem; }
.ba__badge--after  { inset-inline-end: 1rem; background: rgb(136 46 38 / 0.82); }

/* Physical `left`: this tracks --pos, which is measured from the left edge. */
.ba__handle {
  position: absolute;
  inset-block: 0;
  left: var(--pos);
  z-index: 3;
  inline-size: 2px;
  background: rgb(255 255 255 / 0.9);
  translate: -1px 0;
  pointer-events: none;
  box-shadow: 0 0 18px rgb(0 0 0 / 0.5);
}
.ba__handle-grip {
  position: absolute;
  inset-block-start: 50%;
  left: 50%;
  translate: -50% -50%;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  box-shadow: 0 4px 18px rgb(0 0 0 / 0.4);
  display: grid;
  place-items: center;
}
/* Two chevrons drawn with borders, pointing outward from the grip. */
.ba__handle-grip::before,
.ba__handle-grip::after {
  content: "";
  position: absolute;
  inline-size: 8px;
  block-size: 8px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
}
.ba__handle-grip::before { rotate: -135deg; left: 11px; }
.ba__handle-grip::after  { rotate: 45deg;   right: 11px; }

/* The real control. Transparent and full-bleed, so a press anywhere on the
   image grabs the comparison. */
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
}
.ba__range:focus { outline: none; }
.ba__range::-webkit-slider-runnable-track { block-size: 100%; background: transparent; }
.ba__range::-moz-range-track { block-size: 100%; background: transparent; }
.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  inline-size: 46px;
  block-size: 46px;
  background: transparent;
  border: 0;
  cursor: ew-resize;
}
.ba__range::-moz-range-thumb {
  inline-size: 46px;
  block-size: 46px;
  background: transparent;
  border: 0;
  cursor: ew-resize;
}
/* Keyboard focus lands on the invisible input, so the visible ring goes on the
   handle instead. Requires the input to precede the handle in the DOM. */
.ba__range:focus-visible ~ .ba__handle .ba__handle-grip {
  outline: 3px solid var(--brand-300);
  outline-offset: 4px;
}

/* Without JS the value cannot drive --pos, so the controls are hidden and the
   widget degrades to a static, correctly composed 50/50 comparison. */
.ba__range, .ba__handle { display: none; }
.js .ba__range { display: block; }
.js .ba__handle { display: block; }

.ba__caption {
  margin-block-start: 1.25rem;
  display: grid;
  gap: 0.25rem;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.95rem;
}
.ba__caption strong { color: #fff; font-size: 1.05rem; font-weight: 700; }

/* --------------------------------------------------------------------------
   11. Contact
   -------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1.05fr; }
}
.contact__col { display: grid; gap: 1rem; align-content: start; }

.phones { display: grid; gap: 0.75rem; }

.phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.phone:hover { border-color: var(--brand-200); box-shadow: var(--shadow-2); }

.phone__number {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex: 1 1 auto;
  min-inline-size: 0;
}
.phone__icon { color: var(--brand); inline-size: 1.35rem; block-size: 1.35rem; }
.phone__digits { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; }
.phone__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
}
.panel__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  margin-block-end: 0.85rem;
}
.panel__title .icon { color: var(--brand); }

.hours__list { display: grid; gap: 0.5rem; }
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.4rem;
  border-block-end: 1px dashed var(--line-soft);
}
.hours__row:last-child { border-block-end: 0; }
.hours__label { color: var(--ink-3); font-size: 0.95rem; }
.hours__value { font-weight: 700; color: var(--ink); }
.hours__row.is-closed .hours__value { color: var(--brand); }

.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.social:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-050); }

/* Map facade -------------------------------------------------------------- */

.map {
  position: relative;
  /* inline-size must be the definite dimension. With only a min-block-size and
     an aspect-ratio, the ratio derives the *width* from that minimum height
     (300px x 4/3 = 400px) and overflows narrow viewports. */
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  min-block-size: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--brand-800), var(--night)) ;
}
.map iframe { inline-size: 100%; block-size: 100%; border: 0; }

.map__facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35rem;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}
.map__pin {
  inline-size: 58px;
  block-size: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.25);
  margin-block-end: 0.6rem;
  transition: background-color 0.25s var(--ease), scale 0.25s var(--ease);
}
.map__pin .icon { inline-size: 1.7rem; block-size: 1.7rem; }
.map__label { font-weight: 700; font-size: 1.05rem; }
.map__hint { font-size: 0.85rem; color: rgb(255 255 255 / 0.62); }
.map__facade:hover .map__pin { background: rgb(255 255 255 / 0.2); scale: 1.06; }

.contact__address { color: var(--ink-3); font-size: 0.95rem; text-align: center; }

/* --------------------------------------------------------------------------
   12. Footer + mobile call bar
   -------------------------------------------------------------------------- */

.site-footer { background: var(--night); color: rgb(255 255 255 / 0.7); padding-block: clamp(2.5rem, 6vw, 4rem) 0; }

.site-footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-block-end: 2.5rem;
}
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

.site-footer__logo { inline-size: min(230px, 60vw); block-size: auto; }
.site-footer__blurb { margin-block-start: 1rem; max-inline-size: 46ch; font-size: 0.95rem; }

.site-footer__heading { color: #fff; font-size: 1.05rem; margin-block-end: 0.9rem; }
.site-footer__phones { display: grid; gap: 0.4rem; margin-block-end: 1.25rem; }
.site-footer__phones a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
}
.site-footer__phones a:hover { color: var(--brand-300); }

.socials--footer .social {
  border-color: var(--line-dark);
  color: rgb(255 255 255 / 0.8);
  padding: 0.6rem;
}
.socials--footer .social:hover { background: rgb(255 255 255 / 0.08); border-color: #fff; color: #fff; }

.site-footer__legal {
  border-block-start: 1px solid var(--line-dark);
  padding-block: 1.25rem;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.45);
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. Scroll reveal
   -------------------------------------------------------------------------- */

/* The hidden state exists only when JS is running AND motion is welcome, so a
   failed script or a reduced-motion preference can never blank the page. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    translate: 0 16px;
    transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js .reveal.is-visible { opacity: 1; translate: 0 0; }
}

@media print {
  .site-header, .hero__scroll, .map__facade { display: none !important; }
}
