:root {
  --ink: #171b2d;
  --muted: #706b62;
  --cream: #f4eee7;
  --paper: #fffaf5;
  --blush: #ecd7c8;
  --sage: #83906f;
  --gold: #c79a5c;
  --line: rgba(23, 27, 45, .12);
  --shadow: 0 28px 70px rgba(31, 24, 18, .18);
  --soft-shadow: 0 18px 45px rgba(31, 24, 18, .12);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body {
  margin: 0;
  padding-top: 102px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f3ede7 0%, #fffdfb 42%, #fff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 6%, rgba(199,154,92,.16), transparent 22%),
    radial-gradient(circle at 92% 10%, rgba(131,144,111,.12), transparent 24%);
  z-index: -1;
}

img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f3ede7 0%, #fffdfb 44%, #fff 100%);
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.container { width: min(calc(100% - 42px), var(--max)); margin-inline: auto; }
.section { padding: 84px 0; }
.section-tight { padding: 52px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: .98;
  letter-spacing: 0;
}

h1 { font-size: clamp(3.2rem, 8vw, 7.7rem); max-width: 930px; }
h2 { font-size: clamp(2.35rem, 5vw, 5rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2.2rem); }
p { color: var(--muted); line-height: 1.75; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-dark { color: white; background: var(--ink); box-shadow: 0 16px 34px rgba(23,27,45,.22); }
.btn-light { color: var(--ink); background: rgba(255,255,255,.86); border: 1px solid var(--line); }

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
}
.chip.is-active { background: var(--ink); color: white; }

[data-animate] {
  opacity: 0;
  transform: scale(.92) translateY(36px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0ms);
}
[data-animate].is-visible { opacity: 1; transform: none; }

@keyframes floatSoft {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

@keyframes imageZoomIn {
  from { opacity: 0; transform: scale(1.08); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 94px 0 104px;
}
.hero-copy { text-align: center; display: grid; justify-items: center; gap: 24px; }
.hero-copy p { max-width: 720px; margin: 0; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-collage {
  position: relative;
  min-height: 430px;
  margin-top: 64px;
}
.tilt-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--soft-shadow);
  animation: floatSoft 7s ease-in-out infinite;
}
.tilt-card img { width: 100%; height: 100%; }
.tilt-card.large { width: min(45vw, 580px); height: 380px; left: 28%; top: 20px; transform: rotate(-8deg); }
.tilt-card.left { width: 310px; height: 245px; left: 8%; top: 145px; transform: rotate(12deg); animation-delay: -2s; }
.tilt-card.right { width: 330px; height: 245px; right: 6%; top: 118px; transform: rotate(-5deg); animation-delay: -4s; }
.floating-note {
  position: absolute;
  right: 6%;
  top: -6px;
  width: 210px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}
.avatar-stack { display: flex; justify-content: center; margin-bottom: 9px; }
.avatar-stack img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid white; margin-left: -10px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading p { max-width: 520px; margin: 0; }
.feature-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.floating-card {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: var(--soft-shadow);
  padding: 28px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.floating-card:hover {
  transform: translateY(-9px) scale(1.015);
  box-shadow: 0 30px 70px rgba(31,24,18,.18);
}
.floating-card i { color: var(--gold); font-size: 1.8rem; }

.promo-teaser, .split-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.promo-teaser img, .split-panel img { width: 100%; height: 420px; border-radius: 34px; }
.promo-teaser img, .split-panel img, .team-card img, .gallery-item img, .service-card img {
  animation: imageZoomIn .8s ease both;
}
.promo-teaser div, .split-panel div { padding: 24px; }

.signature-media {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}
.signature-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--soft-shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.signature-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 34px 82px rgba(31,24,18,.18);
}
.signature-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
}
.signature-card:hover img { transform: scale(1.06); }
.signature-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255,250,245,.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(31,24,18,.14);
}
.signature-caption h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.signature-caption p { margin: 10px 0 0; }

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 390px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 28px;
}
.testimonial-card {
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  background: white;
  padding: 26px;
  box-shadow: var(--soft-shadow);
}
.testimonial-card img { width: 58px; height: 58px; border-radius: 50%; }
.stars { color: var(--gold); margin-top: 16px; letter-spacing: 2px; }

.page-hero {
  padding: 86px 0 48px;
  text-align: center;
}
.page-hero h1 { margin-inline: auto; }
.page-hero p { max-width: 720px; margin: 20px auto 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: .92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  padding: 15px 16px;
  color: var(--ink);
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,154,92,.16); }

.empty-state { padding: 34px; border-radius: var(--radius-md); background: white; text-align: center; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: start center;
  padding: 96px 20px 20px;
  background: rgba(23, 27, 45, .42);
  backdrop-filter: blur(12px);
}
.search-overlay.is-open { display: grid; animation: fadeIn .24s ease both; }
.search-panel {
  width: min(760px, 100%);
  border-radius: 34px;
  background: rgba(255, 250, 245, .96);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
  animation: searchPop .34s cubic-bezier(.2,.8,.2,1) both;
}
.search-close {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  border: 1px solid rgba(199,154,92,.45);
  border-radius: 24px;
  background: white;
  padding: 0 18px;
}
.search-box input { border: 0; box-shadow: none; background: transparent; padding-inline: 0; }
.search-results { display: grid; gap: 10px; max-height: 48vh; overflow: auto; }
.search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 16px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 28px rgba(31,24,18,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.search-result:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 42px rgba(31,24,18,.14); }
.search-result span { display: grid; gap: 4px; }
.search-result small { color: var(--muted); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes searchPop { from { opacity: 0; transform: scale(.92) translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .page-shell { width: min(calc(100% - 18px), 1440px); margin: 9px auto; border-radius: 30px; }
  .page-shell { width: 100%; margin: 0; border-radius: 0; }
  .hero { min-height: auto; padding-top: 42px; }
  .hero-collage { min-height: 610px; margin-top: 38px; }
  .tilt-card.large { width: 74%; height: 315px; left: 13%; top: 0; }
  .tilt-card.left { width: 54%; left: 2%; top: 330px; }
  .tilt-card.right { width: 54%; right: 0; top: 405px; }
  .floating-note { position: relative; inset: auto; width: 100%; margin-top: 22px; }
  .feature-grid, .card-grid, .promo-teaser, .split-panel, .form-grid { grid-template-columns: 1fr; }
  .signature-media { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section-heading { display: grid; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .tilt-card.large { width: 86%; left: 7%; height: 285px; }
  .tilt-card.left, .tilt-card.right { width: 70%; height: 200px; }
}
