/* ==========================================================================
   DoctorHybrid.ro — Premium automotive technology stylesheet
   (text/brand presentation version — no photos, no booking form)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0B1426;
  --navy-dark: #070E1B;
  --green: #8BD126;
  --white: #FFFFFF;
  --gray-light: #F5F7F9;
  --gray-dark: #687386;

  --line: rgba(255, 255, 255, 0.10);
  --line-dark: rgba(11, 20, 38, 0.10);

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, picture, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--green); color: var(--navy-dark); }
.btn-primary:hover { background: #9ede3a; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-dark); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--navy); border: 1px solid rgba(11,20,38,0.25); }
.btn-outline-dark:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  border-bottom: 1px solid var(--green);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease), color 0.25s ease;
}
.btn-link:hover { gap: 14px; color: var(--navy-dark); }
.btn-link.on-dark { color: var(--white); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(11, 20, 38, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--white); position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-phone { color: var(--white); font-size: 0.92rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.nav-phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-cta { padding: 12px 24px; font-size: 0.88rem; }

.hamburger { display: none; width: 32px; height: 22px; position: relative; }
.hamburger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 490;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--white);
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .mobile-contact { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu .mobile-contact a { font-family: var(--font-body); font-size: 1.05rem; color: var(--green); border: none; padding: 0; }

/* ==========================================================================
   Hero — pure typography, no photo
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(1100px 700px at 82% 8%, rgba(139,209,38,0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(139,209,38,0.08), transparent 55%),
    linear-gradient(160deg, #0F1B32 0%, #0B1426 55%, #070E1B 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 30%, rgba(0,0,0,0.9), transparent 70%);
}
.hero-content { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; }
.hero-eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 16ch; }
.hero h1 .brand { display: block; color: var(--white); }
.hero h1 .tag { display: block; color: var(--green); }
.hero-sub { margin-top: 26px; max-width: 44ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.78); }
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-phones { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 28px; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.hero-phones a { color: var(--white); font-weight: 600; }

.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.05em;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--green);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll .line::after { animation: none; top: 0; } }

/* ==========================================================================
   Generic section spacing
   ========================================================================== */
.section { padding: 140px 0; }
.bg-light { background: var(--gray-light); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy-dark { background: var(--navy-dark); color: var(--white); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 15ch; }
.intro-sub { margin-top: 24px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--gray-dark); max-width: 42ch; }
.intro-body {
  margin-top: 40px; max-width: 60ch; font-size: 1.05rem; color: var(--gray-dark);
  padding-top: 32px; border-top: 1px solid var(--line-dark);
}

/* ==========================================================================
   Hybrid & Electric — solid two-column, no image
   ========================================================================== */
.split-solid { padding: 140px 0; }
.split-solid-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.split-solid h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: 18px; }
.split-solid .accent { color: var(--green); }
.split-solid p { margin-top: 26px; color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 46ch; }
.split-solid .btn-link { margin-top: 40px; }

.split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 32px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.split-list .item { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.split-list .num { font-family: var(--font-display); font-size: 0.9rem; color: var(--green); }
.split-list .label { font-size: 1.05rem; color: rgba(255,255,255,0.9); font-weight: 500; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 80px; }
.services-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 14ch; }
.services-head p { color: var(--gray-dark); font-size: 1.05rem; max-width: 34ch; }

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 38px 0;
  border-top: 1px solid var(--line-dark);
  transition: background 0.3s ease;
}
.service-row:last-child { border-bottom: 1px solid var(--line-dark); }
.service-row .num { font-family: var(--font-display); font-size: 1rem; color: var(--green); }
.service-row h3 { font-size: 1.5rem; font-weight: 600; }
.service-row p { color: var(--gray-dark); max-width: 46ch; font-size: 1rem; }
.service-row:hover { background: rgba(139, 209, 38, 0.045); }

/* ==========================================================================
   Feature / CTA band — solid, no image
   ========================================================================== */
.feature-solid {
  background: linear-gradient(120deg, #0B1426 0%, #0F2415 140%);
  color: var(--white);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.feature-solid::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  right: -320px; top: -420px;
  background: radial-gradient(circle, rgba(139,209,38,0.18), transparent 65%);
}
.feature-solid .container { position: relative; z-index: 1; }
.feature-solid h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 16ch; }
.feature-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px; }
.feature-solid .btn-outline-dark { color: var(--white); border-color: rgba(255,255,255,0.3); }
.feature-solid .btn-outline-dark:hover { border-color: var(--white); }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); margin-top: 70px; border: 1px solid var(--line-dark); }
.why-item { background: var(--white); padding: 46px 40px; }
.why-item .idx { font-family: var(--font-display); font-size: 0.9rem; color: var(--green); }
.why-item h3 { margin-top: 18px; font-size: 1.3rem; }
.why-item p { margin-top: 12px; color: var(--gray-dark); font-size: 0.98rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 90px; align-items: center; }
.about h2 { font-size: clamp(2.1rem, 4vw, 3rem); max-width: 14ch; }
.about p { margin-top: 26px; color: var(--gray-dark); font-size: 1.05rem; max-width: 50ch; }
.about-logo-card { background: var(--navy); padding: 70px 50px; display: flex; align-items: center; justify-content: center; }
.about-logo-card img { width: 100%; max-width: 300px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; }
.contact h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 12ch; }
.contact-sub { margin-top: 24px; color: rgba(255,255,255,0.7); max-width: 46ch; font-size: 1.05rem; }
.contact-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; }

.contact-card { background: var(--navy-dark); border: 1px solid var(--line); padding: 46px; align-self: start; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-details .row { display: flex; justify-content: space-between; gap: 20px; font-size: 1rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-details .row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-details .row span:first-child { color: rgba(255,255,255,0.5); }
.contact-details .row a, .contact-details .row p { color: var(--white); font-weight: 500; }

.map-block { margin-top: 100px; }
.map-frame { position: relative; border: 1px solid var(--line-dark); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.15); }
.map-open { position: absolute; bottom: 24px; left: 24px; background: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 90px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 20px; color: rgba(255,255,255,0.55); font-size: 0.92rem; max-width: 30ch; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.5); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col p { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(139,209,38,0.35);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: var(--navy-dark);
  padding: 12px 20px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .split-solid-inner { grid-template-columns: 1fr; gap: 50px; }
  .split-list { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .contact { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 90px 0; }
  .split-solid { padding: 90px 0; }
  .feature-solid { padding: 100px 0; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row p { grid-column: 2 / -1; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .nav-phone { display: none; }
  .contact-card { padding: 32px 26px; }
}

@media (max-width: 480px) {
  .nav-cta { padding: 10px 18px; font-size: 0.82rem; }
  .mobile-menu a { font-size: 1.6rem; }
  .split-list { grid-template-columns: 1fr; }
}
