/* =============================================
   FIX ALL TECH SRL - Main Stylesheet
   Mobile-First, Fully Responsive
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@300;400;500;600;700;800&display=swap');

:root {
  --red:        #E31E24;
  --red-dark:   #B01519;
  --red-glow:   rgba(227,30,36,0.18);
  --dark:       #0A0C0F;
  --dark2:      #111318;
  --dark3:      #181C22;
  --dark4:      #1F242D;
  --steel:      #2A3140;
  --steel2:     #3A4455;
  --silver:     #8A96A8;
  --light:      #C8D0DC;
  --white:      #F0F4FA;
  --yellow:     #F5A623;
  --green:      #27AE60;
  --font-head:  'Rajdhani', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-cond:  'Barlow Condensed', sans-serif;
  --radius:     6px;
  --shadow:     0 8px 40px rgba(0,0,0,0.5);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ---- */
*, *::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-body);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
section { overflow-x: hidden; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
::selection { background: var(--red); color: #fff; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 480px)  { .container { padding: 0 20px; } }
@media (min-width: 768px)  { .container { padding: 0 24px; } }

/* ---- SPACING ---- */
.section-pad    { padding: 56px 0; }
.section-pad-sm { padding: 40px 0; }
@media (min-width: 768px)  { .section-pad { padding: 80px 0; } }
@media (min-width: 1024px) { .section-pad { padding: 90px 0; } }

/* ---- UTILS ---- */
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- TAG ---- */
.tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ---- TITLES ---- */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 5.5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-title span { color: var(--red); }
.section-sub { font-size: 0.93rem; color: var(--silver); max-width: 620px; line-height: 1.7; }
.red { color: var(--red); }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 20px var(--red-glow); }
.btn-primary:hover, .btn-primary:active { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(227,30,36,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--steel2); }
.btn-outline:hover, .btn-outline:active { border-color: var(--red); color: var(--red); }
.btn-ghost { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-ghost:hover, .btn-ghost:active { background: var(--red); color: #fff; }

/* =====================
   HEADER
   ===================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(10,12,15,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--steel);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 10px;
}
@media (min-width: 768px) { .navbar { height: 72px; } }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; }
@media (min-width: 480px) { .logo-icon { width: 52px; height: 34px; } }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 1px; line-height: 1; }
@media (min-width: 480px) { .logo-name { font-size: 1.3rem; } }
.logo-name span { color: var(--red); }
.logo-tagline { font-family: var(--font-cond); font-size: 9px; letter-spacing: 2px; color: var(--silver); text-transform: uppercase; display: none; }
@media (min-width: 440px) { .logo-tagline { display: block; } }

/* Desktop nav — hidden below 900px */
.nav-links { display: none; align-items: center; gap: 2px; list-style: none; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: var(--font-cond); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--silver); text-decoration: none;
  padding: 7px 11px; border-radius: var(--radius);
  transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 11px; right: 11px;
  height: 2px; background: var(--red); transform: scaleX(0); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-phone { display: none; font-family: var(--font-cond); font-size: 12px; font-weight: 600; color: var(--silver); text-decoration: none; align-items: center; gap: 5px; transition: var(--transition); }
@media (min-width: 768px) { .nav-phone { display: flex; } }
.nav-phone:hover { color: var(--red); }

/* Nav CTA button sizing */
.nav-cta > a.btn { font-size: 11px; padding: 9px 12px; }
@media (min-width: 440px) { .nav-cta > a.btn { padding: 10px 18px; font-size: 12px; } }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 7px 5px; background: none; border: none; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* =====================
   MOBILE MENU
   ===================== */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,12,15,0.99);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 700;
  color: var(--white); text-decoration: none; padding: 8px 20px;
  text-align: center; transition: var(--transition); -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--red); }
.mobile-menu .btn-primary { margin-top: 12px; font-size: 1rem; padding: 14px 32px; }
.mobile-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; cursor: pointer;
  color: var(--silver); font-size: 1.9rem; line-height: 1;
  padding: 8px; -webkit-tap-highlight-color: transparent;
}

