:root {
  --bg: #EDE9E6;
  --accent: #C9996B;
  --ink: #5C4F4A;
  --muted: #5C766D;
  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.5rem;
  --space-lg: 2.4rem;
  --space-xl: 4rem;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(92, 79, 74, 0.12);
  --trans: 240ms ease;
  --font-main: "Segoe UI", "Inter", "Roboto", sans-serif;
  --panel: #f6f3f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.55;
  background-image: radial-gradient(circle at 10% 10%, rgba(201, 153, 107, 0.08), transparent 35%), radial-gradient(circle at 90% 90%, rgba(92, 118, 109, 0.08), transparent 35%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(237, 233, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(92, 79, 74, 0.14);
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 5vw;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(92, 79, 74, 0.12);
}

.site-nav a {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem;
  transition: background var(--trans), color var(--trans);
}

.site-nav a span {
  color: var(--accent);
}

.site-nav a:hover {
  background: var(--ink);
  color: var(--bg);
}

main {
  padding: var(--space-lg) 5vw var(--space-xl);
}

.hero-minimal {
  min-height: 40vh;
  display: grid;
  align-content: center;
  max-width: 960px;
  position: relative;
}

.hero-minimal::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: 1rem;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(92, 79, 74, 0.2);
  border-radius: 50%;
  animation: pulseRing 8s linear infinite;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  margin: 0.4rem 0 0;
}

.grid-duo {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-md);
}

.trust-ribbon {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.trust-ribbon article {
  background: #fff;
  border: 1px solid rgba(92, 79, 74, 0.14);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform var(--trans), box-shadow var(--trans);
}

.trust-ribbon article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trust-ribbon i {
  font-size: 1.2rem;
  color: var(--muted);
}

.accent-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.text-link {
  color: var(--muted);
  border-bottom: 1px solid currentColor;
}

.asym-gallery {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "copy b"
    "a b"
    "a c";
}

.gallery-copy {
  grid-area: copy;
}

.img-a {
  grid-area: a;
}

.img-b {
  grid-area: b;
}

.img-c {
  grid-area: c;
}

figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-section {
  margin-top: var(--space-xl);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.timeline article {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid rgba(92, 79, 74, 0.12);
  transition: transform var(--trans), box-shadow var(--trans);
}

.timeline article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.timeline span {
  color: var(--accent);
  font-weight: 700;
}

.signal-strip {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-md);
}

.signal-strip article {
  background: #fff;
  border: 1px solid rgba(92, 79, 74, 0.12);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.interactive-panel {
  margin-top: var(--space-xl);
  background: #fff;
  border: 1px solid rgba(92, 79, 74, 0.12);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-row button {
  margin-top: 0;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid rgba(92, 79, 74, 0.18);
}

.chip-row button.active {
  background: var(--ink);
  color: var(--bg);
}

.state-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.state-grid article {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid rgba(92, 79, 74, 0.12);
  padding: var(--space-md);
}

.quiz-box {
  background: var(--panel);
  padding: var(--space-md);
  border-radius: 12px;
}

.map-wrap {
  margin-top: var(--space-sm);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.inner-main,
.contact-layout {
  display: grid;
  gap: var(--space-lg);
}

.inner-hero {
  max-width: 760px;
}

.interactive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.hover-lift {
  background: #fff;
  border: 1px solid rgba(92, 79, 74, 0.12);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform var(--trans), border-color var(--trans);
}

.hover-lift:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.slider-box,
.steps article,
.form-wrap {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(92, 79, 74, 0.12);
  padding: var(--space-md);
}

.steps {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

input,
textarea,
button {
  font: inherit;
}

form {
  display: grid;
  gap: 0.35rem;
}

input,
textarea {
  border: 1px solid rgba(92, 79, 74, 0.25);
  border-radius: 10px;
  padding: 0.7rem;
  background: #fff;
  transition: border-color var(--trans), box-shadow var(--trans);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--muted);
  box-shadow: 0 0 0 3px rgba(92, 118, 109, 0.14);
}

button {
  margin-top: var(--space-sm);
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: opacity var(--trans);
}

button:hover {
  opacity: 0.9;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.error {
  color: #8b3022;
  min-height: 1.1rem;
}

.site-footer {
  border-top: 1px solid rgba(92, 79, 74, 0.12);
  padding: var(--space-lg) 5vw;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.site-footer h3 {
  margin-top: 0;
}

.site-footer a {
  display: block;
  margin-bottom: 0.35rem;
}

.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(900px, 92vw);
  display: none;
  justify-content: space-between;
  gap: var(--space-md);
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 60;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-actions button {
  margin-top: 0;
  padding: 0.55rem 0.9rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  display: none;
  place-items: center;
  z-index: 70;
}

.cookie-panel {
  width: min(460px, 90vw);
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-md);
  display: grid;
  gap: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.legal-page,
.thank-you-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) 5vw;
}

.legal-page h2 {
  margin-top: 1.6rem;
}

.thank-you-page a {
  display: inline-block;
  margin-top: 1rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

@media (max-width: 920px) {

  .trust-ribbon,
  .grid-duo,
  .timeline,
  .interactive-grid,
  .steps,
  .signal-strip,
  .state-grid,
  .site-footer,
  .compact {
    grid-template-columns: 1fr;
  }

  .asym-gallery {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "a" "b" "c";
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.25;
  }

  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@media (max-width: 740px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-template-columns: 1fr;
    display: none;
  }

  .site-nav.open {
    display: grid;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}