@import url("https://fonts.bunny.net/css?family=montserrat:650,700,800|figtree:450,500,600,700&display=swap");

/* Přísaha Hodonín — inspired by prisaha.cz */
:root {
  --ph-navy: #0B1B3A;
  --ph-navy-deep: #061228;
  --ph-red: #C8102E;
  --ph-red-deep: #9E0C24;
  --ph-ink: #0B1B3A;
  --ph-muted: #5A6578;
  --ph-line: #D7DDE8;
  --ph-paper: #F4F6FA;
  --ph-white: #FFFFFF;
  --ph-font: "Figtree", "Segoe UI", sans-serif;
  --ph-display: "Montserrat", "Figtree", sans-serif;
  --ph-max: 70rem;
  --ph-radius: 0.85rem;
  --gm-blue: #0B1B3A;
  --gm-blue-deep: #061228;
  --gm-blue-soft: #E8ECF4;
  --gm-ink: #0B1B3A;
  --gm-muted: #5A6578;
  --gm-line: #D7DDE8;
  --gm-max: 70rem;
  --gm-font: var(--ph-font);
  --gm-display: var(--ph-display);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ph-font);
  color: var(--ph-ink);
  background: var(--ph-white);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--ph-red); text-underline-offset: 0.18em; }
a:hover { color: var(--ph-red-deep); }
.ecs-skip { display: none !important; }

.ecs-main { padding: 0; }
.ecs-main > .ecs-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
.gm-shell { width: min(100% - 2.5rem, var(--ph-max)); margin-inline: auto; }

.ecs-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ph-line);
  backdrop-filter: blur(8px);
}
.ecs-header__inner {
  width: min(100% - 1.5rem, var(--ph-max));
  margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.25rem; min-height: 4.2rem; padding: 0.55rem 0;
}
.ecs-logo {
  font-family: var(--ph-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ph-navy);
  text-decoration: none;
  font-size: 1.15rem;
}
.ecs-logo:hover { color: var(--ph-navy); }
.ecs-logo__tag {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-red);
  font-weight: 700;
}
.ecs-nav { display: flex; flex-wrap: wrap; gap: 0.55rem 1.15rem; align-items: center; margin-left: auto; }
.ecs-nav a { color: var(--ph-navy); text-decoration: none; font-weight: 650; font-size: 0.95rem; }
.ecs-nav a:hover { color: var(--ph-red); }
.ecs-nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--ph-red); color: #fff !important; font-weight: 750; font-size: 0.88rem;
}
.ecs-nav__cta:hover { background: var(--ph-red-deep); color: #fff !important; }

.gm-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: center;
  overflow: hidden; color: #fff;
  background: #0B1B3A;
}
.gm-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block !important;
}
.gm-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: none;
}




.gm-hero__inner {
  position: relative; z-index: 3;
  width: min(100% - 2.5rem, var(--ph-max));
  margin-inline: auto; padding: 4rem 0 3.4rem; max-width: none;
  display: block;
}
.gm-hero__copy {
  display: block; max-width: 38rem; text-align: left;
  background: none; border: 0; box-shadow: none; padding: 0;
}


.gm-hero__shade {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg,
      rgba(6, 18, 40, 0.92) 0%,
      rgba(6, 18, 40, 0.78) 36%,
      rgba(11, 27, 58, 0.28) 66%,
      rgba(11, 27, 58, 0.1) 100%);
  pointer-events: none;
}
.gm-hero__inner {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--ph-max));
  margin-inline: auto;
  padding: 4rem 0 3.4rem;
  max-width: none;
  display: block;
}
@media (max-width: 860px) {
  .gm-hero__inner {
    padding: 3.2rem 0 5.2rem;
  }
}

