:root {
  --navy: #0c2c53;
  --blue: #0d478a;
  --sky: #eaf3fb;
  --ink: #1b2e41;
  --body: #3b4c5d;
  --line: #dce5ed;
  --paper: #f7f9fb;
  --gold: #e4c48f;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.65 system-ui, sans-serif; color: var(--body); }
h1, h2, h3 { color: var(--navy); line-height: 1.16; margin: 0 0 .6em; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 5.65vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); }
h3 { font-size: 1.17rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ab7537; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); background: white; padding: 10px; z-index: 2; }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header { min-height: 91px; }
.logo { width: 187px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 12px 23px; }
nav a { text-decoration: none; font-weight: 650; font-size: .9rem; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6em; background: var(--blue); color: white; font-weight: 750; text-decoration: none; padding: 13px 20px; border-radius: 7px; text-align: center; line-height: 1.35; }
.button:hover { background: #14416d; }
.hero, .contact { background: linear-gradient(118deg, #0a2b52, #0d407a 76%, #125695); color: #e5eff9; }
.hero { padding: clamp(58px, 8vw, 105px) 0; border-bottom: 4px solid var(--gold); }
.hero h1, .contact h2 { color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: clamp(30px, 7vw, 96px); align-items: center; }
.kicker { color: #dae9f8; font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.19rem); max-width: 62ch; margin-bottom: 26px; }
.gold { background: var(--gold); color: #142d4a; }
.gold:hover { background: #f0d6a7; }
.small { font-size: .87rem; margin: 12px 0 0; }
.brief { background: #fff; color: var(--ink); padding: clamp(23px, 3.3vw, 39px); border-radius: 15px; box-shadow: 0 15px 55px #071e3a48; border-top: 4px solid var(--gold); }
.brief h2 { font-size: 1.92rem; }
.brief ul { list-style: none; padding: 0; margin: 0 0 23px; }
.brief li { border-bottom: 1px solid var(--line); padding: 11px 0; }
.brief a { font-weight: 700; }
.trust { background: var(--sky); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 16px; color: var(--navy); font-weight: 700; font-size: .9rem; }
.section { padding-block: clamp(53px, 7vw, 91px); }
.intro { max-width: 73ch; margin-bottom: 30px; font-size: 1.05rem; }
.tint { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.cards article, .tips a { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 23px; }
.cards article p:last-child { margin: 0; }
.team article { overflow: hidden; padding: 0; }
.team img { width: 100%; height: auto; }
.team article div { padding: 20px 23px; }
.media { margin-top: 28px; border-left: 3px solid #b99159; padding: 4px 0 4px 17px; }
.media strong { color: var(--navy); }
.media p { margin: 3px 0; }
.split { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(20px, 5vw, 64px); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { font-weight: 720; color: var(--navy); cursor: pointer; padding: 15px 0; }
details p { padding: 0 16px 0 0; }
.tips a { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; text-decoration: none; font-weight: 720; }
.tips a:hover { background: var(--sky); text-decoration: underline; }
.contact { padding-block: 49px; }
.contact h2 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); }
.contact p { margin-bottom: 0; }
.contact-inner { display: grid; grid-template-columns: 1.8fr 1fr; gap: 22px; align-items: center; }
.contact-inner > div:last-child { justify-self: end; text-align: center; }
.phone { display: block; margin-top: 9px; color: white; font-size: .92rem; }
.footer { padding-block: 25px; font-size: .9rem; }
@media (max-width: 850px) {
  .header { flex-wrap: wrap; padding-block: 12px; gap: 12px; }
  .header nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 10px; }
  .hero-grid, .split, .contact-inner { grid-template-columns: 1fr; }
  .contact-inner > div:last-child { justify-self: start; }
  .hero-grid { gap: 30px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .logo { width: 142px; }
  .header-book { font-size: .82rem; padding: 10px 11px; }
  nav { gap: 7px 14px; }
  nav a { font-size: .8rem; }
  .cards { grid-template-columns: 1fr; }
  .team article { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; align-items: center; }
  .team img { height: 100%; object-fit: cover; }
  .team article div { padding: 12px 14px; }
  .team h3 { font-size: 1rem; }
  .trust-inner { justify-content: flex-start; font-size: .8rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}

html { scroll-padding-bottom: 100px; }
.mobile-book { display: none; }
@media (max-width: 620px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-book {
    display: block;
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #0c2c53;
    box-shadow: 0 -3px 16px #0c2c5320;
  }
  .mobile-book .button { width: 100%; min-height: 48px; font-size: .9rem; }
  summary { scroll-margin-bottom: 110px; }
}
@media print {
  .mobile-book { display: none; }
  body { padding-bottom: 0; }
}
