:root {
  --sapphire: #1b3a6b;
  --sapphire-deep: #0f2c5a;
  --cyan-glass: #5ec8d8;
  --cyan-soft: #7dd3e1;
  --indigo: #1a1b3a;
  --indigo-mid: #2a2d5a;
  --frost: #f4fbff;
  --mist: #e8f4fa;
  --ink: #12152e;
  --muted: #4a5570;
  --line: rgba(27, 58, 107, 0.14);
  --glass: rgba(244, 251, 255, 0.72);
  --shadow: 0 20px 48px rgba(18, 21, 46, 0.16);
  --radius: 1.1rem;
  --font-display: "Spectral", Georgia, serif;
  --font-body: "Figtree", 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 520px at 8% -8%, rgba(94, 200, 216, 0.28), transparent 55%),
    radial-gradient(800px 480px at 92% 4%, rgba(27, 58, 107, 0.22), transparent 50%),
    linear-gradient(180deg, #eaf4fb 0%, #dce8f4 40%, #cfd9ec 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);
}

.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(234, 244, 251, 0.78);
  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.65), transparent 42%),
    linear-gradient(145deg, var(--cyan-soft), var(--sapphire), var(--indigo));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 8px 18px rgba(27, 58, 107, 0.28);
  animation: crystalPulse 7s ease-in-out infinite;
}

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

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

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

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

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

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

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

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 0.75rem;
  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: #f4fbff;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.35), transparent 38%),
    linear-gradient(145deg, var(--cyan-glass), var(--sapphire) 48%, var(--indigo-mid));
  box-shadow: 0 12px 28px rgba(27, 58, 107, 0.32), inset 0 -6px 14px rgba(18, 21, 46, 0.2);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 40% auto auto 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(125, 211, 225, 0.7);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  pointer-events: none;
}

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

.btn-primary:hover::after {
  animation: waveform 1.1s ease-out;
}

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

.btn-ghost {
  color: var(--sapphire-deep);
  background: rgba(244, 251, 255, 0.7);
  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 stacked hero — brand-dominant, single CTA */
.hero-resonance {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-resonance > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 20s ease-in-out infinite alternate;
}

.hero-resonance::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 21, 46, 0.25) 0%, rgba(15, 44, 90, 0.55) 42%, rgba(18, 21, 46, 0.88) 100%),
    radial-gradient(600px 280px at 70% 30%, rgba(94, 200, 216, 0.28), transparent 60%);
  pointer-events: none;
}

.hero-resonance::after {
  content: "";
  position: absolute;
  inset: 18% -15% auto;
  height: 55%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 225, 0.18), transparent);
  filter: blur(18px);
  animation: echoBand 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-resonance-copy {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.75rem;
  color: var(--frost);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  max-width: 12ch;
  text-shadow: 0 10px 40px rgba(18, 21, 46, 0.45);
}

.hero-lead {
  margin: 0;
  max-width: 32rem;
  font-size: 1.12rem;
  color: rgba(244, 251, 255, 0.88);
}

.hero-resonance .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.85rem, 3vw, 2.55rem);
  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(145deg, rgba(244, 251, 255, 0.9), rgba(94, 200, 216, 0.12));
  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;
  position: relative;
  overflow: hidden;
}

.crystal-panel::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(125, 211, 225, 0.22), transparent 65%);
  pointer-events: none;
}

.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: 1.35rem;
  border-radius: 1.1rem;
  background: rgba(244, 251, 255, 0.58);
  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 {
  border-radius: 0.85rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

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

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

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

.quote-band {
  margin: 1rem 0 0;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(125deg, rgba(18, 21, 46, 0.96), rgba(27, 58, 107, 0.92)),
    linear-gradient(90deg, var(--cyan-glass), var(--sapphire));
  color: var(--frost);
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: auto -15% -45% 35%;
  height: 140%;
  background: radial-gradient(circle, rgba(94, 200, 216, 0.35), transparent 60%);
  animation: echoBand 11s 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: 16ch;
}

.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(18, 21, 46, 0.18), rgba(15, 44, 90, 0.78));
}

.bleed-copy {
  position: relative;
  z-index: 1;
  color: var(--frost);
  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: 14ch;
}

.bleed-copy p {
  margin: 0;
  max-width: 36rem;
  color: rgba(244, 251, 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));
}

.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.05rem;
  background: rgba(244, 251, 255, 0.68);
  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(--frost);
  background: linear-gradient(145deg, var(--cyan-glass), var(--sapphire));
}

.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.1rem;
  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(--muted);
}

.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.1rem;
  overflow: hidden;
  background: rgba(244, 251, 255, 0.68);
  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,
.blog-card h3 {
  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(--sapphire);
  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, 251, 255, 0.92);
  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(94, 200, 216, 0.22);
  color: #0f2c5a;
}

.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.1rem;
  background:
    linear-gradient(145deg, rgba(244, 251, 255, 0.95), rgba(94, 200, 216, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.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(27, 58, 107, 0.06));
}

.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.3rem;
  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(--muted);
  font-size: 0.92rem;
}

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

.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.06); filter: saturate(1.2); }
}

@keyframes echoBand {
  0%, 100% { transform: translateX(-5%) skewX(-8deg); opacity: 0.55; }
  50% { transform: translateX(5%) skewX(-2deg); opacity: 1; }
}

@keyframes waveform {
  0% { transform: translate(-50%, -50%) scale(0.35); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(4.8); opacity: 0; }
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.4%, -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(234, 244, 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-resonance {
    min-height: 72vh;
  }
}