.gm-brand-mark {
  display: inline-flex; margin: 0 0 1rem; padding: 0.3rem 0.7rem;
  border-radius: 999px; background: rgba(200,16,46,.18);
  border: 1px solid rgba(200,16,46,.45); color: #ffb3bf;
  font-size: 0.72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.gm-hero h1 {
  margin: 0 0 1rem; max-width: 14ch;
  font-family: var(--ph-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: #fff;
  text-transform: uppercase;
}
.gm-hero__text { margin: 0 0 1.6rem; max-width: 34rem; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.gm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.gm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.2rem; border-radius: 999px;
  background: #fff; color: var(--ph-navy); text-decoration: none; font-weight: 750;
}
.gm-btn:hover { background: #eef1f7; color: var(--ph-navy); }
.gm-btn--ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none;
}
.gm-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.gm-section { padding: 3.4rem 0; }
.gm-section--surface { background: var(--ph-paper); }
.gm-section__head { max-width: 42rem; margin-bottom: 1.7rem; }
.gm-eyebrow {
  margin: 0 0 0.4rem; color: var(--ph-red);
  font-size: 0.75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.gm-section h2, .gm-cta h2 {
  margin: 0 0 0.55rem; font-family: var(--ph-display);
  font-size: clamp(1.45rem, 2.3vw, 2.05rem); letter-spacing: -0.03em; text-transform: uppercase;
}
.gm-section__intro { margin: 0; color: var(--ph-muted); }

.gm-grid--3 {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 980px) {
  .gm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gm-feature {
  margin: 0; padding: 1.15rem 1.1rem 1.05rem;
  background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius);
  min-height: 9.5rem; display: flex; flex-direction: column;
}
.gm-feature h3 {
  margin: 0 0 0.4rem; font-family: var(--ph-display);
  font-size: 1rem; letter-spacing: -0.02em; color: var(--ph-navy);
}
.gm-feature h3 a { color: inherit; text-decoration: none; }
.gm-feature h3 a:hover { color: var(--ph-red); }
.gm-feature p { margin: 0 0 0.75rem; color: var(--ph-muted); flex: 1; font-size: 0.95rem; }
.gm-feature__link { font-weight: 750; font-size: 0.88rem; text-decoration: none; color: var(--ph-red); }
.gm-feature__link:hover { color: var(--ph-red-deep); }

.gm-cta {
  background: var(--ph-navy); color: #fff;
}
.gm-cta h2 { color: #fff; }
.gm-cta .gm-section__intro { color: rgba(255,255,255,.75); }
.gm-cta .gm-btn { background: var(--ph-red); color: #fff; }
.gm-cta .gm-btn:hover { background: var(--ph-red-deep); color: #fff; }

.gm-contact { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .gm-contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.gm-meta-list { margin: 0; padding: 0; list-style: none; color: var(--ph-muted); }
.gm-form {
  width: 100%; max-width: 36rem; padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid var(--ph-line); border-radius: var(--ph-radius); background: #fff;
  box-shadow: 0 12px 28px rgba(11,27,58,.06);
}
.gm-field { display: block; margin-bottom: 0.8rem; font-weight: 650; }
.gm-field input, .gm-field textarea {
  display: block; width: 100%; margin-top: 0.3rem; padding: 0.62rem 0.72rem;
  border: 1px solid var(--ph-line); border-radius: 0.55rem; font: inherit; background: #fff;
}
.gm-field-error { color: #b42318; font-size: 0.85rem; font-weight: 600; }
.gm-alert { padding: 0.7rem 0.95rem; border-radius: 0.7rem; margin-bottom: 0.9rem; }
.gm-alert--ok { background: #e7f8ee; }
.gm-alert--err { background: #fdecec; }

.gm-page { padding: 2.4rem 0 3.4rem; }
.gm-page .gm-shell { max-width: 44rem; }
.gm-page h1 {
  margin: 0 0 1rem; font-family: var(--ph-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.03em; text-transform: uppercase;
}
.gm-page__body { color: #1e293b; font-size: 1.05rem; line-height: 1.7; }
.gm-page__body h2 { margin: 1.8rem 0 .65rem; font-size: 1.15rem; color: var(--ph-red); font-family: var(--ph-display); text-transform: uppercase; }
.gm-page__body h3 { margin: 1.2rem 0 .3rem; font-size: 1.02rem; font-family: var(--ph-display); color: var(--ph-navy); }
.gm-page__body a { font-weight: 750; }
.gm-breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
  margin-bottom: 1rem; font-size: 0.875rem; color: var(--ph-muted);
}
.gm-breadcrumbs a { color: var(--ph-muted); text-decoration: none; }
.gm-reveal { opacity: 1; transform: none; }

.ecs-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--ph-navy-deep); color: rgba(255,255,255,.72); padding: 1.3rem 0 1.55rem;
}
.ecs-footer__inner { width: min(100% - 2.5rem, var(--ph-max)); margin-inline: auto; text-align: center; }
.ecs-footer__credit { margin: 0; font-weight: 600; }
.ecs-footer__sep { margin: 0 .35rem; color: rgba(255,255,255,.35); }

@media (max-width: 900px) {
  .gm-grid--3 { grid-template-columns: 1fr; }
  .ecs-header__inner { flex-direction: column; align-items: flex-start; }
  .ecs-nav { margin-left: 0; }
  .gm-shell, .gm-hero__inner { width: min(100% - 1.25rem, var(--ph-max)); }
  .gm-hero h1 { max-width: none; }
}


@media (max-width: 860px) {
  
}

.gm-hero__crest {
  position: absolute !important;
  display: block !important;
  right: clamp(1rem, 4vw, 2.5rem);
  top: 58%;
  width: min(180px, 18vw) !important;
  height: min(216px, 22vw) !important;
  transform: translateY(-10%);
  background: transparent url("/assets/img/hodonin-znak.png?v=25") center / contain no-repeat !important;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
  border: 0 !important;
  outline: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
  mix-blend-mode: normal;
}
@media (max-width: 860px) {
  .gm-hero__crest {
    width: min(120px, 28vw) !important;
    height: min(144px, 34vw) !important;
    right: 0.75rem;
    top: auto !important;
    bottom: 1.1rem;
    transform: none;
    opacity: 0.72;
  }
}

/* hide page structure crumbs */
.gm-breadcrumbs { display: none !important; }
