:root {
  --background: #89916e;
  --herocontent: #d4a373;
  --important: #fffae0;
  --text: #333;
  --h1colour: #333;
  --buttoncolor: #bf5f45;
  --buttonhover: #d46a4e;
  --green: #5e8c61;
}

/* Base */
* {
  box-sizing: border-box;
}

h2 {
  text-align: center;
  color: var(--important);
  font-size: 2rem;
}
h3 {
  color: var(--important);
  font-size: 2rem;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
section {
  width: min(1100px, 92vw);
  margin-inline: auto;
  margin: 20px auto;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  background: var(--buttoncolor);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.btn:hover,
.btn:focus {
  background: var(--buttonhover);
}
.btn.outline {
  background: #fffae0;
  color: var(--buttoncolor);
  border: 2px solid var(--buttoncolor);
}

/* Header / Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #fffae0;
  border-bottom: 1px solid #e8e2da;
  display: flex;
  justify-content: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--important);
}
.brand img {
  padding: 5px;
  max-height: 56px;
  width: auto;
  object-fit: contain;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0;
  margin: 0;
}
nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 0.4rem;
}
nav a:hover {
  background: #f1ece4;
}
.cta {
  margin-left: 0.25rem;
}

/* Mobile nav */
.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 0.5rem;
}
.burger:focus {
  outline: 2px solid var(--herocontent);
}
.burger svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 820px) {
  .hero {
    margin-top: 56px;
  }
  nav {
    position: fixed;
    inset: auto 0 0 0;
    background: #fff;
    border-top: 1px solid #e8e2da;
    translate: 0 100%;
    transition: translate 0.25s ease;
    padding: 1rem 4vw;
  }
  nav.open {
    translate: 0 0;
  }
  nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .cta {
    width: 100%;
    text-align: center;
  }
  .burger {
    display: grid;
  }
  .split {
    flex-direction: column;
  }
  .bemutatkozo {
    flex-direction: column-reverse;
  }
  .ratio {
    height: 600px;
  }
  .nav {
    width: 100%;
    padding: 0px 10px;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(2rem, 6vw, 4rem) 0 0 0;
}
.hero h1 {
  text-align: center;
  color: var(--text);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 0.25rem;
}
.hero h2 {
  color: var(--important);
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0.25rem 0 1rem;
}

/* Text block */
.lead {
  background: #fffae0;
  padding: 1rem;
  border-radius: 0.75rem;
}

/* Two-column generic */
.split {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 1.5rem auto;
}
.split .col {
  flex: 1;
}
.split .art {
  min-height: 260px;
  background: #fffae0;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  margin: 1.25rem 0;
}
@media (max-width: 1200px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

.tile {
  position: relative;
  min-height: 160px;
  border-radius: 0.9rem;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: linear-gradient(135deg, #d4ccb9, #efe8de);
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg, none);
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(0.95);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25));
  opacity: 0.55;
}
.tile > .btn {
  position: relative;
  z-index: 1;
}

/* Map */
.mapwrap {
  margin: 1.5rem 0;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #e8e2da;
}
.mapwrap .ratio {
  position: relative;
  padding-top: 56.25%;
}
.mapwrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.google-maps {
  width: 80%;
}

/* Testimonials */
.section-title {
  color: var(--important);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  margin: 2rem 0 1rem;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: #fffae0;
  border-radius: 0.75rem;
  padding: 1rem;
}
.card .who {
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--buttonhover);
}
@media (max-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

/* Contact CTA */
.call {
  background: #fffae0;
  border: 3px solid var(--buttoncolor);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 20px auto;
}
.call strong {
  color: var(--text);
  font-size: 1.25rem;
}

/* Footer */
footer {
  margin-top: auto;
  background: #fffae0;
  border-top: 1px solid #e8e2da;
}
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 10px;
  flex-wrap: wrap;
}
.bottom a {
  color: var(--buttoncolor);
}
.green {
  background: #4a7548;
  padding: 10px 0;
}
.beige {
  background: #fffae0;
  padding: 10px 0;
}

/* Letöltés-listák: hosszú, egymás alatti gombok */
.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.download-item {
  margin: 0;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 50%;
  padding: 14px 16px;
  border: 1px solid var(--buttoncolor);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
  color: var(--buttoncolor);
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

.download-btn:hover,
.download-btn:focus-visible {
  background: var(--buttoncolor);
  color: #fff;
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.download-btn:active {
  transform: translateY(1px);
}

.download-title {
  line-height: 1.3;
}

.download-meta {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Sötét háttérben (green blokkok) legyen kontraszt */
.green .download-btn {
  background: #fff;
  border-color: var(--buttoncolor);
  color: var(--buttoncolor);
}
.green .download-btn:hover,
.green .download-btn:focus-visible {
  background: var(--buttoncolor);
  color: #fff;
}

/* Kisebb kijelzők finomhangolása */
@media (max-width: 768px) {
  .download-btn {
    padding: 12px 14px;
    border-radius: 12px;
    width: 300px;
  }
  .google-maps {
    width: 90%;
  }
}

/* Egyszerű social ikonpár kártyába */
.social-min {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.social-min a img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.social-min a:hover img,
.social-min a:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}
