/* درر الابتكار | durarinnovation.com
   Brand tokens: 01-الهوية/الهوية-التجارية/09-tokens/tokens.css
   Pattern: precision grid only (CSS lines). The journey line is a narrative element, not a pattern. */

@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --charcoal: #1F2429;
  --teal: #2FA595;
  --copper: #C97C4B;
  --graphite: #131619;
  --warm: #F4F2EE;
  --ice: #D3E7E3;
  --peach: #EBCDB5;
  --steel: #7D858D;
  --body: #4B535A;

  --font: "Plex Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;

  --gutter: 20px;
  --max: 1200px;
  --sec-pad: clamp(5rem, 2.5rem + 7vw, 10rem);
  --header-h: 64px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --hair: rgba(31, 36, 41, .14);

  --fs-h2: clamp(1.875rem, 1.1rem + 3vw, 3.5rem);
  --fs-h3: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-body: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --fs-label: 1rem;
  --fs-price: clamp(4rem, 2.4rem + 6vw, 7.5rem);

  interpolate-size: allow-keywords;
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
* { letter-spacing: 0; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px);
  scrollbar-color: var(--steel) var(--warm);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--body);
  background: var(--warm);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; color: var(--charcoal); font-weight: 700; text-wrap: balance; }
h3 { font-weight: 600; font-size: var(--fs-h3); line-height: 1.5; }
h2 { font-size: var(--fs-h2); line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--peach); color: var(--graphite); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .ice :focus-visible, .journey :focus-visible { outline-color: var(--charcoal); }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--ice); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100;
  background: var(--warm); color: var(--charcoal); padding: 12px 16px; border-radius: var(--r-sm);
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons (press feedback on every button; hover only on real pointers) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: 500 var(--fs-label)/1.4 var(--font);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn-teal { background: var(--teal); color: var(--graphite); }
.btn-line { border-color: rgba(244, 242, 238, .55); color: var(--warm); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn-teal:hover { background: var(--ice); }
  .btn-teal:hover .ico { transform: rotate(-10deg); }
  .btn-line:hover { border-color: var(--warm); background: rgba(244, 242, 238, .08); }
  .btn:hover .arrow { transform: translateX(-5px); }
}
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(125, 133, 141, .22);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 768px) { .brand img { height: 50px; } }
.nav { display: none; }
.site-header .btn { margin-inline-start: auto; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 4px; margin-inline-start: 24px; }
  .nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
    color: var(--warm); text-decoration: none; font-weight: 500; font-size: .9375rem;
  }
  .nav a::after {
    content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 1.5px; background: var(--teal);
    transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
  }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
}
@media (max-width: 359px) {
  .site-header .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header .btn { padding-inline: 12px; min-width: 44px; }
}

