:root {
  --navy: #0f2d4a;
  --navy-deep: #091c2e;
  --accent: #b33b1e;
  --accent-hover: #8f2e17;
  --wood: #a67246;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #1b2430;
  --muted: #5c6976;
  --line: rgba(15, 45, 74, 0.12);
  --water: #5ba4c7;
  --shadow: 0 18px 50px rgba(15, 45, 74, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(9, 28, 46, 0.94);
  color: white;
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: transparent; }
.header-end { display: flex; align-items: center; gap: 16px; }
.lang {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang button {
  background: transparent;
  color: #f6f1e7;
  border: 0;
  padding: 6px 11px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lang button[aria-pressed="true"] { background: white; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: #f6f1e7; font-size: 0.95rem; }
.nav a:hover { color: white; }
.nav a.btn-accent,
.nav a.btn-accent:hover { color: white; }
.nav-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 700;
}
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: white; color: var(--navy); border-color: white; }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: #173a5e; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 64px 6vw 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(179, 59, 30, 0.28), transparent 32%),
    #0f2d4a;
  color: white;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}
.hero .eyebrow,
.included .eyebrow,
.area .eyebrow { color: #f6f1e7; }
h1, h2, h3 { font-family: Georgia, "Iowan Old Style", Palatino, serif; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; margin: 0 0 16px; }
.lede { font-size: 1.15rem; max-width: 38rem; color: #efe6d6; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo {
  justify-self: center;
  width: min(380px, 100%);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: #d9e3ec;
  font-size: 0.95rem;
}
.facts strong { color: white; display: block; }

.section { padding: 72px 6vw; }
.section h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 10px; }
.section .intro { max-width: 40rem; color: var(--muted); margin-top: 0; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.card {
  background: var(--paper);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }

.included {
  background: var(--navy);
  color: white;
}
.included .intro { color: #d5deE6; }
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.check {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.check li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px 12px 44px;
  position: relative;
}
.check li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f6f1e7;
  position: absolute;
  left: 14px;
  top: 16px;
}
.note {
  margin-top: 18px;
  color: #efe6d6;
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  counter-reset: step;
}
.step {
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }

.area {
  background:
    linear-gradient(90deg, rgba(15,45,74,0.92), rgba(15,45,74,0.78)),
    linear-gradient(#5ba4c7, #f8c864);
  color: white;
  border-radius: 28px;
  padding: 36px;
}
.area p { color: #efe6d6; max-width: 38rem; }

.estimate {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
form {
  background: white;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
label.wide { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffcf7;
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.botcheck { display: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
button:disabled { opacity: 0.7; }
.fine { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.error { color: #8d2b2b; font-size: 0.9rem; margin: 0; }
.result {
  grid-column: 1 / -1;
  background: #f6f1e7;
  border-radius: 14px;
  padding: 14px;
  white-space: pre-wrap;
}

.site-footer {
  background: var(--navy-deep);
  color: #efe6d6;
  padding: 36px 6vw 28px;
  display: grid;
  gap: 8px;
}
.site-footer strong { color: white; letter-spacing: 0.06em; }
.site-footer a { color: white; }

@media (max-width: 900px) {
  .site-header { padding: 12px 4vw; gap: 8px; }
  .brand { font-size: 0.92rem; white-space: nowrap; gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .header-end { gap: 8px; }
  .lang button { padding: 6px 9px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6vw 20px;
    background: var(--navy-deep);
  }
  .nav.open { display: flex; }
  .hero, .split, .estimate, .services, .steps { grid-template-columns: 1fr; }
  .hero { background: #0f2d4a; }
  form { grid-template-columns: 1fr; }
}

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