/* ==========================================================================
   دليل الملتقى — نظام التصميم (Mobile-first)
   ========================================================================== */
:root {
  --brand: #1597b8;
  --brand-dark: #0c6f8a;
  --brand-soft: #e6f5fa;
  --navy: #0b2540;
  --navy-2: #123a5e;
  --gold: #f2a93b;
  --gold-soft: #fff4e2;
  --wa: #1ebe5d;
  --wa-dark: #149a4a;
  --red: #d64545;
  --red-soft: #fdeeee;
  --green-soft: #e9f8ef;
  --bg: #f4f8fb;
  --text: #1c2b3a;
  --muted: #5b6b7d;
  --line: #e2eaf1;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 64, .18);
  --shadow-sm: 0 4px 14px -6px rgba(11, 37, 64, .14);
  --font: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 1.02rem;
  line-height: 1.85;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* مساحة شريط الجوال */
}

@media (min-width: 992px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); font-weight: 800; line-height: 1.45; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute; right: -999px; top: 8px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { right: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { max-width: 1200px; }

/* ---------- Buttons ---------- */
.btn-m {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-m:hover { transform: translateY(-2px); }
.btn-m-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 190, 93, .7); }
.btn-m-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-m-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 151, 184, .7); }
.btn-m-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-m-gold { background: var(--gold); color: var(--navy); }
.btn-m-gold:hover { background: #e39622; color: var(--navy); }
.btn-m-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-m-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-m-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-m-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-m-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar-note { margin: 0; display: none; }
.topbar-note i { color: var(--gold); margin-left: .3rem; }
.topbar-contact { display: flex; gap: 1rem; margin-inline-start: auto; }
.topbar-link { color: #fff; font-weight: 700; }
.topbar-link:hover { color: var(--gold); }
.topbar-wa i { color: #4ee38a; }
@media (min-width: 768px) { .topbar-note { display: block; } }

/* ---------- Main nav ---------- */
.site-header { position: sticky; top: 0; z-index: 900; }
.mainnav { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 992px) { .mainnav { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); } }
.mainnav-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand img { height: 46px; width: auto; display: block; }
.nav-toggle {
  margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* قائمة الجوال: لوحة كاملة أسفل الهيدر مباشرة */
.menu-wrap {
  position: absolute; top: 100%; right: 0; left: 0;
  height: calc(100vh - var(--header-h) - 36px);
  height: calc(100dvh - var(--header-h) - 36px);
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: .5rem 1.25rem calc(6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(11, 37, 64, .35);
  opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-open .menu-wrap { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.nav-open { overflow: hidden; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu > li { border-bottom: 1px solid var(--line); }
.menu-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .95rem .25rem; font-weight: 700; color: var(--navy); background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer;
}
.menu-link.is-active, .menu-link:hover { color: var(--brand-dark); }
.menu-link i { font-size: .7rem; transition: transform .2s; }
.drop { display: none; padding: 0 .25rem 1rem; }
.has-drop.is-open > .drop { display: block; }
.has-drop.is-open > .drop-toggle i { transform: rotate(180deg); }
.mega-col { margin-bottom: .75rem; }
@media (max-width: 991.98px) {
  .menu-link { font-size: 1.05rem; padding: 1rem .25rem; }
  .drop { background: var(--bg); border-radius: 12px; padding: .5rem .9rem .75rem; margin-bottom: .75rem; }
  .mega-col { padding: .25rem 0; border-bottom: 1px dashed var(--line); }
  .mega-col:last-child { border-bottom: 0; }
  .mega-link { padding: .5rem 0; font-size: 1rem; }
  .menu-cta .btn-m { padding: .9rem 1rem; }
}
.mega-title { display: block; font-weight: 800; color: var(--navy); padding: .35rem 0; border-bottom: 2px solid var(--brand-soft); margin-bottom: .25rem; }
.mega-link { display: block; padding: .35rem 0; color: var(--muted); font-size: .95rem; }
.mega-link:hover { color: var(--brand-dark); }
.menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.25rem; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .menu-wrap {
    position: static; transform: none; visibility: visible; opacity: 1; pointer-events: auto; height: auto;
    padding: 0; overflow: visible; background: none; border: 0; box-shadow: none;
    display: flex; align-items: center; flex: 1; gap: 1rem;
  }
  .menu { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
  .menu > li { border: 0; position: relative; }
  .menu-link { padding: .6rem .8rem; border-radius: 10px; gap: .4rem; font-size: .97rem; }
  .menu-link:hover, .menu-link.is-active { background: var(--brand-soft); }
  .drop {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 260px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem;
  }
  .has-drop:hover > .drop, .has-drop:focus-within > .drop { display: block; }
  .has-drop::after { content: ''; position: absolute; inset: 100% 0 auto 0; height: 12px; }
  .mega { width: min(980px, 92vw); right: 50%; transform: translateX(50%); display: none; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { display: grid; }
  .menu-cta { display: flex; margin: 0; gap: .5rem; }
  .menu-cta .btn-m { padding: .7rem 1.1rem; font-size: .92rem; }
}

/* ---------- Sections ---------- */
.sec { padding: 3.5rem 0; }
.sec-alt { background: var(--bg); }
.sec-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
@media (min-width: 992px) { .sec { padding: 5rem 0; } }

.sec-head { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 800; color: var(--brand-dark);
  background: var(--brand-soft); padding: .35rem .85rem; border-radius: 999px; margin-bottom: .75rem;
}
.sec-dark .sec-kicker { background: rgba(255, 255, 255, .1); color: var(--gold); }
.sec-title { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.15rem); margin: 0 0 .75rem; }
.sec-lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sec-dark .sec-lead { color: rgba(255, 255, 255, .78); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(21, 151, 184, .45), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(242, 169, 59, .18), transparent 60%),
    linear-gradient(160deg, #0b2540 0%, #0f3152 60%, #0b2540 100%);
  padding: 3rem 0 3.5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 992px) { .hero { padding: 4.5rem 0 5rem; } .hero-grid { grid-template-columns: 1.25fr .9fr; gap: 3rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #e6f5fa;
}
.hero-badge i { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); margin: 1rem 0; line-height: 1.35; }
.hero h1 .hl { color: var(--gold); }
.hero-lead { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: .35rem .75rem; border-radius: 999px;
}
.hero-chips i { color: #5fd6f2; }

.contact-card {
  background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 22px; padding: 1.5rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .6);
}
.contact-card h2, .contact-card .cc-title { font-size: 1.2rem; margin: 0 0 .25rem; color: var(--navy); font-weight: 800; }
.contact-card .cc-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.cc-row {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--line);
  margin-bottom: .65rem; transition: .15s; color: var(--text);
}
.cc-row:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--text); }
.cc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.cc-icon.wa { background: var(--green-soft); color: var(--wa-dark); }
.cc-icon.call { background: var(--brand-soft); color: var(--brand-dark); }
.cc-icon.mail { background: var(--gold-soft); color: #b46d06; }
.cc-label { display: block; font-size: .8rem; color: var(--muted); }
.cc-value { display: block; font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.cc-note { font-size: .78rem; color: var(--muted); margin: .75rem 0 0; display: flex; gap: .4rem; }
.cc-note i { color: var(--brand); margin-top: .3rem; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: -2rem; position: relative; z-index: 2; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-size: 1.6rem; color: var(--brand-dark); font-weight: 800; line-height: 1.2; }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- Cards ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-2, .grid-3, .grid-4 { gap: 1.25rem; } }

.card-m {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; height: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-m:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe3ee; }
.card-m h3 { font-size: 1.12rem; margin: .75rem 0 .5rem; }
.card-m p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--brand-soft); color: var(--brand-dark); }
.card-icon.gold { background: var(--gold-soft); color: #b46d06; }
.card-icon.red { background: var(--red-soft); color: var(--red); }
.card-icon.green { background: var(--green-soft); color: var(--wa-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem 1.25rem; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -16px; right: 1.25rem; width: 36px; height: 36px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(21, 151, 184, .7);
}
.step h3 { font-size: 1.05rem; margin: .5rem 0; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Region / city browser ---------- */
.city-search { max-width: 520px; margin: 0 auto 1.75rem; position: relative; }
.city-search input {
  width: 100%; padding: .95rem 3rem .95rem 1rem; border-radius: 999px; border: 2px solid var(--line); font: inherit; font-size: 1rem; background: #fff;
}
.city-search input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.city-search i { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.region-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.region-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.region-head h3 { font-size: 1.1rem; margin: 0; }
.region-head a { font-size: .85rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .92rem; transition: .15s;
}
.chip i { color: var(--brand); font-size: .8rem; }
.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip:hover i { color: #fff; }
.chip[hidden] { display: none; }
.no-results { text-align: center; color: var(--muted); display: none; }

/* ---------- Checklist / lists ---------- */
.check-list, .x-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li, .x-list li { position: relative; padding: .45rem 2rem .45rem 0; }
.check-list li::before, .x-list li::before {
  font-family: 'Font Awesome 5 Pro'; font-weight: 900; position: absolute; right: 0; top: .5rem;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem;
}
.check-list li::before { content: '\f00c'; background: var(--green-soft); color: var(--wa-dark); }
.x-list li::before { content: '\f00d'; background: var(--red-soft); color: var(--red); }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .calc { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.calc-form, .calc-result { background: #fff; border-radius: 20px; padding: 1.5rem; border: 1px solid var(--line); color: var(--text); }
.calc-field { margin-bottom: 1rem; }
.calc-field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--navy); }
.calc-field input, .calc-field select, .form-m input, .form-m select, .form-m textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 2px solid var(--line); font: inherit; background: #fff; color: var(--text);
}
.calc-field input:focus, .calc-field select:focus, .form-m input:focus, .form-m select:focus, .form-m textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.calc-hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; display: block; }
.meter { height: 14px; background: var(--bg); border-radius: 99px; overflow: hidden; margin: 1rem 0 .5rem; border: 1px solid var(--line); }
.meter-bar { height: 100%; width: 0; background: var(--wa); border-radius: 99px; transition: width .4s ease, background .3s; }
.calc-big { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.calc-status { display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-weight: 800; font-size: .9rem; margin: .5rem 0; }
.calc-status.ok { background: var(--green-soft); color: var(--wa-dark); }
.calc-status.warn { background: var(--gold-soft); color: #a3600a; }
.calc-status.bad { background: var(--red-soft); color: var(--red); }
.calc-rows { list-style: none; margin: 1rem 0 0; padding: 0; }
.calc-rows li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.calc-rows strong { color: var(--navy); }
.calc-disclaimer { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Glossary ---------- */
.glossary { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 768px) { .glossary { grid-template-columns: repeat(2, 1fr); } }
.glossary div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; border-right: 4px solid var(--brand); }
.glossary dt { font-weight: 800; color: var(--navy); margin-bottom: .25rem; }
.glossary dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cfe3ee; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 1.2rem; transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; background: var(--brand); color: #fff; }
.faq .faq-a { padding: 0 1.25rem 1.15rem; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }

/* ---------- Article page ---------- */
.page-hero {
  color: #fff; padding: 1.5rem 0 2rem;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(21, 151, 184, .45), transparent 60%),
    linear-gradient(160deg, #0b2540 0%, #10355a 100%);
}
@media (min-width: 992px) { .page-hero { padding: 2rem 0 3rem; } }
.crumbs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .85rem; }
.crumbs li { color: rgba(255, 255, 255, .65); }
.crumbs li + li::before { content: '‹'; margin: 0 .35rem; color: rgba(255, 255, 255, .4); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); font-weight: 700; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
@media (min-width: 992px) { .page-hero-grid { grid-template-columns: 1.4fr .85fr; gap: 2.5rem; } }
.page-hero h1 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.35rem); margin: .5rem 0 .75rem; }
.page-hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .85rem; color: rgba(255, 255, 255, .75); padding: 0; margin: 1rem 0 0; list-style: none; }
.article-meta i { color: #5fd6f2; margin-left: .3rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.page-hero .contact-card { padding: 1.25rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2rem 0 3rem; }
.article-main, .article-aside { min-width: 0; }
@media (min-width: 992px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; padding: 3rem 0 4rem; } }
.article-aside { order: -1; }
@media (min-width: 992px) { .article-aside { order: 0; } .aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); } }

.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toc summary, .toc .toc-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1rem 1.15rem; font-weight: 800; color: var(--navy);
  background: linear-gradient(90deg, var(--brand-soft), #fff); cursor: pointer; list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .toc-count { font-size: .78rem; background: var(--brand); color: #fff; border-radius: 999px; padding: .1rem .55rem; }
.toc summary::after { content: '\f078'; font-family: 'Font Awesome 5 Pro'; font-weight: 900; font-size: .75rem; color: var(--brand-dark); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: .5rem .75rem 1rem; counter-reset: toc; max-height: 60vh; overflow-y: auto; }
.toc li a {
  display: flex; gap: .6rem; padding: .5rem .6rem; border-radius: 10px; color: var(--muted); font-size: .93rem; line-height: 1.6; border-right: 3px solid transparent;
}
.toc li.lvl-2 > a::before { counter-increment: toc; content: counter(toc); flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--bg); color: var(--brand-dark); font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: .15rem; }
.toc li.lvl-3 a { padding-right: 2.3rem; font-size: .87rem; }
.toc li a:hover { background: var(--bg); color: var(--navy); }
.toc li a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; border-right-color: var(--brand); }

.aside-card { margin-top: 1rem; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 1.25rem; display: none; }
@media (min-width: 992px) { .aside-card { display: block; } }
.aside-card h2, .aside-card .ac-title { color: #fff; font-size: 1.05rem; margin: 0 0 .4rem; font-weight: 800; }
.aside-card p { color: rgba(255, 255, 255, .78); font-size: .9rem; }
.aside-card .btn-m { width: 100%; margin-top: .5rem; }

.summary-box {
  background: linear-gradient(135deg, var(--brand-soft), #f7fcfe); border: 1px solid #c9e9f3; border-radius: var(--radius);
  padding: 1.25rem 1.4rem; margin-bottom: 2rem; position: relative;
}
.summary-box .sb-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--brand-dark); margin: 0 0 .5rem; font-size: 1.05rem; }
.summary-box ul { margin: 0; padding-right: 1.2rem; }
.summary-box li { margin-bottom: .3rem; }

.prose { font-size: 1.06rem; line-height: 2; color: #24364a; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--brand-soft); position: relative; }
.prose h2::after { content: ''; position: absolute; bottom: -2px; right: 0; width: 70px; height: 2px; background: var(--brand); }
.prose h3 { font-size: 1.18rem; margin: 1.75rem 0 .75rem; color: var(--navy-2); }
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose ol { padding-right: 1.4rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--brand); font-weight: 800; }
.prose strong { color: var(--navy); }
.prose a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(21, 151, 184, .35); text-underline-offset: 4px; }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.prose .check-list, .prose .x-list { padding-right: 0; }

