/* Qabel website styles.
   Brand: Navy / Gold / Cream. Fonts are self-hosted (see /fonts). */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Zain'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/zain-arabic-700-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Zain'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/zain-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zain'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/zain-arabic-800-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Zain'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/zain-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/ibm-plex-sans-arabic-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #2C3340;
  --navy-deep: #1E2530;
  --navy-soft: #38414F;
  --gold: #E8A842;
  --gold-ink: #8A5A0B;          /* gold for small text on light surfaces */
  --cream: #F0EDE6;
  --paper: #FAF8F3;
  --ink: #232A35;
  --muted: #566273;
  --line: rgba(44, 51, 64, 0.14);
  --on-navy: #F0EDE6;
  --on-navy-muted: #A9B4C4;
  --line-on-navy: rgba(240, 237, 230, 0.12);
  --sev-crit: #E5645A;
  --sev-high: #E8A842;
  --sev-mid: #7FB6C9;
  --wa: #1FA855;

  --font-display: 'Zain', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--navy-deep); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1.2;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #F2B95A; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924A; }
.btn-line { border: 1.5px solid rgba(240, 237, 230, 0.35); color: var(--on-navy); }
.btn-line:hover { border-color: var(--on-navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 1rem; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(30, 37, 48, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-navy);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-navy); }
.brand-mark { flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.brand-sep { width: 1.5px; height: 1.4rem; background: var(--on-navy); opacity: 0.28; }
.brand-word { flex: none; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--on-navy-muted); font-size: 0.975rem; transition: color 0.18s ease; padding-block: 0.4rem; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--gold); }
.top-actions { display: flex; align-items: center; gap: 0.6rem; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; color: var(--on-navy);
  border: 1px solid var(--line-on-navy);
}

/* ---------- Hero ---------- */
.hero { background: var(--navy-deep); color: var(--on-navy); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::before {
  /* faint blueprint grid, the texture of an audit sheet */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-on-navy) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-navy) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 20% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.16; letter-spacing: -0.01em; margin-bottom: 1.4rem; text-wrap: balance; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-navy-muted); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-lead strong { color: var(--on-navy); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; color: var(--on-navy-muted); font-size: 0.925rem; }
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts svg { color: var(--gold); flex: none; }

