/* =============================================================================
   Stomasan — Clinică Stomatologică
   styles.css  v1.3.0

   Table of Contents:
   01. Design Tokens (CSS Custom Properties)
   02. Reset & Base
   03. Typography Utilities
   04. Buttons
   05. Layout Helpers
   06. Header & Navigation
   07. Mobile Navigation Drawer
   08. Hero Section
   09. Stats Bar
   10. Services
   11. Why Us
   12. Before / After Gallery
   13. Team — Card mare + 2 mici
   14. FAQ Accordion
   15. Prices — Dropdown Tables
   16. Contact & Map
   17. Gallery (Lightbox)
   18. WhatsApp Box
   19. CTA Banner
   20. Footer
   21. Floating WhatsApp Button
   22. Scroll Reveal
   23. Animations & Keyframes
   24. Responsive — Tablet (≤1024px)
   25. Responsive — Mobile (≤768px)
============================================================================= */


/* =============================================================================
   01. Design Tokens
============================================================================= */

:root {
  /* Paleta Antracit & Auriu */
  --primary:        #C9A84C;
  --primary-dark:   #A8893A;
  --primary-deep:   #8A6F2E;
  --primary-light:  #2A2A2A;
  --primary-mid:    #E2C97E;

  --whatsapp:       #25D366;
  --whatsapp-hover: #1ebe5d;

  /* Neutrals — scară antracit */
  --bg-base:    #1C1C1C;
  --bg-surface: #222222;
  --bg-card:    #2A2A2A;
  --bg-raised:  #383838;
  --bg-deep:    #161616;

  --text-primary:   #F0E6C8;
  --text-secondary: #CCCCCC;
  --text-muted:     #A0A0A0;

  /* Legacy aliases kept for any template references */
  --white:     #1C1C1C;
  --off-white: #222222;
  --gray-100:  #2A2A2A;
  --gray-200:  #383838;
  --gray-500:  #A0A0A0;
  --gray-700:  #CCCCCC;
  --gray-900:  #F0E6C8;
  --coral:     #C9A84C;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  /* Spacing */
  --section-padding:        90px 32px;
  --section-padding-tablet: 60px 20px;
  --container-max:          1200px;

  /* Shape */
  --radius:    14px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow:    0 8px 40px rgba(0, 0, 0, 0.40);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-normal: 0.3s ease;
}


/* =============================================================================
   02. Reset & Base
============================================================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-base);
  overflow-x: hidden;
  line-height: 1.6;
}

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


/* =============================================================================
   03. Typography Utilities
============================================================================= */

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-heading em { color: var(--primary); font-style: italic; }

.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 52px;
}


/* =============================================================================
   04. Buttons
============================================================================= */

.btn-cta {
  background: var(--primary);
  color: var(--bg-base);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-body);
  display: inline-block;
}
.btn-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-body);
  display: inline-block;
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--primary);
  color: var(--bg-base);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  display: inline-block;
}
.btn-white:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.30);
}

.btn-coral {
  background: var(--primary);
  color: var(--bg-base);
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-fast);
}
.btn-coral:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--whatsapp);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.30);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.40);
}
.btn-whatsapp svg { width: 24px; height: 24px; fill: white; flex-shrink: 0; }


/* =============================================================================
   05. Layout Helpers
============================================================================= */

section { padding: var(--section-padding); }
.section-inner { max-width: var(--container-max); margin: 0 auto; }


/* =============================================================================
   06. Header & Navigation
============================================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 28, 28, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-raised);
  transition: box-shadow var(--transition-normal);
}
header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.50); }

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.logo-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1;
}
.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
nav a:hover  { background: var(--bg-card); color: var(--primary); }
nav a.active { color: var(--primary); font-weight: 500; }

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger svg { width: 24px; height: 24px; stroke: var(--primary); }


/* =============================================================================
   07. Mobile Navigation Drawer
============================================================================= */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-nav.open { display: block; }

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--bg-base);
  padding: 24px;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  border-left: 1px solid var(--bg-raised);
}

.mobile-nav-close {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; margin-bottom: 24px;
  font-size: 18px;
  color: var(--text-muted);
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  padding: 12px 16px;
  font-size: 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  display: block;
  transition: background var(--transition-fast);
}
.mobile-nav-links a:hover { background: var(--bg-card); color: var(--primary); }
.mobile-nav-cta { margin-top: 20px; }


/* =============================================================================
   08. Hero Section
============================================================================= */

