/* Base */
* { box-sizing: border-box; }
html, body { 
  height: 100%; 
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  color: #111827;
  background: #ffffff;
  width: 100%;
  max-width: 100vw;
}
html { scroll-behavior: smooth; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 20;
  background: rgba(250, 204, 21, 0.8);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  overflow: hidden;
}


/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation delays for multiple elements */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* Mobile Menu Styles */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: #111827;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-logo {
  height: 35px;
  width: auto;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-links {
  margin-bottom: 30px;
}

.mobile-nav-link {
  display: block;
  padding: 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #fbbf24;
}

.mobile-contact-info {
  margin-bottom: 25px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 10px;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.mobile-contact-item:last-child {
  margin-bottom: 0;
}

.mobile-contact-item i {
  color: #fbbf24;
  font-size: 16px;
  width: 20px;
}

.mobile-contact-item a {
  color: #111827;
  text-decoration: none;
  font-weight: 500;
}

.mobile-language-selector {
  margin-bottom: 25px;
}

.mobile-lang-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  font-size: 16px;
  color: #111827;
}

.mobile-cta {
  margin-top: 20px;
}

.mobile-call-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav,
  .desktop-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    flex-shrink: 0;
    position: relative;
    z-index: 25;
  }
  
  .header-inner {
    position: relative;
    padding: 0 8px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    gap: 8px;
  }
  
  .brand {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  
  .brand-link {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
  }
  
  .logo-img {
    height: 35px;
    width: auto;
    max-width: calc(100vw - 80px);
    object-fit: contain;
  }
  
  .site-header {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    left: 0;
    right: 0;
  }
  
  .container {
    width: 100%;
    max-width: 100vw;
    padding: 0 8px;
    box-sizing: border-box;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    width: 100%;
    max-width: 100vw;
  }
  
  .mobile-contact-info {
    padding: 15px;
  }
  
  .mobile-nav-link {
    font-size: 16px;
    padding: 12px 0;
  }
  
  .header-inner {
    padding: 0 4px;
    height: 56px;
    gap: 4px;
  }
  
  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 8px;
  }
  
  .hamburger-line {
    width: 24px;
    height: 3px;
    margin: 2px 0;
  }
  
  .logo-img {
    height: 28px;
    max-width: calc(100vw - 50px);
  }
  
  .container {
    padding: 0 4px;
  }
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-link { display: block; text-decoration: none; }
.logo-img { height: 45px; width: auto; display: block; }

