:root {
  --sapphire: #1e4fd6;
  --sapphire-deep: #0f1b4d;
  --sapphire-mid: #2f6fed;
  --cyan-glass: #7ec8e3;
  --cyan-soft: #b8e4f2;
  --indigo-shadow: #1a1440;
  --white-hl: #f4f9ff;
  --foam: rgba(244, 249, 255, 0.78);
  --ink: #0c1433;
  --muted: #3a4a72;
  --soft: #5c6d94;
  --line: rgba(15, 27, 77, 0.12);
  --shadow: 0 20px 50px rgba(15, 27, 77, 0.18);
  --radius: 1.1rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", sans-serif;
  --shell: min(1100px, 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(900px 480px at 8% -5%, rgba(126, 200, 227, 0.45), transparent 55%),
    radial-gradient(800px 520px at 92% 5%, rgba(47, 111, 237, 0.28), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(26, 20, 64, 0.12), transparent 55%),
    linear-gradient(180deg, #e8f2fb 0%, #dce8f8 40%, #cfd9f0 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(--sapphire-deep);
}

.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(232, 242, 251, 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% 25%, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(145deg, var(--cyan-glass), var(--sapphire-mid), var(--sapphire-deep));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 8px 20px rgba(47, 111, 237, 0.35);
  animation: crystalPulse 5.5s ease-in-out infinite;
}

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

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

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

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

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

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--foam);
  padding: 0.65rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--sapphire-deep);
  border-radius: 2px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 0.7rem;
  padding: 0.85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.btn-primary {
  color: var(--white-hl);
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(145deg, var(--cyan-glass), var(--sapphire-mid) 48%, var(--sapphire-deep));
  box-shadow: 0 14px 30px rgba(47, 111, 237, 0.35), inset 0 -6px 14px rgba(15, 27, 77, 0.25);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

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

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  animation: crystalWave 1.1s ease-out;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  color: var(--sapphire-deep);
  background: rgba(244, 249, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-ghost:active {
  transform: scale(0.97);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Full-bleed hero — brand first, one CTA */
.hero-echo {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-echo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowDrift 22s ease-in-out infinite alternate;
}

.hero-echo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 27, 77, 0.25) 0%, rgba(15, 27, 77, 0.55) 45%, rgba(12, 20, 51, 0.88) 100%),
    radial-gradient(600px 280px at 70% 30%, rgba(126, 200, 227, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-echo::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 228, 242, 0.55), transparent);
  opacity: 0.7;
  animation: echoLine 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-echo__copy {
  position: relative;
  padding: 5rem 0 4rem;
  color: var(--white-hl);
  max-width: 38rem;
}

.hero-echo__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.1rem;
  font-weight: 700;
  text-shadow: 0 10px 40px rgba(15, 27, 77, 0.45);
}

.hero-echo__lead {
  margin: 0;
  font-size: 1.12rem;
  color: rgba(244, 249, 255, 0.9);
  max-width: 32rem;
}

.hero-echo .btn-row {
  margin-top: 1.75rem;
}

.section {
  padding: 4rem 0;
}

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

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.crystal-panel {
  background:
    linear-gradient(160deg, rgba(244, 249, 255, 0.88), rgba(126, 200, 227, 0.18) 55%, rgba(47, 111, 237, 0.1));
  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.75);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.service-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.service-feature img {
  border-radius: 1.25rem;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

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

.offer-item {
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(244, 249, 255, 0.55);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-item img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-item > *:not(img) {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.offer-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.offer-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.offer-item p:last-child {
  padding-bottom: 1.25rem;
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--soft);
  font-weight: 700;
}

.quote-band {
  margin: 0;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(15, 27, 77, 0.95), rgba(30, 79, 214, 0.88)),
    linear-gradient(90deg, var(--cyan-glass), var(--sapphire));
  color: var(--white-hl);
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: -30% 20% auto;
  height: 120%;
  background: radial-gradient(circle, rgba(126, 200, 227, 0.35), transparent 60%);
  animation: echoLine 10s ease-in-out infinite reverse;
}

.quote-band blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 42rem;
}

.quote-band cite {
  position: relative;
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--cyan-soft);
  font-weight: 600;
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

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

.bleed-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.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(15, 27, 77, 0.2), rgba(12, 20, 51, 0.78));
}

.bleed-copy {
  position: relative;
  z-index: 1;
  color: var(--white-hl);
  padding: 3rem 0;
}

.bleed-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  max-width: 16ch;
}

.bleed-copy p {
  margin: 0;
  max-width: 36rem;
  color: rgba(244, 249, 255, 0.88);
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

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

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-glass), var(--sapphire-mid));
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: 1.1rem;
  background: rgba(244, 249, 255, 0.65);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white-hl);
  background: linear-gradient(145deg, var(--sapphire-mid), var(--sapphire-deep));
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

.step p {
  margin: 0;
  color: var(--muted);
}

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

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

.team-card img {
  border-radius: 1.15rem;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.team-card p {
  margin: 0.25rem 0 0;
  color: var(--soft);
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(244, 249, 255, 0.65);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.meta {
  font-size: 0.88rem;
  color: var(--soft);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.form-panel {
  max-width: 40rem;
}

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

.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--sapphire-deep);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  font: inherit;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(244, 249, 255, 0.9);
  padding: 0.85rem 1rem;
  color: var(--ink);
}

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

.field-error {
  color: #8a3226;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  background: rgba(80, 160, 140, 0.18);
  color: #1d5a4a;
}

.form-status[data-state="error"] {
  background: rgba(180, 80, 60, 0.15);
  color: #8a3226;
}

.form-status[hidden],
.field-error:empty {
  display: none;
}

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

.cookie-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(244, 249, 255, 0.95), rgba(126, 200, 227, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cookie-inner p {
  margin: 0;
  color: var(--muted);
}

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

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

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(15, 27, 77, 0.05));
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.footer-text {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

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

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

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.price-note {
  font-size: 0.92rem;
  color: var(--soft);
}

.not-found {
  padding: 6rem 0;
  text-align: center;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
}

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

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

@keyframes echoLine {
  0%, 100% { transform: translateX(-3%) scaleX(0.92); opacity: 0.45; }
  50% { transform: translateX(3%) scaleX(1.05); opacity: 0.9; }
}

@keyframes slowDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -1%, 0); }
}

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

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(232, 242, 251, 0.97);
    border-bottom: 1px solid var(--line);
  }

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

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

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

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

  .hero-echo {
    min-height: 78vh;
  }
}
