/* ==========================================================================
   DESIGN SYSTEM & VARIABLES — OMNIA Clean
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #0B3954;
  --primary-rgb: 11, 57, 84;
  --teal: #0E7C7B;
  --teal-rgb: 14, 124, 123;
  --green: #2FA84F;
  --green-rgb: 47, 168, 79;
  --bg-light: #E8F1F2;
  --white: #FFFFFF;
  --dark: #1F2937;
  
  /* Neutral Grays */
  --text-dark: #2B3A42;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-accent: #D1E3E6;
  
  /* Typography */
  --font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Border Radius */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(11, 57, 84, 0.05);
  --shadow-medium: 0 20px 40px rgba(11, 57, 84, 0.08);
  --shadow-hover: 0 25px 50px rgba(11, 57, 84, 0.12);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.05);
  
  /* Speeds */
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for sticky mobile bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 0.5rem;
  text-align: center;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 124, 123, 0.25);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn--outline:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 124, 123, 0.25);
}

.btn--white-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--white-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn--whatsapp {
  background-color: var(--green);
  color: var(--white);
}

.btn--whatsapp:hover {
  background-color: #248b3f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(47, 168, 79, 0.25);
}

.btn--full {
  width: 100%;
}

/* Focus Indicator */
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, details summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: padding var(--transition), box-shadow var(--transition);
  padding: 1rem 0;
}

.header--shrunk {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-header);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  width: 180px;
  height: auto;
  transition: width var(--transition);
}

.header--shrunk .logo {
  width: 150px;
}

.logo svg {
  width: 100%;
  height: 100%;
}

/* Desktop Menu */
.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-desktop__link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-desktop__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: width var(--transition);
}

.nav-desktop__link:hover::after,
.nav-desktop__link--active::after {
  width: 100%;
}

.nav-desktop__link:hover {
  color: var(--teal);
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 102;
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle--active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle--active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle--active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Fullscreen Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 2rem;
}

