/**
 * CAR Regionala CFR Brasov — Premium Redesign
 * Aesthetic: Light Blue Editorial
 * Fonts: Playfair Display + DM Sans + DM Mono
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Mono:wght@400;500&display=swap');

/* ==============================
   CSS Variables
   ============================== */
:root {
  --bg-deep:      #EBF3FB;
  --bg-dark:      #DCE9F7;
  --bg-surface:   #F4F9FE;
  --bg-card:      rgba(255,255,255,0.85);
  --bg-card-hover:rgba(255,255,255,0.98);

  --burgundy:       #1B3D7D;
  --burgundy-light: #2558B0;
  --burgundy-glow:  rgba(27,61,125,0.2);

  --gold:        #D4AF37;
  --gold-light:  #E8CC60;
  --gold-muted:  #B8962E;
  --gold-glow:   rgba(212,175,55,0.18);
  --gold-border: rgba(212,175,55,0.22);

  --text-primary:   #1A2A3A;
  --text-secondary: #3A5570;
  --text-muted:     #7A96B0;

  --border:       rgba(26,80,160,0.13);
  --border-hover: rgba(26,80,160,0.30);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --section-py:   clamp(4rem, 8vw, 7rem);
  --container-max:1200px;
  --container-px: clamp(1.25rem, 5vw, 3rem);

  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-smooth: cubic-bezier(0.4,0,0.2,1);
  --transition:  all 0.3s var(--ease-smooth);

  --shadow-card:  0 8px 40px rgba(20,60,120,0.10), 0 0 1px rgba(26,80,160,0.07);
  --shadow-hover: 0 20px 60px rgba(20,60,120,0.16), 0 0 24px rgba(26,80,160,0.05);
}

/* ==============================
   Reset & Base
   ============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ==============================
   Utilities
   ============================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ==============================
   Navigation
   ============================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.35rem 0;
  transition: all 0.45s var(--ease-out);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(235,244,252,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(20,60,120,0.10);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  filter: brightness(1.0);
  transition: var(--transition);
}
.logo-section:hover .logo-img {
  filter: brightness(1.2) drop-shadow(0 0 14px rgba(212,175,55,0.35));
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: #14080D;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212,175,55,0.25);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.42);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.mobile-toggle {
  display: none;
  background: rgba(26,80,160,0.07);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  line-height: 1;
}
.mobile-toggle:hover {
  background: rgba(26,80,160,0.10);
  border-color: var(--border-hover);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,50,90,0.55);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==============================
   Hero
   ============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(26,80,160,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 40%, rgba(212,175,55,0.08) 0%, transparent 55%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,80,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,80,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-text { max-width: 600px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4rem 1rem;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 0.15s forwards;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.85s var(--ease-out) 0.3s forwards;
}
.hero-title .accent {
  color: var(--gold);
  font-style: italic;
}
.hero-title .break { display: block; }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.48s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease-out) 0.62s forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: #14080D;
  font-weight: 700;
  font-size: 0.925rem;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(212,175,55,0.3), 0 2px 8px rgba(0,0,0,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.42);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: rgba(26,80,160,0.07);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.925rem;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(26,80,160,0.10);
  border-color: rgba(212,175,55,0.38);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Hero Stats Panel */
.hero-panel {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.85s var(--ease-out) 0.78s forwards;
}

.hero-panel-inner {
  background: rgba(26,80,160,0.05);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0.875rem 0.4rem;
  border-radius: 14px;
  background: rgba(26,80,160,0.04);
  border: 1px solid rgba(26,80,160,0.07);
  transition: var(--transition);
}
.stat-item:hover {
  background: rgba(26,80,160,0.07);
  border-color: var(--border);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.panel-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.panel-cta--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: #14080D;
  box-shadow: 0 4px 20px rgba(212,175,55,0.28);
}
.panel-cta--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(212,175,55,0.38);
}

.panel-cta--secondary {
  background: rgba(27,61,125,0.15);
  border: 1px solid rgba(27,61,125,0.25);
  color: var(--text-primary);
}
.panel-cta--secondary:hover {
  background: rgba(27,61,125,0.2);
  border-color: rgba(27,61,125,0.45);
}

