/* ── TOKENS ───────────────────────────────────────────────── */
:root {
    --green:        #3d2020;   /* dark red — site primary */
    --green-dark:   #2a1515;
    --green-light:  #faf4f4;
    --gold:         #c9a84c;
    --gold-hover:   #b8962e;
    --border:       #e8d4d4;
    --bg:           #fdf9f9;
    --shadow:       0 2px 12px rgba(61,32,32,.08);
    --text:         #1a1a1a;
    --text-muted:   #555;
    --radius:       10px;
    --font:         'Inter', system-ui, sans-serif;
}

/* ── RESET / BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.65; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.content-wrap { max-width: 780px; margin: 0 auto; }
.content-wrap h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 12px; color: var(--green-dark); }
.content-wrap h3 { font-size: 1.15rem; font-weight: 600; margin: 28px 0 8px; }
.content-wrap p { margin-bottom: 16px; }
.content-wrap ul, .content-wrap ol { margin-bottom: 16px; }
.content-wrap li { margin-bottom: 6px; }

/* ── HEADER ───────────────────────────────────────────────── */
.ib-header { background: var(--green-dark); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ib-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; max-width: 1080px; margin: 0 auto; }
.ib-logo { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.ib-logo span { color: var(--gold); }
.ib-nav { display: flex; align-items: center; gap: 4px; }
.ib-nav a { color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: background .15s; }
.ib-nav a:hover { background: rgba(255,255,255,.1); text-decoration: none; color: #fff; }
.ib-nav .ib-nav-cta { background: var(--gold); color: #1a1a1a; font-weight: 700; margin-left: 8px; }
.ib-nav .ib-nav-cta:hover { background: var(--gold-hover); }
.ib-hamburger { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.4rem; padding: 4px 8px; }
@media (max-width: 700px) {
    .ib-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--green-dark); padding: 12px 20px 20px; gap: 4px; }
    .ib-nav.open { display: flex; }
    .ib-hamburger { display: block; }
    .ib-nav .ib-nav-cta { margin: 8px 0 0; align-self: flex-start; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.ib-hero { background: var(--green-dark); color: #fff; padding: 56px 0 48px; }
.ib-hero .container { max-width: 820px; }
.ib-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ib-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.18; margin-bottom: 18px; }
.ib-hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 16px; }
.ib-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: .8rem; color: rgba(255,255,255,.65); }
.ib-breadcrumb { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 16px; display: flex; gap: 6px; align-items: center; }
.ib-breadcrumb a { color: rgba(255,255,255,.65); }
.ib-breadcrumb .sep { opacity: .5; }

/* ── HOMEPAGE ─────────────────────────────────────────────── */
.hp-hero { background: var(--green-dark); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.hp-hero-watermark { position: absolute; top: -20px; right: -30px; font-size: 280px; font-weight: 900; color: rgba(255,255,255,.03); pointer-events: none; line-height: 1; }
.hp-badge { display: inline-block; background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.35); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 22px; }
.hp-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.12; margin-bottom: 16px; }
.hp-hero h1 em { font-style: normal; color: var(--gold); }
.hp-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 28px; }
.hp-cta-btn { display: inline-block; background: var(--gold); color: #1a1a1a; font-weight: 800; font-size: 1rem; padding: 14px 28px; border-radius: 8px; transition: background .15s; }
.hp-cta-btn:hover { background: var(--gold-hover); text-decoration: none; }
.hp-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 32px; }
.hp-stat { padding: 0 24px 0 0; }
.hp-stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); margin-right: 0; }
.hp-stat-num { font-size: 1.9rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hp-stat-label { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 4px; }

.hp-browse { padding: 56px 0; background: var(--bg); }
.hp-section-header { text-align: center; margin-bottom: 36px; }
.hp-section-header h2 { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); }
.hp-section-header p { color: var(--text-muted); margin-top: 6px; }
.hp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.hp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; text-decoration: none; color: var(--text); }
.hp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.hp-card--gold { border-color: var(--gold); }
.hp-card--red { border-color: #c9a4a4; }
.hp-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hp-card-icon { font-size: 1.6rem; }
.hp-card-badge { font-size: .7rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--green-light); color: var(--green-dark); padding: 3px 8px; border-radius: 4px; }
.hp-card--gold .hp-card-badge { background: rgba(201,168,76,.15); color: #8a6f25; }
.hp-card-name { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.hp-card-rate { font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.hp-card-desc { font-size: .875rem; color: var(--text-muted); flex: 1; }
.hp-card-cta { font-size: .8rem; font-weight: 700; color: var(--green); margin-top: 14px; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.ib-section { padding: 56px 0; }
.ib-section:nth-child(even) { background: var(--bg); }

/* ── FACTS PANEL ──────────────────────────────────────────── */
.ib-facts-panel { background: var(--green-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 36px; }
.ib-facts-panel h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--green-dark); }
.ib-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.ib-fact-item { display: flex; flex-direction: column; gap: 2px; }
.ib-fact-label { font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.ib-fact-value { font-size: 1.1rem; font-weight: 800; color: var(--green-dark); }

/* ── TABLES ───────────────────────────────────────────────── */
.ib-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.ib-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ib-table th { background: var(--green-dark); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; font-size: .82rem; }
.ib-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ib-table tr:nth-child(even) td { background: var(--green-light); }
.ib-table tr:hover td { background: var(--border); }

/* ── STEPS ────────────────────────────────────────────────── */
.ib-steps { list-style: none; padding: 0; counter-reset: steps; margin: 20px 0 28px; }
.ib-steps li { counter-increment: steps; display: flex; gap: 16px; margin-bottom: 20px; }
.ib-steps li::before { content: counter(steps); min-width: 32px; height: 32px; background: var(--green-dark); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; margin-top: 2px; }
.ib-step-content strong { display: block; font-weight: 700; margin-bottom: 4px; }
.ib-step-content p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── CHECKLIST ────────────────────────────────────────────── */
.ib-checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.ib-checklist li { padding: 7px 0 7px 28px; position: relative; font-size: .925rem; border-bottom: 1px solid var(--border); }
.ib-checklist li:last-child { border-bottom: none; }
.ib-checklist li::before { content: '✓'; position: absolute; left: 0; top: 7px; color: var(--green-dark); font-weight: 800; }
.ib-checklist--no li::before { content: '✗'; color: #b33; }

/* ── FAQ ──────────────────────────────────────────────────── */
.ib-faq-list { margin: 16px 0; }
.ib-faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.ib-faq-q { font-weight: 600; padding: 16px 20px; cursor: pointer; list-style: none; font-size: .95rem; background: var(--green-light); display: flex; justify-content: space-between; align-items: center; }
.ib-faq-q::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--gold); flex-shrink: 0; margin-left: 12px; }
details[open] .ib-faq-q::after { content: '−'; }
.ib-faq-a { padding: 16px 20px; font-size: .9rem; background: #fff; }
.ib-faq-a p { margin: 0; }

/* ── ALERTS ───────────────────────────────────────────────── */
.ib-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius); margin: 24px 0; font-size: .9rem; }
.ib-alert--warn { background: #fff8e6; border: 1px solid #e6c84a; }
.ib-alert--red { background: #fef5f5; border: 1px solid #e8a4a4; }
.ib-alert--green { background: var(--green-light); border: 1px solid var(--border); }
.ib-alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ── D'EMILIA CTAs ────────────────────────────────────────── */
.ib-demilia-cta--t1 { background: var(--green-dark); color: #fff; padding: 48px 0; margin: 48px 0 0; }
.ib-demilia-cta--t1 .container { max-width: 700px; text-align: center; }
.ib-demilia-label { font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; }
.ib-demilia-cta--t1 h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 10px; }
.ib-demilia-cta--t1 p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.ib-demilia-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ib-demilia-btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: .9rem; transition: opacity .15s; }
.ib-demilia-btn:hover { opacity: .85; text-decoration: none; }
.ib-demilia-btn--wa { background: #25d366; color: #fff; }
.ib-demilia-btn--web { background: var(--gold); color: #1a1a1a; }

.ib-demilia-cta--t2-outer { padding: 0; margin: 32px 0; }
.ib-demilia-cta--t2 { background: var(--green-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.ib-demilia-cta--t2 p { color: var(--text-muted); margin: 8px 0 16px; font-size: .9rem; }
.ib-demilia-cta--t2 .ib-demilia-actions { justify-content: flex-start; }

/* ── LINKS GRID ───────────────────────────────────────────── */
.ib-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.ib-link-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .15s; text-decoration: none; color: var(--text); }
.ib-link-card:hover { box-shadow: var(--shadow); text-decoration: none; }
.ib-link-title { font-weight: 700; font-size: .9rem; color: var(--green-dark); }
.ib-link-desc { font-size: .8rem; color: var(--text-muted); }

/* ── ADS ──────────────────────────────────────────────────── */
.ib-ad-slot { padding: 20px 0; background: #fff; }
.ib-ad-unit { display: block; min-height: 90px; }

/* ── AUTHOR BOX ───────────────────────────────────────────── */
.ib-author-box { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 0; }
.ib-author-inner { display: flex; gap: 20px; align-items: flex-start; max-width: 780px; margin: 0 auto; padding: 0 20px; }
.ib-author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--green-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; flex-shrink: 0; }
.ib-author-name { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.ib-author-role { font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.ib-author-bio { font-size: .85rem; color: var(--text-muted); }

/* ── FOOTER ───────────────────────────────────────────────── */
.ib-footer { background: #111; color: rgba(255,255,255,.7); padding: 48px 0 24px; font-size: .875rem; }
.ib-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.ib-footer-brand .ib-logo { font-size: 1.1rem; margin-bottom: 12px; display: block; }
.ib-footer-brand p { color: rgba(255,255,255,.5); font-size: .8rem; line-height: 1.7; }
.ib-footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.ib-footer-col ul { list-style: none; padding: 0; }
.ib-footer-col li { margin-bottom: 8px; }
.ib-footer-col a { color: rgba(255,255,255,.65); }
.ib-footer-col a:hover { color: #fff; text-decoration: none; }
.ib-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.35); }
.ib-footer-disclaimer { margin-top: 12px; font-size: .75rem; color: rgba(255,255,255,.25); line-height: 1.6; }
@media (max-width: 700px) {
    .ib-footer-grid { grid-template-columns: 1fr 1fr; }
    .ib-footer-brand { grid-column: 1 / -1; }
    .hp-hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hp-stat:not(:last-child) { border-right: none; }
}

/* ── COOKIE BANNER ────────────────────────────────────────── */
#rpc-cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #222; color: rgba(255,255,255,.85); padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; z-index: 999; font-size: .85rem; }
#rpc-cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
.rpc-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
#rpc-cookie-accept, #rpc-cookie-reject { border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: .85rem; }
#rpc-cookie-accept { background: var(--gold); color: #1a1a1a; }
#rpc-cookie-reject { background: rgba(255,255,255,.12); color: #fff; }

/* ── PENALTY CALCULATOR ───────────────────────────────────── */
.rpc-calc-wrap { background: var(--green-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; margin: 24px 0 32px; max-width: 620px; }
.rpc-calc-wrap h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--green-dark); }
.rpc-calc-field { margin-bottom: 16px; }
.rpc-calc-field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 5px; color: var(--green-dark); }
.rpc-calc-field input, .rpc-calc-field select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: .95rem; font-family: var(--font); background: #fff; }
.rpc-calc-submit { background: var(--green-dark); color: #fff; border: none; padding: 12px 28px; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 8px; transition: background .15s; }
.rpc-calc-submit:hover { background: #1a0e0e; }
.rpc-calc-result { margin-top: 24px; padding: 20px; background: #fff; border-radius: 8px; border: 2px solid var(--green-dark); text-align: center; }
.rpc-calc-amount { font-size: 2.4rem; font-weight: 900; color: #c0392b; margin-bottom: 4px; }
.rpc-calc-label { font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }
.rpc-calc-breakdown { font-size: .85rem; color: var(--text-muted); background: var(--green-light); padding: 12px; border-radius: 6px; text-align: left; margin-bottom: 10px; }
.rpc-calc-disclaimer { font-size: .75rem; color: var(--text-muted); }

/* ── SCROLL TO TOP ────────────────────────────────────────── */
.ib-scroll-top.visible { opacity: 1; pointer-events: auto; }
