/* Site Factory base theme. Colours come from the per-site palette in :root
   (written into each page by the builder), so sites look different while
   sharing one well-tested stylesheet. */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #5b6b82;
  --line: #e3e8ef;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --surface-2: #eef2f7;
  --brand: #12355b;
  --brand-ink: #ffffff;
  --brand-soft: #e7eef7;
  --cta: #f26b1d;
  --cta-ink: #ffffff;
  --cta-hover: #d9590f;
  --wa: #1fa855;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .07);
  --shadow-lg: 0 2px 6px rgba(15, 27, 45, .08), 0 24px 48px rgba(15, 27, 45, .12);
  --max: 1180px;
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--cta-hover); }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 800; margin-top: 1.6em; }
h3 { font-size: 1.22rem; font-weight: 700; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cta); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 18px rgba(242, 107, 29, .32); }
.btn-cta:hover { background: var(--cta-hover); color: var(--cta-ink); transform: translateY(-1px); }
.btn-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(.95); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--cta)); display: grid; place-items: center; color: #fff; font-size: .95rem; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang { font-size: .85rem; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.menu-btn .ic { width: 24px; height: 24px; display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, var(--brand-soft), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-copy .answer { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.hero-media { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: linear-gradient(135deg, #2b4c72, #f2a065); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.img-pending { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-weight: 700; letter-spacing: .02em; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--wa); flex: none; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2 { margin-top: .3em; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 10px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.card h3 { margin: 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }
.icon-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icon-badge svg { width: 24px; height: 24px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; box-shadow: 0 6px 14px rgba(18, 53, 91, .25); }
.steps h3 { margin-top: .4em; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Article layout */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 40px 0 72px; }
.prose { min-width: 0; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2em 0 1.6em; font-size: .96rem; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.content-img { margin: 8px 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.content-img img { width: 100%; height: auto; }
.video { margin: 8px 0 32px; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0f17; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.yt:hover img, .yt:focus-visible img { transform: scale(1.02); opacity: .92; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border-radius: 16px; background: rgba(15, 27, 45, .82); color: #fff; display: grid; place-items: center; transition: background .2s ease; }
.yt-play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { background: #e62117; }
.yt-time { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; }
.video figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.video figcaption small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.answer-box { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 1.08rem; color: var(--ink); margin: 0 0 24px; }
.answer-box strong { color: var(--brand); }
.keypoints { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; }
.partner-prices { background: var(--brand-soft); border: 2px solid var(--brand); border-radius: var(--radius); padding: 20px 24px 8px; margin: 0 0 32px; }
.partner-prices h2 { margin-top: 0; }
.partner-prices table { background: var(--bg); margin: .8em 0 1em; }
.partner-prices .num { white-space: nowrap; font-weight: 700; }
.partner-prices-intro { margin: 0; }
.partner-prices-updated { font-size: .9rem; color: var(--muted); }
.keypoints h2 { font-size: 1rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.keypoints ul { margin: 0; padding-left: 1.2em; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .9rem; margin: 6px 0 22px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 28px; font-size: .95rem; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.inline-cta { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--brand), #1e4f86); color: #fff; border-radius: var(--radius); padding: 24px 26px; margin: 34px 0; }
.inline-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.inline-cta strong { display: block; font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; }
.sources ol { padding-left: 1.2em; }
.related { margin-top: 36px; }
.related .grid { grid-template-columns: repeat(2, 1fr); }
.aside-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 16px; color: var(--ink-2); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .93rem; text-decoration: none; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }

/* Lead form */
.lead { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lg); }
.lead h2, .lead .lead-title { font-size: 1.35rem; margin: 0 0 4px; font-weight: 800; }
.lead .lead-sub { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.lead fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.lead legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-block; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; background: var(--bg); }
.opts input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.opts input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: 6px 0 14px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.hp { position: absolute; left: -5000px; }
.lead .steps-nav { display: flex; gap: 10px; }
.lead.js .step2 { display: none; }
.lead.js.on2 .step1 { display: none; }
.lead.js.on2 .step2 { display: block; }
.lead-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Final CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), #1b4a7c); color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: rgba(255, 255, 255, .88); }

/* Footer */
.site-footer { background: #0b1626; color: #c7d1df; padding: 56px 0 120px; margin-top: 72px; font-size: .95rem; }
.site-footer a { color: #e7edf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }

/* Floating WhatsApp + mobile bar */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31, 168, 85, .45); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }
.mobile-bar { display: none; }

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

@media (max-width: 1024px) {
  .hero .wrap, .article, .cta-band { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aside-sticky { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-cta .tel, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; box-shadow: var(--shadow); }
  .grid-3, .grid-2, .related .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; gap: 28px; }
  .inline-cta { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { min-height: 46px; padding: 10px 14px; font-size: .92rem; white-space: nowrap; }
  .wa-float { bottom: 84px; right: 14px; width: 54px; height: 54px; }
}
.footer-note { font-size: 13px; opacity: .75; margin: 24px 0 0; }
/* Real photos: the credit (author, licence, source) under the photo; on a hero, over its lower edge. */
.photo-credit { font-size: 12px; line-height: 1.45; color: var(--muted); padding: 8px 12px 10px; background: var(--bg); }
.photo-credit a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.photo-place { color: var(--ink-2); }
.hero-media .photo-credit { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; text-align: right; color: rgba(255, 255, 255, .92); background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }
.hero-media .photo-place { color: #fff; }
.photo-credits { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 22px; }
.photo-credits > li { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; padding: 0; }
.photo-credits > li::before { content: none; }
.photo-credits img { width: 200px; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.photo-credits h2 { font-size: 1.05rem; margin: 0 0 6px; }
.photo-credits ul { margin: 0; padding-left: 18px; font-size: .93rem; }
@media (max-width: 560px) { .photo-credits > li { grid-template-columns: 1fr; } .photo-credits img { width: 100%; } }