/* ---------- Precision grid (the only pattern) ---------- */
.dark { background: var(--charcoal); color: var(--warm); position: relative; isolation: isolate; }
.dark h1, .dark h2, .dark h3 { color: var(--warm); }
.grid-bg::before {
  --cols: 4;
  --row: 88px;
  content: ""; position: absolute; z-index: -1;
  inset-block: 0;
  inset-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  background-image:
    linear-gradient(to left, rgba(125, 133, 141, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125, 133, 141, .16) 1px, transparent 1px);
  background-size: calc(100% / var(--cols)) var(--row);
  background-position: right top;
  box-shadow: inset 1px 0 0 rgba(125, 133, 141, .16);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent);
  pointer-events: none;
}
@media (min-width: 768px) { .grid-bg::before { --cols: 12; --row: 96px; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(4rem, 2rem + 7vw, 8.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.hero-grid { display: grid; gap: clamp(24px, 1rem + 2vw, 40px); justify-items: center; text-align: center; }
.hero-title { font-size: clamp(2.125rem, 1.1rem + 3.9vw, 4.25rem); line-height: 1.3; max-width: 15em; }
.hero-sub {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); font-weight: 500; line-height: 1.8; color: var(--ice);
  max-width: 34em; margin-inline: auto;
  text-align: justify; text-align-last: center; text-justify: inter-word;
}
.hero-side { display: grid; gap: 4px; justify-items: center; width: 100%; max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; width: 100%; }
.actions .btn { flex: 1 1 auto; }

@media (min-width: 600px) {
  .actions .btn { flex: 0 0 auto; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec-pad); }
.light { background: var(--warm); }
.sec-ruled { padding-top: 0; }
.sec-ruled > .wrap { position: relative; padding-top: var(--sec-pad); }
.sec-ruled > .wrap::before {
  content: ""; position: absolute; top: 0;
  inset-inline: var(--gutter); height: 1px; background: var(--hair);
}
.ice { background: var(--ice); }

.sec-head { max-width: 40em; margin-inline: auto; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); text-align: center; }
.lead { margin-top: 16px; margin-inline: auto; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 34em; }

/* FAQ block: one centred column (was a 4/7 split). */
.split { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.split-head { text-align: center; }
.split-body { width: 100%; max-width: 48rem; margin-inline: auto; }

/* ======================================================================
   Journey: "what you get" as a line that draws itself with the scroll.
   Default state (no JS, reduced motion): the whole line is drawn and every stop is fully styled.
   ====================================================================== */
.journey { background: var(--warm); padding-block: var(--sec-pad) calc(var(--sec-pad) * .75); overflow: clip; }
.journey-head { max-width: 40em; margin-inline: auto; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); text-align: center; }
.journey-head h2 { font-size: clamp(2.25rem, 1rem + 4.6vw, 5rem); line-height: 1.2; }

.stage { --tile: 64px; position: relative; }
.route { position: absolute; pointer-events: none; overflow: visible; }
.route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-trace { stroke: var(--ice); }
.route-ink { stroke: var(--teal); }
.route-head {
  position: absolute; top: 0; left: 0; z-index: 0;
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: var(--copper); border: 5px solid var(--warm);
  box-shadow: 0 2px 10px rgba(201, 124, 75, .35);
  opacity: 0; pointer-events: none; will-change: transform;
}

.stop-tile {
  display: grid; place-items: center; width: var(--tile); height: var(--tile);
  border-radius: 20px; background: var(--charcoal);
  box-shadow: 0 0 0 6px var(--warm), 0 10px 24px -10px rgba(31, 36, 41, .45);
}
.stop-tile img { width: 30px; height: 30px; }
.stop h3 { font-weight: 700; color: var(--charcoal); }
.stop-pill {
  display: inline-block; max-width: 24em; padding: 12px 20px;
  border: 1px solid rgba(31, 36, 41, .55); border-radius: 24px; background: var(--warm);
  font-size: 1rem; line-height: 1.7; color: var(--body); text-align: center;
  transform: rotate(-2deg);
}
.stop:nth-child(even) .stop-pill { transform: rotate(1.5deg); }

/* Mobile and tablet: a vertical wavy line down the start edge, stops stacked beside it. */
.stops { position: relative; z-index: 1; display: grid; gap: clamp(56px, 10vw, 88px); padding-block: 8px 16px; }
.stop { position: relative; padding-inline-start: calc(var(--tile) + 28px); min-height: var(--tile); }
.stop .stop-tile { position: absolute; inset-inline-start: 0; top: 0; }
.stop h3 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.5rem); line-height: 1.3; padding-top: 6px; margin-bottom: 18px; }
.route-d { display: none; }
.route-m { inset: 0; width: 100%; height: 100%; }
.route-m path { stroke-width: 6; }
/* no-JS fallback for the mobile line: a straight drawn rule through the tiles */
.stage::before {
  content: ""; position: absolute; inset-inline-start: calc(var(--tile) / 2 - 3px); top: 8px; bottom: 16px;
  width: 6px; border-radius: 3px; background: var(--teal);
}
.stage.has-route::before { display: none; }

