@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

* {
  font-family: "Hanken Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding-top: 100px;
}

.container-fluid {
  padding: 0 80px;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
}

h1.line:before,
h2.line:before,
h3.line:before,
h4.line:before,
h5.line:before {
  content: "";
  width: 80px;
  height: 2px;
  background-color: var(--red);
  display: block;
}

h1.line:before,
h2.line:before {
  margin-bottom: 30px;
}

h3.line:before {
  margin-bottom: 25px;
}

h4.line:before,
h5.line:before {
  margin-bottom: 20px;
}

h1.line-60:before,
h2.line-60:before,
h3.line-60:before,
h4.line-60:before,
h5.line-60:before {
  width: 60px;
}

h1.line-center,
h2.line-center,
h3.line-center,
h4.line-center,
h5.line-center {
  text-align: center;
}


h1.line-center:before,
h2.line-center:before,
h3.line-center:before,
h4.line-center:before,
h5.line-center:before {
  margin: auto;
}

h1.line-center:before,
h2.line-center:before {
  margin-bottom: 30px;
}

h3.line-center:before {
  margin-bottom: 25px;
}

h4.line-center:before,
h5.line-center:before {
  margin-bottom: 20px;
}

.nadpis-h1 {
  padding-top: 80px;
}

.banner.subpage .breadcrumbs {
  text-align: center !important;
  margin-bottom: 0 !important;
}

.breadcrumbs {
  font-size: 0.8em;
  color: #BFDCCB;
  margin-top: 25px;
  margin-bottom: -44px;
  text-align: right;
}

.breadcrumbs>a {
  color: #BFDCCB;
}

.breadcrumbs>a:hover {
  text-decoration: none;
}

.breadcrumbs>i {
  padding: 0 5px 0 5px;
}

a,
button {
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}

html,
body {
  overflow-x: clip;
}

.bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.8s;
  -moz-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  -o-transition: all 0.8s;
}

@media (min-width: 1500px) {
  .container {
    max-width: 1400px;
  }
}

@media (max-width: 1400px) {
  main {
    padding-top: 98px;
  }
}

@media (max-width: 991px) {
  .container-fluid {
    padding: 0 20px;
  }

  .container {
    /*padding: 0 20px;*/
    padding-left: 20px;
    padding-right: 20px;
  }

  .breadcrumbs {
    text-align: center;
  }
}

.btn-my {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 30px;
  background-color: transparent;
  text-align: center;
}

.btn-my:hover {
  text-decoration: none !important;
}

.btn-my.lh-60 {
  line-height: 60px;
}

.btn-my.lh-50 {
  line-height: 50px;
}

.btn-my.lh-40 {
  line-height: 40px;
}

.btn-my.w-160 {
  width: 160px;
}

.btn-my.w-270 {
  width: 270px;
}

.btn-my.w-240 {
  width: 240px;
}

.btn-my-blue {
  background-color: var(--red);
  color: #FFFFFF;
}

.btn-my-blue:hover {
  background-color: #3a589e;
  color: #FFFFFF;
}

.btn-my-dark {
  color: #FFFFFF;
  background-color: #000000;
}

.btn-my-dark:hover {
  background-color: var(--ink);
  color: #FFFFFF;
}

.error label {
  color: red !important;
}

.error input[type='text'],
.error input[type='email'],
.error textarea {
  border: 1px solid red !important;
}

.nav-item.poptavka .count {
  color: white;
  display: inline-block;
  background-color: #002f4c;
  border-radius: 50%;
  width: 30px;
  line-height: 30px;
  text-align: center;
  color: white;
  font-weight: bold;
  margin-left: 10px;
}

.banner.subpage {
  color: #fff;
  background-size: cover;
  min-height: 200px;
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
  background-image: url("/template/img/sekce-3/slide1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
  position: relative;
}

.banner.subpage::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  background: transparent linear-gradient(90deg, var(--green-900) 0%, var(--green-900) 100%) 0% 0% no-repeat padding-box;
}

.banner.subpage h1 {
  color: #fff;
  font-weight: 800;
  font-size: 36px;
}

.banner.subpage .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90vw;
}

@media (max-width: 575px) {
  .banner.subpage .content {
    position: inherit !important;
    width: 100%;
    left: unset;
    top: unset;
    transform: none !important;
    padding: 40px 0 !important;
  }

  .form {
    padding: 20px !important;
  }

  .hero-grid {
    padding: 50px 20px 50px !important;
  }

  .banner.subpage {
    min-height: fit-content;
  }

  .banner.subpage .breadcrumbs {
    position: relative;
    z-index: 99;
  }
}

