/* assets/css/style.css - Stil principal pentru Contabilling (Actualizat) */

/* ===== 1. VARIABILE ȘI SETĂRI GLOBALE ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

:root {
  --font-size-base: 22px;
  --primary: #183153;
  --primary-rgb: 24,49,83;
  --secondary: #346294;
  --secondary-rgb: 52,98,148;
  --accent: #ffb300;
  --accent-dark: #e69c00;
  --accent-rgb: 255,179,0;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-brand: #f4f7fb; /* Folosit ca fundal principal */
  --white: #fff;
  --white-rgb: 255,255,255;
  --text: #333;
  --text-light: #666;
  --text-light-alt: #888;
  --text-brand: #222; /* Folosit ca text principal */
  --card-bg: #fff;
  --border-light: #eee;
  --gray-light: #b4b4b4;
  --gray-medium: #e0e0e0;
  --black: #111827; /* Folosit pentru footer */
  --shadow: 0 8px 30px rgba(var(--primary-rgb),0.07);
  --shadow-sm: 0 2px 14px rgba(var(--primary-rgb),0.06);
  --shadow-md: 0 4px 15px rgba(var(--primary-rgb),0.15);
  --shadow-lg: 0 8px 25px rgba(var(--primary-rgb),0.25);
  --shadow-hover: 0 12px 30px rgba(var(--primary-rgb),0.08);
  --shadow-accent: 0 5px 15px rgba(var(--accent-rgb),0.2);
  --shadow-black: 0 5px 15px rgba(0,0,0,0.15);
  --border-radius: 0; /* Colțuri nerotunjite pentru un look specific, conform cerinței */
  --transition: all 0.3s ease;
  --section-spacing: 4rem; /* Ajustat puțin spațiul */
  /* font-size: 22px; /* Baza globală este 22px, pentru un aspect modern și aerisit */
}

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

html {
  font-size: var(--font-size-base);
}

/* ===== 2. ELEMENTE DE BAZĂ ===== */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bg-brand);
  color: var(--text-brand);
  overflow-x: hidden;
  font-size: var(--font-size-base); /* Setăm baza la 22px pentru un aspect modern și aerisit */
}

p {
  margin-bottom: 1rem;
  color: var(--text-light); /* Culoare mai deschisă pentru textul comun */
}

h1, h2, h3, h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: var(--font-size-h1); /* Responsive font size */
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-h2); /* Responsive font size */
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--font-size-h3); /* Responsive font size */
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

ul, ol {
  list-style-position: outside; /* Preferabil outside pentru aliniere */
  padding-left: 1.5rem; /* Adăugăm padding pentru listele standard */
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ===== 3. LAYOUT ȘI STRUCTURĂ ===== */

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Consistent padding */
}

main {
  padding-top: 0;
  width: 100%;
}

/* Header & Navigation */
header {
  background: linear-gradient(to right,
    var(--white) 0%,
    var(--white) 200px,
    var(--bg-alt) 350px,
    transparent 100%
  );
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-height: 90px;
  height: 90px;
  display: flex;
  align-items: center;
}

/* Stare scrolled aplicată de JS */
header.scrolled {
  background: linear-gradient(to right,
    var(--white) 0%,
    var(--white) 200px,
    var(--bg-alt) 350px,
    transparent 100%
  );
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
  max-width: none;
  margin: 0;
  width: 100%;
  justify-content: flex-start; /* Logo la stânga, meniul după el */
}

.logo {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
  position: relative;
  z-index: 1010;
  flex-shrink: 0;
  margin-right: 2.5rem;
  justify-content: flex-start;
}

.brand-logo {
  width: 280px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

nav ul li {
  display: flex;
  align-items: center;
  height: 100%;
}

nav ul li a {
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--primary);
  text-decoration: none;
  padding: 0.5em 0.6em; /* Padding orizontal redus pentru spațiu între underline-uri */
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
}

nav ul li a .nav-link-text {
  position: relative;
  display: inline-block;
}

nav ul li a .nav-link-text::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

nav ul li a:hover .nav-link-text::after,
nav ul li a.active .nav-link-text::after {
  transform: scaleX(1);
}

nav ul li a:hover {
  color: var(--accent);
}

nav ul li a.active {
  color: var(--accent);
  font-weight: 600; /* Îngroșăm link-ul activ */
}