.box { border-radius: 14px; padding: 1.1rem 1.25rem 1.1rem 1.25rem; margin: 1.5rem 0; border: 1px solid; position: relative; padding-right: 3.4rem; }
.box::before {
  font-family: 'Font Awesome 5 Pro'; font-weight: 900; position: absolute; right: 1.1rem; top: 1.1rem; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: .9rem; color: #fff;
}
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box-title { display: block; font-weight: 800; margin-bottom: .3rem; color: var(--navy); }
.box-tip { background: var(--green-soft); border-color: #bfe9cf; }
.box-tip::before { content: '\f0eb'; background: var(--wa); }
.box-warn { background: var(--red-soft); border-color: #f4c7c7; }
.box-warn::before { content: '\f071'; background: var(--red); }
.box-info { background: var(--brand-soft); border-color: #c9e9f3; }
.box-info::before { content: '\f05a'; background: var(--brand); }
.box-note { background: var(--gold-soft); border-color: #f6dcb0; }
.box-note::before { content: '\f249'; background: var(--gold); }

.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; margin: 1.5rem 0; border-radius: 14px; border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; background: #fff; }
.tbl th { background: var(--navy); color: #fff; font-weight: 700; padding: .8rem 1rem; text-align: right; }
.tbl td { padding: .75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:nth-child(even) td { background: #f9fbfd; }

.key-points { display: grid; gap: .75rem; margin: 1.5rem 0; }
@media (min-width: 768px) { .key-points { grid-template-columns: repeat(2, 1fr); } }
.key-point { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.key-point strong { display: block; margin-bottom: .25rem; }
.key-point span { color: var(--muted); font-size: .94rem; }

.checklist-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin: 2.5rem 0; }
.checklist-card h2 { font-size: 1.2rem; margin: 0 0 1rem; border: 0; padding: 0; }
.checklist-card h2::after { display: none; }

.author-box { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-top: 2.5rem; }
.author-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.author-box strong { display: block; color: var(--navy); }
.author-box p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; }

.inline-cta {
  display: grid; gap: 1rem; align-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: 20px; padding: 1.5rem; margin: 2.5rem 0;
}
@media (min-width: 768px) { .inline-cta { grid-template-columns: 1fr auto; padding: 1.75rem 2rem; } }
.inline-cta .ic-title { color: #fff; font-size: 1.2rem; font-weight: 800; margin: 0 0 .25rem; }
.inline-cta p { color: rgba(255, 255, 255, .78); margin: 0; font-size: .95rem; }
.inline-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Guide cards ---------- */
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: .2s; color: var(--text); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg); }
.guide-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.guide-tag { font-size: .78rem; font-weight: 800; color: var(--brand-dark); }
.guide-body h3 { font-size: 1.05rem; margin: .35rem 0 .5rem; }
.guide-body p { color: var(--muted); font-size: .92rem; margin: 0 0 .75rem; flex: 1; }
.guide-more { font-weight: 800; font-size: .9rem; color: var(--brand-dark); }

/* ---------- Trust / about strip ---------- */
.trust-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 992px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.trust-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.trust-panel dl { margin: 0; display: grid; gap: .75rem; }
.trust-panel dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px dashed var(--line); }
.trust-panel dt { color: var(--muted); font-weight: 500; }
.trust-panel dd { margin: 0; font-weight: 800; color: var(--navy); text-align: left; }

.compare { display: grid; gap: 1rem; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); background: #fff; }
.compare-col.yes { border-top: 5px solid var(--wa); }
.compare-col.no { border-top: 5px solid var(--red); }
.compare-col h3 { font-size: 1.1rem; margin: 0 0 .75rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 2.5rem; } }
.form-m { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.form-m .row-2 { display: grid; gap: 1rem; }
@media (min-width: 576px) { .form-m .row-2 { grid-template-columns: 1fr 1fr; } }
.form-m label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--navy); }
.form-m .fg { margin-bottom: 1rem; }
.form-m .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form-m .consent input { width: auto; margin-top: .45rem; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.alert-m { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 500; }
.alert-m.ok { background: var(--green-soft); color: #0f6b35; }
.alert-m.err { background: var(--red-soft); color: #9b2c2c; }
.alert-m ul { margin: 0; padding-right: 1.1rem; }

/* ---------- Error page ---------- */
.error-page { text-align: center; padding: 4rem 0; }
.error-code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; color: var(--brand); line-height: 1; }

/* ---------- Footer ---------- */
.footer-disclaimer { background: var(--bg); padding: 2rem 0; border-top: 1px solid var(--line); }
.disclaimer-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.disclaimer-card i { font-size: 1.4rem; color: var(--brand); margin-top: .35rem; }
.disclaimer-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; } }
.footer-brand { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.footer-about p { font-size: .93rem; }
.footer-facts { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.footer-facts li { margin-bottom: .35rem; }
.footer-facts i, .footer-col a i, .footer-hours i { color: var(--brand); margin-left: .4rem; width: 16px; }
.footer-title { color: #fff; font-size: 1rem; margin: 0 0 1rem; font-weight: 800; }
.footer-col > a, .footer-hours { display: block; color: rgba(255, 255, 255, .75); padding: .3rem 0; font-size: .93rem; }
.footer-col > a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; font-size: .85rem; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .85); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; margin-bottom: .6rem; }
.footer-legal a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; right: 0; left: 0; z-index: 950; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 37, 64, .25);
}
.mobile-bar-btn { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .8rem; border-radius: 12px; font-weight: 800; color: #fff; }
.mobile-bar-btn:hover { color: #fff; }
.mb-call { background: var(--brand); }
.mb-wa { background: var(--wa); }
@media (min-width: 992px) { .mobile-bar { display: none; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Region page: situations list ---------- */
.situations { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; gap: .75rem; }
.situations a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem;
  color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.situations a:hover { border-color: #cfe3ee; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.sit-text { font-weight: 700; flex: 1 1 320px; }
.sit-guide { font-weight: 800; font-size: .92rem; color: var(--brand-dark); background: var(--brand-soft); padding: .35rem .8rem; border-radius: 999px; }