/* ==============================
   Section Titles
   ============================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.section-title .italic {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-label {
  justify-content: center;
}
.section-header--center .section-subtitle { margin: 0 auto; }

/* ==============================
   Sections
   ============================== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section--dark    { background: var(--bg-dark); }
.section--surface { background: var(--bg-surface); }

/* ==============================
   Scroll Reveal
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==============================
   Principles Grid
   ============================== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.principle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.principle-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.principle-card:hover::before { transform: scaleX(1); }

.principle-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(27,61,125,0.25);
}
.principle-icon i { font-size: 1.35rem; color: var(--gold); }

.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.principle-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Info Banner */
.info-banner {
  background: linear-gradient(135deg, #1B3D7D 0%, #0D2456 100%);
  border-radius: 20px;
  padding: 2.25rem 2.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27,61,125,0.35);
}
.info-banner::after {
  content: '';
  position: absolute;
  top: -60%; right: -8%;
  width: 280px; height: 280px;
  background: rgba(212,175,55,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.info-banner-icon {
  font-size: 2.75rem;
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.4));
}
.info-banner h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.info-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==============================
   Comparison Table
   ============================== */
.comparison-wrapper {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table thead th {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.02em;
}
.comparison-table thead th:first-child {
  background: rgba(0,0,0,0.3);
  color: var(--text-secondary);
}
.comparison-table thead th:nth-child(2) {
  background: var(--burgundy);
  color: var(--gold);
}
.comparison-table thead th:last-child {
  background: rgba(26,80,160,0.08);
  color: var(--text-muted);
}
.comparison-table tbody tr {
  border-top: 1px solid rgba(26,80,160,0.06);
  transition: background 0.2s ease;
}
.comparison-table tbody tr:hover { background: rgba(26,80,160,0.04); }
.comparison-table tbody td {
  padding: 1.1rem 1.75rem;
  font-size: 0.95rem;
}
.comparison-table tbody td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}
.car-col { color: #5BDB8A; font-weight: 600; }
.bank-col { color: #F07070; }
.car-col i, .bank-col i { margin-right: 0.35rem; }

/* ==============================
   Location Section
   ============================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: stretch;
}

.address-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.5rem;
}
.address-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.address-card-title i { color: var(--gold); }

.address-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26,80,160,0.06);
  align-items: flex-start;
}
.address-item:last-of-type { border-bottom: none; }
.address-item i {
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
}
.address-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.address-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}
.address-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.address-item a:hover { color: var(--text-primary); }
.address-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.warning-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.6rem 1rem;
  background: rgba(240,112,112,0.1);
  border: 1px solid rgba(240,112,112,0.2);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #F07070;
}

.map-container {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.map-container iframe {
  display: block;
  filter: brightness(0.88) contrast(1.05) saturate(0.75);
  flex: 1;
  min-height: 320px;
  height: auto;
  width: 100%;
}
.map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  background: var(--bg-surface);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  border-top: 1px solid var(--border);
}
.map-link:hover {
  background: rgba(212,175,55,0.08);
  color: var(--gold-light);
}

/* ==============================
   Footer
   ============================== */
.footer {
  background: #04020A;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo { height: 46px; width: auto; filter: brightness(1.0); margin-bottom: 1rem; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 260px;
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 200px;
}
.footer-divider::before, .footer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.footer-divider i { color: var(--gold); font-size: 0.8rem; opacity: 0.6; }

.footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  padding: 0.2rem 0;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-links i { font-size: 0.7rem; color: var(--text-muted); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.875rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.footer-contact-item a,
.footer-contact-item p {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--text-secondary); }

.footer-bottom {
  border-top: 1px solid rgba(26,80,160,0.06);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ==============================
   Page Hero (inner pages)
   ============================== */
.page-hero {
  padding: 10rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(26,80,160,0.12) 0%, transparent 68%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.65s var(--ease-out) 0.1s forwards;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.25s forwards;
}
.page-hero h1 .italic { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.38s forwards;
}

/* ==============================
   Services Page
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.services-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}

/* Loan types inside service card */
.loan-types {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}
.loan-type-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26,80,160,0.07);
}
.loan-type-item:last-child { border-bottom: none; padding-bottom: 0; }
.loan-type-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.loan-type-name {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}
.loan-type-dae {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.loan-type-dae strong {
  color: var(--gold);
  font-size: 1rem;
}
.loan-type-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Calculator loan type buttons */
.loan-type-grid { grid-template-columns: repeat(3, 1fr); }
.loan-type-btn { line-height: 1.3; padding: 0.75rem 0.5rem; font-size: 0.82rem; }
.loan-type-btn small { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold-muted); display: block; margin-top: 0.15rem; }
.loan-type-btn.active small { color: var(--gold); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(27,61,125,0.25);
}
.service-icon i { font-size: 1.45rem; color: var(--gold); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.service-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(26,80,160,0.05);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  min-width: 18px;
  background: rgba(91,219,138,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%235BDB8A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
  border-radius: 50%;
}

/* ==============================
   Loan Calculator
   ============================== */
.calc-wrapper { max-width: 660px; margin: 0 auto; }

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3rem;
  backdrop-filter: blur(20px);
}

.calc-header { text-align: center; margin-bottom: 2.75rem; }
.calc-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold-muted) 0%, var(--gold) 100%);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: #14080D;
  box-shadow: 0 12px 30px rgba(212,175,55,0.35);
}
.calc-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.calc-subtitle { color: var(--text-secondary); font-size: 0.9rem; }

