/* Mercury Horizon — Aienabledsystems */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Sora:wght@300;400;500;600&display=swap");

:root {
  --silver: #c5cdd6;
  --silver-deep: #9aa3ae;
  --peach: #f0c4a8;
  --peach-deep: #e09a72;
  --gold: #d4b87a;
  --gold-soft: #e8d4a8;
  --graphite: #2c3038;
  --graphite-mid: #3a3f47;
  --ink: #1e2228;
  --ink-soft: #4a5160;
  --surface: #eef1f4;
  --surface-elevated: #f7f8fa;
  --mercury: linear-gradient(135deg, #e8ecf0 0%, #c5cdd6 35%, #f0c4a8 70%, #d4b87a 100%);
  --horizon: linear-gradient(180deg, #f7e6d4 0%, #f0c4a8 28%, #c5cdd6 62%, #9aa3ae 100%);
  --panel: rgba(247, 248, 250, 0.78);
  --line: rgba(58, 63, 71, 0.14);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 1.15rem;
  --radius-sm: 0.75rem;
  --space-xs: 0.35rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;
  --max: 72rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(240, 196, 168, 0.45), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 10%, rgba(212, 184, 122, 0.28), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(197, 205, 214, 0.55), transparent 60%),
    linear-gradient(165deg, #f4ebe3 0%, var(--surface) 42%, #e4e9ee 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--graphite-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--peach-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.2rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 241, 244, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-md);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.brand span {
  font-weight: 300;
  background: var(--mercury);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(247, 248, 250, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }
}

/* Buttons — liquid depression */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border: none;
  border-radius: 999px;
  background: var(--mercury);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 24px rgba(44, 48, 56, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: scale(0.97);
  box-shadow:
    inset 0 6px 16px rgba(44, 48, 56, 0.18),
    inset 0 -2px 6px rgba(255, 255, 255, 0.35),
    0 4px 12px rgba(44, 48, 56, 0.08);
  filter: saturate(1.05);
  color: var(--ink);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.94);
  box-shadow:
    inset 0 10px 22px rgba(44, 48, 56, 0.22),
    inset 0 -1px 4px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--silver-deep);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(197, 205, 214, 0.25);
  box-shadow: inset 0 4px 12px rgba(44, 48, 56, 0.1);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero — brand-forward horizon band */
.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(238, 241, 244, 0.15) 0%, rgba(44, 48, 56, 0.25) 45%, rgba(240, 196, 168, 0.55) 100%),
    linear-gradient(90deg, rgba(197, 205, 214, 0.35), transparent 55%);
  animation: light-band 12s ease-in-out infinite alternate;
}

@keyframes light-band {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
    filter: hue-rotate(8deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto var(--space-xl);
  padding-top: var(--space-2xl);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: var(--surface-elevated);
  text-shadow: 0 2px 24px rgba(44, 48, 56, 0.35);
}

.hero-brand strong {
  font-weight: 600;
  display: block;
  background: linear-gradient(100deg, #fff 0%, var(--peach) 45%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(44, 48, 56, 0.25));
}

.hero-line {
  max-width: 28rem;
  font-size: 1.15rem;
  color: rgba(247, 248, 250, 0.92);
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rise {
  animation: rise-in 0.9s ease both;
}

.rise-delay {
  animation: rise-in 0.9s ease 0.18s both;
}

.rise-delay-2 {
  animation: rise-in 0.9s ease 0.36s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-tight {
  padding: var(--space-lg) 0 var(--space-xl);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

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

.mercury-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(44, 48, 56, 0.06);
  backdrop-filter: blur(8px);
}

.feature-service {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

.feature-service img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.meta {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--peach-deep);
  font-weight: 600;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.feature-list li {
  margin-bottom: 0.4rem;
}

.offer-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.offer-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(44, 48, 56, 0.1);
  color: inherit;
  text-decoration: none;
}

.offer-link img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-link h3,
.offer-link p {
  padding: 0 1.1rem;
}

.offer-link h3 {
  margin: 1rem 0 0.35rem;
}

.offer-link p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.evidence-item {
  margin: 0;
  padding: var(--space-md);
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.evidence-item img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--silver);
}

.evidence-item blockquote {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.evidence-item cite {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 22rem;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 48, 56, 0.15), rgba(44, 48, 56, 0.62));
}

.page-hero-text {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2.5rem;
  color: var(--surface-elevated);
}

.page-hero-text h1 {
  color: var(--surface-elevated);
  margin: 0.35rem 0;
}

.page-hero-text p {
  max-width: 36rem;
  margin: 0;
  color: rgba(247, 248, 250, 0.9);
}

/* Cards / grids for listings */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--space-md);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-link:hover {
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.card-link img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 196, 168, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--graphite);
}

/* Process steps */
.process-steps {
  display: grid;
  gap: var(--space-md);
}

.process-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  background: var(--mercury);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-lg);
  align-items: start;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--peach-deep);
  box-shadow: 0 0 0 3px rgba(240, 196, 168, 0.35);
}

.form-group .error {
  display: none;
  margin: 0.3rem 0 0;
  color: #a13d2c;
  font-size: 0.88rem;
}

.form-group.has-error .error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #a13d2c;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(212, 184, 122, 0.25);
  color: var(--ink);
}

.form-status.error {
  background: rgba(161, 61, 44, 0.12);
  color: #a13d2c;
}

.island-error {
  display: none;
  margin: 0.5rem auto;
  padding: 0.65rem 0.9rem;
  background: rgba(161, 61, 44, 0.1);
  color: #a13d2c;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.island-error.is-visible {
  display: block;
}

/* Legal / prose */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.legal {
  padding-top: var(--space-xl);
}

/* Footer */
.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(197, 205, 214, 0.35));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

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

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

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

/* Cookie banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  max-width: 40rem;
  margin-inline: auto;
  background: rgba(247, 248, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(44, 48, 56, 0.18);
  backdrop-filter: blur(12px);
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.45s ease both;
}

.cookie-inner {
  padding: 1.25rem;
}

.cookie-inner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 300;
  background: var(--mercury);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

@media (max-width: 900px) {
  .feature-service,
  .offer-rail,
  .evidence-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-service img {
    min-height: 14rem;
  }
}