/* Burger Menu */
.burger {
  display: none; /* Ascuns pe desktop by default */
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary); /* Culoare default */
  transition: var(--transition);
  z-index: 1010; /* Deasupra meniului */
  padding: 0.5rem;
}

/* Gradient bar sub header */
.header-gradient-bar {
  width: 100vw;
  height: 14px;
  background: linear-gradient(to right,
    #fff 0%,
    rgba(255,255,255,0.95) 20%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.3) 90%,
    rgba(255,255,255,0.0) 100%
  );
  position: fixed;
  top: 90px;
  left: 0;
  z-index: 999;
  pointer-events: none;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--gray-medium); /* Culoare text default footer */
  padding: 4rem 1.5rem 2rem; /* Padding consistent */
  font-size: 0.95rem;
  position: relative;
  width: 100%;  
  margin-top: var(--section-spacing); /* Spațiu înainte de footer */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-columns {
  display: grid; /* Folosim grid pentru aliniere mai bună */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-column {
  text-align: left;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem; /* Ajustat mărime titlu coloană */
  margin-bottom: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.footer-logo-main {
  text-align: left;
}

.footer-logo-main img {
  margin-bottom: 1rem;
  filter: brightness(1.15); /* Ajustat luminozitate */
}

.footer-tagline {
  color: var(--gray-light);
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact,
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li,
.footer-links-list li {
  margin-bottom: 0.8rem;
  display: flex; /* Asigură alinierea icon/text */
  align-items: flex-start; /* Aliniere sus pentru texte mai lungi */
}

.footer-icon {
  margin-right: 0.8rem;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px; /* Ajustare fină aliniere icon */
}

.footer-contact li a,
.footer-links-list li a {
  color: var(--gray-medium);
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block; /* Necesare pentru efecte */
}
.footer-contact li a:hover,
.footer-links-list li a:hover {
  color: var(--accent);
}

/* Stil specific pentru linkurile utile */
.footer-links-list li a {
  position: relative;
  padding-left: 1.2rem; /* Mărit spațiul pentru icon */
}
.footer-links-list li a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  transition: 0.3s ease;
}
.footer-links-list li a:hover {
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrare elemente bottom */
  gap: 1.5rem;
  padding-top: 2rem; /* Mărit spațiul */
  border-top: 1px solid rgba(var(--white-rgb), 0.1);
  margin-top: 1rem; /* Spațiu între coloane și bottom */
}

.footer-logos {
  display: flex;
  flex-wrap: wrap; /* Permite trecerea pe rând nou pe mobil */
  justify-content: center;
  align-items: center;
  gap: 2rem; /* Redus gap între logo-uri */
}

.footer-logo {
  height: 35px; /* Logo-uri puțin mai mici */
  width: auto;
  filter: brightness(0.85) grayscale(0.1); /* Ajustat filtru default */
  transition: all 0.3s ease;
  background: #fff; /* Fundal alb pentru logo */
  border-radius: 8px; /* Colțuri ușor rotunjite pentru aspect modern */
  padding: 6px 12px; /* Spațiu interior pentru ca logo-ul să nu fie lipit de margine */
  box-shadow: 0 2px 8px rgba(24,49,83,0.07); /* Umbră subtilă pentru vizibilitate pe fundal închis */
}

.footer-logo:hover {
  filter: brightness(1.1) grayscale(0);
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  color: var(--gray-light);
  font-size: 0.85rem; /* Micșorat text copyright */
}

/* ===== 4. COMPONENTE ===== */

/* Grid pentru carduri (ex: Servicii) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Ajustat minmax */
  gap: 2rem; /* Redus gap */
  margin-top: 3rem;
}

/* Cards */
.card {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm); /* Umbră mai subtilă default */
  padding: 2rem 1.5rem; /* Ajustat padding */
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light); /* Adăugat un border subtil */
  display: flex; /* Folosim flex pentru aliniere conținut */
  flex-direction: column;
  justify-content: space-between; /* Distribuie spațiul */
}

.card:hover {
  transform: translateY(-8px); /* Efect hover puțin mai mic */
  box-shadow: var(--shadow-md); /* Umbră mai pronunțată la hover */
}