/* The diagnostic report: the deliverable itself is the hero image */
.report { position: relative; margin: 0; }
.report-sheet {
  position: relative; background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: -12px 12px 0 0 var(--navy-soft), 0 34px 60px -18px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.report-title { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.2; }
.report-sub { font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; }
.report-stamp { flex: none; font-size: 0.75rem; font-weight: 600; color: var(--gold-ink); background: rgba(232, 168, 66, 0.16); border-radius: 999px; padding: 0.2rem 0.75rem; }
.finding { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.9rem; align-items: start; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.finding:last-of-type { border-bottom: 0; }
.sev { font-size: 0.78rem; font-weight: 600; text-align: center; border-radius: 6px; padding: 0.15rem 0; line-height: 1.7; }
.sev-crit { background: rgba(229, 100, 90, 0.14); color: #A8322A; }
.sev-high { background: rgba(232, 168, 66, 0.2); color: var(--gold-ink); }
.sev-mid { background: rgba(127, 182, 201, 0.22); color: #2B6379; }
.finding-t { font-weight: 600; font-size: 0.975rem; line-height: 1.55; }
.finding-a { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin-top: 0.1rem; }
.report-foot { margin-top: 0.6rem; padding: 0.8rem 1rem; background: var(--navy); color: var(--on-navy); border-radius: var(--radius-sm); font-size: 0.875rem; line-height: 1.6; display: flex; gap: 0.7rem; align-items: center; }
.report-foot svg { color: var(--gold); flex: none; }
.report figcaption { margin-top: 1.9rem; font-size: 0.8rem; color: var(--on-navy-muted); text-align: center; }
.scanline { position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .report .finding, .js .report .report-foot { opacity: 0; transform: translateY(6px); }
  .js .report.is-live .finding, .js .report.is-live .report-foot { animation: finding-in 0.45s ease forwards; animation-delay: calc(0.35s + var(--i, 0) * 0.32s); }
  .js .report.is-live .scanline { animation: scan 2.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s 1 forwards; }
}
@keyframes finding-in { to { opacity: 1; transform: none; } }
@keyframes scan { 0% { top: 4.5rem; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 3.6rem); opacity: 0; } }

/* ---------- Signals band ---------- */
.signals { background: var(--navy); color: var(--on-navy); border-top: 1px solid var(--line-on-navy); }
.signals-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.signal { padding: 1.5rem 1.75rem; border-inline-start: 1px solid var(--line-on-navy); font-size: 0.975rem; line-height: 1.7; color: var(--on-navy-muted); }
.signal:first-child { border-inline-start: 0; padding-inline-start: 0; }
.signal b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--on-navy); line-height: 1.4; margin-bottom: 0.15rem; }
.signal .src { display: block; font-size: 0.78rem; margin-top: 0.3rem; opacity: 0.8; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.sec-paper { background: var(--paper); }
.sec-navy { background: var(--navy-deep); color: var(--on-navy); }
.sec-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-h { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 0.7rem; text-wrap: balance; }
.sec-p { color: var(--muted); font-size: 1.06rem; }
.sec-navy .sec-p { color: var(--on-navy-muted); }

/* ---------- Services ---------- */
.proto { background: var(--navy-deep); color: var(--on-navy); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); margin-bottom: 2.5rem; }
.proto-h { font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--gold); margin-bottom: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.chip-new { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; background: var(--gold); color: var(--navy-deep); border-radius: 999px; padding: 0.1rem 0.7rem; line-height: 1.8; }
.proto p { color: var(--on-navy-muted); margin-bottom: 1.4rem; }
.proto-price { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.proto-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--on-navy); }
.proto-price .amount small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--on-navy-muted); }
.proto-list-t { font-size: 0.875rem; color: var(--on-navy-muted); margin-bottom: 0.5rem; }
.proto-list li { position: relative; padding: 0.6rem 0; padding-inline-start: 1.6rem; border-bottom: 1px solid var(--line-on-navy); font-size: 0.95rem; line-height: 1.65; }
.proto-list li:last-child { border-bottom: 0; }
.proto-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.95rem; width: 1rem; height: 1rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23E8A842' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.svc { padding: 1.75rem 1.6rem 1.9rem; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); background: transparent; transition: background-color 0.2s ease; }
.svc:hover { background: var(--paper); }
.svc-i { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.svc h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.svc p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.svc .svc-price { margin-top: 0.75rem; color: var(--gold-ink); font-weight: 600; font-size: 0.9rem; }

/* ---------- Work ---------- */
.case { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line-on-navy); }
.case:last-child { border-bottom: 1px solid var(--line-on-navy); }
.case-kind { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--gold); margin-bottom: 0.7rem; }
.case-kind span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; margin-inline: 0.6rem; vertical-align: middle; }
.case h3 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); line-height: 1.35; margin-bottom: 1.1rem; text-wrap: balance; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font-size: 0.8rem; line-height: 1.7; padding: 0.1rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-on-navy); color: var(--on-navy-muted); direction: ltr; }
.case-body { display: grid; gap: 1.4rem; }
.case-part h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: var(--gold); margin-bottom: 0.3rem; }
.case-part p { color: var(--on-navy-muted); font-size: 1rem; }
.case-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.75rem; }
.case-out li { position: relative; padding: 0.55rem 0; padding-inline-start: 1.5rem; border-top: 1px solid var(--line-on-navy); font-size: 0.925rem; line-height: 1.65; color: var(--on-navy); }
.case-out li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.85rem; width: 1rem; height: 1rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23E8A842' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.case-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold); font-weight: 600; font-size: 0.925rem; border-bottom: 1px solid rgba(232, 168, 66, 0.4); padding-bottom: 1px; justify-self: start; }
.case-link:hover { border-bottom-color: var(--gold); }
.work-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; color: var(--on-navy-muted); }

