:root {
  --white: #F4F5F7;
  --concrete: #B8BDC4;
  --cobalt: #5B7C99;
  --cobalt-deep: #3D5A73;
  --stone: #C4B5A0;
  --stone-warm: #A89078;
  --black: #1A1C1F;
  --ink: #2A2D32;
  --surface: rgba(244, 245, 247, 0.72);
  --surface-solid: #E8EAEF;
  --line: rgba(26, 28, 31, 0.12);
  --shadow: 0 24px 60px rgba(26, 28, 31, 0.08);
  --radius: 2px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --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;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--black);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

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

/* Liquid Architecture background */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(91, 124, 153, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(196, 181, 160, 0.22), transparent 50%),
    linear-gradient(165deg, #EEF0F3 0%, #E2E5EA 42%, #D8DCE3 100%);
  animation: liquidDrift 28s ease-in-out infinite alternate;
}

.liquid-bg::before,
.liquid-bg::after {
  content: "";
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(40px);
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.liquid-bg::before {
  width: 48vw;
  height: 48vw;
  top: -10%;
  left: -8%;
  background: linear-gradient(135deg, var(--concrete), var(--cobalt));
  animation: morphA 18s ease-in-out infinite;
}

.liquid-bg::after {
  width: 36vw;
  height: 36vw;
  bottom: 5%;
  right: -5%;
  background: linear-gradient(200deg, var(--stone), var(--concrete));
  animation: morphB 22s ease-in-out infinite;
}

@keyframes liquidDrift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.04) translate(-1%, 1.5%); }
}

@keyframes morphA {
  0%, 100% { border-radius: 40% 60% 55% 45%; transform: translate(0, 0) rotate(0deg); }
  50% { border-radius: 58% 42% 38% 62%; transform: translate(4%, 6%) rotate(8deg); }
}

@keyframes morphB {
  0%, 100% { border-radius: 55% 45% 60% 40%; transform: translate(0, 0); }
  50% { border-radius: 42% 58% 48% 52%; transform: translate(-5%, -3%); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(244, 245, 247, 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: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
}

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

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

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

.nav-cta {
  padding: 0.45rem 0.9rem;
  background: var(--black);
  color: var(--white) !important;
  border-radius: var(--radius);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.nav-cta:hover {
  background: var(--cobalt-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--black);
}

/* Buttons — liquid bend */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.4s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(120%) skewX(-12deg);
}

.btn:hover,
.btn:focus-visible {
  border-radius: 18px 4px 22px 8px;
  transform: translateY(-2px) skewX(-0.5deg);
  box-shadow: var(--shadow);
}

.btn:active {
  border-radius: 4px 16px 6px 20px;
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cobalt-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--black);
}

.btn-ghost:hover {
  background: var(--surface-solid);
  color: var(--black);
}

.btn-stone {
  background: var(--stone);
  color: var(--black);
}

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

.section-tight {
  padding: 3rem 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt-deep);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.lead {
  font-size: 1.125rem;
  max-width: 38rem;
  color: var(--ink);
}

.mono-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28% 72% 40% 60% / 48% 30% 70% 52%;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: border-radius 1.2s ease;
  animation: panelBreath 14s ease-in-out infinite;
}

@keyframes panelBreath {
  0%, 100% { border-radius: 28% 72% 40% 60% / 48% 30% 70% 52%; }
  50% { border-radius: 55% 45% 62% 38% / 35% 58% 42% 65%; }
}

.flat-panel {
  background: rgba(244, 245, 247, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 28, 31, 0.82) 0%, rgba(26, 28, 31, 0.45) 48%, rgba(61, 90, 115, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  max-width: 36rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  max-width: 22ch;
}

.hero .lead {
  color: rgba(244, 245, 247, 0.88);
  margin-bottom: 1.75rem;
}

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

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

.offer-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

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

.offer-item a {
  text-decoration: none;
  color: inherit;
}

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

/* Service cards — interaction containers */
.service-list {
  display: grid;
  gap: 1.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s ease, border-radius 0.55s ease, box-shadow 0.4s ease;
}

.service-row:hover {
  transform: translateY(-3px);
  border-radius: 12px 4px 18px 6px;
  box-shadow: var(--shadow);
}

.service-row img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.service-row-body {
  padding: 1.5rem 1.5rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--cobalt-deep);
  margin-top: 0.75rem;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 16ch;
}

/* Prose */
.prose {
  max-width: 42rem;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface-solid);
  font-weight: 550;
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--black);
  transition: border-color 0.2s ease, border-radius 0.4s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  border-radius: 10px 2px 14px 4px;
}

.form-field .error {
  color: #8B3A3A;
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
}

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

.form-status.is-success {
  background: rgba(91, 124, 153, 0.15);
  border-color: var(--cobalt);
}

.form-status.is-error {
  background: rgba(139, 58, 58, 0.1);
  border-color: #8B3A3A;
}

/* Reviews */
.review-stack {
  display: grid;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.review-item blockquote {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  max-width: 48rem;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--cobalt-deep);
}

.review-item.is-long blockquote {
  font-size: 0.98rem;
}

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

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

.rate-table th {
  font-family: var(--font-display);
  font-weight: 600;
}

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

.blog-card {
  display: grid;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-card time {
  font-size: 0.82rem;
  color: var(--cobalt-deep);
}

/* Calendar custom page */
.cal-list {
  display: grid;
  gap: 0;
}

.cal-row {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.cal-date {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cobalt-deep);
}

/* Contact split */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.address-block {
  font-style: normal;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(26, 28, 31, 0.04);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.footer-tag {
  color: var(--cobalt-deep);
  max-width: 22rem;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--black);
  font-weight: 550;
}

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

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(244, 245, 247, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  box-shadow: 0 -12px 40px rgba(26, 28, 31, 0.08);
}

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

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

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

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

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

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

/* Detail media */
.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
}

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

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

.checklist li {
  padding: 0.45rem 0 0.45rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--cobalt);
  border-radius: 1px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cobalt-deep);
}

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

.evidence-note {
  font-size: 0.95rem;
  max-width: 36rem;
  border-left: 2px solid var(--stone);
  padding-left: 1rem;
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .offer-grid,
  .blog-grid,
  .contact-split,
  .detail-hero,
  .split-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row-body {
    padding: 1.25rem;
  }

  .cal-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(244, 245, 247, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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