/* =====================
   HERO
   ===================== */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--dark);
  padding-top: 62px;
}
@media (min-width: 768px) { #hero { padding-top: 72px; } }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(227,30,36,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 20% 80%, rgba(42,49,64,0.4) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(42,49,64,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(42,49,64,0.3) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 2; width: 100%; padding: 36px 0 32px; }
@media (min-width: 768px) { .hero-content { max-width: 680px; padding: 60px 0; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,30,36,0.1); border: 1px solid rgba(227,30,36,0.3);
  border-radius: 100px; padding: 5px 14px 5px 7px; margin-bottom: 18px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.3); } }
.hero-badge span { font-family: var(--font-cond); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }

.hero-title { font-family: var(--font-head); font-size: clamp(2.1rem, 7.5vw, 5.2rem); font-weight: 700; color: var(--white); line-height: 1.0; margin-bottom: 16px; }
.hero-title .accent { color: var(--red); }

.hero-desc { font-size: clamp(0.93rem, 2.5vw, 1.1rem); color: var(--silver); line-height: 1.8; margin-bottom: 26px; max-width: 560px; }

.hero-actions { display: flex; flex-direction: column; gap: 11px; margin-bottom: 36px; }
@media (min-width: 420px) { .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.hero-actions .btn { width: 100%; }
@media (min-width: 420px) { .hero-actions .btn { width: auto; } }

.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 20px; padding-top: 24px; border-top: 1px solid var(--steel);
}
@media (min-width: 500px) { .hero-stats { display: flex; flex-wrap: wrap; gap: 24px 32px; } }
@media (min-width: 768px) { .hero-stats { gap: 40px; } }

.stat-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--white); line-height: 1; }
@media (min-width: 768px) { .stat-num { font-size: 2.2rem; } }
.stat-num span { color: var(--red); }
.stat-label { font-family: var(--font-cond); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver); margin-top: 4px; }

/* =====================
   SERVICES
   ===================== */
#servicii { background: var(--dark2); }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
@media (min-width: 560px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; } }

.service-card {
  background: var(--dark3); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 22px 18px;
  transition: var(--transition); position: relative; overflow: hidden;
}
@media (min-width: 768px) { .service-card { padding: 32px 28px; } }
.service-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

.service-icon {
  width: 46px; height: 46px;
  background: rgba(227,30,36,0.1); border: 1px solid rgba(227,30,36,0.2);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: var(--transition); flex-shrink: 0;
}
.service-card:hover .service-icon { background: var(--red); border-color: var(--red); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--red); transition: var(--transition); }
.service-card:hover .service-icon svg { stroke: #fff; }

.service-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 9px; }
.service-desc { font-size: 0.85rem; color: var(--silver); line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-cond); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); text-decoration: none; margin-top: 14px; transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* =====================
   DPF
   ===================== */
#dpf { background: var(--dark); }

.dpf-intro { display: grid; grid-template-columns: 1fr; gap: 44px; margin-bottom: 56px; }
@media (min-width: 900px) { .dpf-intro { grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; } }

