/* =========================================================
   شراء سيارات مستعملة وتشليح — Main stylesheet
   Direction: Geometric bold (deep red / charcoal / warm white)
   ========================================================= */

:root {
  --red: #9E1219;
  --red-600: #B3161E;
  --red-800: #7A0D13;
  --red-900: #5A090E;
  --red-50: #FBEDEE;
  --charcoal: #2B2D31;
  --ink: #1B1C1F;
  --ink-2: #232429;
  --steel: #3A3D43;
  --gray-600: #5D6068;
  --gray-500: #74777F;
  --gray-300: #C9C9CC;
  --gray-200: #E4E2DE;
  --gray-100: #EFEDE9;
  --paper: #F7F5F2;
  --white: #FFFFFF;
  --wa: #1FA855;
  --wa-dark: #178A45;

  --font: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --container: 1200px;
  --gutter: 20px;
  --radius: 4px;
  --radius-sm: 2px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --skew: -12deg;
  --shadow: 0 10px 30px -12px rgba(27, 28, 31, .25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; border-radius: var(--radius-sm); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed; top: 8px; right: 8px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.br-md { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--charcoal); --fg: var(--white); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:hover .ic use[href="#i-arrow"] { }
.btn:hover > .ic:last-child:not(:first-child) { transform: translateX(-4px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--red); }
.btn-primary:hover { --bg: var(--red-800); box-shadow: 0 10px 22px -10px rgba(158, 18, 25, .7); }
.btn-whatsapp { --bg: var(--wa); }
.btn-whatsapp:hover { --bg: var(--wa-dark); box-shadow: 0 10px 22px -10px rgba(31, 168, 85, .6); }
.btn-whatsapp .ic { fill: currentColor; stroke: none; }
.btn-outline { --bg: transparent; --fg: var(--charcoal); --bd: var(--charcoal); }
.btn-outline:hover { --bg: var(--charcoal); --fg: var(--white); }
.btn-light { --bg: var(--white); --fg: var(--red); }
.btn-light:hover { --bg: var(--paper); }
.btn-ghost { --bg: transparent; --fg: var(--gray-600); }
.btn-ghost:hover { --fg: var(--charcoal); transform: none; }

/* ---------- Kicker & section heads ---------- */
.section { position: relative; padding-block: 72px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 800; color: var(--red); letter-spacing: 0;
  margin-bottom: 14px;
}
.kicker span {
  display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 8px;
  font-size: 12px; font-weight: 800; color: var(--white); background: var(--red);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-variant-numeric: tabular-nums;
}
.kicker--light { color: var(--white); }
.kicker--light span { background: var(--white); color: var(--red); }
.section-title {
  font-size: clamp(28px, 6.4vw, 46px); line-height: 1.25; font-weight: 900; color: var(--ink);
  letter-spacing: -.01em; text-wrap: balance;
}
.section-lead { margin-top: 14px; font-size: 17px; color: var(--gray-600); max-width: 56ch; }
.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(247, 245, 242, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled { border-color: var(--gray-200); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); background: rgba(255,255,255,.95); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 44px; height: 37px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-mark .bm-a { fill: var(--red); }
.brand-mark .bm-b, .brand-mark .bm-c { fill: none; stroke: var(--white); stroke-width: 4.2; stroke-linecap: square; stroke-linejoin: miter; }
.brand-mark .bm-c { opacity: .55; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-line1 { font-size: 15px; font-weight: 800; color: var(--ink); }
.brand-line2 { font-size: 15px; font-weight: 900; color: var(--red); }
.brand--light .brand-line1 { color: var(--white); }
.brand--light .brand-line2 { color: #F06A70; }

.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: var(--ink); color: var(--white); border: 0; border-radius: var(--radius);
}
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-open { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }

/* mobile drawer */
@media (max-width: 1023.98px) {
  .main-nav {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--white);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul li { border-bottom: 1px solid var(--gray-200); }
  .main-nav ul a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 4px; font-size: 20px; font-weight: 800; color: var(--ink);
  }
  .main-nav ul a::after {
    content: ""; width: 10px; height: 10px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
    transform: rotate(45deg);
  }
  .nav-actions-mobile { display: grid; gap: 10px; margin-top: 28px; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--white); }
}

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  .nav-toggle, .nav-actions-mobile { display: none; }
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav ul a {
    position: relative; display: block; padding: 8px 12px; font-size: 15px; font-weight: 700; color: var(--steel);
    transition: color .2s;
  }
  .main-nav ul a::after {
    content: ""; position: absolute; right: 12px; left: 12px; bottom: 2px; height: 3px; background: var(--red);
    transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease);
  }
  .main-nav ul a:hover, .main-nav ul a.is-active { color: var(--ink); }
  .main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
  .header-phone {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); padding: 8px 6px;
  }
  .header-phone .ic { color: var(--red); }
  .header-phone:hover { color: var(--red); }
  .brand-line1, .brand-line2 { font-size: 16px; }
  .brand-mark { width: 50px; height: 42px; }
}