@media (min-width: 1024px) {
  .stage { --tile: 72px; aspect-ratio: 1 / 2; max-height: 2400px; }
  .stage::before { display: none; }
  .route-m { display: none; }
  .route-d { display: block; inset: 0; width: 100%; height: 100%; }
  .route-d path { stroke-width: 14; }
  .route-head { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .stops { position: absolute; inset: 0; display: block; padding: 0; }
  .stop {
    position: absolute; display: grid; column-gap: 24px; row-gap: 16px; align-items: center;
    width: max-content; max-width: 60%; padding: 0; min-height: 0;
    top: calc(var(--y) / 2400 * 100% - var(--tile) / 2);
  }
  .stop .stop-tile { position: static; }
  .stop h3 { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.5rem); line-height: 1.2; padding: 0; margin: 0; white-space: nowrap; }
  .stop-pill { grid-row: 2; }
  .stop[data-side="r"] { right: calc((1200 - var(--x)) / 1200 * 100% - var(--tile) / 2); grid-template-columns: var(--tile) auto; }
  .stop[data-side="r"] .stop-tile { grid-column: 1; grid-row: 1; }
  .stop[data-side="r"] h3, .stop[data-side="r"] .stop-pill { grid-column: 2; justify-self: start; }
  .stop[data-side="l"] { left: calc(var(--x) / 1200 * 100% - var(--tile) / 2); grid-template-columns: auto var(--tile); }
  .stop[data-side="l"] .stop-tile { grid-column: 2; grid-row: 1; }
  .stop[data-side="l"] h3, .stop[data-side="l"] .stop-pill { grid-column: 1; justify-self: end; }
  .stop-pill { font-size: 1.0625rem; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .stop-pill { font-size: .9375rem; max-width: 21em; padding: 10px 16px; }
  /* stop 5: the line leaves the tile towards the lower left; keep clear of the pill corner at narrow desktops */
  .stop:nth-child(5) .stop-pill { margin-inline-start: 16px; }
}

/* Live state: only when JS runs and motion is allowed. */
.stage.is-live .route-ink { stroke-dasharray: 1 3; stroke-dashoffset: 1.01; }
.stage.is-live .route-head { opacity: 1; }
.stage.is-live .stop h3 { color: var(--steel); transition: color .5s ease; }
.stage.is-live .stop .stop-tile { transform: scale(.86); background: var(--steel); transition: transform .5s var(--ease), background-color .5s ease; }
.stage.is-live .stop .stop-pill { translate: 0 10px; border-color: rgba(125, 133, 141, .5); transition: translate .6s var(--ease), border-color .5s ease; }
.stage.is-live .stop.is-reached h3 { color: var(--charcoal); }
.stage.is-live .stop.is-reached .stop-tile { transform: none; background: var(--charcoal); }
.stage.is-live .stop.is-reached .stop-pill { translate: 0 0; border-color: rgba(31, 36, 41, .55); }

@supports (animation-timeline: view()) {
  .stage { view-timeline: --journey block; }
  .stage.is-live.is-sd .route-ink {
    animation: ink linear both;
    animation-timeline: --journey;
    animation-range: cover 40vh cover calc(100% - 60vh);
  }
}
@keyframes ink { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }

/* ---------- Audience: an editorial 2x2 list, not a card grid ---------- */
.who { display: grid; border-top: 1px solid var(--hair); }
.who li { padding-block: 28px; border-bottom: 1px solid var(--hair); display: grid; gap: 8px; justify-items: center; text-align: center; }
.who h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 700; line-height: 1.4; }
.who p { max-width: 30em; margin-inline: auto; }
@media (min-width: 768px) {
  .who { grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 0; }
  .who li { padding-block: 36px 40px; border-bottom: 0; border-top: 1px solid var(--hair); }
}
@media (min-width: 1024px) { .who { column-gap: 96px; } .who li { padding-block: 44px 48px; } }

/* ---------- Steps ---------- */
/* Centred steps: number on top, text below; a short connector joins each step to the next. */
.steps { display: grid; gap: 0; position: relative; max-width: 34em; margin-inline: auto; }
.step { position: relative; padding-top: 68px; padding-bottom: 64px; text-align: center; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: calc(50% - 1px); bottom: 14px; height: 36px;
  width: 2px; background: rgba(31, 36, 41, .18);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: calc(50% - 26px); top: 0;
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--charcoal); color: var(--warm);
  font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums;
}
.step:last-child .step-num { background: var(--teal); color: var(--graphite); }
.step h3 { margin-bottom: 6px; font-weight: 700; }
.step p { color: var(--body); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 40px; max-width: none; }
  .step { padding-top: 84px; padding-bottom: 0; }
  /* RTL: the next step sits to the left, so the connector runs from this number's left edge to the next number's right edge. */
  .step::before { left: calc(-50% - 40px + 38px); right: calc(50% + 38px); bottom: auto; top: 25px; width: auto; height: 2px; }
}