.dpf-process-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 22px; }
.process-steps { display: flex; flex-direction: column; }
.process-step { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--red), var(--steel));
}
.step-num {
  width: 40px; height: 40px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; color: #fff;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-title { font-family: var(--font-head); font-size: 0.93rem; font-weight: 600; color: var(--white); margin-bottom: 3px; padding-top: 8px; }
.step-desc { font-size: 0.83rem; color: var(--silver); line-height: 1.6; }

/* DPF advantages */
.dpf-advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
@media (min-width: 560px) { .dpf-advantages { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .dpf-advantages { gap: 22px; } }

.advantage-card {
  background: var(--dark3); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 18px 14px; text-align: center; transition: var(--transition);
}
@media (min-width: 768px) { .advantage-card { padding: 28px 24px; } }
.advantage-card:hover { border-color: var(--red); transform: translateY(-3px); }
.adv-icon { font-size: 1.5rem; margin-bottom: 9px; }
@media (min-width: 768px) { .adv-icon { font-size: 2rem; margin-bottom: 12px; } }
.adv-title { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 7px; }
@media (min-width: 768px) { .adv-title { font-size: 1rem; } }
.adv-desc { font-size: 0.78rem; color: var(--silver); line-height: 1.6; }
@media (min-width: 768px) { .adv-desc { font-size: 0.85rem; } }

/* Comparison table */
.comparison-section { margin-top: 56px; }
.comparison-title { font-family: var(--font-head); font-size: clamp(1.1rem, 3vw, 1.8rem); font-weight: 700; color: var(--white); text-align: center; margin-bottom: 24px; }
.comparison-section > div { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

.comparison-table { width: 100%; border-collapse: collapse; background: var(--dark3); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--steel); min-width: 480px; font-size: 0.78rem; }
@media (min-width: 768px) { .comparison-table { font-size: 0.9rem; min-width: unset; } }
.comparison-table thead tr { background: var(--dark4); }
.comparison-table th { font-family: var(--font-cond); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver); padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--steel); }
@media (min-width: 768px) { .comparison-table th { font-size: 12px; padding: 18px 24px; } }
.comparison-table th:nth-child(2) { color: var(--red); }
.comparison-table td { padding: 11px 12px; color: var(--light); border-bottom: 1px solid var(--steel); vertical-align: middle; }
@media (min-width: 768px) { .comparison-table td { padding: 15px 24px; } }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }
.check { color: var(--green); } .cross { color: #E74C3C; } .neutral { color: var(--yellow); }

/* =====================
   DIAGNOZA
   ===================== */
#diagnoza { background: var(--dark2); }
.diagnoza-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .diagnoza-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }

.diagnoza-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 24px; }
.feature-item { display: flex; gap: 9px; align-items: flex-start; }
.feature-check { width: 18px; height: 18px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.feature-check svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 3; }
.feature-text { font-size: 0.83rem; color: var(--light); line-height: 1.5; }

.diagnoza-image { position: relative; }
.diagnoza-image-box { background: var(--dark4); border: 1px solid var(--steel); border-radius: 12px; padding: 24px 16px; text-align: center; position: relative; }
@media (min-width: 768px) { .diagnoza-image-box { padding: 40px; } }
.mobile-badge {
  position: absolute; bottom: -12px; right: -8px;
  background: var(--red); border-radius: var(--radius);
  padding: 10px 14px; text-align: center; box-shadow: 0 8px 24px rgba(227,30,36,0.4);
}
@media (min-width: 480px) { .mobile-badge { bottom: -16px; right: -16px; padding: 16px 20px; } }
.mobile-badge-title { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: #fff; }
.mobile-badge-sub { font-family: var(--font-cond); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* Diagnoza buttons — wrap on mobile */
.diagnoza-grid .btn-group {
  display: flex; flex-direction: column; gap: 10px; margin-top: 24px;
}
@media (min-width: 480px) { .diagnoza-grid .btn-group { flex-direction: row; flex-wrap: wrap; } }

/* =====================
   MENTENANTA
   ===================== */
#mentenanta { background: var(--dark); }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
@media (min-width: 620px) { .plans-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; } }

.plan-card { background: var(--dark3); border: 1px solid var(--steel); border-radius: var(--radius); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--red); box-shadow: 0 12px 40px rgba(227,30,36,0.15); }
@media (min-width: 900px) { .plan-card.featured { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(227,30,36,0.2); } }

.plan-badge { background: var(--red); text-align: center; padding: 7px; font-family: var(--font-cond); font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.plan-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) { .plan-body { padding: 32px; } }
.plan-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 7px; }
.plan-desc { font-size: 0.85rem; color: var(--silver); margin-bottom: 22px; line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--light); }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; line-height: 1.5; }

/* =====================
   PROGRAMARE (Booking Form)
   ===================== */
