/* ============================================================
   SubastasBOE.es — Global Stylesheet
   ============================================================ */

:root {
  --primary:        #1a3a5c;
  --primary-light:  #2d5f8a;
  --primary-dark:   #0d1f32;
  --secondary:      #c9a227;
  --secondary-light:#e8cc7a;
  --secondary-dark: #9a7b1a;
  --accent:         #e74c3c;
  --success:        #27ae60;
  --warning:        #f39c12;
  --info:           #2980b9;
  --bg:             #f5f7fa;
  --bg-white:       #ffffff;
  --text:           #1e2d3d;
  --text-md:        #4a6072;
  --text-light:     #8a9bb0;
  --border:         #dde5ee;
  --shadow-xs:      0 1px 4px rgba(0,0,0,.07);
  --shadow-sm:      0 2px 10px rgba(0,0,0,.09);
  --shadow-md:      0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:      0 12px 48px rgba(0,0,0,.16);
  --radius:         10px;
  --radius-lg:      18px;
  --radius-xl:      28px;
  --transition:     .3s ease;
  --font-head:      'Montserrat', sans-serif;
  --font-body:      'Open Sans', sans-serif;
  --max-w:          1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.25; color: var(--primary); font-weight: 700; }
h1 { font-size: clamp(2rem,4vw,3rem); }
h2 { font-size: clamp(1.5rem,3vw,2.25rem); }
h3 { font-size: clamp(1.05rem,2vw,1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--text-md); line-height: 1.8; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section--alt    { background: var(--bg-white); }
.section--dark   { background: var(--primary-dark); color: #fff; }
.section--dark   h2,.section--dark h3 { color: #fff; }
.section--accent { background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); color: #fff; }
.section--accent h2,.section--accent h3 { color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.section-label { display: inline-block; background: rgba(201,162,39,.15); color: var(--secondary-dark); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 50px; margin-bottom: .9rem; }
.section--dark .section-label, .section--accent .section-label { background: rgba(255,255,255,.15); color: #fff; }
.section-title { margin-bottom: .75rem; }
.section-sub { font-size: 1.05rem; color: var(--text-md); max-width: 640px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; padding: .75rem 1.75rem; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,58,92,.35); }
.btn-secondary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .83rem; }

/* Cards */
.card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 2rem; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { width: 58px; height: 58px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; background: rgba(26,58,92,.09); color: var(--primary-light); }
.card-icon.gold  { background: rgba(201,162,39,.12); color: var(--secondary-dark); }
.card-icon.green { background: rgba(39,174,96,.1); color: var(--success); }
.card-icon.red   { background: rgba(231,76,60,.1); color: var(--accent); }
.card h3 { margin-bottom: .6rem; }
.card p  { color: var(--text-md); margin-bottom: 0; font-size: .93rem; }

/* Badges */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .65rem; border-radius: 50px; letter-spacing: .04em; }
.badge-success { background: rgba(39,174,96,.12);  color: var(--success); }
.badge-warning { background: rgba(243,156,18,.12); color: #c07d00; }
.badge-danger  { background: rgba(231,76,60,.12);  color: var(--accent); }
.badge-info    { background: rgba(41,128,185,.1);   color: var(--info); }
.badge-primary { background: rgba(26,58,92,.1);     color: var(--primary); }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 999; background: var(--bg-white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: box-shadow var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.navbar-logo { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--primary); }
.navbar-logo span { color: var(--secondary); }
.navbar-logo i { font-size: 1.3rem; color: var(--secondary); }
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-links a { color: var(--text); font-size: .87rem; font-weight: 600; padding: .45rem .8rem; border-radius: 6px; transition: all var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(26,58,92,.07); }
.nav-links .btn { margin-left: .5rem; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--primary); font-size: 1.4rem; padding: .3rem; }
.nav-mobile { display: none; flex-direction: column; background: var(--bg-white); border-top: 1px solid var(--border); padding: 1rem 1.25rem 1.5rem; gap: .25rem; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text); font-weight: 600; padding: .65rem .9rem; border-radius: 8px; display: block; font-size: .95rem; transition: all var(--transition); }
.nav-mobile a:hover { background: var(--bg); color: var(--primary); }
.nav-mobile .btn { margin-top: .75rem; width: 100%; justify-content: center; }

/* Hero */
.hero { background: linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 55%,var(--primary-light) 100%); color: #fff; padding: 5.5rem 0 4rem; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: 30px 30px; }
.hero-inner { display: grid; grid-template-columns: 1fr 400px; align-items: center; gap: 3rem; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(201,162,39,.2); color: var(--secondary-light); padding: .4rem 1rem; border-radius: 50px; font-size: .78rem; font-weight: 700; letter-spacing: .07em; margin-bottom: 1.5rem; border: 1px solid rgba(201,162,39,.3); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--secondary-light); font-style: normal; }
.hero p  { font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--secondary-light); line-height: 1; }
.hero-stat-label { font-size: .77rem; color: rgba(255,255,255,.55); margin-top: .3rem; }

