/* ===== Alpine Rental — Unified Base CSS (non-destructive overrides) ===== */

/* Typography baseline */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:root {
  --text: #0e1a2b;
  --line: #e6edf5;
  --card: #ffffff;
  --maxw: 1160px;
}
body, input, button, textarea, select {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  line-height: 1.55;
  color: var(--text);
}
h1 { line-height: 1.2; margin: 0 0 .35em; }
h2 { line-height: 1.25; margin: 0 0 .5em; }
h3 { line-height: 1.3; margin: .6em 0 .4em; }
p  { margin: .5em 0; }

/* Language pill */
.langs { display:flex; gap:10px; border-radius:999px; }
.langs a { text-decoration:none; }

/* Tabs spacing & wrapping */
nav.tabs .wrap { max-width: var(--maxw); }
nav.tabs .tablist {
  display:flex; gap:8px; list-style:none; padding:8px 0; margin:0; align-items:center; flex-wrap:wrap;
}
nav.tabs .tablist a, nav.tabs .tablist li { line-height:1.25; }

/* Main containers */
main, .section, .header-lite, .brands .wrap, footer .wrap { max-width: var(--maxw); margin-left:auto; margin-right:auto; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); }

/* Brands responsiveness */
.brands .logo-row {
  display:grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap:16px;
}
.brands .logo-tile {
  display:flex; align-items:center; justify-content:center; border:1px solid var(--line);
  background:#fff; border-radius:14px; padding:14px;
}
.brands .logo-tile img { max-height:34px; width:auto; height:auto; display:block; }

/* Footer size */
footer .wrap { font-size:.95rem; }

/* Mobile harmonization */
@media (max-width: 980px) {
  .brands .logo-row { grid-template-columns: repeat(3, 1fr); gap:12px; }
  .brands .logo-tile { padding:12px; }
  .brands .logo-tile img { max-height:30px; }
  nav.tabs .wrap { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 600px) {
  .brands .logo-row { grid-template-columns: repeat(3, 1fr); gap:12px; }
  .brands .logo-tile { padding:10px; border-radius:12px; }
  .brands .logo-tile img { max-height:28px; }
  .tablist { gap:4px; }
  .tablist a, .tablist li { padding:8px 10px; }
}
@media (max-width: 540px) {
  .brands .logo-row { grid-template-columns: repeat(2, 1fr); gap:10px; }
}
/* ===== End Unified Base CSS ===== */
