/* ==========================================================================
   Tractări Auto 24/7 — stil static (fără Tailwind runtime, pentru viteză)
   Paletă: yellow #FBBF24 (amber), dark #111827, griuri Tailwind
   ========================================================================== */

:root {
  --yellow: #FBBF24;
  --yellow-hover: #FACC15;
  --dark: #111827;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.15; }

/* ----- Layout helpers ----- */
.container {
  max-width: 80rem;   /* max-w-7xl */
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 5rem; }
.section--white { background: var(--white); }
.section--gray  { background: var(--gray-50); }
.section--grow  { flex-grow: 1; }

.section-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.section-head h2 { font-size: 1.875rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.section-head p  { color: var(--gray-600); font-size: 1.125rem; }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; } }

.divider { width: 5rem; height: .25rem; background: var(--yellow); border-radius: 9999px; margin: 0 auto 1.5rem; }
.divider--left { margin: 0 0 2rem; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }

.logo { display: flex; align-items: center; gap: .5rem; cursor: pointer; background: none; border: none; color: inherit; }
.logo i { color: var(--yellow); font-size: 1.875rem; }
.logo-text { font-weight: 900; font-size: 1.5rem; letter-spacing: -.025em; color: var(--white); }
.logo-text span { color: var(--yellow); }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--yellow); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.btn-call {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--yellow); color: var(--dark);
  padding: .5rem 1.5rem; border-radius: 9999px;
  font-weight: 700; box-shadow: var(--shadow-md);
  transition: background .2s, transform .2s;
}
.btn-call:hover { background: var(--yellow-hover); transform: scale(1.05); color: var(--dark); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.menu-btn:hover { color: var(--yellow); }
@media (min-width: 768px) { .menu-btn { display: none; } }

/* Mobile menu */
.mobile-menu { display: none; background: var(--gray-800); border-top: 1px solid var(--gray-700); }
.mobile-menu.is-open { display: block; }
@media (min-width: 768px) { .mobile-menu, .mobile-menu.is-open { display: none; } }

.mobile-menu-inner { display: flex; flex-direction: column; gap: .25rem; padding: .5rem .75rem .75rem; }
.mobile-menu a {
  display: block; padding: .5rem .75rem; border-radius: .375rem;
  font-weight: 500; color: var(--white); transition: color .15s, background .15s;
}
.mobile-menu a:hover { color: var(--yellow); background: var(--gray-700); }
.mobile-cta {
  margin-top: 1rem; text-align: center;
  background: var(--yellow); color: var(--dark);
  padding: .75rem 1rem; border-radius: .375rem;
  font-weight: 700; font-size: 1.125rem;
}

/* ==========================================================================
   Butoane generice
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2rem; border-radius: .5rem;
  font-weight: 700; font-size: 1.125rem; text-align: center;
  transition: background .2s, color .2s;
}
.btn--primary { background: var(--yellow); color: var(--dark); box-shadow: var(--shadow-xl); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--outline { background: transparent; border: 2px solid var(--white); color: var(--white); box-shadow: var(--shadow-xl); }
.btn--outline:hover { background: var(--white); color: var(--dark); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--dark);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(17, 24, 39, .9), rgba(17, 24, 39, .6));
}
.hero-content { position: relative; width: 100%; }
.hero-inner { max-width: 42rem; }

.badge {
  display: inline-block;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: .875rem;
  padding: .25rem 1rem; border-radius: 9999px; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.hero h1 { font-size: 2.25rem; font-weight: 900; color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--yellow); }
.hero p { font-size: 1.125rem; color: var(--gray-200); font-weight: 300; margin-bottom: 2rem; }
@media (min-width: 768px)  { .hero h1 { font-size: 3rem; } .hero p { font-size: 1.25rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* ==========================================================================
   Servicii
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 1rem; padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.service-card:hover { box-shadow: var(--shadow-xl); }
.service-icon {
  width: 4rem; height: 4rem; margin-bottom: 1.5rem;
  background: var(--yellow); color: var(--dark);
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.875rem; transition: transform .2s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem; }
.service-card p  { color: var(--gray-600); }

/* ==========================================================================
   Prețuri
   ========================================================================== */
.pricing { padding-block: 5rem; background: var(--dark); color: var(--white); }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.pricing h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .pricing h2 { font-size: 2.25rem; } }
.pricing-lead { color: var(--gray-300); font-size: 1.125rem; margin-bottom: 2.5rem; }

