﻿/* Taxi Lotus Berlin - global site CSS */
:root {
  --color-bg: #fffaf0;
  --color-surface: #ffffff;
  --color-surface-strong: #f7f1e3;
  --color-text: #15130f;
  --color-muted: #6a6255;
  --color-line: rgba(21, 19, 15, 0.14);
  --color-black: #0d0d0d;
  --color-yellow: #f6c400;
  --color-yellow-strong: #e5a900;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 60px rgba(15, 13, 9, 0.16);
  --shadow-card: 0 18px 42px rgba(15, 13, 9, 0.1);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --container: 1180px;
  --header-height: 90px;
}

:root[data-theme="dark"] {
  --color-bg: #0d0d0d;
  --color-surface: #171717;
  --color-surface-strong: #222018;
  --color-text: #f8f4ea;
  --color-muted: #c8bfae;
  --color-line: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.36);
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--color-yellow);
  color: var(--color-black);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  left: 0;
  width: 100dvw;
  max-width: 100dvw;
  margin-left: 50%;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(18px);
}

body.admin-bar .site-header {
  top: 32px;
}

.topbar {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.86rem;
}

.topbar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.topbar__inner span {
  margin-right: auto;
  color: var(--color-yellow);
  font-weight: 700;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--color-black);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.06rem;
}

.brand__text small {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle,
.theme-toggle {
  display: none;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--small {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 0.9rem;
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(246, 196, 0, 0.26);
}

.btn--primary:hover {
  background: var(--color-yellow-strong);
}

.btn--ghost {
  border-color: var(--color-line);
  background: var(--color-surface);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.btn--whatsapp {
  background: #23d366;
  color: #071a0f;
}

.btn--full {
  width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.site-footer {
  padding-block: 64px 28px;
  background: var(--color-black);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
}

.brand--footer {
  margin-bottom: 18px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--color-yellow);
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  list-style: none;
}

.site-footer p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-header.is-open .primary-nav {
    position: absolute;
    inset: 107px 16px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
  }

  .site-header.is-open .primary-nav a {
    padding: 12px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    justify-content: center;
    gap: 12px;
    font-size: 0.78rem;
  }

  .topbar__inner span,
  .topbar__inner a[href^="mailto"] {
    display: none;
  }

  .nav-shell {
    min-height: 68px;
    gap: 12px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .header-actions .btn--ghost {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