.hero-section-wrapper {
  padding: 0;
  background: linear-gradient(160deg, var(--bg-base) 0%, var(--bg-surface) 60%, var(--bg-base) 100%);
}

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero-content { animation: fadeUp 0.8s ease both; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow span {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--primary); font-style: italic; }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust   { display: flex; gap: 28px; flex-wrap: wrap; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-item svg { width: 16px; height: 16px; fill: var(--primary); flex-shrink: 0; }

.hero-visual {
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 28px 28px 80px 28px;
  overflow: hidden;
}

.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-raised) 50%, var(--bg-base) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: inherit;
}
.hero-img-placeholder svg { width: 80px; height: 80px; fill: rgba(201,168,76,0.4); }
.hero-img-placeholder p   { color: var(--text-muted); font-size: 14px; font-weight: 400; }

.hero-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--bg-raised);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.hero-float-card.card-1 { bottom: 60px; left: -30px; min-width: 180px; }
.hero-float-card.card-2 { top: 40px; right: -20px; min-width: 160px; }

.float-card-label { font-size: 11px; font-weight: 400; color: var(--text-muted); margin-bottom: 3px; }
.float-card-value { font-size: 22px; font-weight: 600; color: var(--primary); font-family: var(--font-display); }
.float-card-sub   { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.stars            { color: var(--primary); font-size: 14px; letter-spacing: 2px; margin-bottom: 3px; }


/* =============================================================================
   09. Stats Bar
============================================================================= */

.stats-bar { background: var(--bg-deep); padding: 48px 32px; }

.stats-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(201,168,76,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num span { color: var(--primary); }
.stat-label    { font-size: 13px; font-weight: 300; color: var(--text-muted); letter-spacing: 0.5px; }


/* =============================================================================
   10. Services
============================================================================= */

.services-bg { background: var(--bg-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--bg-raised);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.12);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--bg-raised);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background var(--transition-normal);
  position: relative;
}
.service-icon svg { width: 26px; height: 26px; fill: var(--primary); transition: fill var(--transition-normal); }
.service-card:hover .service-icon     { background: var(--primary); }
.service-card:hover .service-icon svg { fill: var(--bg-base); }

.service-title { font-family: var(--font-display); font-size: 21px; font-weight: 400; color: var(--text-primary); margin-bottom: 10px; position: relative; }
.service-desc  { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; position: relative; }
.service-price { font-size: 13px; font-weight: 500; color: var(--primary); position: relative; }


/* =============================================================================
   11. Why Us
============================================================================= */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-img {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-raised) 100%);
  border-radius: 24px 80px 24px 24px;
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.why-img-placeholder { text-align: center; padding: 40px; }
.why-img-placeholder svg { width: 100px; height: 100px; fill: rgba(201,168,76,0.3); margin-bottom: 12px; }
.why-img-placeholder p   { color: var(--text-muted); font-size: 15px; }

.why-badge {
  position: absolute;
  bottom: 30px; right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-raised);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.why-badge-num { font-family: var(--font-display); font-size: 36px; font-weight: 300; color: var(--primary); line-height: 1; }
.why-badge-txt { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; font-weight: 300; color: var(--text-secondary);
  line-height: 1.6;
}
.why-check {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--bg-raised);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.why-check svg { width: 12px; height: 12px; fill: var(--primary); }


/* =============================================================================
   12. Before / After Gallery
============================================================================= */

.before-after-section { background: var(--bg-deep); }

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ba-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }

.ba-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
  position: relative;
}

.ba-side {
  display: flex; align-items: center; justify-content: center;
  padding: 20px; flex-direction: column; gap: 8px;
}
.ba-side.before { background: rgba(255,255,255,0.03); }
.ba-side.after  { background: rgba(201,168,76,0.10); }
.ba-side svg    { width: 48px; height: 48px; }

.ba-divider {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: rgba(201,168,76,0.3);
  transform: translateX(-50%);
}
.ba-divider::after {
  content: '↔';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: var(--bg-card);
  color: var(--primary);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.ba-label { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; color: var(--primary); }
.ba-info  { padding: 16px 18px; background: rgba(201,168,76,0.05); }
.ba-title { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 3px; }
.ba-sub   { font-size: 12px; color: var(--text-muted); }


/* =============================================================================
   13. Team — 2 Carduri mari + 2 mici
============================================================================= */

.team-grid-new {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Cardurile MARI ── */
.team-card-large {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 480px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--bg-raised);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}
.team-card-large:hover {
  box-shadow: 0 12px 48px rgba(201, 168, 76, 0.15);
  transform: translateY(-3px);
  border-color: var(--primary);
}

/* ── Rândul cu carduri mici ── */
.team-row-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Cardurile MICI ── */
.team-card-small {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 110px;
  max-height: 130px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--bg-raised);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}
