/* ===== Dark navy minimalist ===== */
:root {
  --bg: #0a1424;
  --bg-hero: #0b1830;
  --bg-card: #11243f;
  --bg-soft: #0d1d36;
  --line: rgba(255, 255, 255, .07);

  --gold: #d0a14e;
  --gold-700: #b7893e;

  --text: #f3f4f6;
  --muted: #a9b3c6;

  --radius: 16px;
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, .28);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, .34);
  --container: 1220px;
}

html,
body {
  height: 100%
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container-xxl {
  max-width: var(--container);
}

/* ===== Header ===== */
.nav-wrap {
  background: rgba(17, 36, 63, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: .7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

/* Logo v headeru – nikdy se neuřízne */
.navbar-brand img {
  display: block;
  height: auto;
  max-height: 44px;
  /* desktop */
  width: auto;
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    max-height: 40px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    max-height: 36px;
  }
}


.navbar-menu {
  display: flex;
  gap: 1.4rem;
}

.navbar-menu a {
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color .25s ease;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .28s ease;
}

.navbar-menu a:hover {
  color: var(--gold);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-right .btn-gold {
  background: var(--gold);
  color: #0a1424;
  border: 0;
  border-radius: 999px;
  padding: .48rem 1.1rem;
  font-weight: 600;
}

.navbar-right .btn-gold:hover {
  background: var(--gold-700);
}

/* ===== Buttons (shared) ===== */
.btn-gold {
  background: var(--gold);
  color: #0a1424;
  border: 0;
  border-radius: 10px;
  padding: .75rem 1.2rem;
  font-weight: 700;
  transition: background .25s ease, transform .05s ease;
}

.btn-gold:hover {
  background: var(--gold-700);
}

.btn-gold:active {
  transform: translateY(1px);
}

.btn-outline-gold {
  display: inline-block;
  padding: .7rem 1.3rem;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  transition: all .25s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #0a1424;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 420px at 15% -10%, rgba(208, 161, 78, .10), transparent 60%),
    linear-gradient(180deg, var(--bg-hero), var(--bg));
  padding: clamp(56px, 8vw, 108px) 0;
  text-align: center;
}

.hero-inner {
  max-width: 960px;
}

.hero-title {
  font-size: clamp(2.2rem, 2rem + 2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: .5rem;
}

.hero-sub {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

/* ===== Sections ===== */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.sec-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(1.6rem, 1.3rem + .9vw, 2.2rem);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;

  display: grid;
  grid-template-rows: 56px 32px 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;

  min-height: 240px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, .12);
}

.service-icon {
  font-size: 28px;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.service-title {
  font-weight: 700;
  color: var(--gold);
  margin: 0;
  display: flex;
  align-items: center;
}

.service-text {
  color: var(--muted);
  margin: 0;
  max-width: 380px;
}

/* ===== Why-us ===== */
.mini-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

.mini {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;

  display: grid;
  grid-template-rows: 56px 32px 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;

  min-height: 240px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, .12);
}

.mini-ico {
  font-size: 28px;
  color: var(--gold);
}

.mini-title {
  font-weight: 700;
  color: var(--gold);
  margin: 0;
  display: flex;
  align-items: center;
}

.mini-text {
  color: var(--muted);
  margin: 0;
  max-width: 420px;
}

/* ===== Partners ===== */
.partner-logo {
  max-height: 64px;
  opacity: .85;
  transition: .25s;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.site-footer {
  background: #0f1e36;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0;
  text-align: center;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ===== Burger / Drawer ===== */
.burger {
  display: none;
  margin-left: .8rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.burger span {
  width: 20px;
  height: 2px;
  background: #e9eef7;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 22px;
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 22px;
}

/* Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1399;
  background: rgba(5, 10, 20, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer (pravá strana) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1400;
  height: 100vh;
  width: max(50vw, 300px);
  /* 1/2 šířky, ale min 300px kvůli použitelnosti */
  background: var(--bg-card);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform .28s ease;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  font-weight: 800;
  letter-spacing: .3px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #e9eef7;
}

.drawer-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.drawer-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.drawer-link {
  display: block;
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 12px;
  text-align: left;
  font-weight: 700;
  color: #e9eef7;
  position: relative;
}

.drawer-link:hover {
  color: var(--gold);
  background: #0f213c;
}

.drawer-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .55rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.drawer-link:hover::after {
  transform: scaleX(1);
}

.drawer-panel {
  margin-top: 6px;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 12px;
}

.drawer-panel:hover {
  background: var(--gold);
  color: #0a1424;
}

/* Lock scroll při otevření */
body.mobile-open {
  overflow: hidden;
}

/* Breakpoint: na mobilech schovat desktop menu i tlačítko Panel */
@media (max-width: 991.98px) {
  .navbar-menu {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-panel {
    display: none;
  }

  /* Panel tlačítko pryč vedle burgeru */
}