:root {
  --navy: #12306b;
  --navy-deep: #0b1f4a;
  --blue: #2457c5;
  --gold: #f2b134;
  --gold-deep: #c98a0b;
  --gold-soft: #fdf1d6;
  --blue-soft: #e6edfb;
  --leaf: #1f7a54;
  --leaf-soft: #e2f3ea;
  --ink: #172033;
  --muted: #566176;
  --line: #dce2ee;
  --bg: #f5f7fb;
  --white: #fff;
  --head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  --wrap: 1160px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font: 17px/1.65 var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: var(--blue)
}

a:hover {
  color: var(--navy)
}

h1,
h2,
h3,
h4 {
  font-family: var(--head);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--navy-deep);
  letter-spacing: -.01em
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 700
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 700
}

h3 {
  font-size: 1.25rem;
  font-weight: 600
}

p {
  margin: 0 0 1em
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: .6rem 1rem;
  z-index: 99
}

.skip:focus {
  left: 0
}

/* header */
.topbar {
  background: var(--navy-deep);
  color: #cfd9f1;
  font-size: .88rem
}

.topbar .wrap {
  display: flex;
  gap: .4rem 1.6rem;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: .45rem 0
}

.topbar a {
  color: #fff;
  text-decoration: none
}

.topbar span+span {
  margin-left: 0
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--navy-deep)
}

.brand img {
  width: 46px;
  height: 46px
}

.brand b {
  font: 700 1.12rem/1.1 var(--head);
  display: block
}

.brand small {
  color: var(--muted);
  font-size: .8rem
}

.menu {
  display: flex;
  align-items: center;
  gap: .1rem;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  padding: 0
}

.menu>li {
  position: relative
}

.menu a,
.menu button.dd {
  display: block;
  padding: .55rem .75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  border-radius: 8px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer
}

.menu a:hover,
.menu button.dd:hover,
.menu a[aria-current] {
  color: var(--blue);
  background: var(--blue-soft)
}

.sub {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(11, 31, 74, .12);
  padding: .4rem;
  list-style: none;
  margin: 0
}

.menu>li:hover .sub,
.menu>li:focus-within .sub {
  display: block
}

.btn {
  display: inline-block;
  font: 700 1rem var(--head);
  padding: .8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep)
}

.btn-gold:hover {
  background: #ffc24d;
  color: var(--navy-deep)
}

.btn-navy {
  background: var(--navy);
  color: #fff
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: #fff
}

.btn-line {
  border-color: currentColor;
  color: #fff
}

.btn-line:hover {
  background: #fff;
  color: var(--navy-deep)
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .92rem
}

.menu .btn {
  color: var(--navy-deep);
  background: var(--gold);
  margin-left: .4rem;
  padding: .55rem 1.1rem
}

.menu .btn:hover {
  background: #ffc24d;
  color: var(--navy-deep)
}

.burger {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: .5rem .7rem;
  font: 700 .95rem var(--head);
  color: var(--navy)
}

/* hero */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 85% -10%, rgba(36, 87, 197, .55), transparent 70%), radial-gradient(600px 300px at 0% 110%, rgba(242, 177, 52, .18), transparent 70%)
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 0
}

.hero h1 {
  color: #fff;
  margin-bottom: .5em
}

.hero .lead {
  color: #d6e0f7;
  margin-bottom: 1.6rem
}

.hero .actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  padding-bottom: 4.5rem
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: end
}

.door {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
  text-decoration: none;
  padding: 2.2rem 1.3rem 1.6rem;
  border-radius: 999px 999px 0 0;
  min-height: 380px;
  position: relative;
  transition: transform .2s
}

.door:hover {
  transform: translateY(-6px)
}

.door h2 {
  font-size: 1.6rem;
  margin: 0;
  color: inherit
}

.door .range {
  font: 600 .95rem var(--head);
  opacity: .85
}

.door p {
  font-size: .95rem;
  line-height: 1.5;
  margin: .3rem 0 .6rem
}

.door .go {
  font: 700 .95rem var(--head);
  border-top: 2px solid currentColor;
  padding-top: .6rem;
  opacity: .9
}

.door-primary {
  background: var(--gold);
  color: var(--navy-deep);
  min-height: 430px
}