/* Linia accent la hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Linie mai groasă */
  background: var(--accent);
  transition: var(--transition);
  transform: scaleX(0);
  transform-origin: left;
}
.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 65px; /* Iconiță mai mică */
  height: 65px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0; /* Previne micșorarea */
  transition: var(--transition); /* Adăugat tranziție */
}
.card-icon svg {
  width: 50%; /* Scalare SVG în interior */
  height: 50%;
}

.card:hover .card-icon {
  background: var(--accent);
  transform: scale(1.05); /* Scalare ușoară la hover */
}

.card h3 {
  font-size: 1.3rem; /* Ajustat mărime titlu card */
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.95rem; /* Ajustat mărime text card */
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Permite paragrafului să ocupe spațiu */
  line-height: 1.4; /* Adăugat line-height pentru lizibilitate */
}

.card .cta {
  margin-top: auto; /* Împinge butonul în jos */
  padding: 0.7em 1.5em; /* Buton mai mic în card */
  font-size: 0.9rem;
}

/* Buton general CTA */
.cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.8em 2em; /* Ajustat padding */
  font-weight: 600;
  font-size: 1rem; /* Ajustat mărime font */
  box-shadow: var(--shadow-sm); /* Umbră default mai mică */
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border-radius: var(--border-radius); /* Păstrat 0 */
}

.cta:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md); /* Umbră hover mai pronunțată */
}

/* Titluri de secțiune */
.section-title {
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
}
/* Aplicăm clasa .section-title la H2 unde este necesar */
.servicii h2, .servicii-extra h2, .avantaje h2, .testimoniale h2,
.faq h2, .team-members h2, .contact-details h2, form h2 /* Adăugat și pentru formular și contact */ {
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}
.servicii h2::after, .servicii-extra h2::after, .avantaje h2::after, .testimoniale h2::after,
.faq h2::after, .team-members h2::after, .contact-details h2::after, form h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
}


/* ===== SECTIONS (Homepage Specific & Common Inner Page Sections) ===== */

/* Hero Section (index.html) */
.hero {
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left top;
  position: relative;
  height: 100vh; /* Ocupă tot viewportul, inclusiv sub header */
  width: 100vw;
  margin-bottom: var(--section-spacing);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  margin-top: 0;
  padding-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   /* Gradient mai subtil și mai întunecat */
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.7) 0%, rgba(var(--primary-rgb), 0.6) 40%, rgba(var(--primary-rgb), 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px; /* Lățime maximă conținut hero */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem); /* Mărime font responsive */
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero p { /* Stil comun pentru text sub H1 */
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(var(--white-rgb), 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-cta {
  position: absolute;
  top: 7.5rem;
  right: 2rem;
  z-index: 3;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  padding: 1em 2.5em;
  font-size: 1.05rem;
  border: none;
  box-shadow: var(--shadow-md);
  display: inline-block;
  transition: var(--transition);
}

.hero .hero-cta:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Scroll Indicator (index.html) */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  opacity: 0; /* Inițial ascuns, apare via JS/CSS animatie */
  cursor: pointer;
  transition: opacity 0.5s ease 1s, transform 0.5s ease 1s; /* Adăugăm delay */
  min-width: 160px;
}
.scroll-indicator.visible { /* Clasa adăugată de JS sau default */
   opacity: 0.85;
   transform: translate(-50%, 0);
}

.scroll-text {
  color: var(--white);
  font-size: 0.85rem; /* Text mai mic */
  font-weight: 500;
  margin-top: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  white-space: nowrap;
  text-align: center;
}

.scroll-arrow {
  width: 24px; /* Săgeată mai mică */
  height: 24px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: scrollArrow 1.8s infinite ease-in-out; /* Animație ajustată */
  margin-bottom: 5px;
}

/* Page Hero (pagini interioare) */
.page-hero {
  background-image: linear-gradient(180deg, rgba(var(--primary-rgb), 0.8) 0%, var(--primary) 50%, var(--secondary) 100%); /* Gradient ajustat */
  background-size: cover;
  background-position: center;
  position: relative;
  height: 35vh; /* Înălțime relativă */
  min-height: 220px; /* Înălțime minimă */
  width: 100%;
  margin-bottom: 3rem; /* Spațiu după page-hero */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  margin-bottom: 0; /* Eliminăm margin bottom */
  font-size: clamp(2.5rem, 7vw, 4rem); /* Mărime mare, responsive, similar cu hero principal */
  font-weight: 700;
  line-height: 1.1;
}

/* Services Section (index.html & altele) */
.servicii {
  padding: var(--section-spacing) 1.5rem 0; /* Spațiere sus, padding lateral */
  max-width: 1200px;
  margin: 0 auto; /* Centrare */
}

/* Advantages Section (index.html) */
.avantaje {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-alt);
  position: relative;
  width: 100%;
  margin: var(--section-spacing) 0;
}

