:root {
  --bg: #f7f6f3;
  --muted: #eef3ed;
  --text: #27372c;
  --brand-700: #3a5640;
  --brand-800: #2f4434;
  --accent: #6d896d;
  --accent-strong: #4f6f52;
  --card: #ffffff;
  --shadow: 0 18px 55px rgba(47, 68, 52, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
 a:focus {
  color: var(--accent-strong);
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0e6dd;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  letter-spacing: 0.02em;
  font-family: "Caveat", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--brand-800);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  font-size: 0.97rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.language-switch select {
  padding: 8px 32px 8px 12px;
  border-radius: 999px;
  border: 1px solid #e3d5cb;
  background: #ffffff;
  color: var(--brand-800);
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 10px 22px rgba(47, 68, 52, 0.12);
}

.language-switch::after {
  content: "▾";
  position: absolute;
  right: 10px;
  color: var(--accent-strong);
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 20% 20%, #fff1e5, transparent 35%),
    radial-gradient(circle at 80% 0%, #f4ede5, transparent 25%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a56e63;
  margin: 0 0 12px;
}

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 14px 35px rgba(47, 68, 52, 0.2);
    transition: transform 150ms ease, box-shadow 150ms ease;
  }

  .button:hover,
  .button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 42px rgba(47, 68, 52, 0.28);
  }

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid #e3d5cb;
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--accent-strong);
  border-color: var(--accent);
}

.cta-group {
  display: flex;
  gap: 12px;
  margin: 16px 0 12px;
  flex-wrap: wrap;
}

.hero-list {
  padding-left: 18px;
  margin: 10px 0 0;
  color: #5e4a42;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.panel-card {
  background: var(--card);
  padding: 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #f0e6dd;
}

.panel-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(1.75rem, 1.2vw + 1.1rem, 2.2rem);
  font-family: "Playfair Display", serif;
  margin: 0 0 22px;
}

.grid.three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #f1e7dd;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.muted {
  background: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.before-after-slider {
  --position: 50%;
  display: grid;
  gap: 14px;
}

.before-after-images {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f0e6dd;
  background: #000;
  aspect-ratio: 4 / 3;
}

.before-after-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  inset: 0;
}

.before-after-images .after-image {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--position));
}

.before-after-images::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(39, 55, 44, 0.15);
  transform: translateX(-1px);
  pointer-events: none;
}

.before-after-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  background: none;
  cursor: ew-resize;
}

.before-after-range:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: -2px;
}

.before-after-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent-strong);
  box-shadow: 0 6px 16px rgba(47, 68, 52, 0.2);
}

.before-after-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent-strong);
  box-shadow: 0 6px 16px rgba(47, 68, 52, 0.2);
}

.before-after-range::-webkit-slider-runnable-track {
  background: transparent;
}

.before-after-range::-moz-range-track {
  background: transparent;
}

.before-after-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: #5e4a42;
  font-weight: 600;
}

@supports not (clip-path: inset(0 0 0 50%)) {
  .before-after-images .after-image {
    clip-path: none;
    opacity: 0.6;
  }
}

.before-after figcaption {
  font-size: 0.9rem;
  color: #5e4a42;
  font-weight: 600;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid #ecdfd3;
}

.number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffe7df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #c25757;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.list {
  list-style: disc;
  padding-left: 18px;
  color: #5e4a42;
}

.emphasis {
  background: linear-gradient(160deg, #fff3ec, #ffffff);
}

.full-width {
  width: 100%;
}

.cta {
  background: radial-gradient(circle at 85% 20%, #ffe7df, transparent 35%), var(--muted);
}

.cta-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: center;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer {
  background: #1f1a17;
  color: #f7efe6;
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f7efe6;
  opacity: 0.9;
}

.footer-note {
  margin: 0;
  color: #c9bcb0;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 60px;
  }
}