.door-secondary {
  background: #fff;
  color: var(--navy-deep)
}

.door-secondary .go {
  color: var(--blue)
}

/* handwork banner */
.banner {
  background: var(--navy-deep)
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative
}

.banner-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1b3a7a
}

.banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.banner-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 2.2rem 1.4rem 1rem;
  color: #fff;
  font: 700 1.1rem var(--head);
  background: linear-gradient(transparent, rgba(11, 31, 74, .85))
}

.banner-empty {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: #cdd8f2;
  border: 2px dashed #ffffff44;
  margin: 1rem
}

.banner-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, 86%);
  background: var(--gold);
  color: var(--navy-deep);
  padding: 1.5rem 1.7rem;
  border-radius: var(--r);
  box-shadow: 0 18px 40px rgba(11, 31, 74, .35)
}

.banner-copy h2 {
  font-size: 1.5rem;
  margin-bottom: .3em
}

.banner-copy p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.5
}

@media(max-width:760px) {
  .banner-grid {
    grid-template-columns: 1fr
  }

  .banner-copy {
    position: static;
    transform: none;
    width: auto;
    border-radius: 0
  }
}

/* sections */
section.block {
  padding: 4.5rem 0
}

.block.tint {
  background: var(--bg)
}

.block.navy {
  background: var(--navy);
  color: #fff
}

.block.navy h2,
.block.navy h3 {
  color: #fff
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem
}

.grid {
  display: grid;
  gap: 1.4rem
}

.g2 {
  grid-template-columns: repeat(2, 1fr)
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem
}

.card h3 {
  margin-bottom: .35em
}

.card p:last-child {
  margin-bottom: 0
}

.steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0
}

.steps li {
  counter-increment: s;
  padding-top: 3.3rem;
  position: relative
}

.steps li::before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font: 700 1.1rem/2.5rem var(--head);
  text-align: center
}

.steps li::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 3rem;
  right: -1.4rem;
  border-top: 2px dashed #ffffff55
}

.steps li:last-child::after {
  display: none
}

.steps strong {
  display: block;
  font: 600 1.1rem var(--head);
  color: #fff;
  margin-bottom: .2rem
}

.steps span {
  color: #cdd8f2;
  font-size: .95rem;
  line-height: 1.5;
  display: block
}

/* people */
.person {
  text-align: center
}

.photo {
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: .9rem
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.photo.ph {
  background: linear-gradient(160deg, var(--blue-soft), #cfdcf7);
  color: var(--navy);
  font: 700 3rem var(--head)
}

.person h3 {
  margin: 0
}

.person .role {
  color: var(--muted);
  font-size: .95rem
}

.leaders .photo {
  aspect-ratio: 4/5
}

.leaders h3 {
  font-size: 1.4rem
}

.message {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start
}

.message blockquote {
  margin: 0;
  font: 500 1.25rem/1.6 var(--head);
  color: var(--navy-deep)
}

.message cite {
  display: block;
  margin-top: 1rem;
  font: 600 1rem var(--body);
  font-style: normal;
  color: var(--muted)
}

/* page header */
.page-head {
  padding: 3.4rem 0 2.6rem;
  background: var(--navy);
  color: #fff
}

.page-head h1 {
  color: #fff;
  margin-bottom: .3em;
  font-size: clamp(2rem, 4vw, 2.9rem)
}

.page-head p {
  color: #d6e0f7;
  max-width: 62ch;
  margin: 0
}

.page-head.primary {
  background: var(--gold);
  color: var(--navy-deep)
}

.page-head.primary h1,
.page-head.primary p {
  color: var(--navy-deep)
}

.page-head.secondary {
  background: var(--blue)
}

.crumbs {
  font-size: .88rem;
  margin-bottom: .8rem;
  opacity: .85
}

.crumbs a {
  color: inherit
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none
}

.chips li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-weight: 600;
  font-size: .95rem
}

.primary-chips li {
  background: var(--gold-soft);
  border-color: #f3d48c
}

.secondary-chips li {
  background: var(--blue-soft);
  border-color: #c5d3f3
}

.prose {
  max-width: 70ch
}

.prose h3 {
  margin-top: 1.6em
}

.prose ul {
  padding-left: 1.2rem
}

.prose li {
  margin: .3em 0
}

.tag {
  display: inline-block;
  font: 600 .82rem var(--body);
  padding: .15rem .65rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy)
}