.avantaje-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.avantaje ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem; /* Redus gap */
  list-style: none;
  padding: 0; /* Eliminăm padding default ul */
  margin-top: 3rem;
}

.avantaje li {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1rem 1.5rem; /* Padding ajustat */
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem; /* Ajustat font */
  text-align: center;
  transition: var(--transition);
  position: relative;
  padding-top: 3.5rem; /* Spațiu pt icon */
  flex: 1;
  min-width: 240px;
  max-width: 280px;
  border-bottom: 3px solid var(--accent);
  list-style-type: none; /* Ascunde bulina default */
  margin-bottom: 0; /* Scoatem margin bottom specific li */
}
.avantaje li::marker { /* Ascunde bulina default */
  content: none;
}

.avantaje li:hover {
  transform: translateY(-5px); /* Efect hover mai mic */
  box-shadow: var(--shadow-md);
}

.avantaje li::before {
  content: '✓';
  position: absolute;
  top: 1rem; /* Repoziționat icon */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: var(--white);
  background: var(--accent);
  width: 45px; /* Icon mai mic */
  height: 45px;
  border-radius: 50%;
  display: flex; /* Utilitare inline ar fi .d-flex .align-center .justify-center */
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  /* E ok să rămână stil specific aici, dar se pot folosi și utilitare */
}

/* Approach Section / Servicii Extra (index.html) */
.servicii-extra {
  padding: var(--section-spacing) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.approach-container {
  display: grid; /* Folosim grid pentru layout */
  grid-template-columns: 1fr; /* Default o coloană */
  gap: 3rem;
  margin-top: 3rem;
  align-items: center; /* Aliniere verticală */
}

@media (min-width: 992px) { /* Layout pe 2 coloane pe desktop */
  .approach-container {
    grid-template-columns: 1fr 1.5fr; /* Coloana vizuală | Coloana text */
  }
}

.approach-visual {
  position: relative;
  min-height: 450px; /* Înălțime minimă */
  /* Eliminăm stilul direct, folosim placeholder-ul */
}

.approach-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 450px;
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* Necesar pentru elementele absolute interne */
  padding: 2rem; /* Adăugat padding */
  box-shadow: var(--shadow-md);
}

/* Grafica procesului */
.process-graphic {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* Redus gap */
  width: 100%;
  max-width: 300px; /* Limităm lățimea graficii */
  margin: 0 auto;
  color: var(--white);
}

.process-step {
  display: flex;
  align-items: center;
  position: relative;
}

.step-number {
  width: 50px; /* Element mai mic */
  height: 50px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.15); /* Background mai vizibil */
  border: 2px solid var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Umbră mai subtilă */
  flex-shrink: 0;
}

.step-line {
  flex-grow: 1; /* Ocupă spațiul rămas */
  height: 2px;
  background: var(--accent);
  margin-left: 1rem;
  position: relative;
  min-width: 50px; /* Lățime minimă linie */
}
/* Eliminăm ::after de pe linie, poate fi confuz */

.approach-content {
 /* Nu necesită stiluri specifice dacă folosim grid */
}

.approach-steps {
  display: grid;
  grid-template-columns: 1fr; /* Default o coloană */
  gap: 1.5rem; /* Redus gap */
  margin-top: 0; /* Fără margine sus dacă e în grid */
}

@media (min-width: 768px) { /* Două coloane pe tabletă+ */
   .approach-steps {
     grid-template-columns: repeat(2, 1fr);
   }
}
@media (min-width: 1200px) { /* O singură coloană pe desktop (în layout-ul cu 2 coloane principal) */
   .approach-steps {
     grid-template-columns: 1fr;
   }
}


