/* ==========================================================================
   Tamweeliq — public site styles (RTL-first, logical properties)
   ========================================================================== */
:root {
  --brand: #0b5f50;
  --brand-600: #0d7563;
  --brand-500: #14a37f;
  --brand-50: #e9f6f2;
  --brand-25: #f4faf8;
  --dark: #062a24;
  --dark-2: #0a3a32;
  --ink: #0f1f2a;
  --text: #2c3d47;
  --muted: #5d6e78;
  --line: #e2e9e7;
  --bg: #ffffff;
  --bg-soft: #f5f8f7;
  --accent: #f0b429;
  --accent-600: #de9f12;
  --accent-ink: #2b2000;
  --danger: #c62f3b;
  --warn-bg: #fff7e6;
  --warn-line: #f6d79a;
  --info-bg: #eef6ff;
  --info-line: #c9def7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6, 42, 36, .06), 0 2px 8px rgba(6, 42, 36, .05);
  --shadow: 0 10px 30px rgba(6, 42, 36, .10), 0 2px 6px rgba(6, 42, 36, .05);
  --shadow-lg: 0 30px 60px rgba(4, 28, 24, .25);
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-500) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; }
[dir="rtl"] .icon--arrow { transform: scaleX(-1); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .6em 1.4em; border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; text-align: center; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(11, 95, 80, .25); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(240, 180, 41, .35); }
.btn--accent:hover { background: var(--accent-600); color: var(--accent-ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--brand-50); color: var(--dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--sm { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: .8em 1.8em; font-size: 1.08rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ------------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.35rem; font-weight: 700; }
.brand__text small { font-size: .72rem; color: var(--muted); letter-spacing: .06em; font-weight: 500; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text small { color: rgba(255, 255, 255, .6); }
.nav { flex: 1; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; justify-content: center; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-50); }
.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .92rem; }
.lang-switch:hover { background: var(--bg-soft); color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20, 163, 127, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(240, 180, 41, .18), transparent 60%),
    linear-gradient(160deg, #073a31 0%, #062a24 55%, #04201b 100%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1' d='M32 4 38 26 60 32 38 38 32 60 26 38 4 32 26 26Z'/%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 64px 80px; }
.hero--compact .hero__inner { padding-block: 48px 64px; align-items: start; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.25; margin: 18px 0 18px; letter-spacing: -.01em; }
.hero h1 span { color: var(--accent); }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero__points { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.hero__points .icon { color: var(--accent); background: rgba(240, 180, 41, .14); border-radius: 50%; padding: 3px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; font-weight: 500; color: #d7f3ea; }
.badge .icon { color: var(--brand-500); }

/* ------------------------------------------------------------------- card */
.card { background: #fff; color: var(--text); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 28px; }
.card__head h2 { font-size: 1.35rem; margin-bottom: 4px; }
.card__head p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }

/* ------------------------------------------------------------ apply form */
.apply { position: relative; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid var(--line); transition: color .2s, border-color .2s; }
.steps li span { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-soft); font-size: .78rem; flex-shrink: 0; }
.steps li.is-active, .steps li.is-done { color: var(--brand); border-color: var(--brand-500); }
.steps li.is-active span, .steps li.is-done span { background: var(--brand); color: #fff; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-2--gap { gap: 24px; }
.field { margin-bottom: 14px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .82rem; }
.field__hint { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.field__error { display: block; color: var(--danger); font-size: .82rem; margin-top: 4px; min-height: 0; }
.field__error:empty { display: none; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
textarea.input { min-height: 70px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235d6e78' stroke-width='1.8' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 36px; }
[dir="ltr"] select.input { background-position: right 14px center; }
.input:hover { border-color: #c8d4d1; }
.input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(20, 163, 127, .14); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(198, 47, 59, .1); }
.input::placeholder { color: #9aa8b0; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type__box { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 12px; font-size: .86rem; font-weight: 600; color: var(--text); transition: all .15s; height: 100%; line-height: 1.35; }
.type__box .icon { color: var(--brand-600); }
.type:hover .type__box { border-color: #b9d9cf; }
.type input:checked + .type__box { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand); box-shadow: 0 0 0 3px rgba(20, 163, 127, .12); }
.type input:focus-visible + .type__box { outline: 3px solid rgba(20, 163, 127, .4); }
.seg { display: flex; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { flex: 1; cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 8px 10px; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .15s; }
.seg input:checked + span { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 2px solid var(--brand-500); }
.seg--sm { margin-bottom: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text); cursor: pointer; line-height: 1.6; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }
.apply__nav { display: flex; gap: 10px; margin-top: 8px; }
.apply__nav .btn--primary, .apply__nav .btn--accent { flex: 1; }
.apply__secure, .apply__ref { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.apply__ref { color: var(--brand); font-weight: 600; margin-top: 6px; }
.apply__alert { background: #fdecee; color: var(--danger); border: 1px solid #f5c2c7; padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 14px; }

/* -------------------------------------------------------------------- stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-size: 2rem; color: var(--brand); line-height: 1.2; font-weight: 700; }
.stat strong small { font-size: 1rem; font-weight: 600; color: var(--brand-600); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: 80px; }
.section--tint { background: var(--bg-soft); }
.section--dark { background: linear-gradient(160deg, #073a31, #062a24); color: rgba(255, 255, 255, .85); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section__head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(255, 255, 255, .72); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--brand-600); background: var(--brand-50); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

.page-head { background: linear-gradient(160deg, #073a31, #062a24); color: rgba(255, 255, 255, .8); padding-block: 48px 52px; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 6px 0 8px; }
.page-head p { max-width: 760px; margin: 0; font-size: 1.06rem; }
.crumbs { font-size: .88rem; display: flex; gap: 8px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }

/* products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product h3 { font-size: 1.15rem; margin-top: 16px; }
.product p { color: var(--muted); font-size: .95rem; }
.product__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.product__icon--lg { width: 68px; height: 68px; border-radius: 18px; flex-shrink: 0; }
.product__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.ticks .icon { color: var(--brand-500); flex-shrink: 0; margin-top: 4px; }
.ticks--lg li { font-size: 1rem; }
.ticks--inline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.product-row { display: flex; gap: 24px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; background: #fff; scroll-margin-top: 100px; }
.product-row__body { flex: 1; }
.product-row h2 { font-size: 1.35rem; }
.product-row p { color: var(--muted); }

/* how */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.how__step { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-sm); position: relative; }
.how__num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 16px; }
.how__step h3 { font-size: 1.1rem; }
.how__step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* rules */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.rule { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--brand-25); border: 1px solid #dcefe8; }
.rule__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.rule h3 { font-size: 1.02rem; margin-bottom: 4px; }
.rule p { margin: 0; font-size: .92rem; color: var(--text); }

/* panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.panel__title .icon { color: var(--brand); }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-500), var(--brand)); color: #fff; margin-bottom: 14px; }
.feature h3 { font-size: 1.06rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid; margin-block: 20px; }
.notice p { margin: 0; }
.notice h2 { font-size: 1.1rem; margin-bottom: 4px; }
.notice .icon { flex-shrink: 0; margin-top: 3px; }
.notice--warn { background: var(--warn-bg); border-color: var(--warn-line); color: #6b4a00; }
.notice--warn .icon { color: #c98a00; }
.notice--info { background: var(--info-bg); border-color: var(--info-line); color: #1d3b5c; }
.notice--info .icon { color: #2d6cb5; }
.notice--glass { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); font-size: .92rem; }
.notice--glass .icon { color: var(--accent); }

/* disclosure */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.fact { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.fact span { display: block; font-size: .86rem; color: rgba(255, 255, 255, .65); margin-bottom: 6px; }
.fact strong { color: #fff; font-size: 1.05rem; font-weight: 600; }
.example { padding: 24px; border-radius: 14px; background: rgba(240, 180, 41, .08); border: 1px dashed rgba(240, 180, 41, .5); margin-bottom: 28px; }
.example h3 { color: var(--accent); font-size: 1.1rem; }
.example p:last-child { margin: 0; color: rgba(255, 255, 255, .6); }

/* calculator */
.calc { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.calc__tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.calc__tabs button { flex: 1; border: 0; background: transparent; padding: 16px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.calc__tabs button.is-active { color: var(--brand); border-color: var(--brand-500); background: #fff; }
.calc__body { display: grid; grid-template-columns: 1.15fr .85fr; }
.calc__inputs { padding: 32px; }
.calc__pane { display: none; }
.calc__pane.is-active { display: block; }
.range { margin-bottom: 26px; }
.range__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; }
.range__head label { font-weight: 600; color: var(--ink); }
.range__head output { font-weight: 700; color: var(--brand); font-size: 1.1rem; white-space: nowrap; }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(to left, var(--brand-500) var(--p, 50%), #e1e8e6 var(--p, 50%)); outline: none; }
[dir="ltr"] input[type="range"] { background: linear-gradient(to right, var(--brand-500) var(--p, 50%), #e1e8e6 var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: var(--shadow-sm); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.calc__result { background: linear-gradient(160deg, #073a31, #062a24); color: #fff; padding: 32px; display: flex; flex-direction: column; }
.calc__label { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.calc__big { display: block; font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1.3; margin-bottom: 18px; }
.calc__rows { margin: 0 0 20px; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.calc__rows dt { color: rgba(255, 255, 255, .72); }
.calc__rows dd { margin: 0; font-weight: 600; white-space: nowrap; }
.calc__apr dd { color: var(--accent); }
.calc__warn { background: rgba(240, 180, 41, .14); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: #ffe4a3; }
.calc__note { font-size: .78rem; color: rgba(255, 255, 255, .55); margin: 14px 0 0; }
.calc__result .btn { margin-top: auto; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cfe5dd; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--text); }

/* cta */
.cta { padding-block: 0 80px; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 48px; border-radius: 24px; background: linear-gradient(120deg, var(--brand) 0%, #0a4a3f 100%); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(240, 180, 41, .12); inset-inline-end: -120px; top: -160px; }
.cta h2 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.cta p { margin: 0; }
.cta .btn { position: relative; }

/* prose / tables */
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; width: 45%; }
.table .hl th, .table .hl td { background: var(--brand-50); color: var(--brand); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); transition: box-shadow .2s; }
a.contact-card:hover { box-shadow: var(--shadow); color: var(--muted); }
.contact-card strong { color: var(--ink); font-size: 1.05rem; }

/* thanks */
.thanks__icon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--brand-50); color: var(--brand); box-shadow: 0 0 0 12px var(--brand-25); }
.thanks__icon--muted { font-size: 1.8rem; font-weight: 700; }
.thanks h1 { font-size: 2rem; }
.thanks__next { text-align: start; margin-block: 28px 0; }
.numbered { padding-inline-start: 1.3em; margin: 0; }
.numbered li { margin-bottom: 6px; }

/* footer */
.footer { background: #041d19; color: rgba(255, 255, 255, .68); padding-top: 64px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__about p { margin-top: 16px; max-width: 340px; }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }
.footer__social { list-style: none; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 24px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; font-size: .84rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* whatsapp + cookie */
/* Floating WhatsApp contact (pill on desktop, circle on mobile) */
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 8px; padding-inline-end: 18px; border-radius: 999px; background: linear-gradient(135deg, #2bd46b, #1ebe5d); color: #fff; box-shadow: 0 10px 28px rgba(18, 140, 74, .35), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s; animation: wa-in .5s ease .6s both; }
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18, 140, 74, .45), 0 2px 6px rgba(0, 0, 0, .12); }
.wa-float__icon { position: relative; width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.wa-float__icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); animation: wa-pulse 2.4s ease-out infinite; }
.wa-float__text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.wa-float__text strong { font-size: .95rem; font-weight: 700; }
.wa-float__text small { font-size: .74rem; opacity: .88; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
.apply__ref a { color: #128c4a; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.wa-cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 24px auto 0; max-width: 520px; padding: 14px 22px; border-radius: 14px; background: #25d366; color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.wa-cta:hover { background: #1ebe5d; color: #fff; }
.cookie { position: fixed; bottom: 16px; inset-inline-end: 16px; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); z-index: 60; font-size: .88rem; }
.cookie p { margin: 0 0 12px; }
.cookie__actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
  .nav__mobile-cta { display: block; margin-top: 12px; }
  .burger { display: inline-flex; }
  .header__actions { margin-inline-start: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 56px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__points, .hero__actions { justify-content: center; }
  .how, .features, .facts { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .calc__body { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }
  .container { padding-inline: 16px; }
  .section { padding-block: 56px; }
  .section__head { margin-bottom: 32px; }
  .header__cta { display: none; }
  .lang-switch span { font-size: .85rem; }
  .brand__text strong { font-size: 1.2rem; }
  .logo { width: 38px; height: 38px; }
  .hero__inner { padding-block: 28px 40px; gap: 24px; }
  .hero h1 { font-size: 1.9rem; margin: 14px 0 10px; }
  .hero__lead { font-size: 1rem; line-height: 1.7; }
  .hero__points { margin: 16px 0 0; gap: 6px 14px; font-size: .9rem; }
  .page-home .hero__actions { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .badge { font-size: .8rem; }
  .cookie { padding: 12px 14px; font-size: .8rem; display: flex; gap: 10px; align-items: center; }
  .cookie p { margin: 0; flex: 1; line-height: 1.5; }
  .cookie__actions { flex-direction: column; gap: 6px; }
  .cookie .btn--sm { min-height: 34px; padding: 4px 14px; }
  .card { padding: 20px 16px; border-radius: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .type__box { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 9px 10px; font-size: .82rem; text-align: start; }
  .type__box .icon { width: 18px; height: 18px; flex-shrink: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat { border-top: 1px solid var(--line); padding: 20px 10px; }
  .stat strong { font-size: 1.6rem; }
  .how, .features, .features--3, .facts, .rules { grid-template-columns: 1fr; }
  .product-row { flex-direction: column; align-items: flex-start; padding: 22px; }
  .calc__inputs, .calc__result { padding: 22px 18px; }
  .calc__big { font-size: 2rem; }
  .cta__inner { flex-direction: column; text-align: center; padding: 32px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .table th, .table td { padding: 12px; font-size: .92rem; }
  .cookie { inset-inline: 12px; bottom: 12px; max-width: none; }
  .wa-float { bottom: 16px; inset-inline-start: 16px; padding: 6px; }
  .wa-float__text { display: none; }
  .wa-float__icon { width: 48px; height: 48px; background: transparent; }
  body:has(.cookie:not([hidden])) .wa-float { bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .footer, .wa-float, .cookie, .cta { display: none !important; }
}