:root {
  /* --- identita z loga --- */
  --red: #e43530;

  /* --- zelená škála --- */
  --green-900: #0F5132;
  /* lahvová – tmavé plochy (sekce O firmě) – beze změny */
  --green-700: #15803D;
  /* šťavnatá tmavší – piktogramy a akcenty */
  --green-600: #16A34A;
  /* svěží – doplňkový akcent */
  --green-300: #86EFAC;
  /* světlá – text a akcenty na tmavé zelené */
  --green-50: #D6EDDD;
  /* podklad karet a formuláře – sytější, šťavnatější */

  --ink: #0F172A;
  /* téměř černá slate – text, patička */
  --ink-soft: #475569;
  --paper: #F2F8F4;
  /* podklad stránky – jemný zelený nádech */
  --sand: var(--green-50);
  --line: #C3DCCB;
  --maxw: 1200px;
  /* výtyčka: červenobílé pruhy */
  --pole: repeating-linear-gradient(180deg, var(--red) 0 26px, #fff 26px 52px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
  /* vyrovnané zalomení nadpisů – zabrání osamocenému slovu na řádku */
  text-wrap: balance
}

p,
li,
blockquote,
label {
  /* zabrání osamocenému slovu na posledním řádku odstavce */
  text-wrap: pretty
}

a {
  color: inherit;
  text-decoration: none
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  cursor: pointer;
  transition: .18s;
  border-radius: 999px;
  border: 2px solid transparent
}

.btn-cta {
  background: var(--red);
  color: #fff
}

.btn-cta:hover {
  background: var(--green-900);
  color: #fff;
}

.btn-line {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-900)
}

.btn-line:hover {
  background: var(--green-900);
  color: #fff
}

/* ===== VÝTYČKA: scroll progress na levé hraně (signatura) ===== */
.pole-track {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #fff;
  border-right: 1px solid var(--line);
  z-index: 60
}

.pole-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--pole)
}

@media(max-width:900px) {
  .pole-track {
    display: none
  }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  /*background: rgba(252, 251, 247, .92);*/
  background-color: #fff;
  backdrop-filter: blur(10px)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  /*border-bottom: 1px solid var(--line)*/
}

.navbar-collapse {
  justify-content: end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px
}

.logo img {
  height: 96px;
  width: auto;
  display: block;
}

.logo .stripes {
  width: 9px;
  height: 38px;
  background: repeating-linear-gradient(180deg, var(--red) 0 9.5px, #fff 9.5px 19px);
  outline: 1px solid var(--line)
}

.logo .name {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -.01em
}

.logo .name span {
  color: var(--red)
}

.menu {
  display: flex;
  gap: 34px;
  align-items: center
}

.menu a {
  font-size: 17px;
  font-weight: 500
}

.menu a:not(.btn):hover {
  color: var(--red)
}

.menu .btn-cta {
  padding: 12px 24px;
  font-size: 16px
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--ink)
}