.approach-steps .card {
  padding: 1.5rem; /* Padding mai mic în cardurile de proces */
  margin-bottom: 0;
  text-align: left; /* Aliniere stânga */
}
.approach-steps .card .card-icon {
   width: 50px; /* Iconițe mai mici */
   height: 50px;
   margin: 0 0 1rem 0; /* Margin jos, fără auto */
}
.approach-steps .card h3 {
   font-size: 1.1rem; /* Titlu mai mic */
}
.approach-steps .card p {
   font-size: 0.9rem; /* Text mai mic */
   margin-bottom: 0; /* Fără spațiu jos */
}

/* CTA Final Section (index.html) */
.cta-final {
  /* Imagine placeholder, înlocuiește cu una relevantă */
  background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.85) 0%, rgba(var(--secondary-rgb), 0.9) 100%), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efect parallax */
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem; /* Padding ajustat */
  margin-top: var(--section-spacing);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.cta-final-content {
  max-width: 900px; /* Lățime maximă conținut */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Eliminăm elementele ::before/::after decorative, pot distrage */

.cta-final p {
  font-size: clamp(1.3rem, 3vw, 1.8rem); /* Mărime text responsive */
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white); /* Asigurăm culoarea albă */
}

.cta-final .cta {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  padding: 1em 2.5em; /* Padding ajustat */
  font-size: 1rem; /* Font size ajustat */
  border: 2px solid transparent; /* Border transparent inițial */
}

.cta-final .cta:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: var(--shadow-lg);
}


/* ===== 5. FORMULARE ȘI ELEMENTE INTERACTIVE ===== */

/* Form Styles (contact.html) */
form {
  max-width: 700px;
  margin: 3rem auto;
  background: var(--card-bg);
  padding: 2.5rem; /* Padding ajustat */
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--accent);
}
/* Eliminăm ::before decorativ */

form h2 { /* Titlul formularului */
   font-size: 1.8rem;
   margin-bottom: 2rem;
}

form label {
  display: block;
  margin-bottom: 1.5rem; /* Spațiere între câmpuri */
  font-weight: 500;
  font-size: 0.95rem; /* Mărime font label */
  color: var(--text);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 0.9rem 1rem; /* Padding câmpuri */
  margin-top: 0.5rem; /* Spațiu mic între label și input */
  border: 1px solid var(--border-light); /* Border vizibil */
  background: var(--bg-alt); /* Fundal ușor diferit */
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text);
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1); /* Efect focus */
}

/* Stil pentru input invalid (adăugat de JS) */
form input.invalid,
form textarea.invalid {
  border-color: #ff3860; /* Roșu pentru eroare */
  background: rgba(255, 56, 96, 0.05);
}

form textarea {
  min-height: 150px; /* Înălțime minimă textarea */
  resize: vertical;
}

form button.cta {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem; /* Padding buton submit */
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1rem;
}

/* Chatbot Styles (index.html) */
.chatbot-container {
  position: fixed;
  right: 20px; /* Ajustat poziție */
  bottom: 20px;
  z-index: 1000;
}

