:root {
  --color-ink: #071a34;
  --color-ink-soft: #18304d;
  --color-paper: #ffffff;
  --color-muted: #f4f8fb;
  --color-muted-strong: #e7eef5;
  --color-line: rgba(7, 26, 52, 0.1);
  --color-text: #465870;
  --color-accent: #10a9b8;
  --color-accent-soft: rgba(16, 169, 184, 0.14);
  --color-accent-strong: #087f8e;
  --shadow-soft: 0 18px 46px rgba(7, 26, 52, 0.09);
  --shadow-medium: 0 24px 70px rgba(7, 26, 52, 0.16);
  --radius: 10px;
  --container: min(1060px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 24% -12%, rgba(255, 255, 255, 0.98) 0 22rem, transparent 22.2rem),
    radial-gradient(circle at 94% 12%, rgba(16, 169, 184, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(7, 26, 52, 0.08), transparent 36rem),
    linear-gradient(145deg, #fbfdff 0%, #eef5fa 52%, #ffffff 100%);
  line-height: 1.6;
}

body::before,
body::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background-image: radial-gradient(rgba(7, 26, 52, 0.12) 1px, transparent 1.2px);
  background-position: calc(100% - 170px) 28px;
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 88% 4%, black 0 17rem, transparent 31rem);
}

body::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8) 46%, transparent);
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 34px) 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 14px;
  color: var(--color-ink);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--color-paper);
  background:
    radial-gradient(circle at 38% 28%, rgba(16, 169, 184, 0.9), transparent 28%),
    linear-gradient(145deg, #06172e, #143858);
  box-shadow: 0 14px 28px rgba(7, 26, 52, 0.25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
  min-height: min(720px, calc(100vh - 82px));
  padding: clamp(64px, 9vw, 110px) 0 clamp(58px, 7vw, 96px);
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 16px;
  color: var(--color-ink);
  font-size: clamp(2.75rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--color-ink);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.title-rule,
.heading-rule {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-accent);
}

.title-rule {
  margin: 0 0 22px;
}

.heading-rule {
  margin-top: 20px;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--color-text);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  font-size: 1.35rem;
}

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

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.brand:focus-visible,
.contact-list a:focus-visible {
  outline: 3px solid rgba(16, 169, 184, 0.36);
  outline-offset: 4px;
}

.button-primary {
  color: var(--color-paper);
  background:
    linear-gradient(135deg, rgba(16, 169, 184, 0.18), transparent 45%),
    #061a35;
  box-shadow: 0 18px 32px rgba(7, 26, 52, 0.22);
}

.button-primary:hover {
  background:
    linear-gradient(135deg, rgba(16, 169, 184, 0.25), transparent 45%),
    #0a2242;
  box-shadow: 0 22px 40px rgba(7, 26, 52, 0.25);
}

.button-secondary {
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(7, 26, 52, 0.1);
  box-shadow: 0 14px 30px rgba(7, 26, 52, 0.07);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  color: var(--color-accent-strong);
  border-color: rgba(16, 169, 184, 0.42);
  box-shadow: 0 18px 34px rgba(7, 26, 52, 0.09);
}

.hero-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 410px;
  align-items: flex-end;
  padding: clamp(32px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.16), transparent 11rem),
    linear-gradient(150deg, rgba(5, 18, 37, 0.98), rgba(20, 48, 76, 0.94));
  box-shadow: var(--shadow-medium);
  color: var(--color-paper);
  isolation: isolate;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-panel::before {
  right: -76px;
  top: -86px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.04);
}

.hero-panel::after {
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, transparent 0 38%, black 86%);
}

.panel-line {
  position: absolute;
  top: 42px;
  left: 42px;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 24px rgba(16, 169, 184, 0.45);
}

.panel-corner {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 36%;
  height: 45%;
  border-right: 2px solid rgba(16, 169, 184, 0.78);
  border-bottom: 2px solid rgba(16, 169, 184, 0.78);
}

.hero-panel p {
  position: relative;
  z-index: 1;
  max-width: 345px;
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.services,
.contact {
  display: grid;
  grid-template-columns: minmax(210px, 0.52fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 72px);
  padding: clamp(62px, 8vw, 92px) 0;
  border-top: 1px solid rgba(7, 26, 52, 0.1);
}

.section-heading {
  max-width: 360px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li,
.contact-list a,
.contact-list p {
  border: 1px solid rgba(7, 26, 52, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    var(--color-paper);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.service-list li {
  display: flex;
  align-items: center;
  min-height: 92px;
  gap: 18px;
  padding: 22px 24px;
  color: var(--color-ink);
  font-weight: 850;
  line-height: 1.25;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 169, 184, 0.36);
  box-shadow: 0 22px 50px rgba(7, 26, 52, 0.11);
}

.service-icon,
.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--color-accent-strong);
}

.service-icon {
  width: 40px;
  height: 40px;
  font-size: 2rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 16px 20px;
}

.contact-list a {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-list a:hover {
  transform: translateX(4px);
  border-color: rgba(16, 169, 184, 0.36);
  box-shadow: 0 20px 44px rgba(7, 26, 52, 0.11);
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 150px;
  color: var(--color-text);
}

.contact-icon {
  width: 32px;
  height: 32px;
  font-size: 1.55rem;
}

.contact-list strong {
  color: var(--color-ink);
  font-size: 1rem;
  text-align: right;
}

.site-footer {
  padding: 30px 0 42px;
  color: var(--color-text);
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid rgba(7, 26, 52, 0.1);
}

.site-footer p {
  margin: 0;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 900px) {
  .hero,
  .services,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(46px, 9vw, 74px);
  }

  .hero-content,
  .section-heading {
    max-width: 680px;
  }

  .hero-panel {
    min-height: 330px;
  }

  .services,
  .contact {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1060px);
  }

  body::before {
    background-size: 16px 16px;
    mask-image: radial-gradient(circle at 90% 2%, black 0 10rem, transparent 21rem);
  }

  .site-header {
    padding-top: 18px;
  }

  .brand {
    gap: 10px;
    font-size: 0.95rem;
  }

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

  .hero {
    gap: 34px;
    padding-bottom: 54px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 54px;
    padding-inline: 18px;
  }

  .hero-panel {
    min-height: 300px;
    padding: 30px;
  }

  .hero-panel p {
    max-width: 280px;
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .panel-line {
    top: 30px;
    left: 30px;
  }

  .panel-corner {
    right: 24px;
    bottom: 24px;
    width: 42%;
    height: 40%;
  }

  .services,
  .contact {
    padding: 54px 0;
  }

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

  .service-list li {
    min-height: 82px;
    padding: 20px;
  }

  .contact-list a,
  .contact-list p {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .contact-label {
    min-width: 0;
  }

  .contact-list strong {
    text-align: left;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }
}