/* ---------- Image frames (photo treatment + fallback) ---------- */
.img-frame { position: relative; overflow: hidden; background: var(--ink-2); }
.img-frame::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(-55deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px),
    var(--ink-2);
}
.img-frame img {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.85) contrast(1.08) brightness(.92);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}
.img-frame.is-broken img { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-media { position: relative; height: 300px; }
.hero-photo { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
.hero-photo img { filter: grayscale(.7) contrast(1.1) brightness(.85); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,28,31,.15) 0%, rgba(27,28,31,.35) 100%);
}
.hero-slab {
  position: absolute; left: -40px; bottom: 6px; width: 60%; height: 54px;
  background: var(--red); transform: skewX(var(--skew)); transform-origin: bottom;
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}
.hero-stripe {
  position: absolute; right: 24px; top: 24px; width: 120px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--white) 0 22px, transparent 22px 34px);
  opacity: .9;
}
.hero-inner { position: relative; }
.hero-content { padding: 18px 0 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; color: var(--red);
}
.eyebrow-bar { width: 28px; height: 4px; background: var(--red); transform: skewX(var(--skew)); }
.hero-title {
  margin-top: 10px;
  font-size: clamp(34px, 9.4vw, 66px); line-height: 1.18; font-weight: 900; color: var(--ink);
  letter-spacing: -.015em;
}
.hero-title .hl {
  position: relative; display: inline-block; color: var(--white); padding: 0 .28em .04em; margin-top: .12em;
  z-index: 0;
}
.hero-title .hl::before {
  content: ""; position: absolute; inset: .08em 0 0; z-index: -1;
  background: var(--red); transform: skewX(var(--skew));
}
.hero-lead { margin-top: 18px; font-size: 18px; line-height: 1.85; color: var(--gray-600); max-width: 52ch; }
.hero-ctas { display: grid; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--charcoal); }
.hero-points .ic { color: var(--red); width: 18px; height: 18px; stroke-width: 2.6; }

@media (min-width: 560px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-media { height: 380px; }
}

@media (min-width: 960px) {
  .hero { min-height: min(760px, calc(100svh - var(--header-h))); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0 auto 0 0; width: 50%; height: auto; }
  .hero-photo { clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
  .hero-photo::after { background: linear-gradient(270deg, rgba(27,28,31,.35), rgba(27,28,31,.05) 60%); }
  .hero-slab { left: auto; right: -4%; bottom: 0; top: 0; width: 14%; height: auto; transform: none; clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%); }
  .hero-stripe { right: auto; left: 32px; top: auto; bottom: 40px; width: 180px; }
  .hero-content { width: 47%; padding: 72px 0 88px; }
  .hero-lead { font-size: 19px; }
}
@media (min-width: 1200px) {
  .hero-content { width: 46%; }
}

/* ---------- Strip / marquee ---------- */
.strip { background: var(--ink); color: var(--white); overflow: hidden; border-top: 4px solid var(--red); }
.strip-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.strip-list { display: flex; flex: none; }
.strip-list li {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px;
  font-size: 20px; font-weight: 800; white-space: nowrap;
}
.strip-list li::after {
  content: ""; width: 12px; height: 12px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(135deg);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services::before {
  content: ""; position: absolute; top: 0; left: 0; width: 38%; height: 8px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.services-grid { display: grid; gap: 14px; }
.service-card {
  position: relative; padding: 26px 22px 24px;
  background: var(--paper); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease), background-color .3s;
}
.service-card::before {
  content: ""; position: absolute; top: 0; right: 0; height: 4px; width: 56px; background: var(--red);
  transition: width .4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gray-300); box-shadow: var(--shadow); background: var(--white); }