.team-card-small:hover {
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12);
  transform: translateY(-3px);
  border-color: var(--primary);
}

/* ── Foto ── */
.team-card-photo {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.team-card-large .team-card-photo { width: 320px; }
.team-card-small .team-card-photo { width: 100px; }

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-initials {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1.5px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: var(--primary);
}

/* ── Conținut card mare ── */
.team-card-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

/* ── Conținut carduri mici ── */
.team-card-small .team-card-content {
  padding: 0 18px;
  gap: 4px;
  justify-content: center;
  align-items: flex-start;
}

/* ── Header card mare ── */
.team-card-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-raised);
}

.team-name {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-spec {
  font-size: 12px; font-weight: 500;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 3px;
}
.team-exp {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Carduri mici — text ── */
.team-name-small {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}
.team-spec-small {
  font-size: 11px; font-weight: 500;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.8px;
}

/* ── Descriere ── */
.team-descriere {
  font-size: 14px; font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Program (carduri mici) ── */
.team-program-small {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}
.team-program-tag {
  font-size: 13px; font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Educație + Competențe ── */
.team-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  padding-top: 4px;
  border-top: 1px solid var(--bg-raised);
}
.team-detail-block--full { grid-column: 1 / -1; }

.team-detail-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.team-detail-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px; font-weight: 500;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 2px;
}
.team-detail-label svg { width: 13px; height: 13px; stroke: var(--primary); flex-shrink: 0; }

.team-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-detail-list li {
  font-size: 13px; font-weight: 300;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.team-detail-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── Competențe / Program tags ── */
.team-competente {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.team-comp-tag {
  background: rgba(201, 168, 76, 0.12);
  color: var(--primary);
  border: 1px solid rgba(201, 168, 76, 0.25);
  font-size: 13px; font-weight: 400;
  padding: 3px 9px;
  border-radius: 20px;
  line-height: 1.5;
}


/* =============================================================================
   14. FAQ Accordion
============================================================================= */

.faq-section { background: var(--bg-surface); }
.faq-inner   { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-raised);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open { border-color: var(--primary); }

.faq-question {
  width: 100%;
  background: none; border: none;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; text-align: left;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px; line-height: 1;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}
.faq-item.open .faq-icon { background: var(--primary); color: var(--bg-base); transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 300px; }


/* =============================================================================
   15. Prices — Dropdown Tables
============================================================================= */

.prices-section { background: var(--bg-surface); }

.price-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.price-accordion { display: flex; flex-direction: column; gap: 10px; }

.price-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--bg-raised);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.price-panel.open {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(201,168,76,0.10);
}

.price-panel-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px;
  background: none; border: none;
  cursor: pointer; font-family: var(--font-body); text-align: left;
  transition: background var(--transition-fast);
}
.price-panel-trigger:hover,
.price-panel.open .price-panel-trigger { background: var(--bg-raised); }

.price-panel-left { display: flex; align-items: center; gap: 16px; }

.price-panel-icon {
  width: 44px; height: 44px;
  background: var(--bg-raised);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.price-panel.open .price-panel-icon     { background: var(--primary); }
.price-panel-icon svg                   { width: 22px; height: 22px; fill: var(--primary); transition: fill var(--transition-fast); }
.price-panel.open .price-panel-icon svg { fill: var(--bg-base); }

.price-panel-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--text-primary); }
.price-panel-meta  { font-size: 13px; font-weight: 300; color: var(--text-muted); margin-top: 2px; }

.price-panel-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.price-panel-count {
  background: var(--bg-raised);
  color: var(--primary);
  font-size: 12px; font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.price-panel-chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}
.price-panel.open .price-panel-chevron     { background: var(--primary); transform: rotate(180deg); }
.price-panel-chevron svg                   { width: 16px; height: 16px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; transition: stroke var(--transition-fast); }
.price-panel.open .price-panel-chevron svg { stroke: var(--bg-base); }

.price-panel-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.price-panel.open .price-panel-body { max-height: 9999px; }

.price-table-wrap {
  padding: 0 28px 28px;
  overflow-x: auto;
  background: var(--bg-card);
}

.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.price-table thead tr { background: var(--bg-deep); }
.price-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--primary);
  white-space: nowrap;
}
.price-table thead th:nth-child(2),
.price-table thead th:nth-child(3) { text-align: right; }