/* ---------- Products ---------- */
.qoupe { background: #0C111E; color: #EDE8DC; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.qoupe-threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; stroke: #D8B466; stroke-width: 1; opacity: 0.16; }
.qoupe > div { position: relative; }
.qoupe-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.25rem; }
.qoupe-mark { display: inline-flex; align-items: center; color: #D8B466; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; direction: ltr; }
.qoupe-mark svg { width: 1.15em; height: 1.15em; margin-inline-end: 0.02em; }
.qoupe-mark span { color: #EDE8DC; }
.qoupe-ar { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; padding-inline-start: 0.9rem; border-inline-start: 1.5px solid #D8B466; }
.qoupe-by { font-size: 0.8rem; color: #8F98AB; }
.qoupe h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; text-wrap: balance; }
.qoupe p { color: #B4BCCB; margin-bottom: 1.6rem; max-width: 34rem; }
.qoupe-cta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.btn-qoupe { background: #D8B466; color: #0C111E; }
.btn-qoupe:hover { background: #E5C47E; }
.qoupe-link { color: #D8B466; font-weight: 600; border-bottom: 1px solid rgba(216, 180, 102, 0.4); padding-bottom: 1px; }
.qoupe-link:hover { border-bottom-color: #D8B466; }
.qoupe-facts li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 0.95rem 0; border-top: 1px solid rgba(237, 232, 220, 0.12); }
.qoupe-facts li:last-child { border-bottom: 1px solid rgba(237, 232, 220, 0.12); }
.qoupe-facts b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: #D8B466; }
.qoupe-facts span { font-size: 0.95rem; line-height: 1.65; color: #D9D4C8; }

.products-h { font-size: 1.45rem; margin-bottom: 1.25rem; }
.products { display: grid; gap: 1.25rem; }
.product { display: grid; grid-template-columns: 208px minmax(0, 1fr) 232px; gap: 1.75rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.product-media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 3.5rem; line-height: 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-main { padding-block: 0.15rem; min-width: 0; }
.product-main h4 { font-size: 1.55rem; line-height: 1.25; }
.product-sub { font-size: 0.875rem; color: var(--muted); margin-top: 0.1rem; }
.product-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-top: 0.6rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.product-desc.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; }
.link-btn { color: var(--gold-ink); font-weight: 600; font-size: 0.875rem; padding: 0.35rem 0; border-bottom: 1px solid transparent; }
.link-btn:hover { border-bottom-color: currentColor; }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.pill { font-size: 0.8rem; line-height: 1.7; padding: 0.1rem 0.75rem; border-radius: 999px; background: var(--cream); color: var(--ink); }
.pills:not(.is-open) .pill-extra { display: none; }
.pill-more { font-size: 0.8rem; line-height: 1.7; padding: 0.1rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-ink); font-weight: 600; }
.pill-more:hover { border-color: var(--gold-ink); }
.product-buy { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 1.1rem; padding-inline-start: 1.75rem; border-inline-start: 1px solid var(--line); }
.prices { display: grid; gap: 0.55rem; }
.price { display: flex; align-items: baseline; gap: 0.55rem; }
.price b { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.1; direction: ltr; }
.price span { font-size: 0.85rem; color: var(--muted); }
.price-ask { font-size: 0.925rem; color: var(--muted); }
.product-buy .btn { width: 100%; }
.products-note { color: var(--muted); font-size: 0.95rem; padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; inset-inline: 22px; height: 1px; background: var(--line); }
.step { position: relative; counter-increment: step; }
.step::before {
  content: counter(step); position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 1.1rem;
  box-shadow: 0 0 0 8px var(--cream);
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about .sec-h { margin-bottom: 0; }
.about-text p { font-size: 1.08rem; color: var(--ink); margin-bottom: 1.1rem; max-width: 40rem; }
.about-text p.dim { color: var(--muted); font-size: 1rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 0.9rem; text-wrap: balance; }
.contact-p { color: var(--on-navy-muted); font-size: 1.1rem; max-width: 32rem; margin-bottom: 2rem; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.brief { border: 1px solid var(--line-on-navy); border-radius: var(--radius); padding: 1.6rem 1.75rem; }
.brief-t { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 0.6rem; }
.brief ol { counter-reset: b; }
.brief li { counter-increment: b; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 0.5rem; padding: 0.6rem 0; border-top: 1px solid var(--line-on-navy); font-size: 0.95rem; color: var(--on-navy-muted); line-height: 1.7; }
.brief li::before { content: counter(b); font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.15rem; line-height: 1.5; }

/* ---------- Footer ---------- */
.foot { background: #171D26; color: var(--on-navy-muted); padding-block: 2rem; font-size: 0.875rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot .brand-name { font-size: 1.3rem; }
.foot .brand-sep { height: 1.1rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot-nav a:hover { color: var(--gold); }

/* ---------- Floating WhatsApp (mobile) ---------- */
.fab { display: none; position: fixed; inset-inline-end: 1rem; bottom: 1rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product { grid-template-columns: 168px minmax(0, 1fr); gap: 1.25rem; }
  .product-buy { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; padding-inline-start: 0; border-inline-start: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
  .prices { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
  .product-buy .btn { width: auto; }
  .hero-grid, .proto, .qoupe, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .case { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .steps::before { display: none; }
  .report { max-width: 30rem; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid var(--line-on-navy);
    padding: 0.5rem var(--gutter) 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line-on-navy); font-size: 1.05rem; color: var(--on-navy); }
  .signals-in { grid-template-columns: minmax(0, 1fr); }
  .signal { border-inline-start: 0; border-top: 1px solid var(--line-on-navy); padding: 1.1rem 0; }
  .signal:first-child { border-top: 0; }
  .fab { display: inline-flex; }
  .foot { padding-bottom: 5.5rem; }
}
@media (max-width: 600px) {
  .product { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .product-media { aspect-ratio: 16 / 9; }
  .product-buy .btn { width: 100%; }
  .svc-grid, .steps, .case-out { grid-template-columns: minmax(0, 1fr); }
  .top .btn-sm { display: none; }
  .hero-cta .btn, .contact-btns .btn { flex: 1 1 100%; }
  .finding { grid-template-columns: 3.9rem minmax(0, 1fr); gap: 0.7rem; }
  .report-sheet { padding: 1.2rem 1.1rem 1rem; }
  .report-sheet { box-shadow: -8px 8px 0 0 var(--navy-soft), 0 24px 40px -18px rgba(0, 0, 0, 0.6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
