:root {
  --sapphire: #1e4fd6;
  --sapphire-deep: #0b1a45;
  --sapphire-mid: #2f6fed;
  --cyan-glass: #7ec8e3;
  --cyan-soft: #c9eef8;
  --indigo-shadow: #1b2a6b;
  --white-glow: #e8f7ff;
  --ink: #0a1633;
  --foam: rgba(232, 247, 255, 0.78);
  --line: rgba(27, 42, 107, 0.14);
  --crystal: rgba(255, 255, 255, 0.55);
  --shadow: 0 22px 55px rgba(11, 26, 69, 0.18);
  --radius: 1.1rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(126, 200, 227, 0.45), transparent 58%),
    radial-gradient(900px 480px at 92% 4%, rgba(47, 111, 237, 0.28), transparent 55%),
    radial-gradient(700px 400px at 50% 100%, rgba(27, 42, 107, 0.12), transparent 60%),
    linear-gradient(180deg, #eef7fc 0%, #dceaf8 45%, #cfdff3 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--indigo-shadow);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(238, 247, 252, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.75), transparent 42%),
    linear-gradient(145deg, var(--cyan-glass), var(--sapphire-mid), var(--indigo-shadow));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(30, 79, 214, 0.35);
  animation: crystalPulse 7s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

.site-nav a:hover {
  color: var(--sapphire);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sapphire-mid), var(--sapphire-deep));
  color: var(--white-glow) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 238, 248, 0.45), transparent 55%);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.nav-cta:hover::after {
  opacity: 1;
  transform: scale(1.4);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--foam);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  background: var(--indigo-shadow);
  border-radius: 2px;
}

.hero-echo {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white-glow);
}

.hero-echo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 26, 69, 0.25) 0%, rgba(11, 26, 69, 0.72) 55%, rgba(11, 26, 69, 0.92) 100%),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  z-index: 0;
}

.hero-echo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 18px,
      rgba(126, 200, 227, 0.05) 18px,
      rgba(126, 200, 227, 0.05) 19px
    );
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  animation: waveDrift 18s linear infinite;
}

.hero-echo-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(232, 247, 255, 0.9);
  margin: 0 0 1.6rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-glass), var(--sapphire-mid) 55%, var(--sapphire));
  color: #041028;
  box-shadow: 0 12px 30px rgba(47, 111, 237, 0.35);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 40% 40%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: waveform 2.8s ease-out infinite;
}

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

.section .btn-ghost,
.page-hero .btn-ghost,
.crystal-panel .btn-ghost,
.form-panel .btn-ghost {
  color: var(--indigo-shadow);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--sapphire-deep);
}

.section-head p {
  margin: 0;
  color: rgba(10, 22, 51, 0.78);
}

.crystal-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(201, 238, 248, 0.35)),
    linear-gradient(180deg, rgba(126, 200, 227, 0.18), rgba(27, 42, 107, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
}

.service-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
}

.service-feature img {
  border-radius: calc(var(--radius) - 0.35rem);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.meta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin: 0 0 0.5rem;
}

.checklist {
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-glass), var(--sapphire));
  box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.25);
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-item {
  padding: 0;
  overflow: hidden;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 5 / 3.4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.45rem);
  margin-bottom: 1rem;
}

.offer-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  color: var(--sapphire-deep);
}

.offer-meta {
  font-weight: 600;
  color: var(--sapphire);
}

.quote-band {
  padding: 2rem 2.2rem;
  border-left: 3px solid var(--cyan-glass);
  background: linear-gradient(90deg, rgba(126, 200, 227, 0.18), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-band blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: var(--sapphire-deep);
}

.quote-band cite {
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(10, 22, 51, 0.7);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.page-hero {
  padding: 3.5rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--sapphire-deep);
}

.page-hero p {
  max-width: 40rem;
  margin: 0;
  color: rgba(10, 22, 51, 0.78);
}

.bleed-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white-glow);
}

.bleed-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleed-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 69, 0.2), rgba(11, 26, 69, 0.82));
}

.bleed-copy {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.2rem;
}

.bleed-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 0.5rem;
}

.price-note {
  font-size: 0.92rem;
  color: rgba(10, 22, 51, 0.68);
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--sapphire-deep);
}

.prose p {
  max-width: 46rem;
}

.team-card img,
.case-step img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.4rem);
  margin-bottom: 0.9rem;
}

.team-card h3,
.case-step h3,
.price-tier h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: var(--sapphire-deep);
}

.role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sapphire);
  margin: 0 0 0.55rem;
}

.price-tier .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0;
  color: var(--sapphire-deep);
}

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

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  align-items: center;
}

.blog-item img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.45rem);
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #9b1c3a;
  font-size: 0.82rem;
  font-weight: 500;
  min-height: 1em;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.form-status[data-state="success"] {
  background: rgba(126, 200, 227, 0.28);
  color: var(--sapphire-deep);
}

.form-status[data-state="error"] {
  background: rgba(155, 28, 58, 0.12);
  color: #7a122c;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(11, 26, 69, 0.06)),
    rgba(11, 26, 69, 0.92);
  color: rgba(232, 247, 255, 0.86);
}

.site-footer a {
  color: var(--cyan-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

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

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cyan-glass);
  margin: 0 0 0.65rem;
}

.footer-text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

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

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

.footer-links a {
  text-decoration: none;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(126, 200, 227, 0.18);
  font-size: 0.88rem;
  color: rgba(232, 247, 255, 0.65);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 60;
}

.cookie-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 26, 69, 0.95), rgba(30, 79, 214, 0.92));
  color: var(--white-glow);
  box-shadow: var(--shadow);
  border: 1px solid rgba(126, 200, 227, 0.35);
}

.cookie-inner a {
  color: var(--cyan-soft);
}

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

.cookie-error {
  width: var(--shell);
  margin: 0.5rem auto 0;
  color: #ffd7df;
  font-weight: 600;
}

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

.legal-list h2 {
  font-family: var(--font-display);
  color: var(--sapphire-deep);
  margin-top: 2rem;
}

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

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--sapphire-deep);
  margin: 0 0 0.75rem;
}

@keyframes crystalPulse {
  0%, 100% { filter: saturate(1); transform: scale(1); }
  50% { filter: saturate(1.15); transform: scale(1.04); }
}

@keyframes waveform {
  0% { inset: 40% 40%; opacity: 0.7; }
  70% { inset: -20% -20%; opacity: 0; }
  100% { inset: -20% -20%; opacity: 0; }
}

@keyframes waveDrift {
  from { transform: translateX(0); }
  to { transform: translateX(19px); }
}

@media (max-width: 900px) {
  .service-feature,
  .grid-2,
  .grid-3,
  .offer-list,
  .footer-grid,
  .blog-item {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(238, 247, 252, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
  }

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

  .site-nav a {
    padding: 0.7rem 0;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