.price-table tbody tr { border-bottom: 1px solid var(--bg-raised); transition: background var(--transition-fast); }
.price-table tbody tr:last-child   { border-bottom: none; }
.price-table tbody tr:hover        { background: var(--bg-raised); }

.price-table tbody td {
  padding: 13px 16px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.4;
}
.price-table tbody td:first-child  { color: var(--text-primary); font-weight: 400; }
.price-table tbody td:nth-child(2) { text-align: right; font-weight: 500; color: var(--primary); white-space: nowrap; }
.price-table tbody td:nth-child(3) { text-align: right; font-size: 12px; color: var(--text-muted); white-space: nowrap; width: 60px; }

.price-table tbody tr.price-note-row td {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding-top: 6px; padding-bottom: 6px;
  background: var(--bg-raised);
}

.price-table-cta {
  padding: 0 28px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.price-table-cta-text        { font-size: 13px; color: var(--text-muted); font-weight: 300; }
.price-table-cta-text strong { color: var(--text-primary); font-weight: 500; }


/* =============================================================================
   16. Contact & Map
============================================================================= */

.contact-section { background: var(--bg-base); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: var(--text-secondary); font-weight: 300;
}
.contact-icon {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--bg-raised);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg        { width: 17px; height: 17px; fill: var(--primary); }
.contact-item-label      { font-size: 11px; font-weight: 500; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1px; }
.contact-item-value      { font-weight: 400; color: var(--text-primary); }
.contact-item-sub        { font-size: 12px; color: var(--text-muted); }

.map-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--bg-raised);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.map-wrapper:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.08);
}

.map-iframe-container { width: 100%; height: 230px; display: block; }
.map-iframe-container iframe { display: block; }

.map-action-bar {
  padding: 16px 20px;
  background: #202020;
  border-top: 1px solid var(--bg-raised);
  display: flex; flex-direction: column; gap: 10px;
}
.map-action-title {
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.map-buttons-group { display: flex; gap: 12px; }

.map-nav-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid #404040;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 13px; font-weight: 400;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.map-nav-btn svg { color: var(--primary); transition: transform 0.2s ease; }
.map-nav-btn:hover { background: rgba(201, 168, 76, 0.08); border-color: var(--primary); color: #FFFFFF; }
.map-nav-btn:hover svg { transform: scale(1.1); }


/* =============================================================================
   17. Gallery (Lightbox)
============================================================================= */

.gallery-section { background: var(--bg-base); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--bg-raised);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}
.gallery-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.gallery-item img   { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition-normal); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 36px; height: 36px; fill: var(--primary); }

.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }

.lightbox-inner {
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.lightbox-inner img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--bg-raised);
}
.lightbox-caption { font-size: 14px; font-weight: 300; color: var(--text-muted); }

.lightbox-close {
  position: fixed; top: 20px; right: 28px;
  background: none; border: none;
  color: var(--text-primary);
  font-size: 40px; cursor: pointer; line-height: 1;
  transition: color var(--transition-fast);
}
.lightbox-close:hover { color: var(--primary); }

.lightbox-prev,
.lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--bg-raised);
  color: var(--text-primary);
  font-size: 36px;
  width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
  line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--primary); border-color: var(--primary); color: var(--bg-base); }

.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.gallery-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid #555;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}
.gallery-dot.active,
.gallery-dot:hover { background: var(--primary); border-color: var(--primary); }


/* =============================================================================
   18. WhatsApp Box
============================================================================= */

.whatsapp-box {
  background: var(--bg-deep);
  border: 1px solid var(--bg-raised);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 20px;
}
.whatsapp-box h3 { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--text-primary); line-height: 1.2; }
.whatsapp-box p  { font-size: 15px; color: var(--text-muted); font-weight: 300; line-height: 1.7; }

.wa-features { list-style: none; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.wa-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary); font-weight: 300;
}
.wa-features li::before { content: '✓'; color: var(--whatsapp); font-weight: 600; font-size: 13px; }
.wa-divider { width: 100%; height: 1px; background: rgba(201,168,76,0.15); }
.wa-note    { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; width: 100%; }


/* =============================================================================
   19. CTA Banner
============================================================================= */

