:root {
  --navy: #061a33;
  --navy-soft: #0b2748;
  --navy-panel: #102f55;
  --white: #ffffff;
  --text-soft: #dce8f5;
  --muted: #a8bed3;
  --orange: #f47c20;
  --orange-dark: #c95c0d;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--white);
  background: var(--navy);
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(6, 26, 51, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.35rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-soft);
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--orange);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: clamp(90px, 12vw, 150px) clamp(18px, 4vw, 56px) 72px;
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.97), rgba(6, 26, 51, 0.82), rgba(6, 26, 51, 0.42)),
    url("https://images.pexels.com/photos/6870295/pexels-photo-6870295.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
}

.hero-content {
  width: min(760px, 100%);
}

.hero-content,
.section-grid,
.services-band > *,
.media-section > *,
.tips-section > *,
.contact-section,
.site-footer,
.site-header {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.03;
  max-width: 12ch;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
}

p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 650px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--orange);
}

.section-grid,
.services-band,
.media-section,
.tips-section,
.contact-section {
  padding: clamp(44px, 8vw, 72px) clamp(18px, 4vw, 56px);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--navy-soft);
}

.info-block,
.service-list article,
.video-card,
.tips-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.info-block {
  padding: clamp(22px, 4vw, 40px);
}

.highlight-block {
  background: linear-gradient(135deg, rgba(244, 124, 32, 0.18), rgba(255, 255, 255, 0.06));
}

.services-band {
  background: var(--navy);
}

.media-section {
  background: var(--navy-soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  max-width: 62ch;
}

.service-list,
.tips-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-list article,
.tips-grid article {
  padding: 22px;
}

.service-list h3,
.tips-grid h3 {
  color: var(--white);
}

.video-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.video-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.34);
  color: var(--orange);
  font-weight: 800;
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-card p {
  margin: 0;
  padding: 14px;
}

.tips-section {
  background:
    linear-gradient(rgba(6, 26, 51, 0.9), rgba(6, 26, 51, 0.96)),
    url("https://images.unsplash.com/photo-1625047509258-ec889cbff17f?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.tips-grid article {
  background: rgba(6, 26, 51, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--navy-soft);
}

.contact-section > div {
  max-width: 720px;
}

.contact-section a:not(.button) {
  color: var(--orange);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #031020;
  border-top: 4px solid var(--orange);
}

.site-footer strong {
  color: var(--orange);
}

.site-footer span {
  color: var(--muted);
}

.exit-message {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  width: min(360px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(244, 124, 32, 0.7);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.exit-message.is-visible {
  display: block;
}

.exit-message strong {
  display: block;
  color: var(--orange-dark);
  font-size: 1.2rem;
  margin-right: 28px;
}

.exit-message p {
  margin: 8px 0 0;
  color: #213650;
}

.exit-message button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 68vh;
    background-position: center;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .section-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-list,
  .tips-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section .button {
    width: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .main-nav a {
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
  }

  h1 {
    max-width: 13ch;
  }

  .hero {
    min-height: 64vh;
    align-items: center;
    background-position: 68% center;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 44px;
    background-position: 72% center;
  }

  .hero-actions,
  .contact-section {
    gap: 10px;
  }

  .service-list,
  .tips-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .main-nav a {
    width: 100%;
  }

  .contact-section .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 1.18rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    gap: 6px;
  }

  h1 {
    font-size: 1.7rem;
    max-width: 100%;
  }

  h2 {
    font-size: 1.35rem;
  }

  p {
    line-height: 1.6;
  }

  .hero-actions .button,
  .contact-section .button {
    min-height: 44px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .info-block,
  .service-list article,
  .tips-grid article,
  .video-card p {
    padding: 18px;
  }

  .exit-message {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}