.service-card:hover::before { width: 100%; }
.service-num {
  position: absolute; left: 18px; top: 10px;
  font-size: 46px; font-weight: 900; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-300); font-variant-numeric: tabular-nums;
  direction: ltr;
}
.service-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  color: var(--red); background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
}
.service-icon .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.service-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.45; margin-bottom: 8px; }
.service-card p { font-size: 15.5px; color: var(--gray-600); }

.service-card--feature { background: var(--charcoal); border-color: var(--charcoal); }
.service-card--feature:hover { background: var(--ink); border-color: var(--ink); }
.service-card--feature h3 { color: var(--white); }
.service-card--feature p { color: #C4C6CB; }
.service-card--feature .service-icon { background: var(--red); border-color: var(--red); color: var(--white); }
.service-card--feature .service-num { -webkit-text-stroke-color: var(--steel); }

.service-cta {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px 24px; color: var(--white); background: var(--red); border-radius: var(--radius); overflow: hidden;
}
.service-cta::after {
  content: ""; position: absolute; left: -30px; bottom: -40px; width: 160px; height: 160px;
  border: 26px solid rgba(255,255,255,.08); transform: rotate(45deg);
}
.service-cta-title { font-size: 21px; font-weight: 900; line-height: 1.4; }
.service-cta p:not(.service-cta-title) { color: #F6D4D6; }
.service-cta .btn { margin-top: 8px; position: relative; z-index: 1; }

@media (max-width: 639.98px) {
  .service-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 20px 18px; }
  .service-icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .service-icon .ic { width: 26px; height: 26px; }
  .service-card h3 { font-size: 17.5px; margin-bottom: 4px; }
  .service-card p { font-size: 15px; }
  .service-num { display: none; }
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cta { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .service-card--feature { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-content: center; }
  .service-card--feature .service-icon { grid-row: span 2; width: 64px; height: 64px; margin: 0; }
  .service-card--feature .service-icon .ic { width: 34px; height: 34px; }
  .service-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 24px; padding: 30px 36px; }
  .service-cta-title { font-size: 24px; flex-basis: 100%; }
  .service-cta .btn { margin: 0 auto 0 0; }
}

/* ---------- Conditions ---------- */
.conditions { background: var(--paper); }
.section-head--row { display: grid; gap: 8px; }
.conditions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cond-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1.15;
  background: var(--ink); isolation: isolate;
}
.cond-tile--lg { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.cond-tile .img-frame { position: absolute; inset: 0; }
.cond-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(20,21,24,.92) 0%, rgba(20,21,24,.35) 50%, rgba(20,21,24,.05) 100%);
}
.cond-tile figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 14px;
  display: flex; flex-direction: column; gap: 2px; color: var(--white);
}
.cond-tag {
  align-self: flex-start; margin-bottom: 8px; padding: 2px 12px 3px;
  font-size: 13px; font-weight: 800; background: var(--red);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.cond-tile strong { font-size: 17px; font-weight: 800; line-height: 1.35; }
.cond-tile figcaption > span:last-child { font-size: 13.5px; color: #C9CBD0; line-height: 1.5; }
.cond-tile:hover img { filter: grayscale(0) contrast(1.05) brightness(.95); transform: scale(1.05); }

@media (min-width: 640px) {
  .cond-tile figcaption { padding: 20px; }
  .cond-tile strong { font-size: 20px; }
  .cond-tile figcaption > span:last-child { font-size: 15px; }
}
@media (min-width: 960px) {
  .section-head--row { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .section-head--row .section-lead { justify-self: end; }
  .conditions-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 260px); gap: 14px; }
  .cond-tile, .cond-tile--lg { aspect-ratio: auto; }
  .cond-tile--lg { grid-column: 1; grid-row: 1 / span 2; }
  .cond-tile--lg strong { font-size: 28px; }
}

/* ---------- How it works (road) ---------- */
.how { background: var(--white); overflow: hidden; }
.road { position: relative; display: grid; gap: 0; counter-reset: step; }
.road::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; right: 27px; width: 4px;
  background: repeating-linear-gradient(180deg, var(--charcoal) 0 18px, transparent 18px 30px);
  opacity: .25;
}
.road-step { position: relative; padding: 0 76px 34px 0; }
.road-step:last-child { padding-bottom: 0; }
.road-marker {
  position: absolute; right: 0; top: 0; display: grid; place-items: center;
  width: 58px; height: 58px; color: var(--white); background: var(--charcoal);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  transition: background-color .3s;
}
.road-step:first-child .road-marker, .road-step:hover .road-marker { background: var(--red); }
.road-marker .ic { width: 26px; height: 26px; }
.road-num { font-size: 13px; font-weight: 800; color: var(--red); }
.road-step h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 2px 0 4px; }
.road-step p { color: var(--gray-600); font-size: 15.5px; }
.how-cta { margin-top: 44px; text-align: center; }

