:root {
  --ink: #2a1814;
  --paper: #f6f1ea;
  --brick: #8c3a2f;
  --max: #168afd;
  --mute: rgba(42, 24, 20, 0.64);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Source Sans 3", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.head {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  width: 100%; max-width: 100%;
  padding: 1rem 1.4rem 0.4rem;
}
.head strong { font-family: "Libre Baskerville", serif; font-size: 1.25rem; }
.head a { font-weight: 700; color: var(--brick); margin-left: auto; white-space: nowrap; }

.banner { padding: 0.6rem 1.4rem 0; }
.banner img { width: 100%; height: min(58vh, 520px); object-fit: cover; border-radius: 18px; }
.intro {
  margin: -3.2rem 1.4rem 0; position: relative;
  background: #fffdf9; border-radius: 16px;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 16px 40px rgba(42, 24, 20, 0.08);
  max-width: 720px;
}
.intro h1 { font-family: "Libre Baskerville", serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.intro p { margin-top: 0.7rem; max-width: 36rem; font-size: 1.05rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--max); color: #fff; font-weight: 700;
  padding: 0.85rem 1.2rem; border-radius: 999px;
}
.line {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(140, 58, 47, 0.35); color: var(--brick);
  padding: 0.85rem 1.1rem; border-radius: 999px; font-weight: 700;
}

.tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem;
  padding: 1.6rem 1.4rem 0.4rem;
}
.tile { background: #fff; padding: 1.1rem 1rem; border-radius: 14px; }
.tile h2 { font-family: "Libre Baskerville", serif; font-weight: 400; font-size: 1.25rem; margin-bottom: 0.3rem; }
.tile p { color: var(--mute); font-size: 0.95rem; }

.gallery {
  display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 0.7rem;
  padding: 1.2rem 1.4rem;
}
.frame { position: relative; overflow: hidden; border-radius: 16px; height: min(42vh, 420px); min-height: 240px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame em {
  position: absolute; left: 0.8rem; bottom: 0.8rem; font-style: normal;
  background: #fffdf9; color: var(--ink); padding: 0.35rem 0.65rem;
  border-radius: 999px; font-weight: 700; font-size: 0.86rem;
}

.flow { padding: 0.4rem 1.4rem 1.6rem; }
.flow h2 { font-family: "Libre Baskerville", serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.8rem; }
.bar { height: 4px; background: rgba(42, 24, 20, 0.1); border-radius: 99px; margin-bottom: 0.8rem; overflow: hidden; }
.bar i { display: block; height: 100%; width: 20%; background: var(--brick); transition: width 0.4s ease; }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.55rem; }
.chip { background: #fff; border-radius: 12px; padding: 0.9rem 0.75rem; border: 1px solid transparent; }
.chip b { display: block; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--brick); margin-bottom: 0.25rem; }
.chip.is-on { border-color: var(--brick); box-shadow: 0 8px 20px rgba(140, 58, 47, 0.12); }

.foot {
  margin: 0.4rem 1.4rem 1.6rem; background: var(--ink); color: #f3e6dc;
  border-radius: 18px; padding: 1.5rem 1.3rem;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1rem;
}
.foot h2 { font-family: "Libre Baskerville", serif; font-weight: 400; font-size: 2rem; margin-bottom: 0.7rem; }
.foot p { margin-bottom: 0.35rem; }
.foot a.policy { color: #f0b7ae; font-weight: 700; }
.phones { display: flex; flex-direction: column; gap: 0.45rem; justify-content: center; }
.phones a { font-weight: 800; font-size: 1.15rem; }

.reveal { transition: 0.45s ease var(--d, 0s); }
.reveal.in { transform: none; }

@media (max-width: 800px) {
  .tiles, .gallery, .chips, .foot { grid-template-columns: 1fr; }
  .intro { margin-top: -1.6rem; }
  .head { padding: 0.85rem 0.9rem 0.3rem; }
  .head strong { font-size: 1rem; }
  .head a { font-size: 0.78rem; }
  .frame { height: 240px; }
}
