/* DOTFINANCE v2.1 - Stylesheet */

:root {
  --bg: #fdfbf7;
  --bg-alt: #f5f0e8;
  --bg-card: #ffffff;
  --text: #0f2744;
  --text-soft: #456581;
  --text-muted: #8999ac;
  --border: #e5dfd4;
  --border-soft: #f0eae0;
  --navy: #0f2744;
  --navy-light: #1e3a5f;
  --blue: #1e5a8a;
  --blue-light: #3d7ab0;
  --gold: #c9a668;
  --gold-light: #e4c890;
  --gold-dark: #a68543;
  --cream: #f5f0e8;
  --success: #2e7d5b;
  --warning: #c47a3a;
  --error: #c0392b;
  --shadow-sm: 0 2px 8px rgba(15, 39, 68, 0.06);
  --shadow: 0 8px 24px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 39, 68, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 166, 104, 0.25);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --container-narrow: 820px;
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0a1626;
  --bg-alt: #0f2136;
  --bg-card: #132a42;
  --text: #f5f0e8;
  --text-soft: #b8c5d4;
  --text-muted: #7a8ba0;
  --border: #1e3a5f;
  --border-soft: #15283e;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
em { font-style: italic; color: var(--gold); font-family: 'Fraunces', serif; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }

/* HEADER */
#header {
  position: sticky; top: 0;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
  transition: background var(--t);
}
[data-theme="dark"] #header { background: rgba(10, 22, 38, 0.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 166, 104, 0.2); }
.logo-text { color: var(--navy); }
[data-theme="dark"] .logo-text { color: var(--cream); }
.logo-accent { color: var(--gold); font-style: italic; }
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-soft); position: relative; padding: 4px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
[data-theme="dark"] .main-nav a:hover, [data-theme="dark"] .main-nav a.active { color: var(--cream); }
.main-nav a.active::after { content: ''; position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; background: var(--bg-alt); border-radius: 99px; padding: 3px; }
.lang-btn { padding: 6px 12px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); border-radius: 99px; transition: all var(--t); }
.lang-btn.active { background: var(--navy); color: var(--cream); }
[data-theme="dark"] .lang-btn.active { background: var(--gold); color: var(--navy); }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-soft); transition: all var(--t); }
.theme-toggle:hover { background: var(--bg-alt); color: var(--navy); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
.mobile-menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text); transition: all var(--t); }