/* Hero Visual Panel */
.hero-panel { background: rgba(255,255,255,.07); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl); padding: 1.75rem; }
.hero-panel-title { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--secondary-light); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
.mini-card { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: .6rem; transition: all .3s; }
.mini-card:hover { background: rgba(255,255,255,.14); }
.mini-card:last-child { margin-bottom: 0; }
.mini-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.mini-card-type { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary-light); }
.mini-card-badge { font-size: .67rem; font-weight: 700; padding: .15rem .55rem; border-radius: 50px; }
.mini-card-badge.activa { background: rgba(46,204,113,.2); color: #2ecc71; }
.mini-card-badge.plazo  { background: rgba(243,156,18,.2); color: var(--secondary-light); }
.mini-card-title { color: #fff; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.mini-card-info  { font-size: .75rem; color: rgba(255,255,255,.55); margin-bottom: .5rem; }
.mini-card-prices { display: flex; gap: 1.5rem; }
.mcp-label { font-size: .65rem; color: rgba(255,255,255,.4); display: block; margin-bottom: .15rem; }
.mcp-val   { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; }
.mcp-val.green { color: #2ecc71; }

/* Stats bar */
.stats-bar { background: var(--secondary); padding: 1.4rem 0; }
.stats-bar-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-num   { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(0,0,0,.5); font-weight: 600; margin-top: .2rem; }

/* Callouts */
.callout { border-radius: var(--radius); padding: 1.2rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; margin: 1.5rem 0; }
.callout i { font-size: 1.2rem; flex-shrink: 0; margin-top: .15rem; }
.callout-success { background: rgba(39,174,96,.08);  border-left: 4px solid var(--success); }
.callout-success i { color: var(--success); }
.callout-warning { background: rgba(243,156,18,.08); border-left: 4px solid var(--warning); }
.callout-warning i { color: var(--warning); }
.callout-danger  { background: rgba(231,76,60,.08);  border-left: 4px solid var(--accent); }
.callout-danger  i { color: var(--accent); }
.callout-info    { background: rgba(41,128,185,.08);  border-left: 4px solid var(--info); }
.callout-info    i { color: var(--info); }
.callout-body strong { display: block; margin-bottom: .3rem; font-family: var(--font-head); }
.callout-body p { margin: 0; font-size: .9rem; color: var(--text-md); }

/* Steps */
.steps { display: flex; flex-direction: column; position: relative; }
.steps::before { content: ''; position: absolute; left: 28px; top: 28px; bottom: 28px; width: 2px; background: var(--border); }
.step { display: flex; gap: 1.75rem; align-items: flex-start; padding: 1.75rem 0; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-num { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--bg-white), 0 0 0 7px var(--border); }
.step-num.gold { background: var(--secondary); }
.step-num.green { background: var(--success); }
.step-content { padding-top: .75rem; }
.step-content h3 { margin-bottom: .5rem; }
.step-content p  { color: var(--text-md); margin-bottom: 0; font-size: .93rem; }
.step-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: .35rem; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: .75rem; }
.accordion-item { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.accordion-btn { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text); transition: all var(--transition); }
.accordion-btn:hover { color: var(--primary); }
.accordion-btn i { transition: transform var(--transition); color: var(--primary-light); flex-shrink: 0; }
.accordion-item.open .accordion-btn i { transform: rotate(180deg); }
.accordion-item.open .accordion-btn { color: var(--primary); }
.accordion-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.accordion-item.open .accordion-body { padding: 0 1.5rem 1.5rem; max-height: 1200px; }
.accordion-body p { color: var(--text-md); font-size: .91rem; margin-bottom: .75rem; }
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body ul { list-style: disc; margin-left: 1.25rem; }
.accordion-body ul li { color: var(--text-md); font-size: .91rem; padding: .2rem 0; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: .6rem; }
.check-item { display: flex; align-items: flex-start; gap: .9rem; padding: .9rem 1.2rem; border-radius: var(--radius); background: var(--bg-white); border: 1px solid var(--border); cursor: pointer; transition: all var(--transition); user-select: none; }
.check-item:hover { border-color: var(--primary); }
.check-item.checked { border-color: var(--success); background: rgba(39,174,96,.04); }
.check-item.danger  { border-color: var(--accent);  background: rgba(231,76,60,.04); }
.check-box { width: 22px; height: 22px; border-radius: 5px; border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all var(--transition); background: var(--bg); color: transparent; font-size: .75rem; }
.check-item.checked .check-box { background: var(--success); border-color: var(--success); color: #fff; }
.check-item.danger  .check-box { background: var(--accent);  border-color: var(--accent);  color: #fff; }
.check-text strong { display: block; font-size: .91rem; margin-bottom: .15rem; }
.check-text span   { font-size: .8rem; color: var(--text-md); }

/* Comparison */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.comparison-table th { background: var(--primary); color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 700; padding: 1rem 1.25rem; text-align: left; }
.comparison-table td { padding: .9rem 1.25rem; font-size: .88rem; color: var(--text-md); border-bottom: 1px solid var(--border); background: var(--bg-white); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 600; color: var(--text); background: var(--bg); }
.comparison-table td.good { color: var(--success); font-weight: 600; }
.comparison-table td.bad  { color: var(--accent);  font-weight: 600; }

/* AdSense slots */
.ad-slot { background: var(--bg-white); border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; color: var(--text-light); font-size: .75rem; font-weight: 600; letter-spacing: .05em; display: flex; align-items: center; justify-content: center; margin: 2rem 0; }
.ad-slot--banner { min-height: 90px; }
.ad-slot--rect   { min-height: 250px; max-width: 336px; margin: 0 auto 2rem; }
.ad-slot--leader { min-height: 90px; max-width: 728px; margin: 2rem auto; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--text-light); padding: .9rem 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-md); }
.breadcrumb a:hover { color: var(--primary); }

/* TOC */
.toc { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-bottom: 2.5rem; }
.toc-title { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--primary); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.toc ol { counter-reset: toc; list-style: none; }
.toc ol li { counter-increment: toc; padding: .3rem 0; }
.toc ol li::before { content: counter(toc)". "; font-weight: 700; color: var(--secondary); font-family: var(--font-head); font-size: .85rem; }
.toc a { color: var(--text-md); font-size: .88rem; }
.toc a:hover { color: var(--primary); }

/* Blog cards */
.blog-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 175px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.bc-blue   { background: linear-gradient(135deg,#1a3a5c,#2d5f8a); }
.bc-gold   { background: linear-gradient(135deg,#c9a227,#e8cc7a); }
.bc-green  { background: linear-gradient(135deg,#27ae60,#52d68a); }
.bc-red    { background: linear-gradient(135deg,#e74c3c,#f1948a); }
.bc-purple { background: linear-gradient(135deg,#8e44ad,#bb8fce); }
.blog-card-body { padding: 1.5rem; }
.blog-card-tag  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--secondary-dark); margin-bottom: .55rem; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: .6rem; line-height: 1.45; }
.blog-card-body p  { font-size: .86rem; color: var(--text-md); margin-bottom: 1rem; }
.blog-card-meta    { font-size: .76rem; color: var(--text-light); display: flex; gap: 1rem; flex-wrap: wrap; }

/* Profile cards */
.profile-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 2rem; border: 2px solid var(--border); transition: all var(--transition); }
.profile-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.profile-icon { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--primary-light)); color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.profile-icon.young { background: linear-gradient(135deg,var(--secondary),var(--secondary-light)); color: var(--primary-dark); }
.profile-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .5rem; }
.profile-card h3 { margin-bottom: .75rem; }
.profile-list li { padding: .35rem 0; font-size: .88rem; color: var(--text-md); display: flex; gap: .6rem; align-items: flex-start; }
.profile-list li i { color: var(--success); flex-shrink: 0; margin-top: .25rem; font-size: .85rem; }

/* Risk cards */
.risk-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 1.5rem; border-left: 4px solid var(--accent); box-shadow: var(--shadow-xs); }
.risk-card.warning { border-left-color: var(--warning); }
.risk-card.info    { border-left-color: var(--info); }
.risk-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.risk-card h4 { font-size: .93rem; margin-bottom: .4rem; }
.risk-card p  { font-size: .83rem; color: var(--text-md); margin: 0; }

/* Calculator */
.calculator { background: var(--bg-white); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-md); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; font-family: var(--font-head); }
.form-group input, .form-group select { width: 100%; padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: .92rem; color: var(--text); background: var(--bg); transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); background: var(--bg-white); }
.calc-results { background: var(--primary); border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-top: 1.5rem; display: none; }
.calc-results.show { display: block; }
.calc-results h4 { color: var(--secondary-light); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-head); }
.result-row { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: .88rem; }
.result-row:last-child { border-bottom: none; }
.result-row strong { color: #fff; font-family: var(--font-head); font-size: 1rem; }
.result-row.highlight strong { color: var(--secondary-light); font-size: 1.2rem; }

/* Progress bars */
.progress-label { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .82rem; font-weight: 600; }
.progress-bar   { height: 9px; background: var(--bg); border-radius: 5px; overflow: hidden; margin-bottom: 1.2rem; }
.progress-fill  { height: 100%; border-radius: 5px; transition: width 1.2s ease; width: 0; }
.progress-fill.primary { background: var(--primary); }
.progress-fill.success { background: var(--success); }
.progress-fill.warning { background: var(--warning); }
.progress-fill.danger  { background: var(--accent); }

/* Info pills */
.info-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(26,58,92,.08); color: var(--primary); padding: .3rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 600; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg,var(--primary-dark),var(--primary)); border-radius: var(--radius-xl); padding: 3rem; color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .btn-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; margin-bottom: .75rem; }
.footer-brand-name span { color: var(--secondary); }
.footer-desc { font-size: .86rem; line-height: 1.8; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; transition: all var(--transition); font-size: .88rem; }
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a  { color: rgba(255,255,255,.5); font-size: .86rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; font-size: .79rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--secondary); }
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.25); margin-top: .5rem; }