.chatbot-toggle {
  width: 220px;
  max-width: 100%;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  background: var(--primary, #183153);
  color: #fff;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24,49,83,0.08);
  margin-bottom: 12px;
  gap: 10px;
  transition: background 0.2s;
}
.chatbot-toggle:hover,
.chatbot-toggle:focus {
  background: var(--primary-dark, #11213a);
}

.chatbot-icon {
  /* margin-right: 10px; Eliminat, folosim gap pe parent */
  flex-shrink: 0;
  color: var(--accent);
}
.chatbot-icon svg {
  display: block; /* Elimină spațiu sub svg */
}

/* Chatbot Box - Folosește deja utilitare, e ok */
.chatbot-box {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 80px;
  margin-left: auto;
  margin-right: auto;
  z-index: 9999;
  min-width: 320px;
  min-height: 400px;
}
.chatbot-box.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chatbot Header - Folosește deja utilitare, e ok */
/* .chatbot-header { ... } */
.chatbot-header h4 {
  margin: 0;
  font-size: 1rem; /* Titlu chat ajustat */
  font-weight: 500;
  color: var(--white);
}

.chatbot-close {
  cursor: pointer;
  font-size: 1.4rem; /* Buton închidere ajustat */
  line-height: 1;
  padding: 0 5px;
  color: rgba(var(--white-rgb), 0.7);
  transition: color 0.2s ease;
}
.chatbot-close:hover {
   color: var(--white);
}

/* Chatbot Messages - Folosește deja utilitare, e ok */
/* .chatbot-messages { ... } */
.message {
  max-width: 85%;
  padding: 10px 14px; /* Padding mesaje ajustat */
  border-radius: 12px; /* Radius ajustat */
  line-height: 1.4; /* Line height ajustat */
  font-size: 0.9rem; /* Font size mesaje ajustat */
  position: relative;
  opacity: 1; /* Asigură vizibilitatea implicită */
  transform-origin: bottom; /* Păstrat */
}
.bot-message {
  align-self: flex-start;
  background-color: #eef1f5; /* Culoare fundal bot ajustată */
  color: var(--text);
  border-bottom-left-radius: 4px; /* Colț ajustat */
}

.user-message {
  align-self: flex-end;
  background-color: var(--secondary);
  color: var(--white);
  border-bottom-right-radius: 4px; /* Colț ajustat */
}

.message-content {
  word-wrap: break-word;
}

/* Chatbot Input - Folosește deja utilitare, e ok */
/* .chatbot-input { ... } */
.chatbot-input input {
  flex: 1;
  padding: 8px 15px; /* Padding input ajustat */
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.9rem; /* Font input ajustat */
  outline: none;
  transition: all 0.3s ease;
}

.chatbot-input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.1);
}

.chatbot-input button {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  width: 36px; /* Buton send mai mic */
  height: 36px;
  border-radius: 50%;
  margin-left: 8px;
  cursor: pointer;
  /* display: flex; align-items: center; justify-content: center; - via utilitare */
  transition: all 0.3s ease;
}
.chatbot-input button svg {
   width: 20px; /* Icon send ajustat */
   height: 20px;
}

.chatbot-input button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05); /* Efect hover buton send */
}

/* Eliminat .message-time - nu era folosit în HTML */

/* Uniformizare lățime cu butonul .cta și fereastra chatbot */
.cta.hero-cta, .chatbot-toggle, .chatbot-box {
  width: 350px;
  max-width: 90vw;
}

.chatbot-box {
  min-width: 320px;
  min-height: 400px;
}

/* ===== 6. PAGINI SPECIFICE ===== */

/* Container generic pentru conținut pagini interioare */
.page-content-container {
  padding: 3rem 0; /* Spațiere sus/jos */
}

/* Liste în secțiuni (pagini servicii, despre) */
section ul, section ol {
  list-style: none; /* Adăugat list-style: none */
  padding-left: 1.5rem; /* Padding standard pt liste */
  margin: 1.5rem 0;
}
section ul li, section ol li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1rem; /* Spațiu pentru bulină/număr */
  font-size: 1rem; /* Mărime font listă */
  color: var(--text-light);
}
section ul li strong, section ol li strong {
   color: var(--text-brand); /* Îngroșat mai închis */
}

/* Stil specific liste neordonate (•) */
section ul li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute; /* Poziționare absolută */
  left: 0;
  top: 1px; /* Aliniere fină */
  font-size: 1.2em; /* Mărime bulină */
  text-shadow: 1px 1px 0 var(--accent); /* Umbra galbenă apropiată */
}

/* Stil specific liste ordonate (1.) */
section ol {
  counter-reset: section-counter; /* Resetăm counterul pentru fiecare listă <ol> */
}
section ol li {
  counter-increment: section-counter; /* Incrementăm counterul */
}
section ol li::before {
  content: counter(section-counter) "."; /* Afișăm numărul */
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: -5px; /* Ajustare poziție număr */
  top: 0;
  font-size: 1em;
}

/* Team Members (despre-noi.html) */
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Min-width mai mic */
  gap: 2rem; /* Gap ajustat */
  margin: 3rem 0 2rem;
}

.team-member {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem; /* Padding redus */
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 130px; /* Poză mai mică */
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid var(--white); /* Border alb */
  box-shadow: var(--shadow); /* Umbră mai pronunțată */
  flex-shrink: 0;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asigură acoperirea */
  transition: transform 0.4s ease; /* Efect zoom la hover */
}
.team-member:hover img {
  transform: scale(1.05);
}