/* PAGES */
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.page-header { padding: 60px 0 40px; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border-soft); }
.page-title { margin: 8px 0 16px; }
.page-sub { color: var(--text-soft); font-size: 1.1rem; max-width: 700px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 48px; max-width: 800px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold-dark); margin-bottom: 12px; }
.eyebrow.light { color: var(--gold-light); }
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-soft); font-size: 1.1rem; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-weight: 600; font-size: 0.95rem; border-radius: 99px; transition: all var(--t); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201, 166, 104, 0.35); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
[data-theme="dark"] .btn-ghost { color: var(--cream); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--navy); }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* HERO */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(201, 166, 104, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 80% 100%, rgba(30, 90, 138, 0.08) 0%, transparent 50%); z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 99px; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 24px; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 24px; color: var(--navy); }
[data-theme="dark"] .hero-title { color: var(--cream); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-soft); margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); width: 100%; max-width: 380px; position: relative; transform: rotate(-2deg); transition: transform var(--t); }
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-card-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-dark); margin-bottom: 8px; }
.hero-card-car { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }
[data-theme="dark"] .hero-card-car { color: var(--cream); }
.hero-card-price { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; font-family: 'Fraunces', serif; }
[data-theme="dark"] .hero-card-price { color: var(--cream); }
.hero-card-rate { background: linear-gradient(135deg, var(--cream) 0%, #ede5d4 100%); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
[data-theme="dark"] .hero-card-rate { background: var(--bg-alt); }
.hero-card-rate span { display: block; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 4px; }
.hero-card-rate strong { font-size: 1.8rem; color: var(--navy); font-family: 'Fraunces', serif; font-weight: 600; }
[data-theme="dark"] .hero-card-rate strong { color: var(--cream); }
.hero-card-rate strong small { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-card-tags span { font-size: 0.75rem; padding: 4px 10px; background: var(--bg-alt); border-radius: 99px; color: var(--text-soft); }

/* STATS */
.stats { padding: 40px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 6px; }
[data-theme="dark"] .stat strong { color: var(--gold); }
.stat span { font-size: 0.85rem; color: var(--text-soft); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 32px; transition: all var(--t); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; display: inline-flex; width: 56px; height: 56px; background: var(--cream); border-radius: 14px; align-items: center; justify-content: center; }
[data-theme="dark"] .service-icon { background: var(--bg-alt); }
.service-card h3 { color: var(--navy); margin-bottom: 10px; }
[data-theme="dark"] .service-card h3 { color: var(--cream); }
.service-card p { color: var(--text-soft); }

/* CTA */
.cta-section { padding: 60px 0; }
.cta-box { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); border-radius: var(--radius-lg); padding: 60px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; color: var(--cream); position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201, 166, 104, 0.2) 0%, transparent 70%); border-radius: 50%; }
.cta-content { position: relative; }
.cta-content h2 { color: var(--cream); margin-bottom: 16px; }
.cta-content p { margin-bottom: 28px; opacity: 0.9; font-size: 1.1rem; }
.cta-visual { text-align: center; position: relative; }
.cta-number { font-family: 'Fraunces', serif; font-size: 5rem; font-weight: 600; color: var(--gold); line-height: 1; }
.cta-number span { font-size: 1.2rem; color: var(--cream); opacity: 0.7; }
.cta-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.8; margin-top: 8px; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 32px; position: relative; }
.testimonial::before { content: '"'; position: absolute; top: 16px; right: 24px; font-family: 'Fraunces', serif; font-size: 4rem; color: var(--gold); opacity: 0.3; line-height: 1; }
.testimonial p { font-size: 1.05rem; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial footer strong { display: block; color: var(--navy); font-style: normal; }
[data-theme="dark"] .testimonial footer strong { color: var(--cream); }
.testimonial footer span { font-size: 0.85rem; color: var(--text-muted); }

/* PARTNERS */
.partners-section { padding: 60px 0 80px; }
.partners-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.partner-placeholder { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.two-col h2 { color: var(--navy); margin-bottom: 20px; }
[data-theme="dark"] .two-col h2 { color: var(--cream); }
.two-col p { color: var(--text-soft); margin-bottom: 16px; }
.value-list { list-style: none; }
.value-list li { padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.value-list li:last-child { border-bottom: none; }
.value-list strong { display: block; color: var(--navy); font-family: 'Fraunces', serif; font-size: 1.15rem; margin-bottom: 4px; }
[data-theme="dark"] .value-list strong { color: var(--gold); }
.value-list span { color: var(--text-soft); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.team-card { text-align: center; }
.team-photo { width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 20px; background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%); border: 4px solid var(--bg-card); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.team-photo::before { content: '👤'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 4rem; opacity: 0.3; }
.team-card h3 { color: var(--navy); margin-bottom: 4px; }
[data-theme="dark"] .team-card h3 { color: var(--cream); }
.team-card span { color: var(--gold-dark); font-size: 0.9rem; font-weight: 500; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { padding: 32px 24px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-soft); position: relative; transition: all var(--t); }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-num { font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 600; color: var(--gold); margin-bottom: 16px; line-height: 1; }
.process-step h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; }
[data-theme="dark"] .process-step h3 { color: var(--cream); }
.process-step p { color: var(--text-soft); font-size: 0.95rem; }

/* SERVICES DETAIL */
.services-detail { display: flex; flex-direction: column; gap: 24px; }
.service-detail { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 36px 40px; transition: all var(--t); box-shadow: var(--shadow-sm); }
.service-detail:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.service-detail-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.service-detail-icon { font-size: 2rem; width: 64px; height: 64px; background: var(--cream); border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
[data-theme="dark"] .service-detail-icon { background: var(--bg-alt); }
.service-detail-head h2 { margin: 0; color: var(--navy); font-size: 1.6rem; flex: 1; }
[data-theme="dark"] .service-detail-head h2 { color: var(--cream); }
.service-detail-desc { color: var(--text-soft); font-size: 1.02rem; line-height: 1.7; margin-bottom: 20px; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin-top: 8px; }
.feature-list li { padding: 6px 0 6px 28px; position: relative; color: var(--text-soft); font-size: 0.95rem; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; top: 6px; color: var(--gold); font-weight: 700; font-size: 1rem; }

.info-box { background: linear-gradient(135deg, #fff8ec 0%, #fdf2d9 100%); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; margin: 16px 0; }
[data-theme="dark"] .info-box { background: rgba(201, 166, 104, 0.08); }
.info-box strong { display: block; color: var(--navy); margin-bottom: 6px; }
[data-theme="dark"] .info-box strong { color: var(--gold); }
.info-box span { color: var(--text-soft); font-size: 0.95rem; }
.info-box-blue { background: linear-gradient(135deg, #eef4fa 0%, #dce8f4 100%); border-left-color: var(--blue); }
[data-theme="dark"] .info-box-blue { background: rgba(30, 90, 138, 0.12); }
.info-box-blue strong { color: var(--blue); }
[data-theme="dark"] .info-box-blue strong { color: var(--blue-light); }

/* ========== SIMULATOR V2.1 ========== */
.simulator {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sim-form { padding: 40px; }
.sim-result {
  padding: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--cream);
}

.sim-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}
.sim-section:last-of-type { border-bottom: none; padding-bottom: 12px; margin-bottom: 20px; }
.sim-section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .sim-section-title { color: var(--gold); }

.sim-group { margin-bottom: 18px; }
.sim-group:last-child { margin-bottom: 0; }
.sim-group > label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  gap: 12px;
}
.sim-value-hint {
  color: var(--gold-dark);
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
}

.sim-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}
.sim-hint-warning {
  color: var(--warning);
  font-weight: 500;
  padding: 8px 12px;
  background: #fff4e5;
  border-radius: 8px;
  border-left: 3px solid var(--warning);
}
[data-theme="dark"] .sim-hint-warning { background: rgba(196, 122, 58, 0.15); }

/* ========== ASSET RADIO+LABEL (BULLETPROOF) ========== */
.sim-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sim-asset-option {
  display: block;
  cursor: pointer;
  position: relative;
}
/* Ascund input-ul radio vizual dar il las accesibil */
.sim-asset-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.sim-asset-card {
  padding: 14px 8px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color var(--t), background var(--t), color var(--t), box-shadow var(--t);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
}
.sim-asset-option:hover .sim-asset-card {
  border-color: var(--gold);
  background: var(--bg-card);
}
/* Stare SELECTED - merge garantat pe toate browserele moderne */
.sim-asset-option input[type="radio"]:checked + .sim-asset-card {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fff8ec 0%, #fdf2d9 100%);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .sim-asset-option input[type="radio"]:checked + .sim-asset-card {
  background: rgba(201, 166, 104, 0.15);
  color: var(--cream);
}
.sim-asset-option input[type="radio"]:focus-visible + .sim-asset-card {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.sim-asset-icon { font-size: 1.6rem; }

/* ========== RADIO GROUP NOU/SH (acelasi pattern) ========== */
.sim-radio-group {
  display: flex;
  gap: 10px;
}
.sim-radio-label {
  flex: 1;
  cursor: pointer;
  position: relative;
  display: block;
}
.sim-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sim-radio-label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--t);
  text-align: center;
}
.sim-radio-label:hover > span { border-color: var(--gold); }
.sim-radio-label input[type="radio"]:checked + span {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fff8ec 0%, #fdf2d9 100%);
  color: var(--navy);
}
[data-theme="dark"] .sim-radio-label input[type="radio"]:checked + span {
  background: rgba(201, 166, 104, 0.15);
  color: var(--cream);
}

/* ========== PRET + MONEDA (noua abordare) ========== */
.sim-price-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--t), box-shadow var(--t);
  margin-bottom: 10px;
}
.sim-price-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 104, 0.15);
}

