:root {
  --sapphire: #1b4fbf;
  --sapphire-deep: #0b3a82;
  --sapphire-rich: #2f6fe0;
  --cyan-glass: #7ad4ef;
  --cyan-soft: #a8e6f5;
  --indigo: #152448;
  --indigo-deep: #0a1630;
  --mist: #eef6fb;
  --foam: rgba(244, 249, 252, 0.88);
  --ink: #0d1a33;
  --ink-soft: #3a4a68;
  --line: rgba(21, 36, 72, 0.14);
  --shadow: 0 18px 48px rgba(10, 22, 48, 0.18);
  --radius: 1.1rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", sans-serif;
  --shell: min(1100px, calc(100% - 2.4rem));
}

*,
*::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(122, 212, 239, 0.35), transparent 55%),
    radial-gradient(800px 480px at 92% 4%, rgba(47, 111, 224, 0.28), transparent 50%),
    radial-gradient(700px 500px at 50% 100%, rgba(21, 36, 72, 0.12), transparent 55%),
    linear-gradient(180deg, #e8f3fa 0%, #dce8f5 45%, #cfdcf0 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--sapphire-deep);
  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(238, 246, 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.2rem;
}

.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.75), transparent 42%),
    linear-gradient(145deg, var(--cyan-glass), var(--sapphire-rich), var(--indigo));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(27, 79, 191, 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.35rem;
}

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

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sapphire-deep), var(--sapphire-rich));
  color: #f4f9fc !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px rgba(11, 58, 130, 0.28);
  position: relative;
  overflow: hidden;
}

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

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

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  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: #f4f9fc;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(145deg, var(--sapphire-rich), var(--sapphire-deep) 55%, var(--indigo));
  box-shadow: 0 12px 28px rgba(27, 79, 191, 0.35), inset 0 -6px 14px rgba(10, 22, 48, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(168, 230, 245, 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(--indigo);
  background: rgba(244, 249, 252, 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 crystal hero — brand dominant, single CTA */
.hero-crystal {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-crystal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 20s ease-in-out infinite alternate;
}

.hero-crystal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 48, 0.88) 0%, rgba(11, 58, 130, 0.62) 48%, rgba(21, 36, 72, 0.45) 100%),
    radial-gradient(600px 320px at 70% 30%, rgba(122, 212, 239, 0.28), transparent 60%);
}

.hero-crystal__waves {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      circle at 78% 42%,
      transparent 0 18px,
      rgba(168, 230, 245, 0.06) 19px 20px
    );
  mask-image: linear-gradient(90deg, transparent 20%, #000 55%);
  animation: waveShift 14s linear infinite;
}

.hero-crystal__copy {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3.5rem;
  color: #f4f9fc;
}

.hero-crystal__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0 0 1.25rem;
  text-shadow: 0 8px 40px rgba(10, 22, 48, 0.35);
}

.hero-crystal__lead {
  max-width: 32rem;
  margin: 0;
  font-size: 1.12rem;
  color: rgba(244, 249, 252, 0.88);
}

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

.hero-crystal .btn-ghost {
  color: #f4f9fc;
  background: rgba(244, 249, 252, 0.12);
  border-color: rgba(244, 249, 252, 0.28);
}

.section {
  padding: 4rem 0;
}

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

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

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

.crystal-panel {
  background:
    linear-gradient(155deg, rgba(244, 249, 252, 0.92), rgba(122, 212, 239, 0.18) 45%, rgba(47, 111, 224, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  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), inset 0 -1px 0 rgba(21, 36, 72, 0.06);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.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: 300px;
  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.25rem;
  border-radius: 1.15rem;
  background: rgba(244, 249, 252, 0.62);
  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.35rem;
  margin: 0 0 0.5rem;
}

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

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

.quote-band {
  margin: 1rem 0 0;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(125deg, rgba(10, 22, 48, 0.96), rgba(11, 58, 130, 0.92)),
    linear-gradient(90deg, var(--cyan-glass), var(--sapphire-rich));
  color: #eef6fb;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: -30% 30% auto auto;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(122, 212, 239, 0.28), transparent 65%);
  animation: waveShift 12s ease-in-out infinite;
}

.quote-band blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  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.3rem, 4.5vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  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(10, 22, 48, 0.2), rgba(10, 22, 48, 0.78));
}

.bleed-copy {
  position: relative;
  z-index: 1;
  color: #f4f9fc;
  padding: 3rem 0;
}

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

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

.prose {
  max-width: 46rem;
}

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

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

.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-rich));
}

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

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

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sapphire-deep);
  line-height: 1;
  padding-top: 0.15rem;
}

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

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

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

.meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sapphire-deep);
  margin: 0 0 0.5rem;
}

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

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

.team-card {
  background: rgba(244, 249, 252, 0.65);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
}

.team-card img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
  width: 100%;
}

.team-card h3,
.team-card p {
  margin: 0;
  padding: 0 1rem;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  padding-top: 1rem;
}

.team-card p {
  padding-bottom: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.blog-card {
  text-decoration: none;
  color: inherit;
  background: rgba(244, 249, 252, 0.68);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  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;
  width: 100%;
}

.blog-card-body {
  padding: 1.15rem 1.25rem 1.4rem;
}

.blog-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
  line-height: 1.2;
}

.blog-card-body p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.form-panel label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  color: var(--ink);
}

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

.field-error {
  display: block;
  min-height: 1.1em;
  color: #9b1c3a;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

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

.form-status[data-state="success"] {
  background: rgba(122, 212, 239, 0.25);
  color: var(--sapphire-deep);
}

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

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(10, 22, 48, 0.04)),
    rgba(21, 36, 72, 0.06);
  border-top: 1px solid var(--line);
}

.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.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-label {
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--sapphire-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-text {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background:
    linear-gradient(145deg, rgba(10, 22, 48, 0.96), rgba(11, 58, 130, 0.94));
  color: #eef6fb;
  padding: 1.1rem 0;
  box-shadow: 0 -12px 40px rgba(10, 22, 48, 0.3);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-inner p {
  margin: 0;
  max-width: 46rem;
}

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

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

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

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

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
}

.not-found p {
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0 auto;
}

.pack-layers {
  display: grid;
  gap: 0.85rem;
}

.pack-layer {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: rgba(244, 249, 252, 0.72);
  border: 1px solid var(--line);
}

.pack-layer strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sapphire-deep);
}

.pack-layer p {
  margin: 0;
  color: var(--ink-soft);
}

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

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

@keyframes waveShift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3%); }
}

@keyframes drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@media (max-width: 900px) {
  .service-feature,
  .grid-2,
  .offer-list,
  .blog-grid,
  .team-grid,
  .footer-grid {
    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, 246, 251, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.2rem 1.1rem;
  }

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

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

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

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

  .hero-crystal {
    min-height: 72vh;
  }
}

@media (max-width: 600px) {
  .pack-layer {
    grid-template-columns: 1fr;
  }
}