.input-group { margin-bottom: 2rem; }

.input-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.input-label-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.input-value-display {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 500;
}

.amount-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(26,80,160,0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 1rem;
}
.amount-input-wrap:focus-within {
  border-color: rgba(212,175,55,0.38);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}
.amount-input-wrap input[type="number"] {
  flex: 1;
  padding: 0.9rem 1.1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-family: var(--font-mono);
  outline: none;
}
.amount-input-wrap input[type="number"]::placeholder { color: var(--text-muted); }
.amount-input-wrap input::-webkit-outer-spin-button,
.amount-input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; }
.amount-unit {
  padding: 0 1.1rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  border-left: 1px solid rgba(26,80,160,0.07);
  white-space: nowrap;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(26,80,160,0.10);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(212,175,55,0.45), 0 0 0 3px rgba(212,175,55,0.14);
  transition: transform 0.2s ease;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.range-labels span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
}
.duration-btn {
  padding: 0.7rem 0.5rem;
  background: rgba(26,80,160,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.duration-btn:hover {
  background: rgba(26,80,160,0.09);
  color: var(--text-primary);
}
.duration-btn.active {
  background: var(--burgundy);
  border-color: var(--burgundy-light);
  color: var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(27,61,125,0.25);
}

.result-box {
  margin-top: 2rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.04) 100%);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}
.result-box.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.result-main { text-align: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(26,80,160,0.10); }
.result-main small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.result-amount {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.result-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.result-detail { text-align: center; }
.result-detail small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.result-detail strong {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 0.98rem;
}
.calc-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==============================
   About / History Page
   ============================== */
.about-layout {
  max-width: 860px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 2.75rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(212,175,55,0.1) 100%);
}

.timeline-block {
  position: relative;
  margin-bottom: 3.5rem;
}
.timeline-block::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 0.35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18), 0 0 18px rgba(212,175,55,0.3);
}

.timeline-period {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.timeline-content {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.8;
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 1.75rem 0 0.6rem;
  font-weight: 600;
}
.timeline-content p { margin-bottom: 1rem; }

.blockquote {
  border-left: 2px solid var(--gold);
  padding: 1.1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(212,175,55,0.08);
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: var(--text-secondary);
}
.blockquote cite {
  display: block;
  margin-top: 0.625rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}

.history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.history-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26,80,160,0.05);
}
.history-list li:last-child { border-bottom: none; }
.history-list li strong {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  flex-shrink: 0;
  min-width: 42px;
  padding-top: 0.1rem;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.table-scroll::-webkit-scrollbar {
  height: 4px;
}
.table-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(27,61,125,0.25);
  border-radius: 2px;
}
.history-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  margin: 0;
  border: none;
  border-radius: 0;
}
.history-table thead th {
  padding: 0.875rem 1.25rem;
  background: rgba(27,61,125,0.2);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left;
}
.history-table tbody td {
  padding: 0.8rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(26,80,160,0.05);
  background: var(--bg-card);
}
.history-table tbody tr:last-child td { border-bottom: none; }
.history-table tbody td:first-child {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 500;
}

/* ==============================
   Members Page
   ============================== */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto 5rem;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.auth-card--primary {
  background: linear-gradient(135deg, rgba(27,61,125,0.12) 0%, rgba(27,61,125,0.05) 100%);
  border-color: rgba(27,61,125,0.28);
}
.auth-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.auth-card--primary:hover { border-color: rgba(27,61,125,0.4); }

