:root {
  --sapphire: #0e2a5c;
  --sapphire-mid: #1a4f8c;
  --sapphire-bright: #2b6cb0;
  --cyan: #5ec8e8;
  --cyan-soft: #7ad4f0;
  --cyan-mist: #a8e6f5;
  --indigo: #1b1640;
  --indigo-mid: #2a2260;
  --frost: #f5fbff;
  --glass: rgba(245, 251, 255, 0.72);
  --glass-deep: rgba(14, 42, 92, 0.55);
  --ink: #0d1830;
  --muted: #3d4f6f;
  --line: rgba(26, 79, 140, 0.18);
  --shadow: 0 20px 48px rgba(27, 22, 64, 0.18);
  --radius: 1.1rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", 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% -5%, rgba(122, 212, 240, 0.35), transparent 58%),
    radial-gradient(800px 480px at 92% 8%, rgba(43, 108, 176, 0.28), transparent 55%),
    radial-gradient(700px 400px at 50% 100%, rgba(27, 22, 64, 0.12), transparent 60%),
    linear-gradient(165deg, #e8f4fb 0%, #d5e6f5 38%, #c5d5ec 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--sapphire-mid);
  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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(232, 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% 28%, rgba(255, 255, 255, 0.75), transparent 42%),
    linear-gradient(145deg, var(--cyan-soft), var(--sapphire-bright), var(--indigo));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 20px rgba(26, 79, 140, 0.35);
  animation: crystalPulse 7s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  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.92rem;
  color: var(--muted);
}

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

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--sapphire), var(--sapphire-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;
}

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  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(--frost);
  background:
    radial-gradient(circle at 28% 20%, rgba(168, 230, 245, 0.45), transparent 42%),
    linear-gradient(145deg, var(--sapphire-bright), var(--sapphire) 55%, var(--indigo-mid));
  box-shadow: 0 14px 30px rgba(14, 42, 92, 0.32), inset 0 -5px 14px rgba(27, 22, 64, 0.25);
}

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

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

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

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

.btn-ghost {
  color: var(--sapphire);
  background: rgba(245, 251, 255, 0.7);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(245, 251, 255, 0.95);
  color: var(--indigo);
}

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

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

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

@keyframes veilDrift {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

/* Hero — full-bleed echo */
.hero-echo {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--frost);
}

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

.hero-echo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-echo-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 42, 92, 0.35) 0%, rgba(27, 22, 64, 0.55) 42%, rgba(14, 42, 92, 0.88) 100%),
    radial-gradient(600px 280px at 20% 70%, rgba(94, 200, 232, 0.28), transparent 70%);
  animation: veilDrift 10s ease-in-out infinite;
}

.hero-echo-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  max-width: 42rem;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.2rem);
  margin-right: auto;
  width: min(42rem, calc(100% - 2.4rem));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  text-shadow: 0 10px 40px rgba(27, 22, 64, 0.45);
}

.hero-line {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 0.85rem;
  max-width: 28ch;
  color: #e8f6ff;
}

.hero-lead {
  margin: 0;
  max-width: 38ch;
  color: rgba(245, 251, 255, 0.82);
  font-size: 1rem;
}

.hero-echo .btn-primary {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), inset 0 -5px 14px rgba(27, 22, 64, 0.25);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-head h2,
.page-hero h1,
.panel-title,
.feature-title,
.bleed-copy h1 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--sapphire);
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

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

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

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.crystal-panel {
  background:
    linear-gradient(145deg, rgba(245, 251, 255, 0.78), rgba(168, 230, 245, 0.18)),
    rgba(245, 251, 255, 0.55);
  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(12px);
  padding: 1.5rem;
}

.panel-title {
  font-size: 1.35rem;
  margin-top: 0;
}

.feature-title {
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
}

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

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

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

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

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.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), var(--sapphire-bright));
  box-shadow: 0 0 0 3px rgba(94, 200, 232, 0.25);
}

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

.offer-item {
  background: rgba(245, 251, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(27, 22, 64, 0.08);
  padding-bottom: 1.15rem;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 800 / 560;
  object-fit: cover;
}

.offer-item h2,
.offer-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1rem 1.15rem 0.45rem;
  color: var(--sapphire);
}

.offer-item p {
  margin: 0 1.15rem 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.quote-band {
  background:
    radial-gradient(500px 180px at 15% 20%, rgba(122, 212, 240, 0.35), transparent 60%),
    linear-gradient(135deg, var(--sapphire), var(--indigo));
  color: var(--frost);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  font-weight: 500;
}

.quote-band cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: 0.92rem;
  opacity: 0.8;
}

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

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

.price-display {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--sapphire);
}

.prose {
  max-width: 42rem;
}

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

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

.media-panel {
  margin: 0;
}

.media-panel img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-panel figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Bleed hero */
.bleed-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--frost);
}

.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(14, 42, 92, 0.2), rgba(27, 22, 64, 0.82));
}

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

.bleed-copy h1 {
  color: var(--frost);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.55rem;
}

.bleed-copy p {
  margin: 0;
  max-width: 40rem;
  color: rgba(245, 251, 255, 0.85);
}

.bleed-meta {
  color: rgba(245, 251, 255, 0.7) !important;
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(245, 251, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 24px rgba(27, 22, 64, 0.06);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  color: var(--frost);
  background: linear-gradient(145deg, var(--cyan), var(--sapphire-mid));
  box-shadow: 0 8px 18px rgba(26, 79, 140, 0.28);
}

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

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

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

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sapphire);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

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

.form-grid textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(94, 200, 232, 0.55);
  outline-offset: 1px;
}

.field-error {
  min-height: 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #9b2c2c;
}

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

.form-status[data-state="success"] {
  background: rgba(56, 161, 105, 0.12);
  color: #276749;
}

.form-status[data-state="error"] {
  background: rgba(197, 48, 48, 0.12);
  color: #9b2c2c;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(14, 42, 92, 0.08)),
    rgba(14, 42, 92, 0.92);
  color: rgba(245, 251, 255, 0.82);
}

.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.2rem;
  margin: 0 0 0.55rem;
  color: var(--frost);
}

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

.footer-text {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
}

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

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

.site-footer a {
  color: rgba(245, 251, 255, 0.88);
  text-decoration: none;
}

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(168, 230, 245, 0.18);
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem;
  background: rgba(14, 42, 92, 0.94);
  color: var(--frost);
  border-top: 1px solid rgba(168, 230, 245, 0.25);
  box-shadow: 0 -12px 40px rgba(27, 22, 64, 0.35);
  backdrop-filter: blur(12px);
}

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

.cookie-inner p {
  margin: 0;
  font-size: 0.92rem;
}

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

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

.cookie-banner .btn-ghost {
  color: var(--frost);
  background: transparent;
  border-color: rgba(168, 230, 245, 0.35);
}

.cookie-error {
  margin: 0.65rem auto 0;
  width: var(--shell);
  color: #feb2b2;
  font-size: 0.88rem;
}

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

  .offer-list {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.2rem 1.1rem;
    background: rgba(232, 244, 251, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

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

  .site-nav a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

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

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

@media (min-width: 701px) and (max-width: 900px) {
  .offer-list {
    grid-template-columns: 1fr 1fr;
  }
}