.tag.primary {
  background: var(--gold-soft);
  color: #7a5200
}

.tag.general {
  background: var(--leaf-soft);
  color: var(--leaf)
}

.list-card {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.3rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit
}

.list-card+.list-card {
  margin-top: .9rem
}

.list-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(18, 48, 107, .08)
}

.list-card h3 {
  margin: 0 0 .15em
}

.list-card p {
  margin: 0;
  color: var(--muted);
  font-size: .97rem
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff
}

.news-card:hover {
  border-color: var(--blue)
}

.news-card .img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-soft), #cfdcf7)
}

.news-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news-card .body {
  padding: 1.2rem 1.3rem 1.4rem
}

.news-card h3 {
  margin: .3rem 0
}

.news-card time {
  color: var(--muted);
  font-size: .88rem
}

.gallery {
  columns: 3;
  column-gap: 1rem
}

.gallery figure {
  margin: 0 0 1rem;
  break-inside: avoid
}

.gallery img {
  border-radius: 12px;
  width: 100%
}

.gallery figcaption {
  font-size: .9rem;
  color: var(--muted);
  padding: .3rem .2rem
}

.empty {
  border: 2px dashed var(--line);
  border-radius: var(--r);
  padding: 2rem;
  text-align: center;
  color: var(--muted)
}

/* forms */
.form {
  display: grid;
  gap: 1.1rem
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem
}

label {
  font-weight: 700;
  font-size: .95rem;
  display: block;
  margin-bottom: .3rem
}

label small {
  font-weight: 400;
  color: var(--muted)
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: .7rem .85rem;
  border: 1.5px solid #c6cfe0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink)
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #f2b13466;
  border-color: var(--gold-deep)
}

textarea {
  min-height: 130px;
  resize: vertical
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.2rem 1.3rem 1.4rem;
  margin: 0
}

legend {
  font: 700 1.05rem var(--head);
  padding: 0 .5rem;
  color: var(--navy)
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.4rem
}

.alert.err {
  background: #fdecec;
  color: #8a1c1c;
  border: 1px solid #f3c2c2
}

.alert.ok {
  background: var(--leaf-soft);
  color: #14573a;
  border: 1px solid #b7e0c8
}

.alert ul {
  margin: 0;
  padding-left: 1.1rem
}

.aside {
  background: var(--bg);
  border-radius: var(--r);
  padding: 1.6rem
}

.aside h3 {
  margin-bottom: .6em
}

.aside ul {
  padding-left: 1.1rem;
  margin: 0
}

.aside li {
  margin: .35em 0
}

.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start
}

/* map and whatsapp */
.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--r);
  background: var(--blue-soft)
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #128c4a;
  color: #fff;
  text-decoration: none;
  font: 700 .95rem var(--head);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25)
}

.wa-float:hover {
  background: #0d6e3a;
  color: #fff
}

@media(max-width:600px) {
  .wa-float span {
    display: none
  }

  .wa-float {
    padding: .85rem
  }

  .map iframe {
    height: 300px
  }
}

/* footer */
footer.site {
  background: var(--navy-deep);
  color: #bfcbea;
  padding: 3.5rem 0 0;
  font-size: .95rem
}

footer.site h4 {
  color: #fff;
  font-size: 1.05rem
}

footer.site a {
  color: #dbe4fb;
  text-decoration: none
}

footer.site a:hover {
  color: var(--gold)
}

footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0
}

footer.site li {
  margin: .35rem 0
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem
}

.foot-base {
  border-top: 1px solid #ffffff1f;
  margin-top: 2.5rem;
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .88rem
}

@media(max-width:1120px) {
  .burger {
    display: block
  }

  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: .8rem 1.25rem 1.2rem;
    box-shadow: 0 14px 24px rgba(11, 31, 74, .1)
  }

  .menu.open {
    display: flex
  }

  .sub {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 .8rem
  }

  .menu .btn {
    margin: .5rem 0 0;
    text-align: center
  }

  .menu button.dd {
    width: 100%;
    text-align: left
  }
}