@media (min-width: 900px) {
  .road { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .road::before { top: 27px; bottom: auto; right: 6%; left: 6%; width: auto; height: 4px;
    background: repeating-linear-gradient(270deg, var(--charcoal) 0 22px, transparent 22px 36px); }
  .road-step { padding: 84px 0 0; text-align: center; }
  .road-marker { right: 50%; transform: translateX(50%); width: 66px; height: 58px; }
}

/* ---------- Why us ---------- */
.why {
  background: var(--ink); color: var(--white);
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
  padding-block: 104px;
  margin-block: -1px;
}
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 34px, rgba(255,255,255,.025) 34px 35px);
}
.why-inner { position: relative; display: grid; gap: 40px; }
.why .section-title { color: var(--white); }
.why .section-lead { color: #B9BBC1; }
.why-head .btn { margin-top: 26px; }
.why-grid { display: grid; gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.why-item { padding: 24px 22px; background: var(--ink); transition: background-color .3s; }
.why-item:hover { background: var(--ink-2); }
.why-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
  color: var(--white); background: var(--red);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.why-icon .ic { width: 24px; height: 24px; }
.why-item h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.why-item p { color: #A9ACB3; font-size: 15px; }

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .why { clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 56px), 0 100%); padding-block: 140px; }
  .why-inner { grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: center; }
  .why-item { padding: 30px 28px; }
}

/* ---------- Evaluation ---------- */
.evaluate { background: var(--paper); padding-top: 88px; }
.evaluate-inner { display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(27,28,31,.45); }
.eval-side {
  position: relative; padding: 32px 24px; color: var(--white); background: var(--red); overflow: hidden;
}
.eval-side::after {
  content: ""; position: absolute; left: -60px; bottom: -60px; width: 220px; height: 220px;
  border: 34px solid rgba(255,255,255,.07); transform: rotate(45deg); pointer-events: none;
}
.eval-side .section-title { color: var(--white); font-size: clamp(28px, 7vw, 40px); }
.eval-side > p { margin-top: 10px; color: #F7D9DB; }
.eval-steps { display: grid; gap: 10px; margin-top: 22px; }
.eval-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.eval-steps span {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  font-weight: 900; font-size: 14px; color: var(--red); background: var(--white);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.eval-note {
  display: flex; gap: 10px; margin-top: 24px; padding: 12px 14px;
  font-size: 14px; line-height: 1.7; color: #FBE7E8; background: rgba(0,0,0,.16); border-radius: var(--radius);
}
.eval-note .ic { margin-top: 3px; }
.eval-call {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  padding: 10px 16px 10px 20px; color: var(--white); border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius);
  transition: background-color .2s, border-color .2s;
}
.eval-call:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.eval-call span { display: flex; flex-direction: column; line-height: 1.3; font-size: 13px; }
.eval-call strong { font-size: 18px; font-weight: 900; }

.eval-card { position: relative; padding: 28px 20px 24px; background: var(--white); }
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend, .field .label { font-size: 15px; font-weight: 800; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 6px; }
.req { color: var(--red); }
.opt { font-weight: 500; color: var(--gray-500); font-size: 13px; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field input[type="tel"] { text-align: right; }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.7; }
.field ::placeholder { color: #9EA1A8; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--charcoal); box-shadow: 0 0 0 4px rgba(43,45,49,.1);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); background: var(--red-50); }
.field.has-error input:focus, .field.has-error select:focus { box-shadow: 0 0 0 4px rgba(179,22,30,.14); }
.field-error { min-height: 0; font-size: 13.5px; font-weight: 700; color: var(--red-600); }
.field-error:empty { display: none; }
.field-hint { font-size: 12.5px; color: var(--gray-500); text-align: left; direction: ltr; }
.select-wrap { position: relative; }
.select-wrap select { padding-left: 42px; cursor: pointer; }
.select-wrap .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-500); pointer-events: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px;
  font-weight: 800; color: var(--charcoal); background: var(--paper);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  transition: all .2s var(--ease);
}
.seg-opt span .ic { width: 18px; height: 18px; stroke-width: 2.4; opacity: .4; }
.seg-opt:hover span { border-color: var(--gray-300); }
.seg-opt input:checked + span { color: var(--white); background: var(--charcoal); border-color: var(--charcoal); }
.seg-opt input:checked + span .ic { opacity: 1; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--red-600); outline-offset: 2px; }
.field.has-error .seg-opt span { border-color: var(--red-600); }

