/* ============================================
   NUTZUNGS-DAUER.COM – Hauptstylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:       #0b1e38;
  --navy-mid:   #152d52;
  --navy-light: #1e3f72;
  --gold:       #c49a22;
  --gold-light: #e2b83a;
  --gold-pale:  #f5e8b8;
  --white:      #ffffff;
  --off-white:  #f7f5f0;
  --gray-light: #e8e6e1;
  --gray:       #8a8f9a;
  --text:       #2a2e3b;
  --shadow-sm:  0 2px 8px rgba(11,30,56,.12);
  --shadow-md:  0 6px 24px rgba(11,30,56,.18);
  --shadow-lg:  0 16px 48px rgba(11,30,56,.22);
  --radius:     6px;
  --radius-lg:  12px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem,2.5vw,1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
img { max-width: 100%; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--navy);
  color: var(--gold-pale);
  font-size: .82rem;
  padding: 8px 0;
  letter-spacing: .04em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gold-pale); }
.topbar a:hover { color: var(--gold-light); }
.topbar-badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 14px;
}
.topbar-badges .badge-check { color: #4caf82; }

/* ---- HEADER ---- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 1rem;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  display: block;
}
.logo-text .tagline {
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
}

/* ---- NAVIGATION ---- */
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: var(--gold-pale);
}

/* Dropdown L2 */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  z-index: 900;
  padding: 8px 0;
  animation: dropIn .18s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item:hover > .dropdown { display: block; }
.dropdown-item { position: relative; }
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: .88rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-link:hover {
  background: var(--off-white);
  color: var(--gold);
  padding-left: 24px;
}

/* Dropdown L3 */
.sub-dropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold-light);
  padding: 8px 0;
  z-index: 950;
}
.dropdown-item:hover > .sub-dropdown { display: block; }
.sub-dropdown-link {
  display: block;
  padding: 8px 18px;
  font-size: .85rem;
  color: var(--text);
  transition: var(--transition);
}
.sub-dropdown-link:hover {
  background: var(--off-white);
  color: var(--gold);
}

/* ---- HEADER CTA ---- */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(196,154,34,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,34,.45);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); color: var(--navy); }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c49a22' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,154,34,.15);
  border: 1px solid rgba(196,154,34,.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}

/* Hero Card */
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(196,154,34,.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}
.hero-card h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.hero-card-form .form-group { margin-bottom: 12px; }
.hero-card-form input,
.hero-card-form select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  transition: var(--transition);
}
.hero-card-form input::placeholder { color: rgba(255,255,255,.5); }
.hero-card-form input:focus,
.hero-card-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.15);
}
.hero-card-form select option { color: var(--navy); background: var(--white); }
.hero-card-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-light);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
}
.trust-item .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(196,154,34,.3);
}
.step-card h4 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: .88rem; color: var(--gray); margin: 0; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header p { color: var(--gray); font-size: 1.05rem; }

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg,var(--gold),var(--gold-light));
  border-radius: 2px;
  margin: 12px auto 20px;
}

/* ---- SERVICE CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gold-pale);
}
.service-card-header {
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.service-card-header::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(196,154,34,.12);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.service-card-header h3 { color: var(--white); font-size: 1.1rem; }
.service-card-body { padding: 24px; }
.service-card-body p { font-size: .9rem; color: var(--gray); margin-bottom: 20px; }
.service-features { margin-bottom: 20px; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  padding: 4px 0;
  color: var(--text);
}
.service-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.service-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.service-card-link:hover { gap: 10px; }

/* ---- SEARCH SECTION ---- */
.search-section {
  background: linear-gradient(135deg,var(--navy),var(--navy-mid));
  padding: 80px 0;
  color: var(--white);
}
.search-section h2 { color: var(--white); text-align: center; margin-bottom: 12px; }
.search-section > .container > p {
  text-align: center;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
}
.search-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(196,154,34,.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .04em;
}
.search-tab.active,
.search-tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.search-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.search-fields .form-group { margin: 0; }
.search-fields label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.search-fields input,
.search-fields select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .9rem;
  transition: var(--transition);
}
.search-fields input::placeholder { color: rgba(255,255,255,.4); }
.search-fields input:focus,
.search-fields select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}
.search-fields select option { background: var(--navy); color: var(--white); }