@media(max-width:980px) {

  .hero .wrap,
  .split,
  .layout,
  .message {
    grid-template-columns: 1fr
  }

  .hero .wrap {
    padding-top: 3rem;
    gap: 2rem
  }

  .hero .actions {
    padding-bottom: 0
  }

  .doors {
    margin-top: .5rem
  }

  .door {
    min-height: 300px
  }

  .door-primary {
    min-height: 330px
  }

  .g3,
  .g4,
  .steps {
    grid-template-columns: 1fr 1fr
  }

  .steps li::after {
    display: none
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  .burger {
    display: block
  }

  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: .8rem 1.25rem 1.2rem;
    box-shadow: 0 14px 24px rgba(11, 31, 74, .1)
  }

  .menu.open {
    display: flex
  }

  .sub {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 .8rem
  }

  .menu .btn {
    margin: .5rem 0 0;
    text-align: center
  }

  .menu button.dd {
    width: 100%;
    text-align: left
  }

  .message {
    gap: 1.2rem
  }

  .message .photo {
    max-width: 240px
  }

  .gallery {
    columns: 2
  }
}

@media(max-width:600px) {
  body {
    font-size: 16px
  }

  section.block {
    padding: 3rem 0
  }

  .g2,
  .g3,
  .g4,
  .steps,
  .form .row,
  .foot-grid {
    grid-template-columns: 1fr
  }

  .doors {
    gap: .7rem
  }

  .door {
    padding: 1.8rem .8rem 1.2rem;
    min-height: 270px
  }

  .door h2 {
    font-size: 1.2rem
  }

  .door p {
    display: none
  }

  .gallery {
    columns: 1
  }

  .topbar .wrap {
    justify-content: flex-start
  }

  .list-card {
    flex-direction: column;
    align-items: flex-start
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important
  }
}

@media print {

  .topbar,
  .site-header,
  footer.site,
  .no-print,
  .wa-float,
  .tabbar {
    display: none !important
  }

  .card {
    border: 0
  }
}

/* email fallback box */
.mail-pop {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  width: min(320px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 40px rgba(11, 31, 74, .28);
  padding: 1.1rem 1.2rem 1.2rem;
  display: grid;
  gap: .55rem
}

.mail-pop p {
  margin: 0;
  color: var(--muted);
  word-break: break-all
}

.mail-pop .btn {
  text-align: center;
  width: 100%
}

.mail-pop .mail-form {
  background: #e8ecf5;
  color: var(--navy-deep)
}

.mail-x {
  position: absolute;
  top: .4rem;
  right: .6rem;
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer
}

/* ---------- phone: app-style layout ---------- */
.tabbar,
.sheet,
.quick {
  display: none
}

@media (max-width:760px),
(hover:none) and (pointer:coarse) and (max-width:1100px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom))
  }

  .topbar,
  .site-header .burger,
  .menu {
    display: none !important
  }

  .site-header {
    box-shadow: 0 1px 0 var(--line)
  }

  .nav {
    padding: .5rem 0
  }

  .brand img {
    width: 38px;
    height: 38px
  }

  .brand b {
    font-size: 1rem
  }

  .brand small {
    display: none
  }

  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: #fff;
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 20px rgba(11, 31, 74, .08)
  }

  .tabbar a,
  .tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-height: 58px;
    padding: .4rem .2rem;
    font: 600 .72rem var(--body);
    color: var(--muted);
    text-decoration: none;
    background: none;
    border: 0;
    border-top: 3px solid transparent;
    cursor: pointer
  }

  .tabbar .on {
    color: var(--navy);
    border-top-color: var(--gold)
  }

  .tabbar svg,
  .quick svg,
  .sheet svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round
  }

  .tabbar svg {
    width: 23px;
    height: 23px
  }

  .sheet:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90
  }

  .sheet-bg {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 74, .55)
  }

  .sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 84vh;
    overflow: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 1.1rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom));
    animation: sheet-up .22s ease
  }

  .sheet-panel h3 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin: 1.1rem 0 .5rem
  }

  .sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem
  }

  .sheet-grid a {
    display: block;
    padding: .85rem .9rem;
    border-radius: 12px;
    background: var(--bg);
    color: var(--navy-deep);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem
  }

  .sheet-close {
    position: absolute;
    top: .4rem;
    right: .8rem;
    background: none;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--muted);
    padding: .3rem .6rem
  }

  @keyframes sheet-up {
    from {
      transform: translateY(40px);
      opacity: 0
    }

    to {
      transform: none;
      opacity: 1
    }
  }

  .quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    padding: 1.2rem 0 .3rem
  }

  .quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    padding: .9rem .3rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--navy-deep);
    font: 600 .8rem var(--head);
    text-align: center
  }

  .quick svg {
    width: 30px;
    height: 30px;
    padding: 6px;
    box-sizing: content-box;
    border-radius: 12px;
    background: var(--gold-soft);
    color: #8a5b00
  }

  .hero .wrap {
    padding-top: 2rem
  }

  .hero h1 {
    font-size: 2rem
  }

  .hero .lead {
    font-size: 1.02rem
  }

  .hero .actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .8rem .6rem;
    line-height: 1.2
  }

  .hero .actions {
    gap: .6rem;
    padding-bottom: 1.6rem
  }

  .hero .wrap {
    gap: 1rem
  }

  .door,
  .door-primary {
    min-height: 210px;
    padding: 1.4rem 1.3rem 1rem;
    border-radius: 90px 90px 0 0
  }

  .door-primary {
    min-height: 235px
  }

  .door h2 {
    font-size: 1.15rem
  }

  .page-head {
    padding: 2rem 0 1.6rem
  }

  .crumbs {
    display: none
  }

  section.block {
    padding: 2.4rem 0
  }

  .btn {
    min-height: 44px
  }

  .wa-float {
    bottom: calc(76px + env(safe-area-inset-bottom));
    right: .8rem
  }

  .mail-pop {
    bottom: calc(76px + env(safe-area-inset-bottom))
  }

  footer.site {
    padding-top: 2rem
  }
}