.auth-card-icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 2rem;
}
.auth-card--primary .auth-card-icon {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
  color: var(--gold);
  box-shadow: 0 12px 30px rgba(27,61,125,0.28);
}
.auth-card--secondary .auth-card-icon {
  background: rgba(26,80,160,0.07);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.auth-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(27,61,125,0.18);
}
.feature-icon i { font-size: 1rem; color: var(--gold); }

.feature-text h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.feature-text p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* ==============================
   Contact Page
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-card, .schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-items { display: flex; flex-direction: column; }

.contact-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26,80,160,0.06);
  align-items: flex-start;
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }

.contact-item-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(27,61,125,0.18);
}
.contact-item-icon i { color: var(--gold); font-size: 0.95rem; }

.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.contact-item a,
.contact-item p {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.55;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--text-primary); }

.schedule-items { display: flex; flex-direction: column; }
.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26,80,160,0.06);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-day { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; }
.schedule-time { font-family: var(--font-mono); font-size: 0.9rem; color: var(--gold); }
.schedule-time.closed { color: var(--text-muted); }

.contact-map {
  margin-top: 2rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe {
  display: block;
  filter: brightness(0.85) contrast(1.08) saturate(0.65);
}

/* ==============================
   Animations
   ============================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   Accordion (Ghid Financiar)
   ============================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  color: var(--text-primary);
}
.accordion-trigger:hover { background: var(--bg-card-hover); }
.accordion-trigger[aria-expanded="true"] { background: rgba(212,175,55,0.04); }

.accordion-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(27,61,125,0.12);
}

.accordion-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-chevron {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: transform 0.3s var(--ease-out);
}
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.accordion-panel[style*="max-height: none"] { overflow: visible; }

.accordion-content {
  padding: 0 2rem 2rem;
  border-top: 1px solid rgba(26,80,160,0.05);
}
.accordion-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-content strong { color: var(--text-primary); }

.guide-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(212,175,55,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.guide-highlight i { color: var(--gold); margin-top: 0.15rem; flex-shrink: 0; }

.guide-list {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}
.guide-list li {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
  padding-left: 0.25rem;
}
.guide-list li strong { color: var(--text-primary); }

.guide-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}
.guide-check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(26,80,160,0.05);
}
.guide-check-list li:last-child { border-bottom: none; padding-bottom: 0; }
.guide-check-list li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  min-width: 18px;
  margin-top: 0.15rem;
  background: rgba(91,219,138,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%235BDB8A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
  border-radius: 50%;
}

.guide-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
.guide-compare-col {
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.guide-compare-col--car { background: rgba(91,219,138,0.05); border-color: rgba(91,219,138,0.15); }
.guide-compare-col--bank { background: rgba(212,175,55,0.04); border-color: rgba(26,80,160,0.08); }
.guide-compare-header {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}
.guide-compare-col--car .guide-compare-header { color: #5BDB8A; }
.guide-compare-col--bank .guide-compare-header { color: var(--gold-muted); }
.guide-compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.guide-compare-col ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(26,80,160,0.08);
}
.guide-compare-col--car ul li { border-color: rgba(91,219,138,0.2); }


/* Single card auth grid */
.auth-grid--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}
/* ==============================
   Responsive
   ============================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { display: none; }
  .hero-text { max-width: 100%; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 80vw);
    background: rgba(235,244,252,0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    gap: 0.25rem;
    z-index: 1001;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), visibility 0.35s;
  }
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link { width: 100%; padding: 0.875rem 1rem; font-size: 1rem; color: var(--text-primary); }
  .nav-link.active { color: var(--gold); }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .nav-overlay { display: block; }

  .principles-grid { grid-template-columns: 1fr; }
  .info-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .result-details-grid { grid-template-columns: repeat(2, 1fr); }
  .duration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .comparison-table { font-size: 0.85rem; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 0.875rem 1rem; }
  .guide-compare-grid { grid-template-columns: 1fr; }
  .services-grid--two { grid-template-columns: 1fr; }
  .loan-type-grid { grid-template-columns: 1fr; }
  .accordion-trigger { padding: 1.1rem 1.25rem; gap: 0.75rem; }
  .accordion-content { padding: 0 1.25rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .calc-card { padding: 2rem 1.5rem; }
  .hero-desc { font-size: 1rem; }
}
