:root {
  --sapphire-deep: #071533;
  --sapphire: #0b2a6b;
  --sapphire-mid: #1a4a9e;
  --cyan-glass: #5eead4;
  --cyan-soft: #7dd3fc;
  --indigo-shadow: #1e1b4b;
  --white-glow: #e8f4ff;
  --text: #d7e8fb;
  --text-muted: #9bb6d6;
  --surface: rgba(14, 42, 98, 0.42);
  --surface-strong: rgba(11, 31, 74, 0.72);
  --border: rgba(125, 211, 252, 0.22);
  --border-strong: rgba(94, 234, 212, 0.45);
  --danger: #fca5a5;
  --success: #86efac;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 72rem;
  --radius: 1.25rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(94, 234, 212, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(125, 211, 252, 0.16), transparent 45%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(26, 74, 158, 0.35), transparent 55%),
    linear-gradient(165deg, var(--sapphire-deep) 0%, var(--sapphire) 45%, var(--indigo-shadow) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-glass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--white-glow);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  color: var(--white-glow);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.3);
  background: rgba(7, 21, 51, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--white-glow);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--cyan-glass);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white-glow);
  border-radius: 0.65rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white-glow);
}

.site-main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.45);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 51, 0.35) 0%, rgba(7, 21, 51, 0.55) 40%, rgba(7, 21, 51, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(94, 234, 212, 0.18), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(2.5rem, 6vh, 4rem);
  max-width: 38rem;
}

.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--cyan-glass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  animation: fadeRise 0.9s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  animation: fadeRise 1s 0.12s ease both;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  animation: fadeRise 1s 0.22s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeRise 1s 0.32s ease both;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan-glass);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sapphire-mid), #0e7490);
  color: var(--white-glow);
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.15), 0 12px 40px rgba(7, 21, 51, 0.45);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(94, 234, 212, 0.7);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary:hover::before {
  animation: crystalWave 1.4s ease-out;
}

.btn-ghost {
  background: rgba(232, 244, 255, 0.06);
  color: var(--white-glow);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(232, 244, 255, 0.12);
  color: #fff;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
}

.section-header {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-header p {
  color: var(--text-muted);
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(232, 244, 255, 0.12),
    0 20px 50px rgba(7, 21, 51, 0.35);
}

.service-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

.service-item {
  display: grid;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  color: inherit;
}

.service-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-item-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-item h3 {
  margin: 0 0 0.5rem;
}

.service-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--cyan-soft);
}

.quote-strip {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .quote-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  padding: 1.5rem;
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--white-glow);
}

.quote cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quote cite strong {
  display: block;
  color: var(--cyan-glass);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  color: inherit;
}

.blog-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card time {
  font-size: 0.8rem;
  color: var(--cyan-soft);
  margin-bottom: 0.45rem;
}

.blog-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.blog-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.prose {
  max-width: 44rem;
}

.prose h2,
.prose h3 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--text);
}

.prose li {
  margin-bottom: 0.45rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan-glass);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.6);
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member {
  overflow: hidden;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.9);
}

.team-member-body {
  padding: 1.15rem 1.25rem 1.4rem;
}

.team-member h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.team-member .role {
  color: var(--cyan-glass);
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.team-member p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.process-steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-steps li {
  counter-increment: step;
  padding: 1.35rem 1.5rem 1.35rem 4.5rem;
  position: relative;
}

.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cyan-glass);
}

.process-steps h3 {
  margin: 0 0 0.4rem;
}

.process-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-glow);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(7, 21, 51, 0.55);
  color: var(--white-glow);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--cyan-glass);
  outline-offset: 1px;
}

.form .error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(134, 239, 172, 0.12);
  border: 1px solid rgba(134, 239, 172, 0.35);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: rgba(252, 165, 165, 0.1);
  border: 1px solid rgba(252, 165, 165, 0.35);
  color: var(--danger);
}

.contact-panel {
  padding: 1.5rem;
}

.contact-panel dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-panel dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
  margin-bottom: 0.2rem;
}

.contact-panel dd {
  margin: 0;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: rgba(7, 21, 51, 0.55);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--cyan-glass);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white-glow);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white-glow);
  margin-bottom: 0.5rem;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  left: var(--space);
  right: var(--space);
  bottom: var(--space);
  z-index: 60;
  max-width: 34rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: fadeRise 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text);
}

.cookie-banner a {
  color: var(--cyan-glass);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner .js-error {
  margin-top: 0.65rem;
  color: var(--danger);
  font-size: 0.85rem;
}

.legal-list {
  max-width: 44rem;
}

.legal-list h2 {
  margin-top: 2.25rem;
}

.muted {
  color: var(--text-muted);
}

.cta-band {
  padding: 2rem;
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 720px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

.cta-band h2 {
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 0;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin: 0 0 0.5rem;
}

.wave-ornament {
  height: 3px;
  width: 5rem;
  margin: 1rem 0 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan-glass), var(--cyan-soft), transparent);
  animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crystalWave {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.45;
    filter: blur(0);
  }
  50% {
    opacity: 1;
    filter: blur(0.5px);
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 21, 51, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--space) 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