#programare { background: var(--dark2); }
.booking-wrapper { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
@media (min-width: 900px) { .booking-wrapper { grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; margin-top: 56px; } }

.booking-info-item { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px; }
.booking-info-icon { width: 42px; height: 42px; background: rgba(227,30,36,0.1); border: 1px solid rgba(227,30,36,0.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.booking-info-icon svg { width: 20px; height: 20px; stroke: var(--red); }
.booking-info-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.booking-info-text { font-size: 0.83rem; color: var(--silver); line-height: 1.6; }

.schedule-table {}
.schedule-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--steel); font-size: 0.85rem; }
.schedule-row:last-child { border-bottom: none; }
.schedule-day { color: var(--silver); }
.schedule-hours { color: var(--white); font-weight: 500; }
.schedule-hours.closed { color: var(--red); }

/* Booking form card */
.booking-form { background: var(--dark3); border: 1px solid var(--steel); border-radius: 10px; padding: 22px 18px; }
@media (min-width: 480px) { .booking-form { padding: 28px 24px; } }
@media (min-width: 768px) { .booking-form { padding: 40px; } }
.form-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.form-sub { font-size: 0.83rem; color: var(--silver); margin-bottom: 22px; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; gap: 14px; } }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-family: var(--font-cond); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver); margin-bottom: 7px; }

/* IMPORTANT: font-size 16px prevents iOS zoom on focus */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark4);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(31,36,45,0.9);
  box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A96A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px; cursor: pointer; background-color: var(--dark4);
}
.form-group select option { background: #1F242D; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 95px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--steel2); }

.form-submit { width: 100%; padding: 15px; font-size: 14px; margin-top: 4px; }
.form-notice { font-size: 0.74rem; color: var(--steel2); text-align: center; margin-top: 12px; line-height: 1.5; }

.form-success { display: none; text-align: center; padding: 32px 16px; }
.form-success.show { display: block; }
.form-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--green); margin-bottom: 8px; }
.form-success-sub { color: var(--silver); font-size: 0.875rem; line-height: 1.6; }

/* =====================
   CONTACT
   ===================== */
#contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 60px; margin-top: 56px; } }

.contact-info-item { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px; }
.contact-icon { width: 40px; height: 40px; background: rgba(227,30,36,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; stroke: var(--red); }
.contact-label { font-family: var(--font-cond); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-bottom: 3px; }
.contact-value { font-size: 0.9rem; color: var(--white); font-weight: 500; text-decoration: none; display: block; transition: var(--transition); }
.contact-value:hover { color: var(--red); }

.map-container { border-radius: 10px; overflow: hidden; border: 1px solid var(--steel); height: 280px; }
@media (min-width: 560px) { .map-container { height: 340px; } }
@media (min-width: 768px) { .map-container { height: 400px; } }
.map-container iframe { width: 100%; height: 100%; border: none; filter: invert(90%) hue-rotate(180deg) brightness(0.9); }

/* =====================
   DESPRE NOI
   ===================== */
#despre { background: var(--dark3); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }

.about-visual { position: relative; margin-bottom: 20px; }
@media (min-width: 900px) { .about-visual { margin-bottom: 0; } }
.about-img-box {
  background: var(--dark4); border: 1px solid var(--steel); border-radius: 12px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.about-img-box svg { width: 55%; opacity: 0.4; }
.about-accent { position: absolute; bottom: -12px; right: -8px; background: var(--red); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 8px 30px rgba(227,30,36,0.4); }
@media (min-width: 480px) { .about-accent { bottom: -20px; right: -20px; padding: 20px 24px; } }
.about-accent-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1; }
@media (min-width: 480px) { .about-accent-num { font-size: 2rem; } }
.about-accent-label { font-family: var(--font-cond); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); }