/* ===== HERO: typ + vrstevnicová kresba ===== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  padding: 72px 0 88px
}

.hero-grid.wrap {
  max-width: 1400px;
}

/* H1 jako akronym: svisle se čte O-G-I-S, iniciály červeně */
.hero h1.acro,
.hero .acro {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.03;
  letter-spacing: .005em;
  color: var(--ink);
  font-weight: 800;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.hero .acro .ln {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.hero .acro .ini {
  color: var(--red);
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* spojka „a“ zůstává malá, aby svislá řada O-G-I-S zůstala čitelná */
.hero .acro .conj {
  font-style: normal;
  font-weight: 600;
  font-size: .38em;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--ink-soft);
  margin-left: .14em
}

.hero .lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 46ch;
  font-weight: 400;
  margin: 28px 0 36px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero .where {
  margin-top: 40px;
  font-size: 16px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px
}

.hero .where::before {
  content: "";
  width: 9px;
  height: 30px;
  background: repeating-linear-gradient(180deg, var(--red) 0 7.5px, #fff 7.5px 15px);
  outline: 1px solid var(--line)
}

/* ===== HERO: výřez mapy (nahradil vrstevnice) ===== */
.mapshot {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  /* výřez: uprav poměr stran podle finálního podkladu */
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 50px rgba(15, 81, 50, .10)
}

/* výtyčka na hraně rámečku – drží signaturu webu */
.mapshot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: repeating-linear-gradient(180deg, var(--red) 0 18px, #fff 18px 36px);
  z-index: 2
}

.mapshot img {
  width: 100%;
  height: 100%;
  display: block;
  /* object-position řídí, která část mapy je vidět */
  object-fit: cover;
  object-position: center 45%
}

/* ===== SLUŽBY ===== */
section.block {
  padding: 60px 0
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap
}

.head-row h2,
.head-row h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  max-width: 18ch;
}

.head-row .note {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34ch;
  padding-bottom: 8px
}

/* 12sloupcová mřížka: 1. řádek 3 karty (span 4), 2. řádek 4 karty (span 3) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px
}

.svc-grid>.svc {
  grid-column: span 4
}

.svc-grid>.svc:nth-child(n+4) {
  grid-column: span 3
}

.svc {
  background: var(--sand);
  padding: 34px 30px 38px;
  position: relative;
  overflow: hidden;
  transition: .22s;
  border-radius: 4px
}

.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, #fff 22px 44px);
  opacity: 0;
  transition: .22s
}

.svc:hover {
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 81, 50, .12)
}

.svc:hover::before {
  opacity: 1
}

.svc svg {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  stroke: var(--green-700);
  fill: none;
  stroke-width: 1.6
}

.svc-grid>.svc:nth-child(n+4) {
  padding: 30px 24px 34px
}

.svc-grid>.svc:nth-child(n+4) h3 {
  font-size: 21px
}

.svc h3 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -.01em
}

.svc p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6
}

.svc .kdy {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-900)
}

/* ===== ZÁMEK / příběh ===== */
.castle {
  background: var(--green-900);
  color: #DFF0E6;
  overflow: hidden
}

.castle .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px
}

.castle h2 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 56px)
}

.castle h2 .accent {
  color: var(--green-300)
}

.castle p {
  color: #BFDCCB;
  font-size: 18px;
  margin-top: 22px;
  max-width: 50ch
}

.castle .since {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 44px
}

.castle .since .yr {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 72px;
  color: #fff;
  line-height: 1
}

.castle .since .lbl {
  font-size: 17px;
  color: #9CC7AE;
  max-width: 28ch;
  line-height: 1.45;
  border-left: 2px solid rgba(255, 255, 255, .28);
  padding-left: 22px
}

.castle-photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  /* foto zámku na šířku; alternativa pro plošší výřez: 16/9 */
  aspect-ratio: 3/2;
  max-height: 460px
}

.castle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* čím část fotky je vidět – uprav podle finálního snímku */
  object-position: center
}

/* ===== PROČ ===== */
.why .head-row {
  margin-bottom: 48px !important;
}

.why .head-row h2 {
  text-align: center;
  margin: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px
}

.why-item {
  padding-top: 24px
}

.why-item .pict {
  width: 50px;
  height: 50px;
  margin-bottom: 18px
}

.why-item .pict svg {
  width: 100%;
  height: 100%;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.why-item .pict .acc {
  stroke: var(--green-700)
}

.why-item h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -.01em
}

.why-item p {
  font-size: 17px;
  color: var(--ink-soft)
}

/* ===== REFERENCE ===== */
.refs {
  background: var(--sand)
}

.refs h2 {
  text-align: center;
  margin: auto;
}

.refs blockquote {
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -.015em;
  max-width: 26ch
}

.refs blockquote .accent {
  color: var(--red)
}

.refs .by {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft)
}

.refs-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center
}

.refs-side {
  display: flex;
  flex-direction: column;
  gap: 26px
}

.refs-side .mini {
  border-left: 3px solid var(--green-700);
  padding-left: 18px
}

.refs-side .mini p {
  font-size: 17px;
  line-height: 1.55
}

.refs-side .mini .who {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 6px
}

/* ===== POPTÁVKA ===== */
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start
}

.order-info {
  position: sticky;
  top: 140px
}

.order-info h2 {
  font-size: clamp(34px, 4.4vw, 54px)
}

.order-info .p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 38ch
}

.contact {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.contact a,
.contact span {
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.01em
}

.contact a:hover {
  color: var(--red)
}

.contact .addr {
  font-family: 'Hanken Grotesk';
  font-weight: 400;
  font-size: 17px;
  color: var(--ink-soft);
  margin-top: 14px
}

.form {
  background: var(--sand);
  padding: 38px;
  border-radius: 6px;
  position: relative;
  overflow: hidden
}

.form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, #fff 24px 48px)
}