.upload {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px;
  border: 1.5px dashed var(--gray-300); border-radius: var(--radius); background: var(--paper); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload:hover, .upload.is-drag { border-color: var(--red); background: var(--red-50); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { outline: 3px solid var(--red-600); outline-offset: 2px; }
.upload-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; color: var(--white); background: var(--charcoal); border-radius: var(--radius); }
.upload-icon .ic { width: 24px; height: 24px; }
.upload-text { display: flex; flex-direction: column; line-height: 1.5; }
.upload-text strong { color: var(--ink); font-weight: 800; }
.upload-text span { font-size: 13.5px; color: var(--gray-500); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; left: 4px; display: grid; place-items: center; width: 26px; height: 26px;
  color: var(--white); background: rgba(27,28,31,.75); border: 0; border-radius: 50%;
}
.thumbs button .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.photo-note {
  display: flex; gap: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.7;
  color: #6B4A00; background: #FFF6DE; border: 1px solid #F2DFA6; border-radius: var(--radius);
}
.photo-note .ic { margin-top: 3px; color: #A87400; }

.form-footer { margin-top: 24px; }
.form-status { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--red-600); text-align: center; }
.form-status:empty { display: none; }

.eval-done { text-align: center; padding: 24px 4px; }
.eval-done:focus { outline: none; }
.done-icon {
  display: inline-grid; place-items: center; width: 68px; height: 68px; color: var(--white); background: var(--wa);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); margin-bottom: 16px;
}
.done-icon .ic { width: 34px; height: 34px; stroke-width: 2.6; }
.eval-done h3 { font-size: 24px; font-weight: 900; color: var(--ink); }
.eval-done > p { color: var(--gray-600); margin-top: 6px; }
.done-photos { display: grid; gap: 12px; margin-top: 20px; text-align: right; }
.done-alert {
  display: flex; gap: 10px; padding: 14px; font-size: 15px; line-height: 1.7;
  color: #6B4A00; background: #FFF6DE; border: 1px solid #F2DFA6; border-radius: var(--radius);
}
.done-alert .ic { margin-top: 3px; color: #A87400; }
.done-actions { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .field--full { grid-column: 1 / -1; }
  .eval-card { padding: 36px 32px 32px; }
  .eval-side { padding: 40px 32px; }
}
@media (min-width: 1024px) {
  .evaluate-inner { grid-template-columns: 0.75fr 1.5fr; }
  .eval-side { padding: 48px 40px; display: flex; flex-direction: column; }
  .eval-side .eval-call { margin-top: auto; align-self: flex-start; }
  .eval-note { margin-bottom: 28px; }
  .eval-card { padding: 44px 44px 40px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-inner { display: grid; gap: 8px; }
.faq .section-head .btn { margin-top: 22px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--gray-300); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-size: 17px; font-weight: 800; color: var(--ink); cursor: pointer; list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: ""; position: absolute; right: -1px; top: 14px; bottom: 14px; width: 4px; background: var(--red);
  transform: scaleY(0); transition: transform .3s var(--ease);
}
.faq-item[open] summary::before { transform: scaleY(1); }
.faq-item summary .ic { width: 22px; height: 22px; flex: none; color: var(--red); transition: transform .3s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--red); }
.faq-body { padding: 0 20px 20px; color: var(--gray-600); }
.faq-body a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-item[open] .faq-body { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
  .faq-inner { grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contact band ---------- */
.contact-band {
  position: relative; color: var(--white); background: var(--red); overflow: hidden;
  padding-block: 64px;
}
.contact-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, var(--red-800) 58% 70%, transparent 70%),
    repeating-linear-gradient(-55deg, transparent 0 30px, rgba(255,255,255,.04) 30px 31px);
}
.contact-inner { position: relative; display: grid; gap: 28px; }
.contact-text h2 { font-size: clamp(30px, 7vw, 48px); font-weight: 900; line-height: 1.2; }
.contact-text > p { margin-top: 10px; font-size: 18px; color: #F8DCDE; }
.service-area { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: 15px; color: #F3C9CC; }
.service-area .ic { margin-top: 4px; }
.contact-actions { display: grid; gap: 12px; }
.contact-btn {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  border-radius: var(--radius); transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.contact-btn .ic { width: 30px; height: 30px; }
.contact-btn span { display: flex; flex-direction: column; line-height: 1.35; }
.contact-btn small { font-size: 14px; font-weight: 700; opacity: .85; }
.contact-btn strong { font-size: 22px; font-weight: 900; }
.contact-btn--wa { background: var(--wa); color: var(--white); }
.contact-btn--wa .ic { fill: currentColor; stroke: none; }
.contact-btn--wa:hover { background: var(--wa-dark); transform: translateY(-3px); }
.contact-btn--call { background: var(--white); color: var(--ink); }
.contact-btn--call .ic { color: var(--red); }
.contact-btn--call:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); }

@media (min-width: 960px) {
  .contact-band { padding-block: 84px; }
  .contact-inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9ACB3; padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; font-size: 15px; max-width: 40ch; }
.footer-col h3 { position: relative; font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 16px; padding-bottom: 10px; }
.footer-col h3::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28px; height: 3px; background: var(--red); }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--white); }
.footer-contact .ic { color: #F06A70; }
.footer-contact li:last-child .ic { fill: #4CD383; stroke: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; font-size: 14px; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }

/* ---------- Floating WhatsApp / Mobile bar ---------- */
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 90; display: none; place-items: center;
  width: 60px; height: 60px; color: var(--white); background: var(--wa); border-radius: 50%;
  box-shadow: 0 12px 28px -10px rgba(31,168,85,.7);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float .ic { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.6s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.07); background: var(--wa-dark); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -8px 24px -16px rgba(0,0,0,.35);
  transition: transform .35s var(--ease);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  font-size: 15px; font-weight: 800; border-radius: var(--radius);
}
.mobile-bar .ic { width: 20px; height: 20px; }
.mb-call { color: var(--ink); background: var(--gray-100); }
.mb-call .ic { color: var(--red); }
.mb-wa { color: var(--white); background: var(--wa); }
.mb-wa .ic { fill: currentColor; stroke: none; }
.mb-eval { color: var(--white); background: var(--red); }
body.has-mobile-bar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

.call-float {
  position: fixed; left: 24px; bottom: 96px; z-index: 90; display: none; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px 0 18px; color: var(--white); background: var(--red); border-radius: 30px;
  box-shadow: 0 12px 28px -10px rgba(158,18,25,.7);
  transition: transform .25s var(--ease), background-color .2s;
}
.call-float .ic { width: 26px; height: 26px; }
.call-float-label { display: flex; flex-direction: column; line-height: 1.2; font-size: 12px; font-weight: 700; }
.call-float-label strong { font-size: 16px; font-weight: 900; }
.call-float:hover { transform: translateY(-3px); background: var(--red-800); }

@media (min-width: 768px) {
  .call-float { display: flex; }
  .mobile-bar { display: none; }
  body.has-mobile-bar { padding-bottom: 0; }
  .wa-float { display: grid; }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet & desktop spacing ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding-block: 96px; }
  .section-head { margin-bottom: 52px; }
  .br-md { display: inline; }
}
@media (min-width: 1200px) {
  .section { padding-block: 112px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .strip-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
