:root {
  --primary: #002a66;
  --secondary: #004f99;
  --light-blue: #e6f3ff;
  --bg: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

header {
  background: var(--white);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo img {
  height: 145px;
  display: block;
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

nav a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 40px auto 70px;
  padding: 0 24px;
}

.hero {
  background: var(--white);
  padding: 42px;
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin-bottom: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-logo {
  width: 100%;
  border-radius: 18px;
  background: white;
}

h1 {
  margin: 0 0 16px;
  font-size: 46px;
  color: var(--primary);
  line-height: 1.15;
}

h2 {
  margin: 38px 0 14px;
  font-size: 28px;
  color: var(--primary);
}

.card h2,
.cta h2 {
  margin-top: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--primary);
}

p, li {
  font-size: 18px;
  line-height: 1.75;
}

p { margin: 0 0 14px; }

.intro {
  color: var(--muted);
  max-width: 850px;
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  background: var(--light-blue);
  color: var(--secondary);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
}

/* Pôvodný grid pre index.html a kontakt.html */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

/* Trojstĺpcové karty na úvodnej stránke */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.card {
  background: var(--white);
  padding: 34px;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.cta {
  margin-top: 34px;
  background: var(--primary);
  color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.cta h2 {
  color: white;
}

.cta a {
  color: white;
  font-weight: 700;
}

.price-section {
  margin-top: 34px;
  margin-bottom: 56px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

th, td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 16px;
}

th {
  background: var(--primary);
  color: var(--white);
  font-size: 17px;
}

tr:last-child td { border-bottom: none; }

td:last-child, th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.note {
  margin-top: 18px;
  background: var(--light-blue);
  color: var(--primary);
  padding: 18px 20px;
  border-radius: 14px;
  line-height: 1.6;
  font-size: 16px;
}

/* Samostatné karty pre quickwash.html, aby mali väčšiu medzeru pod cenníkom */
.quickwash-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0;
  margin-bottom: 56px;
}

.quickwash-pro {
  margin-top: 0;
  margin-bottom: 56px;
}

footer {
  padding: 30px;
  text-align: center;
  background: var(--primary);
  color: var(--white);
}

footer a { color: white; }

@media (max-width: 900px) {
  header {
    padding: 18px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .logo img { height: 105px; }

  nav {
    text-align: center;
  }

  nav a {
    margin: 0 9px;
    font-size: 16px;
    line-height: 2;
  }

  .hero-grid,
  .two-col,
  .cards,
  .quickwash-cards {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  .hero { padding: 24px; }

  th, td {
    padding: 13px;
    font-size: 15px;
  }
}
