:root {
  color-scheme: light;
  --navy: #101e34;
  --navy-deep: #0a1425;
  --yellow: #f5d058;
  --ink: #142138;
  --paper: #faf9f5;
  --line: #d5dce6;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #8d6500; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1140px); margin-inline: auto; }
.preview { padding: 5px 16px; background: var(--yellow); color: var(--navy); text-align: center; font-size: 12px; }
.preview a { font-weight: 700; }
.site-header { background: var(--navy-deep); color: white; }
.nav-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; }
.brand:hover { color: white; }
.brand strong { font: 700 43px/.84 var(--display); color: var(--yellow); }
.brand span { padding-left: 11px; border-left: 1px solid #5f6b80; font-size: 10px; line-height: 1.2; letter-spacing: .07em; }
.nav-inner nav { display: flex; gap: 27px; }
.nav-inner nav a { color: #e2e9f2; text-decoration: none; font-size: 14px; }
.nav-inner nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 45px; padding: 10px 15px; border-radius: 5px; font-size: 14px; font-weight: 700; text-decoration: none; }
.header-action { color: white; border: 1px solid #758298; }
.header-action:hover { color: var(--navy); background: white; }
.hero { background: var(--navy); color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 90px); padding-block: clamp(34px, 7vw, 88px); }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero .kicker { color: var(--yellow); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 { margin-top: 13px; font-size: clamp(54px, 7.6vw, 102px); letter-spacing: -.025em; line-height: .88; }
h1 em { color: var(--yellow); font-style: normal; }
.hero p { max-width: 42ch; color: #e1e8f3; margin: 26px 0; font-size: 16px; }
.button-bright { background: var(--yellow); color: var(--navy); }
.button-bright:hover { background: #ffe08a; color: var(--navy); }
.rating { display: block; width: fit-content; margin-top: 19px; color: #e8edf3; font-size: 13px; }
.rating span:first-child { color: var(--yellow); }
.hero a:focus-visible, .site-header a:focus-visible { outline-color: var(--yellow); }
.hero-photo { border-top: 3px solid var(--yellow); }
.hero-photo img { display: block; width: 100%; height: clamp(250px, 37vw, 450px); object-fit: cover; object-position: center 61%; }
figcaption { padding-top: 7px; font-size: 11px; }
.hero-photo figcaption { color: #d3dcec; }
.services { padding-block: 54px 68px; }
h2 { font-size: clamp(42px, 5.7vw, 66px); line-height: 1; letter-spacing: -.02em; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 25px; }
.service-grid article { padding: 23px 25px; border: 1px solid var(--line); border-left: 4px solid #b28b20; background: white; }
.service-grid h3 { font-size: 36px; line-height: 1; }
.service-grid p { margin: 10px 0; }
.service-grid a, .map-link { font-size: 14px; font-weight: 700; }
.contact { background: #e5ebf4; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 34px; padding-block: 45px; }
.contact-photo img { display: block; width: 100%; height: auto; }
.contact h2 { margin: 8px 0; }
.contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 17px; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #264268; color: white; }
.site-footer { padding: 16px 0; background: var(--navy-deep); color: white; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.site-footer span { color: #dce3ec; }

@media (max-width: 767px) {
  .wrap { width: calc(100% - 36px); }
  .nav-inner { min-height: 63px; gap: 10px; }
  .nav-inner nav { display: none; }
  .hero-grid, .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 28px; }
  h1 { font-size: clamp(45px, 12vw, 69px); }
  .hero p { margin: 20px 0; }
  .hero-photo img { height: min(71vw, 340px); }
  .services { padding-block: 38px 45px; }
  .service-grid { gap: 12px; margin-top: 17px; }
  .service-grid article { padding: 19px; }
  .contact-grid { gap: 21px; padding-block: 32px; }
  .contact-photo { grid-row: 2; }
}