/* ---------- Price ---------- */
.price-grid { display: grid; gap: 32px; }
.price-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-md); text-align: center; }
.price { display: grid; gap: 16px; justify-items: center; color: var(--warm); }
.price-label { font-weight: 500; font-size: var(--fs-label); line-height: 1.4; background: var(--peach); color: var(--graphite); padding: 6px 14px; border-radius: var(--r-pill); }
.price-row { display: flex; align-items: flex-start; gap: 12px; }
.price-num { font-size: var(--fs-price); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.price-cur { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 600; line-height: 1.5; padding-top: .3em; color: var(--ice); }
.price-split { margin-block: 28px; border-top: 1px solid rgba(125, 133, 141, .4); }
.price-split li {
  padding-block: 16px; border-bottom: 1px solid rgba(125, 133, 141, .4);
  font-weight: 500; color: var(--warm); font-variant-numeric: tabular-nums;
}
.guarantees { display: grid; align-content: start; border-top: 1px solid var(--hair); }
.guarantees li { padding-block: 28px; border-bottom: 1px solid var(--hair); text-align: center; }
.guarantees p { max-width: 30em; margin-inline: auto; }
.guarantees h3 { margin-bottom: 6px; font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .price-card { grid-column: 1 / span 6; }
  .guarantees { grid-column: 8 / span 5; align-self: center; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(125, 133, 141, .4); }
.faq details { border-bottom: 1px solid rgba(125, 133, 141, .4); }
.faq summary {
  list-style: none; cursor: pointer;
  /* question centred between an empty spacer and the plus, so the text stays optically centred */
  display: grid; grid-template-columns: 14px 1fr 14px; align-items: center; gap: 16px;
  min-height: 56px; padding-block: 20px; text-align: center;
  font-weight: 600; font-size: var(--fs-h3); line-height: 1.5; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; }
.faq summary::after {
  content: ""; width: 14px; height: 14px;
  background:
    linear-gradient(var(--plus, var(--charcoal)), var(--plus, var(--charcoal))) center / 14px 2px no-repeat,
    linear-gradient(var(--plus, var(--charcoal)), var(--plus, var(--charcoal))) center / 2px 14px no-repeat;
  transition: transform .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .faq summary:hover { --plus: var(--teal); } }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; padding-inline: 30px; max-width: 36em; margin-inline: auto; text-align: center; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .25s var(--ease), content-visibility .25s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Final CTA ---------- */
.final { padding-block: var(--sec-pad); text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 24px; }
.final h2 { max-width: 16em; font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem); line-height: 1.2; }
.final-text { max-width: 34em; color: rgba(244, 242, 238, .86); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.final .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: rgba(244, 242, 238, .82); padding-block: 64px 32px; font-size: 1rem; text-align: center; }
.footer-grid { display: grid; gap: 40px; justify-items: center; }
.footer-brand img { height: 48px; width: auto; margin: 0 auto 16px; }
.footer-brand p { max-width: 28em; line-height: 1.8; margin-inline: auto; }
.footer-tag { color: var(--warm); font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }
.footer-h { font-size: 1rem; font-weight: 600; color: var(--warm); margin-bottom: 12px; }
.footer-col li { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ice); text-decoration: underline; text-decoration-color: rgba(211, 231, 227, .35); text-underline-offset: 4px;
}
.footer-col a:hover { text-decoration-color: var(--ice); }
.lbl { color: rgba(244, 242, 238, .7); }

/* Each platform in its own brand colour. X and TikTok are black brands, so they sit on a white disc to read on the dark footer. */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social a {
  justify-content: center; width: 48px; height: 48px; min-height: 48px; border-radius: 50%;
  background: var(--brand, var(--charcoal)); color: var(--brand-ink, #fff); text-decoration: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  transition: box-shadow .25s ease, filter .25s ease, transform .16s var(--ease);
}
.social .s-wa { --brand: #25D366; }
.social .s-ig { --brand: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); }
.social .s-fb { --brand: #1877F2; }
.social .s-in { --brand: #0A66C2; }
.social .s-x  { --brand: #fff; --brand-ink: #000; }
.social .s-tt { --brand: #fff; --brand-ink: #000; }
.social .s-tt svg { filter: drop-shadow(-1.2px -1.2px 0 #25F4EE) drop-shadow(1.2px 1.2px 0 #FE2C55); }
.social svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.social a:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .social a:hover { box-shadow: 0 0 0 3px rgba(244, 242, 238, .22); filter: brightness(1.08); transform: translateY(-2px); }
}
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(125, 133, 141, .25); }
.footer-legal p { font-size: .9375rem; color: rgba(244, 242, 238, .7); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 5fr 4fr 4fr; gap: 48px; }
}

/* ---------- Mobile WhatsApp bar ---------- */
.wa-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: var(--teal); color: var(--graphite);
  font-weight: 600; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 -1px 0 rgba(19, 22, 25, .25);
  transition: transform .25s var(--ease);
}
.wa-bar .ico { width: 22px; height: 22px; }
.wa-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(32px + 56px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .wa-bar { display: none; } }

/* ---------- Motion: one hero entrance, one scroll-drawn line ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: no-preference) {
  .in { animation: rise .7s var(--ease) both; }
  .in-2 { animation-delay: 90ms; }
  .in-3 { animation-delay: 180ms; }
  .in-4 { animation-delay: 270ms; }
  .hero.grid-bg::before { transform-origin: top; animation: draw 1.1s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-property: color, background-color, border-color !important; }
  .wa-bar.is-hidden { transform: none; display: none; }
}