@media (prefers-reduced-motion:reduce) {
  .sheet-panel {
    animation: none
  }
}

@media print {

  .tabbar,
  .sheet,
  .quick {
    display: none !important
  }
}

/* approval badge in the footer */
.approved {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .6rem;
  margin-top: 1rem;
  padding: .6rem .9rem;
  border: 1px solid #ffffff33;
  border-radius: 12px;
  background: #ffffff12;
  color: #fff;
  font-size: .92rem
}

.approved svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.approved span {
  flex-basis: 100%;
  color: #bfcbea;
  font-size: .85rem;
  padding-left: 1.9rem
}

/* ---------- native-app feel and install prompt ---------- */
html {
  -webkit-tap-highlight-color: transparent
}

a,
button,
summary,
label,
select {
  touch-action: manipulation
}

.site-header {
  padding-top: env(safe-area-inset-top)
}

@media (display-mode: standalone) {
  body {
    overscroll-behavior-y: none
  }

  .topbar {
    display: none
  }
}

.install-bar {
  display: none
}

@media (max-width:760px),
(hover:none) and (pointer:coarse) and (max-width:1100px) {
  .install-bar.show {
    display: flex;
    align-items: center;
    gap: .7rem;
    position: fixed;
    left: .7rem;
    right: .7rem;
    bottom: calc(74px + env(safe-area-inset-bottom));
    z-index: 85;
    background: var(--navy-deep);
    color: #fff;
    border-radius: 16px;
    padding: .75rem .9rem;
    box-shadow: 0 14px 34px rgba(11, 31, 74, .4);
    font-size: .9rem;
    line-height: 1.35
  }

  .install-bar img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex: none
  }

  .install-bar span {
    flex: 1
  }

  .install-bar .btn {
    padding: .5rem .95rem;
    min-height: 40px;
    font-size: .9rem
  }

  .install-bar .x {
    background: none;
    border: 0;
    color: #bfcbea;
    font-size: 1.6rem;
    line-height: 1;
    padding: .2rem .4rem
  }

  .sheet-install {
    display: block;
    width: 100%;
    margin: .2rem 0 .4rem;
    padding: .9rem;
    border: 0;
    border-radius: 12px;
    background: var(--gold);
    color: var(--navy-deep);
    font: 700 1rem var(--head)
  }

  .sheet-install[hidden] {
    display: none
  }
}