:root {
  --ivory: #f7f0e4;
  --ivory-deep: #efe4d2;
  --champagne: #e4c789;
  --gold: #d4a84b;
  --coral: #e8a090;
  --coral-deep: #d47868;
  --pale-blue: #c5dde8;
  --sea: #9ec4d4;
  --sunlight: #fff6e0;
  --ink: #3a3228;
  --ink-soft: #5c5348;
  --ink-muted: #7a7166;
  --pearl: #fffaf3;
  --nacre: linear-gradient(145deg, #fffaf3 0%, #f3e6d0 42%, #e8c9a8 72%, #d9ecf2 100%);
  --sunrise: linear-gradient(180deg, #fff8ea 0%, #f7e8d2 38%, #ecd4c0 68%, #d5e6ef 100%);
  --ripple: rgba(228, 199, 137, 0.45);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 0.35rem;
  --shadow-soft: 0 18px 40px rgba(90, 70, 40, 0.08);
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sunrise);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 240, 228, 0.82);
  border-bottom: 1px solid rgba(228, 199, 137, 0.35);
}

.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: 50%;
  background: radial-gradient(circle at 30% 28%, #fffaf0 0%, #f0d9a8 45%, #e8a090 100%);
  box-shadow: 0 0 0 4px rgba(255, 250, 240, 0.55), 0 6px 16px rgba(212, 168, 75, 0.25);
  animation: pearl-float 5s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

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

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--nacre);
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 14px rgba(212, 168, 75, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-pearl {
  color: var(--ink);
  background: linear-gradient(160deg, #fffaf3, #f0d5a8 55%, #e9b39f);
  box-shadow: 0 8px 24px rgba(212, 168, 75, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-pearl::before,
.btn-pearl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 var(--ripple);
  opacity: 0;
}

.btn-pearl:hover::before,
.btn-pearl:focus-visible::before {
  animation: pearl-ripple 1.1s ease-out;
}

.btn-pearl:hover::after,
.btn-pearl:focus-visible::after {
  animation: pearl-ripple 1.1s ease-out 0.18s;
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 250, 243, 0.55);
  border: 1px solid rgba(228, 199, 137, 0.55);
}

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

/* Unique hero: brand-forward, bottom-left stack, single CTA */
.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(1.04);
  animation: soft-zoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(58, 50, 40, 0.55) 0%, rgba(58, 50, 40, 0.22) 48%, rgba(255, 246, 224, 0.12) 100%),
    linear-gradient(180deg, transparent 40%, rgba(58, 50, 40, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(3rem, 10vh, 5.5rem) 0;
  max-width: 34rem;
  animation: rise-in 0.95s ease-out both;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  color: #fffaf3;
  text-shadow: 0 10px 36px rgba(58, 50, 40, 0.28);
}

.hero-content .lede {
  margin: 0;
  color: rgba(255, 250, 243, 0.92);
  font-size: 1.12rem;
  max-width: 28rem;
  animation: rise-in 1s ease-out 0.12s both;
}

.hero .btn-pearl {
  margin-top: 1.6rem;
  animation: rise-in 1s ease-out 0.22s both;
  box-shadow: 0 10px 28px rgba(58, 50, 40, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

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

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media img {
  width: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.offer-list li {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(228, 199, 137, 0.35);
}

.offer-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.offer-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

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

.offer-list a {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.offer-list a:hover {
  color: var(--coral-deep);
}

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

.evidence blockquote {
  margin: 0;
  padding: 1.4rem 1.35rem;
  background: rgba(255, 250, 243, 0.7);
  border-left: 3px solid var(--champagne);
}

.evidence p {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
}

.evidence cite {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.cta-band {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--nacre);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  margin-top: 0;
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
}

.page-hero .lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.prose {
  max-width: 42rem;
}

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

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.service-grid,
.blog-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-tile,
.blog-tile,
.price-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 250, 243, 0.62);
  border: 1px solid rgba(228, 199, 137, 0.3);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-tile:hover,
.blog-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.service-tile img,
.blog-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-tile .tile-body,
.blog-tile .tile-body,
.price-tile .tile-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.service-tile h2,
.blog-tile h2,
.price-tile h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.service-tile p,
.blog-tile p,
.price-tile p {
  margin: 0;
  color: var(--ink-soft);
}

.meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.price-from {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.detail-hero img {
  width: 100%;
  border-radius: var(--radius);
  min-height: 18rem;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.include-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.include-list li {
  padding: 0.85rem 1rem;
  background: rgba(255, 250, 243, 0.7);
  border-left: 3px solid var(--sea);
}

.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--champagne), var(--sea));
}

.timeline-step {
  position: relative;
  padding: 0 0 2rem 3rem;
  animation: rise-in 0.7s ease both;
}

.timeline-step:nth-child(2) { animation-delay: 0.1s; }
.timeline-step:nth-child(3) { animation-delay: 0.2s; }
.timeline-step:nth-child(4) { animation-delay: 0.3s; }
.timeline-step:nth-child(5) { animation-delay: 0.4s; }

.timeline-step::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fffaf0, var(--gold));
  box-shadow: 0 0 0 6px rgba(255, 250, 240, 0.65);
}

.timeline-step h3 {
  margin: 0 0 0.4rem;
}

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

.map-visual {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 18rem;
  position: relative;
}

.map-visual img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

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

.window-cell {
  padding: 1.1rem 1.15rem;
  background: rgba(255, 250, 243, 0.7);
  border-top: 3px solid var(--champagne);
}

.window-cell h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

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

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

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

.form label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(228, 199, 137, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.85);
  font: inherit;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--champagne);
  outline-offset: 1px;
}

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(158, 196, 212, 0.35);
  color: var(--ink);
}

.form-status.is-error {
  display: block;
  background: rgba(232, 160, 144, 0.4);
  color: var(--ink);
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem 0 1.25rem;
  background: rgba(255, 250, 243, 0.95);
  border-top: 1px solid rgba(228, 199, 137, 0.45);
  box-shadow: 0 -12px 40px rgba(90, 70, 40, 0.1);
  animation: rise-in 0.45s ease both;
}

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

.cookie-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.cookie-copy p {
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

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

.cookie-error {
  color: var(--coral-deep);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: rgba(239, 228, 210, 0.65);
  border-top: 1px solid rgba(228, 199, 137, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  gap: 1.75rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
}

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

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

.footer-links a,
.site-footer a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(228, 199, 137, 0.35);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-base p {
  margin: 0;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  margin-bottom: 0.5rem;
}

.price-note {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

@keyframes pearl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes pearl-ripple {
  0% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 var(--ripple);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 18px transparent;
  }
}

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

@keyframes soft-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@media (max-width: 900px) {
  .split,
  .detail-hero,
  .evidence,
  .footer-grid,
  .service-grid,
  .blog-grid,
  .price-grid,
  .window-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.1rem;
    background: rgba(247, 240, 228, 0.98);
    border-bottom: 1px solid rgba(228, 199, 137, 0.35);
  }

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

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

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

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

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }

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