.cta-banner {
  background: linear-gradient(120deg, var(--bg-deep) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--bg-raised);
  border-bottom: 1px solid var(--bg-raised);
  padding: 70px 32px;
  text-align: center;
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(32px,4vw,50px); font-weight: 400; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-banner p  { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; font-weight: 300; }
.cta-actions   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* =============================================================================
   20. Footer
============================================================================= */

footer { background: var(--bg-deep); padding: 60px 32px 32px; color: var(--text-muted); }
.footer-inner { max-width: var(--container-max); margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bg-raised);
  margin-bottom: 28px;
}

.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; font-weight: 300; max-width: 280px; color: var(--text-muted); }
.footer-col h4  { font-size: 13px; font-weight: 500; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px; font-weight: 300;
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--primary); }

/* Date legale firmă */
.footer-legal-info { margin-top: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-legal-info p { margin: 0.2rem 0; }

/* Bannere ANPC */
.footer-anpc {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-anpc a {
  display: inline-block; line-height: 0;
  border-radius: 4px;
  transition: opacity 0.2s, box-shadow 0.2s;
  opacity: 0.9;
}
.footer-anpc a:hover { opacity: 1; box-shadow: 0 0 0 1px rgba(200,169,110,0.4); }
.footer-anpc svg { display: block; }


/* =============================================================================
   21. Floating WhatsApp Button
============================================================================= */

.float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 99; display: none; }
.float-wa a {
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.40);
  animation: pulseWa 2s infinite;
}
.float-wa svg { width: 28px; height: 28px; fill: white; }


/* =============================================================================
   22. Scroll Reveal
============================================================================= */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.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; }


/* =============================================================================
   23. Animations & Keyframes
============================================================================= */

@keyframes float   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideIn { from{transform:translateX(100%)} to{transform:translateX(0)} }
@keyframes pulseWa { 0%,100%{box-shadow:0 6px 24px rgba(37,211,102,0.4)} 50%{box-shadow:0 6px 32px rgba(37,211,102,0.7)} }


/* =============================================================================
   24. Responsive — Tablet (≤1024px)
============================================================================= */

@media (max-width: 1024px) {
  .hero            { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-top: 60px; }
  .hero-visual     { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }
  .hero-float-card.card-1 { left: 0; bottom: 30px; }

  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid   { grid-template-columns: repeat(2, 1fr); }

  .why-grid        { grid-template-columns: 1fr; gap: 40px; }
  .why-img         { max-width: 400px; margin: 0 auto; width: 100%; }

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

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

  .footer-top      { grid-template-columns: 1fr 1fr; gap: 32px; }

  .price-panel-trigger { padding: 16px 20px; }
  .price-table-wrap    { padding: 0 20px 20px; }
  .price-table-cta     { padding: 0 20px 20px; }

  /* Team tablet */
  .team-card-large { grid-template-columns: 260px 1fr; }
  .team-card-large .team-card-photo { width: 260px; }
}


/* =============================================================================
   25. Responsive — Mobile (≤768px)
============================================================================= */

@media (max-width: 768px) {
  nav        { display: none; }
  .hamburger { display: flex; }

  section       { padding: var(--section-padding-tablet); }
  .header-inner { padding: 0 20px; }
  .hero         { padding: 40px 20px 60px; }

  .services-grid,
  .ba-grid { grid-template-columns: 1fr; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-num    { font-size: 36px; }

  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .float-wa               { display: block; }
  .hero-float-card.card-2 { display: none; }
  .cta-banner             { padding: 50px 20px; }
  .whatsapp-box           { padding: 28px 24px; }

  /* Price table */
  .price-panel-title   { font-size: 17px; }
  .price-panel-meta    { display: none; }
  .price-panel-trigger { padding: 14px 16px; }
  .price-table-wrap    { padding: 0 16px 16px; }
  .price-table-cta     { padding: 0 16px 16px; flex-direction: column; align-items: flex-start; }
  .price-table thead th,
  .price-table tbody td { padding: 10px 12px; }

  /* Gallery */
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }

  /* Map */
  .map-buttons-group { flex-direction: column; gap: 8px; }

  /* ANPC */
  .footer-anpc { flex-direction: column; align-items: flex-start; }

  /* ── Team mobile ── */

  /* Both large cards: stack photo on top */
  .team-card-large {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .team-card-large .team-card-photo {
    width: 100%;
    height: 300px;
  }

  /* Educație blocks: single column */
  .team-card-body { grid-template-columns: 1fr; }

  /* Small cards: stack vertically */
  .team-row-small { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}