@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy: #071525;
  --navy-light: #0d2137;
  --blue: #164468;
  --cream: #f5f4ee;
  --white: #ffffff;
  --orange: #ff6b35;
  --orange-dark: #b84013;
  --yellow: #ffbd59;
  --muted: #b8c3ce;
  --dark-text: #122335;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--dark-text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

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

section[id] {
  scroll-margin-top: 84px;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* Accessibility */

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  color: var(--white);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.2rem;
}

.logo-text span {
  color: var(--orange);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.85rem;
  font-weight: 500;
}

.main-nav a {
  opacity: 0.82;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: var(--yellow);
  opacity: 1;
}

.main-nav .nav-contact {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 30px;
  opacity: 1;
}

.main-nav .nav-contact:hover {
  background: var(--white);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--white);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 815px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 25%, rgba(32, 100, 143, 0.4), transparent 28%),
    var(--navy);
  color: var(--white);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
}

.hero h1 span,
.statement-section h2 span,
.contact-intro h2 span {
  color: var(--orange);
}

.hero-intro {
  max-width: 490px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 37px;
}

.button {
  display: inline-block;
  padding: 14px 21px;
  border-radius: 30px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

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

.button-primary:hover {
  background: #ff8358;
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--white);
  background: transparent;
}

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

.button-outline {
  border: 1px solid rgba(18, 35, 53, 0.25);
  color: var(--dark-text);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button-dark {
  background: var(--navy);
  color: var(--white);
  width: 100%;
}

.button-dark:hover {
  background: #14365a;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(34, 82, 119, 0.8), rgba(10, 30, 50, 0.9));
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.visual-top,
.visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.visual-top {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.live-dot {
  width: 9px;
  height: 9px;
  margin-right: auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.17);
}

.live-dot.paused {
  background: var(--muted);
  box-shadow: none;
}

.visual-status {
  color: var(--orange);
}

.waveform {
  display: flex;
  height: 180px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.waveform i {
  width: 5px;
  height: 35%;
  border-radius: 5px;
  background: linear-gradient(var(--orange), var(--yellow));
  animation: pulse 1.2s ease-in-out infinite alternate;
}

.waveform.paused i {
  animation-play-state: paused;
  opacity: 0.45;
}

.waveform i:nth-child(2n) {
  height: 65%;
  animation-delay: 0.2s;
}

.waveform i:nth-child(3n) {
  height: 90%;
  animation-delay: 0.4s;
}

@keyframes pulse {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

.visual-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.visual-bottom small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.visual-bottom strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.play-button {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
}

.play-button:hover {
  background: #ff8358;
  transform: scale(1.05);
}

.live-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 600;
}

.live-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-note {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
}

.note-one {
  top: 4%;
  right: -8%;
}

.note-two {
  bottom: 6%;
  left: -12%;
}

.scroll-indicator {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 30px;
  border: 1px solid var(--muted);
  border-radius: 15px;
}

.scroll-indicator span::after {
  display: block;
  width: 3px;
  height: 6px;
  margin: 6px auto;
  border-radius: 5px;
  background: var(--orange);
  content: "";
}

/* Intro */

.intro-section {
  padding: 115px 0 100px;
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.label-line {
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.intro-section h2 {
  max-width: 700px;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.intro-section p {
  max-width: 620px;
  margin-top: 25px;
  color: #4d5a67;
  font-size: 1.05rem;
}

/* Services */

.services-section {
  padding: 115px 0;
  background: #e9eee9;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading h2 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

.service-card {
  min-height: 350px;
  padding: 26px;
  border: 1px solid rgba(18, 35, 53, 0.1);
  border-radius: 15px;
  background: var(--cream);
  transition: 0.3s ease;
}

.service-card:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-8px);
}

.card-number {
  color: var(--orange);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.service-icon {
  margin: 50px 0 18px;
  color: var(--orange);
}

.service-icon svg {
  display: block;
}

.service-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.service-card p {
  margin: 16px 0 25px;
  color: #4d5a67;
  font-size: 0.9rem;
}

.service-card:hover p {
  color: var(--muted);
}

.text-link {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: 0.2s;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Detail sections */

.detail-section {
  padding: 110px 0;
  background: var(--cream);
  border-top: 1px solid rgba(18, 35, 53, 0.1);
}

.detail-section-alt {
  background: #eef0ea;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.detail-sticky {
  position: sticky;
  top: 110px;
}

.detail-grid > div:last-child {
  padding-top: 64px;
}

.detail-section h2 {
  max-width: 520px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.detail-section p {
  max-width: 600px;
  margin-bottom: 22px;
  color: #4d5a67;
  font-size: 1.05rem;
}

.detail-section p a,
.intro-section p a,
.statement-section p a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.detail-section p a:hover,
.intro-section p a:hover,
.statement-section p a:hover {
  color: var(--navy);
}

.license-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(18, 35, 53, 0.18);
  border-radius: 30px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--dark-text) !important;
  font-size: 0.82rem !important;
  font-weight: 600;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* Statement */

.statement-section {
  padding: 145px 0;
  background: var(--navy);
  color: var(--white);
}

.statement-content {
  max-width: 800px;
}

.statement-section h2,
.contact-intro h2 {
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.statement-section p:last-child {
  max-width: 550px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Contact */

.contact-section {
  padding: 125px 0;
  background: var(--orange-dark);
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: start;
}

.contact-intro > p:last-child {
  max-width: 400px;
  margin-top: 30px;
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 6px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  color: var(--white);
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

.contact-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.contact-form {
  padding: 28px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--dark-text);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.contact-form h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.form-hint {
  margin-top: -8px;
  color: #4d5a67;
  font-size: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(18, 35, 53, 0.2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  background: var(--white);
  color: var(--dark-text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */

.site-footer {
  padding: 27px 0;
  background: #05101d;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.back-to-top {
  color: var(--white);
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .waveform i {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* Mobile */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
    font-size: 0.76rem;
  }

  .hero-grid {
    gap: 45px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .detail-grid {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 34px, 540px);
  }

  .nav-container {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 17px;
    left: 17px;
    display: none;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--navy-light);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 9px 0;
  }

  .main-nav .nav-contact {
    text-align: center;
  }

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

  .hero-grid {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .hero-visual {
    max-width: 470px;
    margin: 0 auto;
    width: 100%;
  }

  .floating-note {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .intro-section,
  .services-section,
  .statement-section,
  .contact-section {
    padding: 80px 0;
  }

  .intro-grid {
    gap: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-top: 30px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-sticky {
    position: static;
  }

  .detail-grid > div:last-child {
    padding-top: 0;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}
