/* Taxi House — stil preluat din aplicația app.taxihouse.md (v2.8) */
:root {
  --bg: #F3F4F6;
  --card: rgba(255, 255, 255, .95);
  --border: rgba(226, 232, 240, .9);
  --ink: #0F172A;
  --ink-2: #1E293B;
  --text: #334155;
  --muted: #64748B;
  --night: #090D16;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --yellow: #FACC15;
  --shadow: 0 12px 40px rgba(0, 0, 0, .08);
  --radius-card: 24px;
  --radius-btn: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(15, 23, 42, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.accent { color: var(--amber); }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Butoane — identice cu aplicația */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn);
  font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.btn-dark { background: var(--ink-2); color: #fff; border: 1px solid #334155; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); }
.btn-dark:hover { background: var(--ink); color: var(--amber); }
.btn-dark:active { transform: scale(.98); }
.btn-yellow {
  color: var(--night);
  background: linear-gradient(#FBBF24, #F59E0B 55%, #D97706);
  border: 1.5px solid #D97706; border-top-color: #FEF08A; border-bottom: 5px solid #92400E;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(245, 158, 11, .38), 0 2px 4px rgba(0, 0, 0, .5);
}
.btn-yellow:hover { background: linear-gradient(#FDE047, #FBBF24 55%, #D97706); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245, 158, 11, .55), 0 3px 6px rgba(0, 0, 0, .6); }
.btn-yellow:active { border-bottom-width: 2px; transform: translateY(2px); box-shadow: 0 2px 8px rgba(245, 158, 11, .25); }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }

.card {
  background: var(--card);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* Bara de sus — ca banerul galben din aplicație */
.topline { background: var(--yellow); color: #020617; font-size: 12px; font-weight: 700; border-bottom: 1px solid #EAB308; }
.topline .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topline span, .topline a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topline .icon { width: 14px; height: 14px; }

/* Antet */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; }
.main-nav a:hover { background: #F1F5F9; color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; padding: 3px; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 12px; }
.language-switch button { border: 0; background: none; padding: 6px 9px; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 800; color: var(--muted); cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--ink-2); color: #fff; }
.call-link { min-height: 42px; padding: 8px 16px; font-size: 14px; border-radius: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid #E2E8F0; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 40px; align-items: start; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; }
.eyebrow-line { width: 32px; height: 4px; border-radius: 4px; background: var(--amber); }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); }
.hero-description { margin-top: 18px; max-width: 520px; font-size: 18px; color: var(--text); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.hero-phone { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.hero-phone-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--ink-2); color: #fff; }
.hero-phone small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.hero-phone strong { display: block; font-size: 22px; font-weight: 900; }
.car-photo { position: relative; margin: 36px 0 0; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.car-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.car-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(9, 13, 22, .8); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.car-photo figcaption span { color: var(--amber); }

/* Cardul aplicației — ca ecranul de autentificare */
.app-card { padding: 28px; text-align: center; position: sticky; top: 100px; }
.app-card-logo { width: 100%; max-width: 280px; margin: 0 auto 4px; user-select: none; }
.app-card-sub { font-size: 12px; font-weight: 700; color: var(--muted); }
.app-card-badge { display: inline-block; margin: 18px 0 16px; padding: 6px 12px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.qr-frame { width: 100%; max-width: 236px; margin: 0 auto; padding: 10px; background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); }
.qr-frame img { width: 100%; image-rendering: pixelated; }
.app-card h2 { margin-top: 18px; font-size: 20px; }
.app-card .muted { margin: 6px 0 18px; font-size: 13px; font-weight: 500; }

/* Avantaje */
.advantages { padding: 8px 0 24px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; }
.adv-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--ink-2); color: var(--amber); }
.adv strong { display: block; font-size: 15px; font-weight: 900; }
.adv small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }

/* Pași */
.steps-section { padding: 72px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(32px, 4vw, 48px); }
.section-heading p { max-width: 340px; font-weight: 500; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.step-num { font-size: 13px; font-weight: 900; color: var(--amber-dark); background: #FEF3C7; padding: 4px 10px; border-radius: 999px; }
.step-top .icon { width: 24px; height: 24px; color: var(--ink-2); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Contact — panou întunecat, ca butoanele btn-3d-dark */
.contact-section { background: var(--night); color: #E2E8F0; padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.contact-section h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.eyebrow-light { color: #94A3B8; }
.big-phone { display: inline-block; margin: 22px 0 12px; font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--amber); text-decoration: none; letter-spacing: -.01em; }
.big-phone:hover { color: #FBBF24; }
.contact-place { display: flex; align-items: center; gap: 8px; color: #94A3B8; font-weight: 600; }
.contact-qr { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: var(--radius-card); background: linear-gradient(#1E293B, #0F172A); border: 1px solid #1E293B; border-top-color: #334155; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.qr-small { max-width: 150px; flex: none; }
.contact-qr h3 { color: #fff; font-size: 20px; }
.contact-qr p { margin: 6px 0 16px; color: #94A3B8; font-size: 14px; }

/* Subsol */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 22px 0 28px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-logo { height: 52px; width: auto; }
.privacy-toggle { border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
.privacy-text { margin-top: 16px; padding-top: 16px; border-top: 1px solid #E2E8F0; }
.privacy-text strong { color: var(--ink); }
.privacy-text p { margin-top: 6px; max-width: 820px; }

.mobile-bar { display: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .app-card { position: static; max-width: 460px; width: 100%; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .call-link { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 16px; }
  .header-cta { margin-left: auto; }
  .advantages-grid, .steps-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: start; }
}

@media (max-width: 560px) {
  body { padding-bottom: 84px; }
  .topline .container > span { display: none; }
  .topline .container { justify-content: center; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand img { height: 48px; }
  .hero { padding-top: 32px; }
  .hero-description { font-size: 16px; }
  .hero-actions .btn-lg { width: 100%; }
  .app-card { padding: 22px; }
  .contact-qr { flex-direction: column; text-align: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--border); }
  .mobile-bar .btn-yellow { flex: 1; }
  .mobile-call { width: 56px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