.mobile-menu-overlay--active {
  transform: translateY(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.mobile-menu-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.mobile-menu-link:hover,
.mobile-menu-link--active {
  color: var(--teal);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

/* ==========================================================================
   HERO HOMEPAGE
   ========================================================================== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--white);
  overflow: hidden;
  padding-top: 100px;
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(14, 124, 123, 0.45) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(47, 168, 79, 0.25) 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, rgba(11, 57, 84, 0.9) 0%, transparent 60%);
  animation: moveMesh 25s linear infinite;
  z-index: -2;
  pointer-events: none;
}

@keyframes moveMesh {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5%, -5%) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__title span {
  background: linear-gradient(135deg, var(--white) 30%, var(--border-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--bg-light);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 480px) {
  .hero__ctas {
    flex-direction: row;
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-light);
}

.hero__badge svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
  flex-shrink: 0;
}

/* Floating Abstract SVG Icon */
.hero__visual {
  display: none;
  justify-content: center;
  position: relative;
}

@media (min-width: 992px) {
  .hero__visual {
    display: flex;
  }
}

.floating-icon {
  width: 280px;
  height: 320px;
  animation: floatLeaf 6s ease-in-out infinite;
}

@keyframes floatLeaf {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(6deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.floating-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ==========================================================================
   SCROLL REVEAL EFFECTS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-parent > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stagger-parent.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Helper to staggered children transition-delay */
.stagger-parent.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-parent.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-parent.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-parent.visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-parent.visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-parent.visible > *:nth-child(6) { transition-delay: 0.55s; }

/* ==========================================================================
   SERVICE CARDS GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color var(--transition);
}

.service-card:hover .service-card__icon {
  background-color: rgba(14, 124, 123, 0.15);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--teal);
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card__link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER
   ========================================================================== */
.slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Premium Before / After Slider Image Layers */
.slider-img--before {
  background-image: url('images/before.jpg');
  z-index: 1;
}

.slider-img--after {
  background-image: url('images/after.jpg');
  z-index: 2;
  clip-path: inset(0 0 0 50%); /* JS controls this clip-path inset percentage */
}

.slider-label {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  background-color: rgba(11, 57, 84, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-label--before {
  left: 1.5rem;
}

.slider-label--after {
  right: 1.5rem;
}

/* Handle line and bar button */
.slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* JS will control this */
  width: 4px;
  background-color: var(--white);
  z-index: 15;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--teal);
  border: 4px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: background-color 0.2s;
}

.slider-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-container:hover .slider-button {
  background-color: var(--primary);
}

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}

.pricing-card--popular {
  border: 3px solid var(--teal);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card--popular:hover {
  transform: translateY(-8px) scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--teal);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.pricing-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-card__price-box {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
}

.pricing-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.pricing-card__price {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--primary);
  line-height: 1;
  margin-top: 0.25rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card__features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pricing-card__feature svg {
  width: 18px;
  height: 18px;
  fill: var(--green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Prețuri Table standard fallback styling (preturi.html) */
.pricing-table-container {
  overflow-x: auto;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  margin-bottom: 4rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.pricing-table th, 
.pricing-table td {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: rgba(232, 241, 242, 0.4);
}

/* ==========================================================================
   CALCULATOR INTERACTIV (preturi.html)
   ========================================================================== */
.calc {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.calc__header {
  background-color: var(--primary);
  color: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
}

.calc__title {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.calc__subtitle {
  color: var(--bg-light);
  font-size: 0.95rem;
}

.calc__body {
  padding: 3rem 2rem;
}

.calc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .calc__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-select, .form-input, .form-textarea {
  font-family: var(--font-text);
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--white);
  color: var(--text-dark);
  transition: all var(--transition);
  width: 100%;
}

.form-select:hover, .form-input:hover, .form-textarea:hover {
  border-color: var(--border-accent);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.15);
  outline: none;
}

.calc__results {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--teal);
}

.calc__result-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc__result-price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0 1.5rem 0;
}

/* ==========================================================================
   SOCIAL PROOF / REVIEWS CAROUSEL
   ========================================================================== */
.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none; /* Hide standard scrollbar */
  -ms-overflow-style: none; /* Hide IE scrollbar */
  gap: 1.5rem;
  padding: 1rem 0.5rem;
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Hide Chrome scrollbar */
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.review-stars svg {
  width: 20px;
  height: 20px;
  fill: #F59E0B; /* Golden star */
}

.review-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-light);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
  padding: 0;
}

.carousel-dot--active {
  background-color: var(--teal);
  width: 20px;
  border-radius: 5px;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  text-align: left;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon-shape {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--teal);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--transition), background-color var(--transition);
  flex-shrink: 0;
}

.faq-item--active {
  border-color: var(--teal);
}

.faq-item--active .faq-icon-shape {
  transform: rotate(45deg);
  background-color: var(--teal);
  color: var(--white);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-panel-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs-bar {
  background-color: var(--bg-light);
  padding: 1rem 0;
  margin-top: 80px; /* Header spacing */
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs__item a {
  color: var(--teal);
}

.breadcrumbs__item a:hover {
  color: var(--primary);
}

.breadcrumbs__item::after {
  content: '/';
  color: var(--text-muted);
}

.breadcrumbs__item:last-child {
  color: var(--text-dark);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

/* ==========================================================================
   CONTACT FORM & INFO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info {
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
}

.contact-info__title {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info__desc {
  color: var(--bg-light);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-item__icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-detail-item__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-detail-item__text h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-detail-item__text p,
.contact-detail-item__text a {
  color: var(--bg-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-detail-item__text a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Map Simulation */
.map-placeholder {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-accent) 100%);
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.map-placeholder svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--teal);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.map-pin svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  opacity: 1;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-soft);
}

.contact-form-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-card__subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* Live validation CSS hooks */
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.invalid-feedback {
  color: #EF4444;
  font-size: 0.8rem;
  font-weight: 600;
  display: none;
}

.form-input.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-textarea.is-invalid ~ .invalid-feedback {
  display: block;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 576px) {
  .about-features {
    grid-template-columns: 1fr 1fr;
  }
}

.about-feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--teal);
}

.about-feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.about-feature-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-graphics {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(14, 124, 123, 0.05) 0%, rgba(11, 57, 84, 0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-graphics svg {
  width: 70%;
  height: 70%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 576px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col__logo {
  width: 180px;
  margin-bottom: 1.5rem;
}

.footer-col__logo svg {
  width: 100%;
}

.footer-col__desc {
  color: var(--bg-light);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col__title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--teal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--bg-light);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--bg-light);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: var(--bg-light);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--bg-light);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: var(--bg-light);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   STICKY BAR FOR MOBILE (Call + WhatsApp)
   ========================================================================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  display: flex;
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

@media (min-width: 769px) {
  .sticky-mobile-bar {
    display: none;
  }
}

.sticky-mobile-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  text-align: center;
}

.sticky-mobile-btn--call {
  background-color: var(--primary);
}

.sticky-mobile-btn--whatsapp {
  background-color: var(--green);
}

.sticky-mobile-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   PASI PROCES (numerotare in locul iconitelor)
   ========================================================================== */