/* ---- RESULTS ---- */
#search-results { margin-top: 24px; display: none; }
.result-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(196,154,34,.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.result-info strong { color: var(--white); display: block; margin-bottom: 2px; }
.result-info span { font-size: .82rem; color: rgba(255,255,255,.6); }
.result-badge {
  background: rgba(196,154,34,.2);
  border: 1px solid rgba(196,154,34,.4);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.no-results {
  text-align: center;
  color: rgba(255,255,255,.5);
  padding: 20px;
  font-style: italic;
}

/* ---- CALCULATOR ---- */
.calc-section {
  background: var(--off-white);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.calc-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}
.calc-form-card h3 { margin-bottom: 24px; color: var(--navy); }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray);
  margin-bottom: 7px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: 'Lato', sans-serif;
  transition: var(--transition);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.calc-result-card {
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  position: sticky;
  top: 90px;
}
.calc-result-card h3 { color: var(--gold-light); margin-bottom: 24px; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.result-row:last-child { border: none; }
.result-row .label { font-size: .88rem; color: rgba(255,255,255,.7); }
.result-row .value {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
}
.result-highlight {
  background: rgba(196,154,34,.15);
  border: 1px solid rgba(196,154,34,.3);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}
.result-highlight .big {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.result-highlight .lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  display: block;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-pale); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold-pale);
  line-height: 1;
}
.stars { color: #f59e0b; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card blockquote {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: .88rem; color: var(--navy); }
.author-info span { font-size: .78rem; color: var(--gray); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---- EXPERTS CTA ---- */
.experts-cta {
  background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.experts-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230b1e38' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.experts-cta > * { position: relative; z-index: 1; }
.experts-cta h2 { color: var(--navy); margin-bottom: 14px; }
.experts-cta p { color: rgba(11,30,56,.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }

/* ---- BLOG PREVIEW ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(11,30,56,.4));
}
.blog-content { padding: 20px; }
.blog-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 8px;
}
.blog-card h4 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card h4 a { color: var(--navy); }
.blog-card h4 a:hover { color: var(--gold); }
.blog-meta { font-size: .78rem; color: var(--gray); margin: 0; }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg,var(--navy),var(--navy-mid));
  padding: 60px 0 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c49a22' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
  font-size: .82rem;
  flex-wrap: wrap;
}
.breadcrumbs a { color: rgba(255,255,255,.6); }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs .sep { color: rgba(255,255,255,.3); }
.breadcrumbs .current { color: var(--gold-light); }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 620px; }

/* ---- CONTENT PAGE ---- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 60px 0;
}
.content-main h2 { margin: 32px 0 16px; }
.content-main h3 { margin: 24px 0 12px; color: var(--navy-mid); }
.content-main p { font-size: .97rem; line-height: 1.8; }
.content-main ul, .content-main ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-main li { margin-bottom: .5rem; font-size: .97rem; }
.content-main ul li { list-style: disc; }
.content-main ol li { list-style: decimal; }
.info-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: .92rem;
}
.info-box strong { color: var(--navy); }

/* Sidebar */
.content-sidebar { }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
}
.sidebar-links li {
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-links li:last-child { border: none; }
.sidebar-links a {
  display: block;
  padding: 9px 0;
  font-size: .88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-links a::before { content: '›'; color: var(--gold); font-size: 1.1rem; }
.sidebar-links a:hover { color: var(--gold); }
.sidebar-cta {
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  color: var(--white);
  text-align: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.sidebar-cta h4 { color: var(--gold-light); margin-bottom: 10px; }
.sidebar-cta p { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }

/* ---- STATES TABLE ---- */
.states-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 32px;
}
.state-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.state-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.state-card a { color: var(--navy); font-size: .88rem; font-weight: 700; }
.state-card a:hover { color: var(--gold); }
.state-flag { font-size: 1.6rem; margin-bottom: 6px; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h5 {
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
}
.footer-legal a {
  color: rgba(255,255,255,.5);
  margin-left: 16px;
  font-size: .82rem;
}
.footer-legal a:hover { color: var(--gold-light); }

/* ---- UTILS ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-off-white { background: var(--off-white); }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.gap-24 { gap: 24px; }

/* Notification */
#cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: var(--navy);
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  border: 1px solid rgba(196,154,34,.3);
  font-size: .88rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#cookie-notice p { margin: 0 0 10px; }
#cookie-notice .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Scroll-to-top */
#back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 888;
  transition: var(--transition);
}
#back-top:hover { transform: translateY(-3px); }
#back-top.visible { display: flex; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .nav-mobile-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }
  .nav-mobile-open .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; display: none; }
  .nav-mobile-open .nav-item:hover > .dropdown { display: none; }
  .nav-mobile-open .nav-item.open > .dropdown { display: block; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2,1fr); }
  .search-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .topbar .topbar-badges { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
