/* ============================================================
   CONTABIL-STARTUP.RO — style.css
   Global: variabile, reset, header, footer, breadcrumb,
           butoane, formulare, carduri, sectiuni, responsive
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Culori principale */
  --clr-primary:       #1E3A5F;
  --clr-primary-dark:  #152B47;
  --clr-primary-light: #2A5F8F;

  /* Accent verde – creștere, bani */
  --clr-accent:        #27AE60;
  --clr-accent-light:  #2ECC71;
  --clr-accent-bg:     rgba(39, 174, 96, 0.10);

  /* CTA portocaliu – acțiune, energie startup */
  --clr-cta:           #E67E22;
  --clr-cta-dark:      #CA6F1E;
  --clr-cta-light:     #F39C12;
  --clr-cta-bg:        rgba(230, 126, 34, 0.10);

  /* Neutrale */
  --clr-bg:            #F5F8FC;
  --clr-bg-alt:        #EAF0F8;
  --clr-white:         #FFFFFF;
  --clr-border:        #CDD9E8;
  --clr-text:          #2D3748;
  --clr-text-light:    #64748B;
  --clr-text-muted:    #94A3B8;

  /* Gradiente */
  --grad-primary: linear-gradient(135deg, #1E3A5F 0%, #2A5F8F 100%);
  --grad-accent:  linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
  --grad-cta:     linear-gradient(135deg, #E67E22 0%, #F39C12 100%);

  /* Tipografie */
  --font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Borders & Shadows */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(30, 58, 95, 0.06);
  --shadow:    0 2px 16px rgba(30, 58, 95, 0.10);
  --shadow-md: 0 4px 24px rgba(30, 58, 95, 0.13);
  --shadow-lg: 0 8px 40px rgba(30, 58, 95, 0.18);

  /* Tranziții */
  --t-fast: all 0.15s ease;
  --t:      all 0.3s ease;

  /* Layout */
  --max-w:      1100px;
  --header-h:   72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clr-primary); text-decoration: none; transition: var(--t-fast); }
a:hover { color: var(--clr-primary-light); }

ul, ol { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: var(--font); }

input, textarea, select { font-family: var(--font); }

/* ============================================================
   3. CONTAINER & LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-8); }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================================
   4. TIPOGRAFIE
   ============================================================ */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; color: var(--clr-primary); }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--clr-text-light);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--sp-12);
}

.section-head { margin-bottom: var(--sp-12); }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

.text-white   { color: var(--clr-white) !important; }
.text-accent  { color: var(--clr-accent); }
.text-cta     { color: var(--clr-cta); }
.text-center  { text-align: center; }
.text-light   { color: var(--clr-text-light); }
.text-muted   { color: var(--clr-text-muted); }

/* ============================================================
   5. BUTOANE
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(30,58,95,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,58,95,.35);
  color: var(--clr-white);
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(39,174,96,.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(39,174,96,.4);
  color: var(--clr-white);
}

.btn-cta {
  background: var(--clr-cta);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(230,126,34,.3);
}
.btn-cta:hover {
  background: var(--clr-cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230,126,34,.4);
  color: var(--clr-white);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--clr-white);
  color: var(--clr-white);
}

.btn-outline-accent {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}
.btn-outline-accent:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-lg); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--text-sm); }
.btn-full { width: 100%; }

/* ============================================================
   6. BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-primary { background: rgba(30,58,95,.1);  color: var(--clr-primary); }
.badge-accent  { background: var(--clr-accent-bg); color: var(--clr-accent); }
.badge-cta     { background: var(--clr-cta-bg);   color: var(--clr-cta); }
.badge-white   { background: rgba(255,255,255,.18); color: var(--clr-white); }

/* ============================================================
   7. FORMULARE
   ============================================================ */
.form-group { margin-bottom: var(--sp-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--clr-text);
  background: var(--clr-white);
  transition: var(--t-fast);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-primary-light);
  box-shadow: 0 0 0 3px rgba(42,95,143,.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--clr-text-muted); }