.service-card__icon--step {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   CARDURI DE INCREDERE (inlocuiesc caruselul de recenzii)
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-card {
  background-color: var(--white);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.trust-card__title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.trust-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.trust-card a {
  color: var(--teal);
  font-weight: 600;
}

/* ==========================================================================
   CONSIMTAMANT FORMULAR
   ========================================================================== */
.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-consent a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.form-consent .invalid-feedback {
  grid-column: 1 / -1;
}

.form-consent.is-invalid .invalid-feedback {
  display: block;
}

/* ==========================================================================
   SUBSOL: LINKURI LEGALE + IDENTIFICARE FIRMA
   ========================================================================== */
.footer-bottom-links {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.6rem;
}

.footer-legal {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.footer-legal p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(232, 241, 242, 0.65);
  text-align: center;
  margin-bottom: 0;
}

.footer-legal strong { color: var(--bg-light); }

.footer-legal a {
  color: rgba(232, 241, 242, 0.65);
  text-decoration: underline;
}

.footer-legal a:hover { color: var(--white); }

/* ==========================================================================
   BANNER COOKIE-URI
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 86px;
  z-index: 1200;
  background-color: var(--white);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 460px;
  }
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  flex: 1;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  justify-content: center;
}

/* ==========================================================================
   PAGINI LEGALE (termeni, confidentialitate, cookies)
   ========================================================================== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--primary);
  margin: 2.5rem 0 1rem 0;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--primary);
  margin: 1.75rem 0 0.75rem 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.legal-content li { margin-bottom: 0.5rem; }

.legal-content a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.legal-content .legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  margin-bottom: 2.5rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border-light);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background-color: var(--bg-light);
  font-family: var(--font-title);
  color: var(--primary);
}

/* ==========================================================================
   PAGINA DE MULTUMIRE
   ========================================================================== */
.thanks-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 3rem 2rem;
}

.thanks-box__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background-color: rgba(47, 168, 79, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-box__icon svg {
  width: 36px;
  height: 36px;
  fill: var(--green);
}

.thanks-box__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ==========================================================================
   BUTOANE DIN HEADER (Sună acum + Mesaj WhatsApp)
   ========================================================================== */
.nav-desktop__cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn--nav {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  gap: 0.45rem;
  white-space: nowrap;
}

.btn--nav svg {
  flex-shrink: 0;
}

/* Desktop ingust: stramtam spatierea ca sa incapa ambele butoane */
@media (min-width: 992px) and (max-width: 1149px) {
  .nav-desktop { gap: 1.1rem; }
  .nav-desktop__link { font-size: 0.85rem; }
  .btn--nav { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
}

/* ==========================================================================
   OPTIMIZARI PENTRU MOBIL
   ==========================================================================
   1. Nimic nu depaseste latimea ecranului, nici pe telefoane de 320px
   2. Zone de atingere de cel putin 44px pe controalele principale
   3. Spatieri reduse pe ecrane foarte inguste
   ========================================================================== */

/* --- 1. Fara depasiri pe orizontala --- */
svg, table, pre { max-width: 100%; }

.contact-grid > *,
.about-grid > *,
.hero__grid > *,
.services-grid > *,
.trust-grid > *,
.pricing-grid > * {
  min-width: 0;
}

.contact-info,
.contact-form-card,
.legal-content,
.footer-legal {
  overflow-wrap: break-word;
}

/* --- 2. Zone de atingere --- */
@media (max-width: 991px) {
  /* Hamburger: suprafata de atingere 46x46, fara a modifica desenul liniilor */
  .menu-toggle::before {
    content: '';
    position: absolute;
    top: -11px;
    right: -8px;
    bottom: -11px;
    left: -8px;
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  .service-card__link {
    min-height: 44px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .footer-bottom-links {
    gap: 0.5rem 1.25rem;
  }

  .footer-bottom-links a,
  .footer-legal a,
  .breadcrumbs__item a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .footer-contact-item a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .form-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  .carousel-dot {
    min-width: 24px;
    min-height: 24px;
  }
}

/* --- 3. Ecrane inguste --- */
@media (max-width: 560px) {
  .contact-info,
  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .calc__body {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .contact-info,
  .contact-form-card {
    padding: 1.75rem 1.15rem;
  }

  .btn {
    padding: 0.8rem 1.35rem;
    font-size: 0.9rem;
  }

  /* Butoanele mari din hero si din pagina de multumire ocupa toata latimea */
  .hero__ctas .btn,
  .thanks-box__actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .legal-content table {
    font-size: 0.82rem;
  }

  .legal-content th,
  .legal-content td {
    padding: 0.5rem;
  }
}