.sim-currency-toggle {
  display: flex;
  gap: 6px;
}
.sim-currency-option {
  flex: 1;
  cursor: pointer;
  position: relative;
  display: block;
}
.sim-currency-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sim-currency-option > span {
  display: block;
  padding: 8px 12px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  transition: all var(--t);
}
.sim-currency-option:hover > span { border-color: var(--gold); }
.sim-currency-option input[type="radio"]:checked + span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

/* ========== SLIDER + INPUT NUMERIC SINCRONIZAT ========== */
.sim-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sim-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gold);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s;
}
.sim-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.sim-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--gold);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.sim-num-input {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 10px 0 0;
  min-width: 90px;
  transition: border-color var(--t), box-shadow var(--t);
}
.sim-num-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 104, 0.15);
}
.sim-num-input input {
  width: 100%;
  padding: 8px 4px 8px 10px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  text-align: right;
  outline: none;
}
.sim-num-input input::-webkit-outer-spin-button,
.sim-num-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sim-num-input input[type="number"] { -moz-appearance: textfield; }
.sim-num-input span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-left: 4px;
  flex-shrink: 0;
}

.sim-range-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.sim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sim-row .sim-group input[type="number"],
.sim-row .sim-group input[type="month"],
.sim-row .sim-group input[type="text"],
.sim-row .sim-group select,
#simAssetOther {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--t), box-shadow var(--t);
}
.sim-row .sim-group input:focus,
.sim-row .sim-group select:focus,
#simAssetOther:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 104, 0.15);
}

