:root {
  --bg: #f6f2ec;
  --paper: #fffdf9;
  --ink: #20160f;
  --muted: #6e5a4c;
  --brick: #b24f2f;
  --brick-dark: #8e3b23;
  --sand: #ead4b0;
  --line: #e7d7c5;
  --ok: #1f7a41;
  --shadow: 0 18px 50px rgba(57, 29, 16, 0.12);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: min(1160px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 8% 2%, #fff7eb 0%, transparent 30%),
    radial-gradient(circle at 92% 14%, #f3ded0 0%, transparent 34%), var(--bg);
  color: var(--ink);
  font-family: "PT Sans", "Trebuchet MS", sans-serif;
  line-height: 1.45;
  min-width: 320px;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(148deg, #cb6a41 0%, #9f4327 70%);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.14);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.48);
}

.brand-mark::before {
  top: 14px;
}

.brand-mark::after {
  top: 24px;
}

.brand-text {
  font-family: "Exo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.83rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #312116;
  font-size: 0.96rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: #f2e6d9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 60;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(170deg, #ca6340 0%, #a3472a 75%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(130, 57, 34, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(130, 57, 34, 0.4);
}

.btn-ghost {
  background: #efe3d6;
  color: #2d1d14;
}

.btn-ghost:hover {
  background: #e8d7c6;
}

.hero {
  padding: 68px 0 44px;
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 220px;
}

.home-page .hero .container {
  position: relative;
  z-index: 2;
}

.brick-wall {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: min(980px, 96vw);
  height: 220px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.brick {
  position: absolute;
  width: 84px;
  height: 40px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, #cf7048 0%, #b95633 60%, #9f4528 100%);
  border: 1px solid rgba(115, 44, 24, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 8px rgba(74, 31, 17, 0.24);
  transform: translateY(-360px) rotate(var(--tilt, 0deg));
  transform-origin: center;
  opacity: 0;
  animation: brick-fall 0.86s cubic-bezier(0.2, 0.88, 0.26, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.brick::before,
.brick::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.brick::before {
  top: 14px;
}

.brick::after {
  top: 25px;
}

.brick-wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2), transparent 70%);
  filter: blur(6px);
  opacity: 0.42;
}

@keyframes brick-fall {
  0% {
    transform: translateY(-360px) rotate(var(--tilt, 0deg));
    opacity: 0;
  }
  75% {
    transform: translateY(10px) rotate(calc(var(--tilt, 0deg) * 0.2));
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  font-size: 0.86rem;
  border-radius: 999px;
  background: #efe2d4;
  color: #5a4132;
  border: 1px solid #e3cfba;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: "Exo 2", "Tahoma", sans-serif;
  line-height: 1.08;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 4.9vw, 3.7rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.22rem, 2.4vw, 1.7rem);
}

.lead {
  color: #493628;
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  color: #5f4b3d;
  flex-wrap: wrap;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.hero-note i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brick);
}

.hero-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, #f4d2b8 0%, transparent 70%);
  right: -80px;
  top: -110px;
}

.price-box {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.price-tag {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
  color: var(--brick-dark);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.price-item {
  background: #fff;
  border: 1px solid #ead8c7;
  border-radius: 12px;
  padding: 12px;
}

.price-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 3px;
}

.price-item span {
  color: #5d4a3c;
  font-size: 0.92rem;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.section-sub {
  color: var(--muted);
  max-width: 58ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(54, 30, 19, 0.08);
}

.card p {
  margin: 0;
  color: #563f31;
}

.stat {
  font-family: "Exo 2", sans-serif;
  font-size: 1.95rem;
  color: var(--brick);
  margin-bottom: 6px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  background: #fff;
  border: 1px solid #eadac9;
  border-radius: 16px;
  overflow: hidden;
}

.tile-content {
  padding: 18px;
}

.tile-title {
  margin: 0 0 8px;
  font-family: "Exo 2", sans-serif;
}

.tile ul {
  margin: 0;
  padding-left: 18px;
  color: #574438;
}

.band {
  background: linear-gradient(95deg, #2b1b13 0%, #4d3024 45%, #703f27 100%);
  color: #fff;
  border-radius: 26px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.band p {
  margin: 0;
  color: #ffede1;
  max-width: 58ch;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border: 1px solid #e8d9ca;
  border-radius: 14px;
  padding: 14px;
  background: #fffefc;
}

.step-num {
  font-family: "Exo 2", sans-serif;
  color: var(--brick);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid #e9d9cb;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: "Exo 2", sans-serif;
}

.faq p {
  margin: 10px 0 4px;
  color: #5f4c3f;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 18px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.93rem;
  color: #47362b;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dbc7b4;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-note {
  margin-top: 10px;
  font-size: 0.86rem;
  color: #6e5b4d;
}

.form-status {
  margin-top: 12px;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.form-status[data-type="ok"] {
  color: var(--ok);
}

.form-status[data-type="error"] {
  color: #9f2d25;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list div {
  border: 1px solid #eadac9;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Exo 2", sans-serif;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 240px;
  border-radius: 14px;
}

.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  color: #604b3d;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal {
  font-size: 0.83rem;
  color: #806a5a;
}

.hide {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 980px) {
  .header-wrap {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 8px;
  }

  .nav a {
    background: #f3e8db;
  }

  .hero-grid,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cards,
  .steps,
  .form-row,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .home-page .hero {
    padding-bottom: 160px;
  }

  .section {
    padding: 42px 0;
  }

  .header-wrap {
    gap: 8px;
  }

  .brand-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brick {
    animation: none;
    transform: translateY(0);
    opacity: 1;
  }
}
