/* =========================================================
   MN Group – mngroup.sk
   ========================================================= */

:root {
  --gold: #ab9144;
  --gold-dark: #8f7835;
  --gold-light: #f6f1e3;
  --black: #000;
  --text: #1a1a1a;
  --muted: #666;
  --gray-bg: #f5f5f5;
  --gray-btn: #e0e0e0;
  --white: #fff;

  --font-base: 'Poppins', Arial, sans-serif;
  --font-head: 'Montserrat', Arial, sans-serif;

  --container: 1170px;
  --radius: 3px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .75em; line-height: 1.3; color: var(--text); }
p { margin: 0 0 1.25em; }
strong { color: var(--gold); font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 0;
  border-radius: var(--radius);
  font: 600 16px/1.6 var(--font-base);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn--gold  { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--gray  { background: var(--gray-btn); color: var(--text); font-weight: 500; }
.btn--gray:hover { background: #d2d2d2; }
.btn--light { background: #f0f0f0; color: var(--text); font-weight: 500; }
.btn--light:hover { background: var(--gray-btn); }

.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 2.5rem; }
.btn-row--center { justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: var(--white); }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.topbar__phone {
  display: flex; align-items: center; gap: 12px;
  font-size: 24px; text-decoration: none;
}
.topbar__phone svg { width: 20px; height: 20px; stroke: var(--gold); }

/* Shared SVG icon style */
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.quick-links { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.quick-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--gold);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.quick-links a:hover { background: var(--gold); color: var(--white); }
.quick-links svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.header { background: var(--gray-bg); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 120px 16px 56px;
}

.brand { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; max-width: 340px; }
.brand img { width: 68px; flex-shrink: 0; }
.brand__claim {
  font: 700 22px/1.6 var(--font-head);
  text-transform: uppercase;
  color: var(--text);
}

.nav { display: flex; align-items: center; gap: 16px; }
.nav__link {
  margin-right: 32px;
  font: 600 15px var(--font-head);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.nav__link:hover { color: var(--gold); }
.nav .btn { padding: 8px 38px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }

.title {
  font: 700 32px/1.3 var(--font-head);
  color: var(--text);
}

/* Intro */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.lead-title { font: 700 16px var(--font-base); color: var(--gold); margin-bottom: 1.5em; }
.intro__images { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.intro__images img { width: 100%; aspect-ratio: 26 / 51; object-fit: cover; border-radius: var(--radius); }

/* Services */
.services { background: var(--gray-bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 28px; }
.card h3 { font: 700 22px var(--font-head); color: var(--gold); }
.card p { margin: 0; font-style: italic; }

/* Claims */
.claims {
  background: url("../images/poistne-udalosti.webp") center / cover no-repeat;
}
.claims__box {
  max-width: 760px;
  padding: 56px;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
}
.claims__lead { font-weight: 500; color: var(--text); }

/* Star list */
.star-list { margin: 0 0 2rem; padding: 0; list-style: none; }
.star-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.star-list li::before { content: "⭐"; position: absolute; left: 0; top: 0; }

/* Why us */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why .star-list { margin: 0; }

/* Contact */
.contact { background: var(--gray-bg); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }

.form { display: grid; gap: 6px; margin-top: 2rem; }
.form label { font-weight: 600; color: var(--text); font-size: 14px; }
.form input,
.form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 16px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #d8d8d8;
  border-radius: var(--radius);
}
.form input:focus,
.form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: transparent; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }

.contact__info {
  align-self: start;
  padding: 40px;
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}
.contact__info h3 { font: 700 22px var(--font-head); }
.contact__list { margin: 0 0 28px; padding: 0; list-style: none; }
.contact__list li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--text); font-weight: 500; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--gold); }
.contact__list svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

.quick-links--big { flex-wrap: wrap; gap: 12px; }
.quick-links--big a {
  flex-direction: column; gap: 4px;
  width: 92px; height: 84px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 12px; font-weight: 600;
  text-decoration: none;
}
.quick-links--big svg { width: 28px; height: 28px; }

/* Footer */
.footer { background: var(--black); color: #bbb; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header__inner { flex-wrap: wrap; gap: 16px; padding: 32px 16px; }
  .brand { flex: 1; min-width: 0; max-width: none; }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav.is-open { display: flex; }
  .nav__link { margin: 0 0 8px; text-align: center; }
  .nav .btn br { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .intro__grid,
  .why__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .intro__images { gap: 20px; }
  .claims__box { padding: 32px 24px; }
  .title { font-size: 26px; }
}

@media (max-width: 560px) {
  .topbar__phone { font-size: 16px; }
  .quick-links a { width: 32px; height: 32px; }
  .brand__claim { font-size: 16px; }
  .brand img { width: 52px; }
  .btn-row .btn { flex: 1 1 100%; }
  .contact__info { padding: 28px 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
