:root {
  --sand: #e8d5b7;
  --sand-deep: #c4a882;
  --sand-dark: #8a7355;
  --mineral: #f3ebe0;
  --aurora: #2bb88a;
  --aurora-deep: #1a9b76;
  --aurora-soft: rgba(61, 207, 154, 0.35);
  --violet: #8b7ab8;
  --violet-deep: #6b5b95;
  --violet-haze: rgba(139, 122, 184, 0.28);
  --gold: #e8d48a;
  --gold-soft: rgba(232, 212, 138, 0.45);
  --ink: #2c261f;
  --ink-soft: #5a5348;
  --surface: rgba(243, 235, 224, 0.72);
  --line: rgba(138, 115, 85, 0.28);
  --radius: 4px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-display: "Josefin Sans", sans-serif;
  --font-body: "Mulish", sans-serif;
  --shadow-dust: 0 18px 40px rgba(108, 84, 52, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: 0.01em;
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, var(--aurora-soft), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, var(--violet-haze), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, var(--gold-soft), transparent 55%),
    linear-gradient(165deg, #f7f0e6 0%, #e9dcc8 42%, #ddd0bc 100%);
  min-height: 100vh;
}

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

a {
  color: var(--aurora-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

p {
  margin: 0 0 1rem;
}

.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(12px);
  background: rgba(243, 235, 224, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold), transparent 45%),
    radial-gradient(circle at 70% 60%, var(--aurora), transparent 50%),
    radial-gradient(circle at 40% 80%, var(--violet), #c4a882 70%);
  box-shadow: 0 0 16px var(--aurora-soft);
  animation: aurora-breathe 7s ease-in-out infinite;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  font-size: 1.05rem;
}

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

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink-soft);
}

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

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  color: var(--ink) !important;
  background: linear-gradient(135deg, rgba(232, 212, 138, 0.35), rgba(43, 184, 138, 0.2));
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-aurora {
  color: #1d1914;
  background:
    linear-gradient(120deg, rgba(232, 212, 138, 0.55), rgba(43, 184, 138, 0.55), rgba(139, 122, 184, 0.45));
  background-size: 180% 180%;
  animation: sand-shift 10s ease infinite;
  box-shadow: var(--shadow-dust);
}

.btn-aurora:hover {
  transform: translateY(-1px);
  color: #1d1914;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--sand-deep);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
}

.dust-wave {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 212, 138, 0.55) 0%, rgba(43, 184, 138, 0.25) 40%, transparent 70%);
  animation: dust-expand 0.9s ease-out forwards;
}

@keyframes dust-expand {
  from { transform: scale(0.2); opacity: 0.85; }
  to { transform: scale(1.4); opacity: 0; }
}

@keyframes sand-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes aurora-breathe {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.15); transform: scale(1.06); }
}

@keyframes veil-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(-2%, 1%, 0) scale(1.04); opacity: 1; }
}

/* Hero — brand-first, full-bleed, asymmetric */
.hero-aurora {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f1e8;
}

.hero-aurora-bg {
  position: absolute;
  inset: 0;
}

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

.hero-aurora-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(44, 38, 31, 0.72) 0%, rgba(44, 38, 31, 0.35) 45%, rgba(26, 155, 118, 0.28) 70%, rgba(107, 91, 149, 0.35) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(232, 212, 138, 0.25), transparent 50%);
  animation: veil-drift 14s ease-in-out infinite;
}

.hero-aurora-copy {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
}

.brand-hero {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  line-height: 0.95;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-aurora h1 {
  margin: 0 0 1rem;
  color: #f7f1e8;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  max-width: 22ch;
}

.hero-aurora .lede {
  color: rgba(247, 241, 232, 0.88);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

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

.section-muted {
  background: rgba(255, 255, 255, 0.28);
  border-block: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--violet-deep);
  margin-bottom: 0.6rem;
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.split-offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.offer-meta {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--sand-dark);
}

.text-link {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.glass-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-dust);
  position: relative;
}

.glass-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 184, 138, 0.12), rgba(139, 122, 184, 0.15));
  pointer-events: none;
}

.glass-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

.offer-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.offer-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.offer-item h3 a:hover {
  color: var(--aurora-deep);
}

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

.quote-stack blockquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--aurora);
  background: var(--surface);
}

.quote-stack footer {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--sand-dark);
}

.cta-band {
  padding-bottom: 5rem;
}

.cta-band-inner {
  padding: 2.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(43, 184, 138, 0.18), rgba(139, 122, 184, 0.2), rgba(232, 212, 138, 0.25));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-dust);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Page hero (interior) */
.page-hero {
  padding: 3.5rem 0 2rem;
}

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

.page-hero.with-media {
  position: relative;
  padding: 0;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f1e8;
}

.page-hero.with-media .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero.with-media .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.with-media .page-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(44, 38, 31, 0.78), rgba(44, 38, 31, 0.25) 65%, rgba(43, 184, 138, 0.3));
}

.page-hero.with-media .shell {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.page-hero.with-media h1,
.page-hero.with-media .lede {
  color: #f7f1e8;
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-tile {
  display: grid;
  gap: 0.75rem;
}

.service-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-tile h2 {
  margin: 0;
  font-size: 1.35rem;
}

.service-tile h2 a {
  text-decoration: none;
  color: var(--ink);
}

.prose {
  max-width: 42rem;
}

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

.include-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.include-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-aside {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: 5.5rem;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.blog-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-meta {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--sand-dark);
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.price-table a {
  text-decoration: none;
  color: var(--ink);
}

/* Process steps */
.process-steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--aurora-deep);
  line-height: 1;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  font: inherit;
  color: var(--ink);
}

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

.field-error {
  display: none;
  margin: 0.35rem 0 0;
  color: #9b3b3b;
  font-size: 0.88rem;
}

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

.form-status {
  margin-top: 1rem;
  min-height: 1.4em;
}

.form-status.is-success {
  color: var(--aurora-deep);
}

.form-status.is-error {
  color: #9b3b3b;
}

.legal-doc h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-doc ul {
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(196, 168, 130, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: lowercase;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer-topic {
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

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

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(243, 235, 224, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 -10px 30px rgba(108, 84, 52, 0.12);
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

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

.cookie-error {
  grid-column: 1 / -1;
  color: #9b3b3b;
  margin: 0;
}

.cookie-banner[hidden] {
  display: none !important;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  align-content: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .split-offer,
  .detail-layout,
  .contact-layout,
  .footer-grid,
  .blog-row,
  .offer-rail,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(243, 235, 224, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }

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

  .brand-hero {
    letter-spacing: 0.12em;
  }
}