.team-member h3 {
  margin-bottom: 0.3rem; /* Spațiu redus */
  color: var(--primary);
  font-size: 1.2rem; /* Nume mai mic */
  margin-top: 0.5rem;
}

.team-member p { /* Poziția */
  color: var(--text-light);
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.9rem; /* Poziție mai mică */
}

/* FAQ Styles (pagini servicii) */
.faq {
  margin: 3rem 0;
}
.faq h2 { /* Titlul FAQ */
   margin-bottom: 2.5rem;
}

.faq-item {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem; /* Padding ajustat */
  margin-bottom: 1rem; /* Spațiu între itemi redus */
  border: 1px solid var(--border-light);
  transition: var(--transition);
  border-left: 4px solid var(--accent); /* Accent stânga */
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary); /* Schimbăm accent la hover */
}

.faq-item h3 {
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem; /* Întrebare mai mică */
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6; /* Spațiere text răspuns */
  font-size: 0.95rem; /* Răspuns mai mic */
  margin-bottom: 0;
}

/* Contact Page Specifics */
.contact-details {
   margin-bottom: 3rem;
}
.contact-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem; /* Spațiu după listă */
}

.contact-details ul li {
  margin-bottom: 1rem;
  padding-left: 2.5rem; /* Mărit spațiu pt icon */
  position: relative;
  font-size: 1rem;
  color: var(--text-brand); /* Text mai închis */
}
.contact-details ul li a {
   color: var(--accent);
}
.contact-details ul li a:hover {
   color: var(--accent-dark);
}

/* Iconițe contact */
.contact-details ul li::before {
  position: absolute;
  left: 0;
  top: 2px; /* Aliniere icon */
  color: var(--accent);
  font-size: 1.2rem; /* Mărime icon */
  font-family: 'Arial', sans-serif; /* Asigurăm afișarea emoji */
  width: 2rem; /* Spațiu fix pt icon */
  text-align: center;
}
.contact-details ul li:nth-child(1)::before { content: '📞'; }
.contact-details ul li:nth-child(2)::before { content: '✉️'; }
.contact-details ul li:nth-child(3)::before { content: '📍'; }
.contact-details ul li:nth-child(4)::before { content: '🏢'; }
.contact-details ul li:nth-child(5)::before { content: '🕒'; }

/* Hartă Google Maps */
iframe {
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0;
  display: block; /* Elimină spațiu sub iframe */
  max-width: 100%; /* Asigură responsivitatea */
}

/* ===== 7. ANIMAȚII ȘI EFECTE VIZUALE ===== */
@keyframes scrollArrow {
  0%, 100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: rotate(45deg) translateY(6px); /* Mișcare mai subtilă */
    opacity: 0.9;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  to {
    opacity: 0.85;
    transform: translate(-50%, 0);
  }
}

@keyframes messageScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.message.fade-in {
  animation: messageScale 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1;
  opacity: 1;
}

/* Fade-in effect for elements on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(25px); /* Pornire puțin mai de jos */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 8. UTILITARE (UTILITY CLASSES) ===== */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.flex-1 { flex: 1; }
.flex-grow-1 { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.pos-rel { position: relative; }
.pos-abs { position: absolute; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }
.w-auto { width: auto; }

/* Spacing (exemplu: p-10 = padding 10px, m-15 = margin 15px, mt-20 = margin-top 20px) */
/* Adaugă după nevoie, ex: .p-10, .p-15, .p-20, .p-30, .m-10, .mt-10, etc. */
.p-10 { padding: 10px; }
.p-15 { padding: 15px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
/* Adaugă pt top, bottom, left, right similar */
.m-0 { margin: 0; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
/* Adaugă pt left, right similar */

/* Colors */
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-light { background-color: var(--bg-alt); } /* Renamed from .bg-light to match variable */
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.text-dark { color: var(--text-brand); } /* Renamed */

/* Display */
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; } /* Util pentru responsive */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Shadows & Borders */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.border { border: 1px solid var(--border-light); }
.border-0 { border: 0; }
.rounded-circle { border-radius: 50%; }
.rounded-10 { border-radius: 10px; } /* Exemplu specific */

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }


/* ===== 9. HELPERS ===== */
/* Lock body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Hide element visually but keep it accessible */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}