.why-items { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--dark4); border: 1px solid var(--steel); border-radius: var(--radius); transition: var(--transition); }
.why-item:hover { border-color: rgba(227,30,36,0.3); transform: translateX(4px); }
.why-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: rgba(227,30,36,0.2); line-height: 1; flex-shrink: 0; min-width: 34px; }
.why-title { font-family: var(--font-head); font-size: 0.93rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.why-desc { font-size: 0.82rem; color: var(--silver); line-height: 1.6; }

/* =====================
   FOOTER
   ===================== */
footer { background: var(--dark2); border-top: 1px solid var(--steel); padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
@media (min-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; } }

.footer-about { font-size: 0.875rem; color: var(--silver); line-height: 1.7; margin: 13px 0 17px; max-width: 280px; }
.social-links { display: flex; gap: 9px; }
.social-link { width: 35px; height: 35px; background: var(--steel); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--transition); }
.social-link:hover { background: var(--red); }
.social-link svg { width: 16px; height: 16px; fill: var(--silver); transition: var(--transition); }
.social-link:hover svg { fill: #fff; }

.footer-col-title { font-family: var(--font-cond); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.875rem; color: var(--silver); text-decoration: none; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--red); }
.footer-links a:hover { color: var(--white); padding-left: 3px; }

.footer-contact-item { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 11px; }
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a,
.footer-contact-item span { font-size: 0.85rem; color: var(--silver); text-decoration: none; line-height: 1.5; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--steel); padding-top: 20px;
  display: flex; flex-direction: column; gap: 10px; text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
.footer-copy { font-size: 0.77rem; color: var(--steel2); }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 640px) { .footer-legal { justify-content: flex-end; } }
.footer-legal a { font-size: 0.77rem; color: var(--steel2); text-decoration: none; transition: var(--transition); }
.footer-legal a:hover { color: var(--silver); }

/* =====================
   ANIMATIONS
   ===================== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }

/* =====================
   TOAST
   ===================== */
.toast-container {
  position: fixed; bottom: 12px; left: 12px; right: 12px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
@media (min-width: 560px) { .toast-container { left: auto; right: 20px; bottom: 20px; max-width: 340px; } }
.toast {
  background: var(--dark3); border: 1px solid var(--steel); border-radius: var(--radius);
  padding: 13px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(70px); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: all; font-size: 0.875rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-text { color: var(--light); }
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }

/* =====================
   GDPR / LEGAL
   ===================== */
.gdpr-content, .page-content { max-width: 800px; margin: 0 auto; padding: 90px 16px 60px; }
@media (min-width: 768px) { .gdpr-content, .page-content { padding: 120px 24px 80px; } }
.gdpr-content h1, .page-content h1 { font-family: var(--font-head); font-size: clamp(1.7rem,5vw,2.5rem); color: var(--white); margin-bottom: 8px; }
.gdpr-content .subtitle, .page-content .subtitle { color: var(--silver); margin-bottom: 36px; font-size: 0.9rem; }
.gdpr-content h2, .page-content h2 { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); margin: 28px 0 10px; }
.gdpr-content p, .gdpr-content li, .page-content p, .page-content li { color: var(--silver); font-size: 0.9rem; line-height: 1.8; margin-bottom: 10px; }
.gdpr-content ul, .page-content ul { padding-left: 16px; margin-bottom: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red); text-decoration: none; font-family: var(--font-cond); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 26px; }

/* =====================
   ERROR PAGE
   ===================== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.error-code { font-family: var(--font-head); font-size: clamp(5rem,18vw,8rem); font-weight: 700; color: var(--red); opacity: 0.3; line-height: 1; }
.error-title { font-family: var(--font-head); font-size: clamp(1.3rem,4vw,2rem); color: var(--white); margin: 12px 0 10px; }
.error-sub { color: var(--silver); margin-bottom: 26px; font-size: 0.9rem; }

/* =====================
   MOBILE-SPECIFIC FIXES
   ===================== */
@media (max-width: 479px) {
  /* Full-width plan buttons */
  .plan-body .btn { width: 100% !important; }
  /* Full-width mentenanta CTA */
  #mentenanta > .container > div > a.btn { width: 100% !important; }
  /* Maps button */
  .contact-grid .btn { width: 100% !important; }
}

/* Inline style overrides for mobile full-width */
@media (max-width: 479px) {
  a.btn[style*="justify-content:center"],
  a.btn[style*="justify-content: center"] {
    width: 100% !important;
    display: flex !important;
  }
}