.price-list { display: flex; flex-direction: column; gap: 1.5rem; }
.price-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--gray-800); border-left: 4px solid var(--yellow);
  border-radius: .75rem; padding: 1.5rem;
}
.price-card h4 { font-size: 1.25rem; font-weight: 600; color: var(--white); }
.price-card p  { color: var(--gray-400); font-size: .875rem; margin-top: .25rem; }
.price-amount { text-align: right; white-space: nowrap; }
.price-amount .num { font-size: 1.875rem; font-weight: 900; color: var(--yellow); }
.price-amount .unit { font-size: 1.125rem; color: var(--gray-300); }

.price-note {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 2rem; padding: 1rem;
  background: rgba(31, 41, 55, .5); border-radius: .5rem;
}
.price-note i { color: var(--yellow); margin-top: .25rem; flex-shrink: 0; }
.price-note p { font-size: .875rem; color: var(--gray-400); }

/* Image box (dreapta) */
.image-box { position: relative; }
.image-box__bg {
  position: absolute; inset: 0;
  background: var(--yellow); border-radius: 1rem;
  transform: translate(1rem, 1rem);
}
.image-box img {
  position: relative; z-index: 10;
  width: 100%; border-radius: 1rem; object-fit: cover;
  border: 4px solid var(--gray-800); box-shadow: var(--shadow-2xl);
}
.floating-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); color: var(--dark);
  padding: 1rem; border-radius: .75rem; box-shadow: var(--shadow-xl);
}
.floating-badge__icon {
  width: 3rem; height: 3rem; flex-shrink: 0;
  background: var(--yellow); color: var(--dark);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.floating-badge__label { font-size: .875rem; color: var(--gray-500); font-weight: 700; text-transform: uppercase; }
.floating-badge__value { font-size: 1.25rem; font-weight: 900; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  max-width: 56rem; margin-inline: auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-card {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; border-radius: 1rem;
  background: var(--white); box-shadow: var(--shadow-lg);
  border: 2px solid transparent; transition: border-color .2s;
}
.contact-card:hover { border-color: var(--yellow); }
.contact-card__icon {
  width: 5rem; height: 5rem; margin-bottom: 1.5rem;
  background: var(--gray-50); color: var(--yellow); border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; font-size: 2.25rem;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06); transition: transform .2s;
}
.contact-card:hover .contact-card__icon { transform: scale(1.1); }
.contact-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.contact-card p  { color: var(--gray-500); margin-bottom: 1.5rem; }
.contact-phone { font-size: 1.875rem; font-weight: 900; color: var(--dark); transition: color .2s; }
.contact-phone:hover { color: var(--yellow); }

.contact-card--dark {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--dark);
}
.contact-card--dark .contact-card__icon { background: var(--gray-800); }
.contact-card--dark h3 { color: var(--white); }
.contact-card--dark p  { color: var(--gray-400); }
.contact-card--dark .contact-inner { position: relative; z-index: 10; }
.contact-highlight { font-size: 1.25rem; font-weight: 700; color: var(--yellow); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--gray-900); color: var(--gray-300);
  padding-block: 3rem; border-top: 4px solid var(--yellow);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer .logo { margin-bottom: 1rem; cursor: default; }
.footer .logo i { font-size: 1.5rem; }
.footer .logo-text { font-size: 1.25rem; }
.footer p { font-size: .875rem; color: var(--gray-400); }

.footer h4 {
  color: var(--white); font-weight: 700; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-links i { color: var(--yellow); margin-right: .5rem; }

.footer-contact { list-style: none; display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; }
.footer-contact i { color: var(--yellow); margin-top: .25rem; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center; font-size: .875rem; color: var(--gray-500);
}

/* ----- Accesibilitate ----- */
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