.form-textarea { resize: vertical; min-height: 130px; }

.form-error {
  display: none;
  background: #FEE2E2;
  color: #DC2626;
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--sp-4);
}

.form-success-msg {
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
}
.form-success-msg .success-icon { font-size: 3.5rem; margin-bottom: var(--sp-4); }
.form-success-msg h3 { color: var(--clr-primary); margin-bottom: var(--sp-3); }
.form-success-msg p  { color: var(--clr-text-light); }

/* ============================================================
   8. CARDURI
   ============================================================ */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow);
  transition: var(--t);
}
.card-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ============================================================
   9. SECȚIUNI
   ============================================================ */
.section    { padding: var(--sp-24) 0; }
.section-sm { padding: var(--sp-16) 0; }
.section-bg-alt  { background: var(--clr-bg-alt); }
.section-white   { background: var(--clr-white); }
.section-dark    { background: var(--grad-primary); }
.section-dark .section-title,
.section-dark h2 { color: var(--clr-white); }
.section-dark .section-subtitle { color: rgba(255,255,255,.8); }

/* ============================================================
   10. HEADER & NAVIGATIE
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--sp-8);
}

/* Logo */
.logo       { display: flex; align-items: center; flex-shrink: 0; }
.logo-text  { font-size: var(--text-xl); font-weight: 800; color: var(--clr-primary); letter-spacing: -0.03em; }
.logo-dot   { color: var(--clr-accent); }
.logo:hover .logo-text { opacity: .85; }

/* Nav */
.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: var(--t-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary);
  background: var(--clr-bg-alt);
}

/* Nav CTA */
.nav-cta {
  background: var(--clr-cta) !important;
  color: var(--clr-white) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  margin-left: var(--sp-2);
}
.nav-cta:hover {
  background: var(--clr-cta-dark) !important;
  color: var(--clr-white) !important;
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  min-width: 190px;
  padding: var(--sp-2) 0;
  z-index: 200;
  animation: dropFadeIn .2s ease;
}
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.65rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  transition: var(--t-fast);
}
.dropdown a:hover {
  background: var(--clr-bg-alt);
  color: var(--clr-primary);
  padding-left: 1.5rem;
}

/* ============================================================
   11. HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 2px solid var(--clr-border);
  padding: 8px;
  transition: var(--t-fast);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--clr-bg-alt); }

.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  transition: var(--t-fast);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   12. BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.6rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
}
.breadcrumb-item a {
  color: var(--clr-text-light);
  font-weight: 500;
}
.breadcrumb-item a:hover { color: var(--clr-primary); }
.breadcrumb-item.current { color: var(--clr-primary); font-weight: 600; }
.breadcrumb-sep { color: var(--clr-border); font-size: var(--text-sm); user-select: none; }

/* ============================================================
   13. PAGE HERO (pagini interioare)
   ============================================================ */
.page-hero {
  background: var(--grad-primary);
  padding: var(--sp-20) 0 calc(var(--sp-20) + 30px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 50px;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.alt-bg::after { background: var(--clr-white); }

/* Decorative circles */
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero-badge { margin-bottom: var(--sp-5); }

.page-hero-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  max-width: 680px;
}
.page-hero-title span { color: var(--clr-accent-light); }

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--sp-8);
}

.page-hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-primary-dark);
  color: rgba(255,255,255,.75);
  padding: var(--sp-20) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: var(--sp-10);
  align-items: start;
  margin-bottom: var(--sp-12);
}

.footer-grid > div { min-width: 0; }

.footer-brand .logo-text { color: var(--clr-white); }

.footer-tagline {
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 250px;
}

