:root {
  --ink: #191b1d;
  --ink-soft: #35383a;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --white: #ffffff;
  --orange: #f58220;
  --orange-dark: #d96b10;
  --orange-soft: #fff0e2;
  --muted: #77716a;
  --line: #e9e3da;
  --dark: #191b1d;
  --dark-soft: #25282b;
  --shadow: 0 18px 50px rgba(44, 32, 18, 0.08);
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: var(--font); line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
p { color: var(--muted); }
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 78px 0; }
.section-heading, .process-heading, .faq-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-heading p, .process-heading p, .faq-heading p { font-size: 1rem; margin-bottom: 0; }
.section-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--orange-dark); font-size: .86rem; font-weight: 700; margin-bottom: 12px; }
.section-tag::before, .section-tag::after { content: ""; width: 28px; height: 2px; border-radius: 99px; background: var(--orange); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid transparent; border-radius: 999px; padding: 12px 28px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 12px 24px rgba(245, 130, 32, .2); }
.btn-lg { min-height: 56px; padding-inline: 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(245, 130, 32, .25); } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, .92); border-bottom: 1px solid rgba(233, 227, 218, .8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-shell { width: min(1180px, 92%); min-height: 78px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-symbol { display: inline-flex; width: 47px; height: 47px; overflow: hidden; border-radius: 15px; background: var(--white); box-shadow: 0 7px 20px rgba(21, 21, 21, .08); }
.brand-symbol img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: Arial, sans-serif; font-size: 1.55rem; letter-spacing: -.08em; }
.brand-copy strong span { color: var(--orange); }
.brand-copy small { margin-top: 3px; color: var(--orange-dark); font-size: .68rem; font-weight: 700; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav-links a { position: relative; color: var(--ink-soft); font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; border-radius: 99px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 9px 21px; font-size: .86rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 99px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero-section { position: relative; overflow: hidden; margin-top: -1px; padding: 0 0 74px; color: var(--white); background: var(--dark); }
.hero-section::before { content: ""; position: absolute; top: -180px; left: 40%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 130, 32, .22), transparent 68%); pointer-events: none; }
.hero-section::after { content: ""; position: absolute; right: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(245, 130, 32, .2); box-shadow: 0 0 0 34px rgba(245, 130, 32, .04), 0 0 0 68px rgba(245, 130, 32, .03); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: min(1180px, 92%); min-height: 600px; margin-inline: auto; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 5%; direction: ltr; }
.hero-copy { direction: rtl; padding: 76px 0 60px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #f7b375; font-size: .88rem; font-weight: 700; }
.hero-kicker::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: var(--orange); }
.hero-copy h1 { margin-bottom: 20px; font-size: clamp(3.2rem, 6.5vw, 6.3rem); font-weight: 700; line-height: 1.08; }
.hero-copy h1 span { color: var(--orange); }
.hero-copy > p { max-width: 570px; margin-bottom: 26px; color: #d0d1cf; font-size: 1.08rem; line-height: 2; }
.hero-note { display: block; margin-top: 18px; color: #989b9d; font-family: Arial, sans-serif; font-size: .65rem; letter-spacing: .18em; }
.hero-art { position: relative; min-height: 560px; direction: rtl; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-glow-one { top: 12%; right: 8%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(245, 130, 32, .42), rgba(245, 130, 32, 0) 70%); }
.hero-glow-two { bottom: 8%; left: 16%; width: 230px; height: 230px; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 68%); }
.hero-ring { position: absolute; top: 11%; right: 16%; width: 330px; height: 430px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 48% 52% 46% 54%; transform: rotate(17deg); }
.hero-ring::before, .hero-ring::after { content: ""; position: absolute; border: 1px solid rgba(245, 130, 32, .25); border-radius: inherit; }
.hero-ring::before { inset: 32px; }
.hero-ring::after { inset: 65px; border-color: rgba(255, 255, 255, .08); }
.hero-card-mark { position: absolute; top: 19%; right: 24%; display: flex; align-items: center; justify-content: center; width: 250px; height: 250px; overflow: hidden; border: 7px solid rgba(255, 255, 255, .16); border-radius: 46% 54% 52% 48%; background: linear-gradient(145deg, #f8f7f3, #d8d0c4); box-shadow: 0 26px 60px rgba(0, 0, 0, .36); transform: rotate(-5deg); }
.hero-card-mark img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.hero-side-note { position: absolute; top: 28%; left: 3%; color: #f0f0ec; font-size: 1.2rem; line-height: 1.45; transform: rotate(-6deg); }
.hero-side-note strong { color: var(--orange); font-size: 2.5rem; }
.hero-art-label { position: absolute; right: 32%; bottom: 11%; color: #8f9294; font-family: Arial, sans-serif; font-size: .62rem; letter-spacing: .18em; transform: rotate(-5deg); }
.trust-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 100px; margin-top: -1px; padding: 0 20px; color: var(--white); background: #232527; border: 1px solid #4a4c4d; border-radius: 28px; box-shadow: 0 18px 38px rgba(0, 0, 0, .18); direction: rtl; }
.trust-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #dedfdd; font-size: .8rem; font-weight: 600; }
.trust-item + .trust-item { border-right: 1px solid #424446; }
.trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; color: var(--white); }
.trust-icon svg { width: 25px; height: 25px; }

.services-section { position: relative; z-index: 3; margin-top: -54px; padding: 28px 0 48px; background: var(--cream); border-radius: 24px 24px 0 0; }
.services-section .section-heading { margin-bottom: 22px; }
.services-section .section-heading .section-tag { padding: 5px 16px; color: var(--ink); background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 999px; }
.services-section .section-heading .section-tag::before, .services-section .section-heading .section-tag::after { display: none; }
.services-section .section-heading h2 { margin-bottom: 4px; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.services-section .section-heading h2 em { color: var(--orange); font-style: normal; }
.services-section .section-heading p { font-size: .86rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-reference { display: block; width: 100%; height: auto; border-radius: 16px; background: #f3f1ee; }
.footer-image-section { padding: 0 0 56px; background: var(--cream); }
.footer-image-section .container { position: relative; }
.footer-reference-image { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); }
.footer-reference-cta { position: absolute; top: 74%; right: 17%; bottom: 9%; left: 49%; border-radius: 999px; }
.service-card { min-height: 145px; padding: 17px 12px 14px; border: 0; border-radius: 14px; background: #f3f1ee; text-align: center; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 8px; color: var(--orange-dark); background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.service-icon svg { width: 38px; height: 38px; }
.service-card h3 { margin-bottom: 2px; font-size: .96rem; font-weight: 800; }
.service-card p { margin-bottom: 0; color: #4e4a45; font-size: .75rem; line-height: 1.55; }

/* ===== Services grid (interactive tiles) ===== */
.services-stack { display: block; margin-top: 28px; }
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.row-bar {
  /* Hidden by default. JS toggles .is-open on mobile to slide it in. */
  display: none;
}
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 16px;
  background: #f3f1ee;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: inherit;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.service-tile::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.service-tile:hover { background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-tile:hover::before,
.service-tile[aria-expanded="true"]::before { transform: scaleX(1); }
.service-tile[aria-expanded="true"] { background: var(--white); box-shadow: var(--shadow); }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.svc-svg { width: 76px; height: 76px; display: block; }
.svc-title { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.svc-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  transition: transform .3s ease, background .25s ease, color .25s ease;
}
.service-tile[aria-expanded="true"] .svc-chev {
  transform: rotate(180deg);
  background: var(--orange);
  color: var(--white);
}

/* Expand/collapse detail panel using grid-template-rows trick (desktop behavior) */
.svc-detail {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  transition: grid-template-rows .35s ease, margin-top .35s ease;
  margin-top: 0;
}
.service-tile[aria-expanded="true"] .svc-detail {
  grid-template-rows: 1fr;
  margin-top: 14px;
}
.svc-detail-inner { overflow: hidden; min-height: 0; }
.svc-detail-inner h4 { display: none; }
.svc-detail-inner p {
  margin: 0;
  padding: 14px 16px;
  background: var(--orange-soft);
  border-radius: 12px;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.85;
  border-right: 3px solid var(--orange);
  text-align: start;
}

/* ===== Mobile / PWA: keep 3 columns × 2 rows ===== */
@media (max-width: 720px) {
  .services-stack { margin-top: 22px; }
  .svc-row { gap: 10px; }
  .service-tile { padding: 18px 10px 12px; border-radius: 14px; }
  .svc-svg { width: 56px; height: 56px; }
  .svc-title { font-size: .9rem; margin-bottom: 6px; line-height: 1.25; }
  .svc-icon { margin-bottom: 8px; }
  .svc-chev { width: 24px; height: 24px; }
  .svc-chev svg { width: 12px; height: 12px; }

  /* On mobile, hide the in-tile detail and use a full-width bar below the row instead */
  .service-tile .svc-detail { display: none; }
  .service-tile[aria-expanded="true"] { background: var(--white); }

  .row-bar {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    transition: grid-template-rows .4s ease, margin-top .35s ease;
  }
  .row-bar.is-open {
    grid-template-rows: 1fr;
    margin-top: 12px;
  }
  .row-bar-inner {
    overflow: hidden;
    min-height: 0;
    background: var(--orange-soft);
    border-radius: 14px;
    border-right: 3px solid var(--orange);
    padding: 14px 16px;
    color: var(--ink);
    text-align: start;
  }
  .row-bar-inner h4 {
    margin: 0 0 6px;
    font-size: .98rem;
    font-weight: 800;
    color: var(--orange-dark);
  }
  .row-bar-inner p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--ink);
  }
}

@media (max-width: 480px) {
  .svc-row { gap: 8px; }
  .service-tile { padding: 14px 6px 10px; border-radius: 12px; }
  .svc-svg { width: 46px; height: 46px; }
  .svc-title { font-size: .78rem; line-height: 1.25; margin-bottom: 4px; }
  .svc-icon { margin-bottom: 6px; }
  .svc-chev { width: 22px; height: 22px; }
  .svc-chev svg { width: 11px; height: 11px; }
  .row-bar.is-open { margin-top: 10px; }
  .row-bar-inner { padding: 12px 14px; border-radius: 12px; }
  .row-bar-inner h4 { font-size: .9rem; }
  .row-bar-inner p { font-size: .84rem; line-height: 1.7; }
}

@media (max-width: 380px) {
  .svc-row { gap: 6px; }
  .service-tile { padding: 12px 4px 8px; }
  .svc-title { font-size: .72rem; }
  .svc-svg { width: 42px; height: 42px; }
  .row-bar-inner { padding: 10px 12px; }
  .row-bar-inner p { font-size: .78rem; }
}

.process-section { padding-top: 12px; background: var(--cream); }
.process-shell { position: relative; overflow: hidden; padding: 52px 48px 45px; color: var(--white); background: var(--dark); border-radius: 28px; box-shadow: 0 24px 60px rgba(21, 21, 21, .14); }
.process-shell::before { content: ""; position: absolute; top: -180px; right: 8%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 130, 32, .2), transparent 68%); pointer-events: none; }
.process-heading { position: relative; max-width: 620px; margin-bottom: 50px; }
.process-heading h2 { margin-bottom: 10px; }
.process-heading h2 em { color: var(--orange); font-style: normal; }
.process-heading p { color: #aaaeb3; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.process-timeline::before { content: ""; position: absolute; top: 31px; right: 10%; left: 10%; height: 1px; background: linear-gradient(90deg, transparent, #555a60 12%, #555a60 88%, transparent); }
.process-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; color: var(--orange); background: var(--dark-soft); border: 1px solid #44484e; border-radius: 50%; }
.process-icon svg { width: 27px; height: 27px; }
.process-index { position: absolute; top: -10px; right: calc(50% - 44px); display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; color: var(--white); background: var(--orange); border: 3px solid var(--dark); border-radius: 50%; font-size: .68rem; font-weight: 700; }
.process-step h3 { margin: 19px 0 6px; font-size: 1rem; }
.process-step p { margin: 0; color: #aeb2b6; font-size: .8rem; line-height: 1.8; }

.request-section { position: relative; overflow: hidden; background: #f3eee7; }
.request-section::before { content: ""; position: absolute; top: 12%; left: -100px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 130, 32, .14), transparent 68%); pointer-events: none; }
.request-layout { position: relative; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 9%; }
.request-copy h2 { max-width: 600px; margin-bottom: 16px; }
.request-copy > p { max-width: 600px; margin-bottom: 18px; font-size: 1rem; }
.request-note { display: flex; align-items: center; gap: 10px; max-width: 470px; margin: 15px 0 23px; color: var(--muted); font-size: .84rem; }
.request-note-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--orange-dark); background: var(--orange-soft); border-radius: 12px; }
.phone-panel { position: relative; padding: 22px 20px 25px; color: var(--ink); background: #fffdf9; border: 7px solid #25282b; border-radius: 29px; box-shadow: 0 25px 45px rgba(44, 32, 18, .18); transform: rotate(2deg); }
.phone-panel::before { content: ""; position: absolute; top: 7px; right: 50%; width: 75px; height: 14px; background: #25282b; border-radius: 0 0 12px 12px; transform: translateX(50%); }
.phone-panel-head { display: flex; align-items: center; justify-content: space-between; margin: 7px 0 16px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.phone-status { color: var(--orange-dark); }
.phone-task { padding: 18px 15px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 9px 20px rgba(44, 32, 18, .06); }
.phone-task p { min-height: 105px; margin-bottom: 12px; color: var(--ink); font-size: .88rem; font-weight: 600; line-height: 1.9; }
.tw-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .65rem; }
.tw-progress { display: flex; gap: 4px; }
.tw-progress i { width: 6px; height: 6px; background: var(--line); border-radius: 99px; }
.tw-progress i.active { width: 17px; background: var(--orange); }
.phone-checklist { display: grid; gap: 9px; padding: 0; margin: 18px 0 0; list-style: none; color: #5c5750; font-size: .74rem; }
.phone-checklist li { display: flex; align-items: center; gap: 9px; }
.phone-checklist li span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--orange-dark); background: var(--orange-soft); border-radius: 50%; font-size: .68rem; font-weight: 700; }
/* ===== Stats strip (data-driven from /api/content) ===== */
.stats-strip {
  display: flex; align-items: stretch; justify-content: space-around; flex-wrap: wrap;
  gap: 14px;
  margin-top: 70px; padding: 22px 18px;
  color: var(--white); background: var(--dark);
  border-radius: 20px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .35);
}
.stats-strip .stat-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  flex: 1 1 0; min-width: 110px;
  padding: 6px 14px;
  position: relative;
  text-align: center;
}
.stats-strip .stat-cell + .stat-cell::before {
  content: "";
  position: absolute; right: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, #41454a 30%, #41454a 70%, transparent);
}
.stats-strip .stat-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  color: var(--orange);
  background: rgba(245, 130, 32, .12);
  border-radius: 50%;
  margin-bottom: 4px;
}
.stats-strip .stat-icon svg { display: block; }
.stats-strip .stat-cell strong {
  color: var(--white); font-family: Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.7rem); line-height: 1.2; font-weight: 800;
  letter-spacing: -.01em;
}
.stats-strip .stat-cell .stat-label {
  margin-top: 2px;
  color: #b4b7bb; font-size: .82rem; line-height: 1.4;
}

/* ===== Floating WhatsApp button ===== */
.whatsapp-fab {
  position: fixed; right: 18px; bottom: 18px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 999px;
  text-decoration: none;
  font: inherit; font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .55), 0 4px 10px -2px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pop .55s cubic-bezier(.2, .8, .2, 1.2) both;
}
.whatsapp-fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .65), 0 6px 14px -2px rgba(0, 0, 0, .3); }
.whatsapp-fab:focus-visible { outline: 3px solid #ffe082; outline-offset: 3px; }
.whatsapp-fab[hidden] { display: none !important; }
.whatsapp-fab svg { display: block; flex-shrink: 0; }
.whatsapp-fab-label { white-space: nowrap; }
.whatsapp-fab::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(37, 211, 102, .35), transparent 70%);
  z-index: -1;
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pop {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wa-pulse {
  0%   { transform: scale(.9);  opacity: .55; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab, .whatsapp-fab::before { animation: none; }
}
@media (max-width: 480px) {
  .whatsapp-fab { right: 14px; bottom: 14px; padding: 11px 14px; font-size: .86rem; }
  .whatsapp-fab-label { display: none; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

.form-section { background: var(--white); }
.form-layout { display: grid; grid-template-columns: 1fr; align-items: start; gap: 0; }
.form-intro { padding-top: 28px; }
.form-intro h2 { margin-bottom: 16px; }
.form-intro > p { font-size: 1.02rem; }
.form-points { display: grid; gap: 12px; padding: 0; margin: 26px 0; list-style: none; color: var(--ink-soft); font-size: .9rem; }
.form-points li { display: flex; align-items: center; gap: 9px; }
.form-points li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--white); background: var(--orange); border-radius: 50%; font-size: .75rem; }
.phone-link { display: inline-flex; direction: ltr; align-items: center; color: var(--orange-dark); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.form-card { padding: clamp(24px, 5vw, 48px); background: var(--cream); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.form-video { display: flex; justify-content: center; margin-top: 28px; }
.form-video-player { display: block; width: min(420px, 100%); aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: 22px; }
.form-card-head { margin-bottom: 24px; }
.form-card-head > span { color: var(--orange-dark); font-size: .8rem; font-weight: 700; }
.form-card-head h3 { margin: 5px 0 0; font-size: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 15px; }
.field > span, .field legend { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.field legend { padding: 0; }
.field legend em { color: var(--muted); font-size: .78rem; font-style: normal; font-weight: 400; }
fieldset.field { padding: 0; margin-inline: 0; margin-block: 0 20px; border: 0; }
.control { position: relative; display: block; }
input[type="text"], input[type="tel"], textarea { width: 100%; min-height: 50px; padding: 13px 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
textarea { min-height: 135px; resize: vertical; line-height: 1.8; }
input:focus, textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 130, 32, .12); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; cursor: pointer; }
.radios label:has(input:checked) { color: var(--orange-dark); border-color: var(--orange); background: var(--orange-soft); }
.radios input { accent-color: var(--orange); }
.err { display: block; min-height: 1.2em; color: #c0392b; font-size: .78rem; }
.form-status { min-height: 1.4em; margin: 12px 0 0; color: #c0392b; font-size: .85rem; text-align: center; }
#submitBtn { min-height: 54px; border: 0; }
#success-view { padding: 20px 0; text-align: center; }
.success-check { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 16px; color: var(--white); background: var(--orange); border-radius: 50%; font-size: 1.8rem; }
#success-view h3 { font-size: 1.7rem; }
.ref { color: var(--muted); font-size: .85rem; }
.text-link { color: var(--orange-dark); font-weight: 700; text-decoration: none; }

.faq-section { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 9%; }
.faq-heading { margin: 0; text-align: right; }
.faq-heading h2 { margin-bottom: 12px; }
.faq-heading p { margin: 0; }
.accordion { display: grid; gap: 10px; }
.acc { padding: 5px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; color: var(--ink-soft); font-weight: 700; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; font-weight: 400; }
.acc[open] summary::after { content: "−"; }
.acc p { margin: 0; padding: 0 0 15px; font-size: .9rem; }

.site-footer { padding: 46px 0 28px; color: var(--white); background: var(--dark); }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-symbol { display: inline-flex; width: 58px; height: 58px; overflow: hidden; background: var(--white); border-radius: 16px; }
.footer-symbol img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 1.05rem; }
.footer-brand span { color: #aeb2b6; font-size: .8rem; }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a { color: #d3d5d7; font-size: .86rem; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid #3a3d42; }
.copy { margin: 0; color: #92979d; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

.hero-image-section { padding: 0; background: var(--cream); }
.hero-image-section::before, .hero-image-section::after { display: none; }
.hero-image-section .container { width: min(1180px, 100%); overflow: hidden; border-radius: 0 0 34px 34px; }
.hero-reference-image { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .nav-shell { min-height: 70px; grid-template-columns: 1fr auto auto; gap: 16px; }
  .brand-symbol { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 1.3rem; }
  .nav-cta { min-height: 42px; padding: 8px 17px; font-size: .8rem; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 3%; left: 3%; display: grid; gap: 0; padding: 10px; visibility: hidden; opacity: 0; background: rgba(255, 253, 249, .98); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  body.nav-open .nav-links { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links a:hover, .nav-links a.active { color: var(--orange-dark); background: var(--orange-soft); }
  .nav-links a::after { display: none; }
  .hero-inner { min-height: 690px; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 68px 0 30px; }
  .hero-art { min-height: 350px; }
  .hero-card-mark { top: 5%; right: 34%; width: 190px; height: 190px; }
  .hero-ring { top: 0; right: 26%; width: 250px; height: 320px; }
  .hero-side-note { top: 24%; left: 5%; }
  .hero-art-label { right: 36%; bottom: 4%; }
  .process-shell { padding-inline: 30px; }
  .process-timeline { gap: 8px; }
  .process-step h3 { font-size: .9rem; }
  .process-step p { font-size: .72rem; }
  .request-layout, .form-layout, .faq-layout { grid-template-columns: 1fr; gap: 46px; }
  .request-copy { max-width: 700px; }
  .phone-panel { width: min(330px, 86%); margin-inline: auto; }
  .form-intro { padding-top: 0; }
  .faq-heading { text-align: center; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(1180px, 90%); }
  .section { padding: 58px 0; }
  h2 { font-size: 1.9rem; }
  .site-header { background: rgba(247, 244, 238, .97); }
  .nav-shell { width: 94%; gap: 9px; }
  .brand-symbol { width: 39px; height: 39px; border-radius: 13px; }
  .brand-copy small { font-size: .6rem; }
  .nav-cta { display: none; }
  .hero-section { padding-bottom: 52px; }
  .hero-inner { min-height: 660px; width: 90%; }
  .hero-copy { padding: 52px 0 18px; }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-copy > p { font-size: .95rem; line-height: 1.9; }
  .hero-art { min-height: 310px; }
  .hero-card-mark { top: 5%; right: 24%; width: 175px; height: 175px; }
  .hero-ring { top: 0; right: 16%; width: 230px; height: 300px; }
  .hero-side-note { top: 23%; left: 0; font-size: .95rem; }
  .hero-side-note strong { font-size: 2rem; }
  .hero-art-label { right: 27%; bottom: 2%; }
  .trust-bar { min-height: 92px; padding: 0 8px; border-radius: 22px; }
  .trust-item { font-size: .65rem; }
  .trust-icon { width: 30px; height: 30px; }
  .trust-icon svg { width: 21px; height: 21px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading p { font-size: .88rem; }
   .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
   .service-card { min-height: 150px; padding: 12px 5px 10px; border-radius: 12px; }
   .service-icon { width: 48px; height: 48px; margin-bottom: 7px; border-radius: 0; }
   .service-icon svg { width: 32px; height: 32px; }
   .service-card h3 { font-size: .72rem; line-height: 1.35; }
   .service-card p { font-size: .6rem; line-height: 1.45; overflow-wrap: anywhere; }
  .process-section { padding-top: 0; }
  .process-shell { padding: 36px 17px 28px; border-radius: 21px; }
  .process-heading { margin-bottom: 34px; }
  .process-timeline { grid-template-columns: 1fr; gap: 22px; }
  .process-timeline::before { top: 8%; right: auto; bottom: 8%; left: 31px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, #555a60 10%, #555a60 90%, transparent); }
  .process-step { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 17px; text-align: right; }
  .process-icon { grid-row: 1 / 3; }
  .process-index { top: -7px; right: 42px; }
  .process-step h3 { margin: 4px 0 3px; font-size: .92rem; }
  .process-step p { font-size: .72rem; }
  .request-layout { gap: 30px; }
  .request-copy h2 { font-size: 1.9rem; }
  .request-copy > p { font-size: .92rem; }
  .request-note { align-items: flex-start; font-size: .76rem; }
  .phone-panel { width: min(310px, 90%); }
  .stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 32px;
    padding: 16px 12px;
  }
  .stats-strip .stat-cell {
    flex: none; min-width: 0;
    padding: 12px 8px;
    background: rgba(255, 255, 255, .04);
    border-radius: 12px;
    gap: 4px;
  }
  .stats-strip .stat-cell + .stat-cell::before { display: none; }
  .stats-strip .stat-icon { width: 28px; height: 28px; margin-bottom: 2px; }
  .stats-strip .stat-icon svg { width: 18px; height: 18px; }
  .stats-strip .stat-cell strong { font-size: 1.15rem; }
  .stats-strip .stat-cell .stat-label { font-size: .68rem; margin-top: 0; }
  .form-layout { gap: 30px; }
  .form-card { padding: 24px 16px; border-radius: 20px; }
  .form-video { margin-top: 18px; }
  .form-video-player { width: min(360px, 100%); border-radius: 16px; }
  .form-card-head h3 { font-size: 1.55rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  input[type="text"], input[type="tel"], textarea { font-size: 16px; }
  .radios { display: grid; grid-template-columns: 1fr; }
  .radios label { padding: 10px 13px; }
  .faq-layout { gap: 26px; }
  .acc { padding-inline: 15px; }
  .acc summary { min-height: 56px; font-size: .9rem; }
  .site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .footer-main { gap: 22px; }
  .footer-links { flex-wrap: wrap; gap: 10px 20px; }
  .footer-bottom { gap: 12px; margin-top: 26px; }
}

@media (max-width: 620px) {
  .hero-image-section .container { border-radius: 0 0 24px 24px; }
  .services-section { margin-top: -38px; padding-top: 12px; padding-bottom: 12px; }
  .process-section { padding-bottom: 4px; }
  .footer-image-section { padding-top: 0; padding-bottom: 8px; }
  .services-section .section-heading { position: relative; top: -18px; margin-bottom: -2px; }
  .services-section .section-heading .section-tag { padding: 6px 18px; font-size: 1rem; }
}

@media (max-width: 900px) {
  .process-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; overflow: visible; padding-bottom: 4px; }
  .process-timeline::before { display: none; }
  .process-step { display: flex; min-width: 0; text-align: center; }
  .process-icon { width: 40px; height: 40px; }
  .process-icon svg { width: 20px; height: 20px; }
  .process-index { top: -7px; right: calc(50% - 28px); width: 16px; height: 16px; font-size: .5rem; }
  .process-step h3 { margin: 8px -2px 0; font-size: .62rem; line-height: 1.25; overflow-wrap: anywhere; }
  .process-step p { display: none; }
  .process-step:not(:last-child)::after { content: "←"; position: absolute; top: 10px; left: -5px; color: var(--orange); font-size: 12px; font-weight: 700; }
}

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