:root {
  --brand-espresso: #3a2718;
  --brand-walnut: #5a3a23;
  --accent-gold: #d4af65;
  --accent-sage: #6f8a7a;
  --surface-tan: #efe3d2;
  --surface-card: #fffdf9;
  --surface-muted: #f8f1e7;
  --line-soft: #dbcbb7;
  --text-ink: #20160f;
  --text-light: #ffffff;
  --text-muted: #756655;
  --header-bg: rgba(44, 30, 20, 0.95);
  --focus-ring: #d4af65;
  --page-bg: #fdf9f3;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(49, 31, 16, 0.14);
}

* { box-sizing: border-box; }
html {
  scroll-padding-top: 6.5rem;
}
body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text-ink);
  background: radial-gradient(circle at 20% 8%, #f3e9db 0%, var(--page-bg) 45%, #fffcf7 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--brand-walnut); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  color: var(--text-light);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  font-weight: 800;
  font-size: 1rem;
}
.brand small { display: block; font-size: 0.76rem; font-weight: 500; opacity: 0.9; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.nav-list a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.38rem 0.55rem;
  border-radius: 7px;
}
.nav-list a:hover { background: rgba(255,255,255,0.14); }

.hero { padding: 3rem 0 2rem; }
.hero-grid {
  display: grid;
  gap: 1rem;
}
.hero-card, .panel, .card {
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.kicker {
  display: inline-block;
  background: var(--surface-tan);
  color: var(--brand-espresso);
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

h1, h2, h3 { color: var(--brand-espresso); line-height: 1.2; }
h1 { margin: 0.5rem 0 0.8rem; font-size: clamp(1.8rem, 5vw, 2.7rem); }
h2 { margin: 0 0 0.75rem; font-size: clamp(1.3rem, 4vw, 2rem); }

section { padding: 1.2rem 0; }
section[id] {
  scroll-margin-top: 6.5rem;
}
.grid-2, .grid-3 {
  display: grid;
  gap: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent-gold); color: #2b1c12; }
.btn-secondary { background: var(--brand-walnut); color: var(--text-light); }
.btn-tertiary { background: #f3eadf; color: var(--brand-walnut); border-color: var(--line-soft); }
.btn-primary:hover { background: #e1ba70; }
.btn-secondary:hover { background: #6b462b; }
.btn-tertiary:hover { border-color: var(--accent-sage); color: var(--accent-sage); }

.price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand-espresso);
  margin: 0.3rem 0 0.2rem;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.list-clean li {
  background: var(--surface-muted);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.testimonial,
.case {
  border-left: 4px solid var(--accent-sage);
}

.carousel {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
}

.carousel .card {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.carousel-btn {
  border: 1px solid var(--line-soft);
  background: #f3eadf;
  color: var(--brand-espresso);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.carousel-btn:hover {
  border-color: var(--accent-sage);
  color: var(--accent-sage);
}

.form-row { margin-bottom: 0.72rem; }
label { font-weight: 700; font-size: 0.9rem; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.consent-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}
input, textarea, select {
  width: 100%;
  margin-top: 0.28rem;
  padding: 0.58rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font: inherit;
}

.placeholder { color: var(--text-muted); font-style: italic; font-size: 0.9rem; }

.footer {
  background: var(--text-ink);
  color: #e9d9c2;
  padding: 1.2rem 0 2.2rem;
  margin-top: 1rem;
}
.footer a { color: #e7c98f; }

.footer-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(212, 175, 101, 0.16), transparent 38%),
    linear-gradient(180deg, #2c1e14 0%, #1f1510 100%);
  color: #efe1cb;
  padding: 0 0 2.4rem;
  margin-top: 1.5rem;
}

.footer-preview-top {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.75;
}

.footer-preview-grid {
  display: grid;
  gap: 1.4rem;
  padding-top: 2.4rem;
}

.footer-preview h2 {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.footer-brand-block {
  max-width: 24rem;
}

.footer-brand-link {
  display: inline-block;
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.footer-preview a.footer-brand-link {
  color: var(--accent-gold);
}

.footer-preview p,
.footer-preview li,
.footer-preview a {
  color: #ebdcc7;
}

.footer-preview a {
  text-decoration: none;
}

.footer-preview a:hover {
  color: var(--accent-gold);
}

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

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 101, 0.2);
}

.footer-socials svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials a[aria-label="TikTok"] svg path {
  fill: currentColor;
  stroke: none;
}

.footer-socials a[aria-label="YouTube"] svg path:first-child {
  fill: none;
  stroke: currentColor;
}

.footer-socials a[aria-label="YouTube"] svg path:last-child {
  fill: currentColor;
  stroke: currentColor;
}

.footer-contact p {
  margin: 0 0 0.8rem;
}

.footer-contact-cta {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-gold);
  border-radius: 10px;
  color: var(--accent-gold);
  font-weight: 700;
}

.footer-contact-cta:hover {
  background: var(--accent-gold);
  color: #251517;
}

.footer-preview-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-preview-bottom p {
  margin: 0;
}

.service-panel-heading {
  margin-bottom: 1.2rem;
}

.service-offer-grid {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.service-offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(239, 227, 210, 0.82) 0%, rgba(255, 253, 249, 0.98) 100%);
}

.service-offer-card .price {
  margin-top: auto;
}

.service-offer-card .btn {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 110;
  background: var(--accent-gold);
  color: #2b1c12;
  text-decoration: none;
  font-weight: 800;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.sticky-cta:hover { background: #e1ba70; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .carousel .card { flex-basis: calc((100% - 1.8rem) / 3); }
  .service-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-preview-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    align-items: start;
  }
  .footer-preview-bottom {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .service-offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