.footer-contact { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
}
.footer-contact-row a { color: rgba(255,255,255,.65); }
.footer-contact-row a:hover { color: var(--clr-accent-light); }

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: 0;
  margin: 0;
}
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  transition: var(--t-fast);
}
.footer-links a:hover {
  color: var(--clr-white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-copy { font-size: var(--text-sm); color: rgba(255,255,255,.4); }
.footer-copy a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-copy a:hover { color: rgba(255,255,255,.85); }
.footer-legal { display: flex; gap: var(--sp-6); }
.footer-legal a { font-size: var(--text-sm); color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: rgba(255,255,255,.75); }

/* --- Footer Newsletter (in-grid column) --- */
.footer-newsletter {
  /* no border-top when inside grid */
}
.footer-newsletter-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}
.footer-newsletter-subtitle {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  margin-bottom: var(--sp-5);
  line-height: 1.6;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-newsletter-form input {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm, 8px);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: var(--text-sm);
  font-family: inherit;
  transition: border-color .2s;
}
.footer-newsletter-form input::placeholder {
  color: rgba(255,255,255,.4);
}
.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--clr-accent);
}
.footer-newsletter-form button {
  padding: .65rem 1.5rem;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm, 8px);
  font-weight: 600;
  font-size: var(--text-sm);
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.footer-newsletter-form button:hover {
  background: var(--clr-accent-dark, #219150);
}

/* ============================================================
   15. SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 5.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: var(--t);
  z-index: 500;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover {
  background: var(--clr-primary-light);
  transform: translateY(-3px);
  color: var(--clr-white);
}

/* ============================================================
   16. ANIMATII
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   17. UTILITARE
   ============================================================ */
.w-full  { width: 100%; }
.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }
.gap-sm  { gap: var(--sp-3); }
.gap-md  { gap: var(--sp-4); }
.gap-lg  { gap: var(--sp-6); }

.check-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-light);
}
.check-list li::before {
  content: "✓";
  color: var(--clr-accent);
  font-weight: 800;
  flex-shrink: 0;
  font-size: var(--text-base);
  line-height: 1.4;
}

.problem-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-light);
}
.problem-list li::before {
  content: "✗";
  color: #EF4444;
  font-weight: 800;
  flex-shrink: 0;
  font-size: var(--text-base);
  line-height: 1.4;
}

/* ============================================================
   18. RESPONSIVE
   ============================================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  :root { --max-w: 960px; }

  .container { padding: 0 var(--sp-6); }

  .grid-4 { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 400px; }

  .page-hero-title { font-size: var(--text-3xl); }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --text-3xl: 1.625rem;
    --text-4xl: 2rem;
    --text-5xl: 2.25rem;
    --header-h: 64px;
    --sp-24: 4rem;
    --sp-20: 3.5rem;
    --sp-16: 3rem;
  }

  .container { padding: 0 var(--sp-5); }

  /* Hamburger vizibil */
  .hamburger { display: flex; }

  /* Nav mobil */
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--sp-5);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--t);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-1);
    width: 100%;
  }
  .nav-item { width: 100%; }
  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: var(--text-base);
    border-radius: var(--radius);
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: var(--sp-2);
    text-align: center !important;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.is-open .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--clr-bg-alt);
    border-radius: var(--radius);
    margin-top: var(--sp-2);
    padding: var(--sp-2) 0;
    animation: none;
  }

  /* Grid-uri */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: var(--sp-6); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  /* Breadcrumb */
  .breadcrumb { gap: var(--sp-1); }

  /* Page hero */
  .page-hero { padding: var(--sp-16) 0 calc(var(--sp-16) + 24px); }
  .page-hero-title { font-size: var(--text-2xl); }
  .page-hero-subtitle { font-size: var(--text-base); }
  .page-hero-actions { flex-direction: column; align-items: flex-start; }

  /* Scroll top */
  .scroll-top { bottom: 1.25rem; right: 1.25rem; }
}

/* --- Mobile mic (max 480px) --- */
@media (max-width: 480px) {
  :root {
    --text-4xl: 1.75rem;
    --text-5xl: 2rem;
  }
  .container { padding: 0 var(--sp-4); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 0.875rem 1.75rem; font-size: var(--text-base); }
}