/* SETARI AVANSATE (collapsible) */
.sim-advanced-section { border-bottom: none !important; }
.sim-advanced {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 0;
  background: var(--bg);
}
.sim-advanced[open] { border-style: solid; border-color: var(--gold); }
.sim-advanced summary {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
  list-style: none;
  user-select: none;
}
.sim-advanced summary::-webkit-details-marker { display: none; }
.sim-advanced summary:hover { color: var(--navy); }
[data-theme="dark"] .sim-advanced summary:hover { color: var(--cream); }
.sim-advanced-icon { font-size: 1.1rem; color: var(--gold-dark); }
.sim-advanced-arrow { margin-left: auto; font-size: 0.7rem; color: var(--text-muted); transition: transform var(--t); }
.sim-advanced[open] .sim-advanced-arrow { transform: rotate(180deg); }
.sim-advanced-body { padding: 0 18px 18px; }
.sim-advanced-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
  line-height: 1.5;
}

.sim-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fdecec;
  border: 1px solid var(--error);
  border-radius: var(--radius);
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 500;
}
[data-theme="dark"] .sim-error { background: rgba(192, 57, 43, 0.15); }

/* SIM RESULT */
.sim-result-main {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}
.sim-result-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.8; margin-bottom: 8px; }
.sim-result-value { font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.sim-result-sub { font-size: 0.9rem; opacity: 0.85; }
.sim-result-sub strong { color: var(--gold-light); font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; }

.sim-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.sim-stat { background: rgba(245, 240, 232, 0.08); border-radius: var(--radius); padding: 14px 16px; }
.sim-stat span { display: block; font-size: 0.75rem; opacity: 0.7; margin-bottom: 4px; }
.sim-stat strong { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--gold-light); font-weight: 600; display: block; }
.sim-stat small { font-size: 0.7rem; opacity: 0.55; font-weight: 400; font-family: 'Inter', sans-serif; }