.form h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px
}

.form .sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.field {
  margin-bottom: 14px
}

.field label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink)
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, .18)
}

.form .btn-cta {
  width: 100%;
  margin-top: 8px
}

.form .priv {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.5
}

.req {
  color: var(--red)
}

.chk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  margin-top: 4px
}

.chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer
}

.chk input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-700);
  margin-top: 0;
  flex: 0 0 18px;
  cursor: pointer
}

.field input[type=file] {
  padding: 11px 12px;
  background: #fff;
  font-size: 16px
}

.field .hint {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.45
}

.field .hint-error {
  color: var(--red);
  font-weight: 600
}

.field.error input[type=file] {
  border-color: var(--red)
}

.field label .nepovinne {
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 6px
}

.form .form-error {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.45
}

.form .form-error ul {
  margin: 8px 0 0;
  padding-left: 20px
}

.form .form-error li {
  margin: 3px 0
}

.gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  margin: 18px 0 4px
}

.gdpr input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-700);
  margin-top: 3px;
  flex: 0 0 18px
}

.gdpr a {
  text-decoration: underline;
  text-underline-offset: 3px
}

.gdpr a:hover {
  color: var(--red)
}

/* ===== FOTOPÁS ===== */
.strip {
  padding: 0 0 0;
  overflow: hidden
}

.strip-row {
  display: flex;
  gap: 6px;
  height: 320px
}

.shot {
  position: relative;
  flex: 1;
  overflow: hidden;
  margin: 0;
  transition: flex .5s cubic-bezier(.65, 0, .35, 1)
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: filter .4s ease, transform .5s cubic-bezier(.65, 0, .35, 1)
}

/* pruh výtyčky, který se vysune při najetí */
.shot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, #fff 22px 44px);
  transform: translateY(-100%);
  transition: transform .35s ease;
  z-index: 2;
  opacity: 0;
}

.shot:hover {
  flex: 1.7
}

.shot:hover img {
  filter: saturate(1.05);
  transform: scale(1.04)
}

.shot:hover::before {
  transform: translateY(0)
}

@media(max-width:900px) {
  .strip-row {
    height: 230px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch
  }

  .shot {
    flex: 0 0 62vw;
    scroll-snap-align: start
  }

  .shot:hover {
    flex: 0 0 62vw
  }
}

@media(prefers-reduced-motion:reduce) {

  .shot,
  .shot img,
  .shot::before {
    transition: none
  }

  .shot:hover {
    flex: 1
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-900);
  color: #BFDCCB;
  font-size: 16px;
  padding: 64px 0 30px;
  margin-top: 6px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

footer .logo .name {
  color: #fff;
  font-size: 25px
}

footer .foot-grid img {
  height: 78px;
  width: auto;
  display: block;
  margin-bottom: 18px
}

footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 700
}

footer ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 9px
}

footer ul a:hover {
  color: #fff
}

footer .desc {
  margin-top: 16px;
  max-width: 32ch;
  line-height: 1.6
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  color: #9CC7AE
}

.foot-bottom a {
  color: #CBD5E1;
  text-decoration: underline;
  text-underline-offset: 3px
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease
}

.rv.in {
  opacity: 1;
  transform: none
}

@media(max-width:980px) {


  .burger {
    display: flex
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 56px 0 64px
  }

  .mapshot {
    max-width: 520px;
    margin: 10px auto 0;
    aspect-ratio: 5 / 4
  }

  .nav {
    height: 88px
  }

  .logo img {
    height: 64px
  }

  .svc-grid {
    grid-template-columns: 1fr 1fr
  }

  .svc-grid>.svc,
  .svc-grid>.svc:nth-child(n+4) {
    grid-column: auto;
    padding: 34px 30px 38px
  }

  .svc-grid>.svc:nth-child(n+4) h3 {
    font-size: 23px
  }

  .castle .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 72px;
    padding-bottom: 72px
  }

  .castle-photo {
    aspect-ratio: 16/10;
    max-height: 380px
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .refs-grid,
  .order-grid {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .order-info {
    position: static
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {

  .svc-grid,
  .foot-grid,
  .frow,
  .chk-grid {
    grid-template-columns: 1fr
  }

  section.block {
    padding: 64px 0
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important
  }

  .rv {
    opacity: 1;
    transform: none
  }
}