/* Desktop specific styles */
@media (min-width: 769px) {
  .header-inner {
    padding: 0 16px;
  }
  
  .brand {
    flex: initial;
  }
  
  .logo-img {
    height: 45px;
    max-width: none;
  }
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-select {
  height: 40px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.06);
  color: #111827;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.lang-select:hover, .lang-select:focus {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.25);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary { background: #111827; color: #fff; box-shadow: 0 4px 14px rgba(17, 24, 39, 0.25); border: 2px solid #facc15; }
.btn-primary:hover { background: #0b1220; }
.btn-secondary { background: #f3f4f6; color: #111827; }
.btn-secondary:hover { background: #e5e7eb; }

/* Hero */
.hero { padding: 0; }
.hero-photo {
  /* Slideshow backgrounds controlled via CSS vars set from JS */
  background: #0b1220 var(--hero-bg, url('images/5.jpg')) center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--hero-bg-next, none) center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-photo.is-fading::before {
  opacity: 1;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 120px 16px 60px; width: 100%; }
.hero-inner.center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-title-lines { 
  color: #fff; 
  margin: 0 0 18px; 
  font-size: 44px; 
  line-height: 1.1; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 0.5px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.hero-title-lines .line { display: block; }
.btn-cta { background: #facc15; color: #111827; border: 2px solid #facc15; }
.btn-cta:hover { background: #f5c211; transform: translateY(-1px) scale(1.02); box-shadow: 0 10px 30px rgba(250, 204, 21, 0.35); }
.btn-cta { transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }

/* Navbar call button hover animation */
.header-actions .call-btn { transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.header-actions .call-btn:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 10px 30px rgba(250, 204, 21, 0.35); }

.hero-inner { text-align: center; }
.tagline { margin: 0; color: #facc15; font-weight: 700; }
.hero-title { margin: 10px 0 10px; font-size: 40px; line-height: 1.1; color: #ffffff; }
.hero-subtitle { margin: 0 0 20px; color: #e5e7eb; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section-title { 
  font-size: 28px; 
  margin: 0 0 16px; 
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.section-text { color: #374151; margin: 0; }

.services { padding: 28px 0; }
.section-title { text-align: left; }
#services .section-title { text-align: center; color: #111827; }
#services .services-points-box { 
  margin: 10px auto 20px; 
  max-width: 780px; 
  border: 8px solid #facc15; 
  background: #fff; 
  border-radius: 16px; 
  padding: 0; 
  position: relative;
}
#services .services-points-box::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 22px;
  background: none;
  z-index: -1;
}
#services .services-points { 
  margin: 0; 
  padding: 14px 18px; 
  line-height: 1.7; 
  color: #111827; 
  font-weight: 600; 
  list-style: none; 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 8px; 
}
#services .services-points li { 
  border: 2px solid #facc15; 
  background: #fff; 
  border-radius: 12px; 
  padding: 10px 12px; 
}

/* --- Titlu principal Avantajele noastre --- */
.benefits-section {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;    
  min-height: 100vh;       
  text-align: center;
}

#benefits .section-title {
  text-align: center;   
  margin-left: auto;   
  margin-right: auto;  
  display: block;
  width: fit-content;   
}




/* --- Casetele cu avantaje --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  border: 2px solid #facc15;
  border-radius: 12px;
  padding: 20px 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.benefit-ico {
  font-size: 36px;
  color: #f59e0b;
  margin-bottom: 12px;
}

.benefit-text {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: #111827;
}

.benefit-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  margin: 0;
}


/* Responsive pentru avantaje */
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
}


.gallery { padding: 28px 0; }
.gallery .section-title { text-align: center; }
.gallery-title-center { text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; border: 0; background: #fff; position: relative; }
.shot::after { content: ''; position: absolute; inset: 0; border: 8px solid #facc15; border-radius: 12px; pointer-events: none; }
.gallery-grid { justify-items: stretch; align-items: stretch; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid #facc15; background: #fff; }
.shot img { width: 100%; display: block; height: 280px; object-fit: cover; object-position: center; }
/* Make second row images slightly taller and fill without white margins */
.gallery-grid .shot:nth-child(n+4) img { height: 360px; object-fit: cover; object-position: center; }
.shot figcaption { padding: 10px 12px; color: #374151; }
.gallery-actions { margin: 0; text-align: center; }
@media (min-width: 901px) {
  .gallery-actions { display: none; }
}

/* Mobile: show only first 2 images by default, expandable */
@media (max-width: 600px) {
  /* Remove outer decorative border on mobile to avoid bottom overhang */
  .gallery .gallery-grid::before { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .shot { overflow: hidden; }
  .gallery-grid .shot:nth-child(n+3) {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
    margin: 0;
    border: 0;
    padding: 0;
  }
  .gallery-grid.is-expanded .shot {
    max-height: 1000px; /* enough to reveal image */
    opacity: 1;
    transform: translateY(0);
  }
  /* State-specific spacing for the toggle button (consistent in both states) */
  .gallery-grid + .gallery-actions { margin-top: 16px; }
  .gallery-grid.is-expanded + .gallery-actions { margin-top: 16px; }
}

/* Gallery boxed diagonal border */
.gallery .container { position: relative; }
.gallery .gallery-grid { position: relative; z-index: 1; }
.gallery .gallery-grid::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 22px;
  background: repeating-linear-gradient(135deg, #facc15 0 22px, #111827 22px 44px);
  z-index: -1;
}

.about-center {
  color: #000;         /* text negru */
  font-weight: 700;    /* text gros */
  font-size: 18px;     /* opțional, pentru text puțin mai mare */
}
.about-center.section-title {
  font-size: 36px;      /* dimensiune mai mare */
  font-weight: 800;     /* text gros */
  color: #000;          /* negru */
  margin-bottom: 20px;  /* spațiu sub titlu, opțional */
  text-align: center;   /* centrare, dacă vrei */
}


/* Anchor offset for fixed header */
section { scroll-margin-top: 100px; }
.card-icon { font-size: 28px; }
.card-title { margin: 8px 0 0; font-size: 18px; }

.pricing { padding: 28px 0; background: repeating-linear-gradient(135deg, #111827 0 24px, #facc15 24px 48px); }
.pricing .section-title, .pricing .section-text { color: #ffffff; }
.section-box { padding: 36px 0; }
.section-oneliner { 
  display: inline-block; 
  margin: 0 0 14px; 
  padding: 8px 12px; 
  border: 2px solid #facc15; 
  background: #fff; 
  border-radius: 10px; 
  font-weight: 700; 
}
.section-oneliner.invert { background: rgba(255,255,255,0.08); color: #fff; }

.contact { padding: 28px 0; }
.contact-box { 
  max-width: 720px; 
  margin: 0 auto; 
  text-align: center; 
  padding: 18px 20px; 
  background: #ffffff; 
  border: 2px solid #facc15; 
  border-radius: 16px; 
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.contact-box .section-title { text-align: center; margin: 0 0 8px; }
.phone a { color: #2563eb; text-decoration: none; }
.email a { color: #111827; text-decoration: none; }
.email a:hover { text-decoration: underline; }


.socials-icons {
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111827; /* fundal întunecat */
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Culori specifice brand */
.social-icon.tiktok { background: #010101; color: #69C9D0; }
.social-icon.facebook { background: #1877F2; color: #fff; }



/* Footer */
.site-footer { border-top: 1px solid #e5e7eb; padding: 16px 0; color: #6b7280; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-right a { color: #111827; text-decoration: none; }
.footer-right a:hover { text-decoration: underline; }

/* New sections */
.about, .why, .steps, .faq { padding: 28px 0; }
.about-center { text-align: center; }
.about-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.about-reasons .reason { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; }
.about-reasons .num { width: 48px; height: 48px; background: #facc15; color: #111827; font-weight: 800; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 12px rgba(250, 204, 21, 0.35); }
.about-reasons .txt { font-weight: 700; }
@media (max-width: 900px) { .about-reasons { grid-template-columns: 1fr; } }
.why-list { margin: 0; padding-left: 18px; color: #374151; }
/* steps section removed */
.faq-items { display: grid; gap: 12px; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; background: #fff; }
.faq-q { margin: 0 0 6px; }
.faq-a { margin: 0; color: #374151; }

/* Navbar */
.main-nav { display: none; gap: 12px; }
@media (min-width: 900px) {
  .header-inner { height: 80px; }
  .main-nav { display: flex; flex-wrap: nowrap; white-space: nowrap; }
  .nav-link { color: #111827; text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; font-weight: 700; }
  .nav-link:hover { background: rgba(0,0,0,0.06); transform: translateY(-1px) scale(1.02); box-shadow: 0 10px 30px rgba(250, 204, 21, 0.25); }
}

/* Keep Russian navbar on one line by tightening spacing and font size slightly */
@media (min-width: 900px) {
  html[lang="ru"] .main-nav { gap: 8px; }
  html[lang="ru"] .main-nav .nav-link { font-size: 14px; padding: 8px 9px; }
}

/* Text boxes */
.text-box {
  display: inline-block;
  border: 2px solid #facc15;
  background: #ffffff;
  color: #111827;
  border-radius: 10px;
  padding: 6px 10px;
}

.hero .text-box { background: rgba(255, 255, 255, 0.08); color: #ffffff; border-color: #facc15; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title-lines { font-size: 34px; }
  .cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .logo-img { height: 46px; }
}