.sim-ast { color: var(--gold); font-weight: 700; }
.sim-asterisk-note {
  font-size: 0.78rem;
  opacity: 0.7;
  padding: 10px 14px;
  background: rgba(245, 240, 232, 0.05);
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}

.sim-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sim-actions .btn-ghost { color: var(--cream); border-color: rgba(245, 240, 232, 0.3); }
.sim-actions .btn-ghost:hover { background: rgba(245, 240, 232, 0.1); }

.sim-schedule { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(245, 240, 232, 0.15); }
.sim-schedule h4 { color: var(--gold-light); margin-bottom: 16px; }
.sim-schedule-wrap { max-height: 300px; overflow-y: auto; }
.sim-schedule-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.sim-schedule-table th, .sim-schedule-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid rgba(245, 240, 232, 0.08); }
.sim-schedule-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; position: sticky; top: 0; background: var(--navy); }
.sim-schedule-table th:first-child, .sim-schedule-table td:first-child { text-align: left; }

/* NOTE LEGALE */
.sim-notes {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}
.sim-notes h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 16px; font-family: 'Fraunces', serif; font-weight: 600; }
[data-theme="dark"] .sim-notes h4 { color: var(--gold); }
.sim-notes ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sim-notes ul li { padding: 10px 0 10px 26px; position: relative; color: var(--text-soft); font-size: 0.88rem; line-height: 1.6; border-bottom: 1px solid var(--border-soft); }
.sim-notes ul li:last-child { border-bottom: none; }
.sim-notes ul li::before { content: '•'; position: absolute; left: 6px; top: 8px; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.sim-notes strong { color: var(--navy); }
[data-theme="dark"] .sim-notes strong { color: var(--cream); }
.sim-notes u { text-decoration: underline; text-decoration-color: var(--warning); }
.sim-notes-cta { margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--border); color: var(--text-soft); font-size: 0.95rem; text-align: center; }
.sim-notes-cta a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }
.sim-notes-cta a:hover { color: var(--gold); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--t); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%); position: relative; }
.blog-img-1 { background: linear-gradient(135deg, #d4a574 0%, #8b6f47 100%); }
.blog-img-2 { background: linear-gradient(135deg, #4a7ba8 0%, #1e3a5f 100%); }
.blog-img-3 { background: linear-gradient(135deg, #c9a668 0%, #8b7a4b 100%); }
.blog-img-4 { background: linear-gradient(135deg, #87a8c9 0%, #3d5a7a 100%); }
.blog-img-5 { background: linear-gradient(135deg, #e8dcc3 0%, #b8a377 100%); }
.blog-img-6 { background: linear-gradient(135deg, #6b8bac 0%, #2c4563 100%); }
.blog-card-body { padding: 28px; }
.blog-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-dark); margin-bottom: 12px; }
.blog-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
[data-theme="dark"] .blog-card h3 { color: var(--cream); }
.blog-card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 16px; }
.blog-readmore { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }
.blog-readmore:hover { color: var(--gold); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 0; transition: all var(--t); }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; position: relative; padding-right: 56px; }
[data-theme="dark"] .faq-item summary { color: var(--cream); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); font-weight: 300; transition: transform var(--t); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 20px; color: var(--text-soft); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-info h3, .contact-form h3 { color: var(--navy); margin-bottom: 24px; font-size: 1.4rem; }
[data-theme="dark"] .contact-info h3, [data-theme="dark"] .contact-form h3 { color: var(--cream); }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border-radius: var(--radius); margin-bottom: 12px; transition: all var(--t); background: var(--bg-card); border: 1px solid var(--border-soft); }
a.contact-item:hover { transform: translateX(4px); border-color: var(--gold); }
.contact-icon { width: 44px; height: 44px; background: var(--cream); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
[data-theme="dark"] .contact-icon { background: var(--bg-alt); }
.contact-item span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item strong { display: block; color: var(--navy); }
[data-theme="dark"] .contact-item strong { color: var(--cream); }
.contact-item small { display: block; font-size: 0.85rem; margin-top: 4px; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; color: var(--text); font-family: inherit; transition: all var(--t); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 166, 104, 0.15); }
.form-group textarea { resize: vertical; min-height: 100px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-soft); cursor: pointer; font-weight: 400; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.checkbox a { color: var(--gold-dark); text-decoration: underline; }
.form-status { margin-top: 16px; padding: 12px; border-radius: var(--radius); font-size: 0.9rem; display: none; }
.form-status.success { display: block; background: #e8f5ed; color: var(--success); border: 1px solid var(--success); }
.form-status.error { display: block; background: #fce8e8; color: var(--error); border: 1px solid var(--error); }

/* FOOTER */
#footer { background: var(--navy); color: var(--cream); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--cream); }
.footer-brand p { opacity: 0.7; margin-top: 16px; font-size: 0.95rem; }
.footer-col h4 { color: var(--gold); font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: 20px; }
.footer-col a { display: block; padding: 6px 0; opacity: 0.75; font-size: 0.9rem; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.newsletter { margin-top: 20px; }
.newsletter label { display: block; font-size: 0.85rem; opacity: 0.7; margin-bottom: 8px; }
.newsletter form { display: flex; background: rgba(245, 240, 232, 0.1); border-radius: 99px; padding: 4px; }
.newsletter input { flex: 1; background: transparent; border: none; padding: 10px 16px; color: var(--cream); font-size: 0.9rem; font-family: inherit; }
.newsletter input::placeholder { color: rgba(245, 240, 232, 0.5); }
.newsletter input:focus { outline: none; }
.newsletter button { width: 40px; height: 40px; background: var(--gold); color: var(--navy); border-radius: 50%; font-size: 1.1rem; font-weight: 700; transition: all var(--t); }
.newsletter button:hover { background: var(--gold-light); transform: scale(1.05); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(245, 240, 232, 0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; opacity: 0.7; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { opacity: 1; color: var(--gold); }

/* FIXED ELEMENTS */
#backToTop { position: fixed; bottom: 20px; right: 20px; width: 48px; height: 48px; background: var(--navy); color: var(--cream); border-radius: 50%; font-size: 1.3rem; font-weight: 700; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all var(--t); z-index: 99; }
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: var(--navy-light); transform: translateY(-2px); }
.chat-bubble { position: fixed; bottom: 20px; left: 20px; width: 56px; height: 56px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 99; transition: all var(--t); animation: pulse 2s infinite; }
.chat-bubble:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: var(--cream); padding: 16px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); z-index: 200; transform: translateY(100%); transition: transform var(--t); }
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { flex: 1; font-size: 0.9rem; min-width: 260px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-logos { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .simulator { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; text-align: center; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; position: fixed; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 24px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border); gap: 0; }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .main-nav.open a.active::after { display: none; }
  .mobile-menu-btn { display: flex; }
  .lang-switcher { display: none; }
  .header-inner { gap: 12px; }
  .section { padding: 60px 0; }
  .page-header { padding: 40px 0 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .sim-row, .form-row { grid-template-columns: 1fr; }
  .sim-asset-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-result-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sim-form, .sim-result { padding: 28px; }
  .sim-notes { padding: 22px; }
  .cta-box { padding: 32px; }
  .cta-number { font-size: 3.5rem; }
  .contact-form { padding: 28px; }
  .hero-card { transform: none; }
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .sim-result-value { font-size: 2.2rem; }
  .service-detail { padding: 24px 22px; }
  .service-detail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .service-detail-head h2 { font-size: 1.35rem; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .sim-slider-row { flex-direction: column; gap: 10px; align-items: stretch; }
  .sim-num-input { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat strong { font-size: 1.8rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .sim-asset-grid { grid-template-columns: 1fr; }
  .sim-radio-group { flex-direction: column; }
  .sim-currency-toggle { flex-direction: row; }
}