/* Scroll to top */
.scroll-top { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: all var(--transition); opacity: 0; pointer-events: none; font-size: .95rem; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--secondary); transform: translateY(-3px); }

/* Highlight box */
.highlight-box { background: linear-gradient(135deg,var(--primary),var(--primary-light)); color: #fff; border-radius: var(--radius-xl); padding: 2.5rem 3rem; display: flex; align-items: center; gap: 2rem; }
.highlight-box-icon { font-size: 2.75rem; flex-shrink: 0; }
.highlight-box h3 { color: #fff; margin-bottom: .5rem; }
.highlight-box p  { color: rgba(255,255,255,.8); margin: 0; font-size: .93rem; }

/* Tabs */
.tabs { margin-top: 2.5rem; }
.tab-nav { display: flex; gap: .4rem; border-bottom: 2px solid var(--border); margin-bottom: 2rem; overflow-x: auto; }
.tab-btn { background: none; border: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--text-md); padding: .75rem 1.2rem; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all var(--transition); }
.tab-btn:hover   { color: var(--primary); }
.tab-btn.active  { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel       { display: none; }
.tab-panel.active { display: block; }

/* Inline number list */
.numbered-list { list-style: none; counter-reset: nl; }
.numbered-list li { counter-increment: nl; display: flex; gap: 1rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before { content: counter(nl); min-width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .05rem; }
.numbered-list li > div strong { display: block; font-size: .93rem; margin-bottom: .25rem; }
.numbered-list li > div span  { font-size: .86rem; color: var(--text-md); }

/* Responsive */
@media(max-width:1024px){
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
}
@media(max-width:768px){
  .section { padding: 3.5rem 0; }
  .grid-2,.grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .navbar-toggle { display: flex; }
  .stats-bar-inner { gap: 1.25rem; }
  .highlight-box { flex-direction: column; text-align: center; padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .cta-banner { padding: 2rem 1.5rem; }
}
@media(max-width:480px){
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.5rem; }
}

/* Utility */
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--accent) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted   { color: var(--text-md) !important; }
.fw-bold { font-weight: 700; }
.text-white { color: #fff !important; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
