:root {
  --bg: #f7f3ea;
  --surface: #fffaf0;
  --ink: #1f2a24;
  --muted: #667067;
  --line: #ddd2bd;
  --brand: #174c3c;
  --brand-dark: #0f3529;
  --accent: #b86f28;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 42, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(23, 76, 60, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(184, 111, 40, 0.10), transparent 28%),
    var(--bg);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.page {
  width: min(100%, 740px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 14px 12px 86px;
}

.home {
  display: grid;
  align-content: center;
  gap: 16px;
}

.hero,
.content,
.info-panel {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(18px, 4vw, 30px);
  text-align: center;
}

.logo {
  width: 92px;
  height: auto;
  margin-bottom: 10px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font: 700 0.78rem/1.2 Verdana, Geneva, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin: 0 auto 10px;
  font-size: clamp(1.9rem, 7vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.content h1 {
  max-width: 13ch;
  margin-left: 0;
  font-size: clamp(2rem, 8vw, 3.3rem);
}

h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.welcome {
  margin-bottom: 14px;
  font-size: 1.08rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.quick-link,
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font: 700 1rem/1.15 Verdana, Geneva, sans-serif;
  text-align: center;
  text-decoration: none;
}

.quick-link {
  background: var(--white);
  box-shadow: 0 8px 18px rgba(31, 42, 36, 0.08);
}

.button {
  background: var(--surface);
  cursor: pointer;
}

.button-primary {
  border-color: var(--brand);
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-dark);
}

.quick-link:hover,
.quick-link:focus-visible,
.button:hover,
.button:focus-visible {
  outline: 3px solid rgba(184, 111, 40, 0.22);
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.hero .actions {
  margin-top: 0;
}

.button .icon {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button .icon * {
  vector-effect: non-scaling-stroke;
}

.map-pin {
  color:var(--ink);
}

.map-pin path {
  fill: rgba(217, 48, 37, 0.12);
}

.full {
  width: 100%;
}

.info-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 18px;
}

.info-panel p {
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.info-panel strong {
  display: inline-block;
  min-width: 70px;
  color: var(--ink);
}

.topbar {
  margin-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 0.95rem/1.2 Verdana, Geneva, sans-serif;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: auto;
}

.content {
  padding: clamp(20px, 5vw, 34px);
}

.content.compact {
  margin-top: clamp(36px, 12vh, 86px);
}

.schedule-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.schedule-item,
.contact-card,
.pix-box,
.two-blocks > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.contact-card {
  margin: 18px 0;
}

.schedule-item span,
.pix-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font: 700 0.78rem/1.2 Verdana, Geneva, sans-serif;
  text-transform: uppercase;
}

.schedule-item p,
.contact-card p,
.pix-box p,
.two-blocks p {
  margin-bottom: 0;
}

.two-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.pix-box {
  margin: 18px 0 16px;
  text-align: center;
}

.pix-box strong {
  display: block;
  margin: 6px 0;
  font: 700 clamp(1.6rem, 8vw, 2.5rem)/1.1 Verdana, Geneva, sans-serif;
  color: var(--brand);
  overflow-wrap: anywhere;
}

.copy-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  text-align: center;
  color: var(--brand);
  font: 700 0.92rem/1.3 Verdana, Geneva, sans-serif;
}

.copy-button {
  min-height: 68px;
  font-size: 1.08rem;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 8px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.96);
  backdrop-filter: blur(10px);
}

.bottom-nav a {
  min-width: 68px;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--muted);
  font: 700 0.75rem/1.1 Verdana, Geneva, sans-serif;
  text-align: center;
  text-decoration: none;
}

.bottom-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--brand);
}

@media (max-width: 560px) {
  .page {
    padding: 5px 5px 82px;
  }

  .hero {
    padding: 10px 5px;
  }

  .logo {
    width: 76px;
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.05;
  }

  .content h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.45rem);
  }

  .welcome {
    margin-bottom: 12px;
  }

  .quick-grid,
  .actions,
  .info-panel,
  .two-blocks {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    gap: 10px;
  }

  .quick-link,
  .button {
    min-height: 64px;
    padding: 16px 14px;
    font-size: 1.05rem;
  }

  .button .icon {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    flex-basis: 20px;
  }

  .copy-button {
    min-height: 74px;
    font-size: 1.1rem;
  }

  .info-panel {
    gap: 10px;
    padding: 14px;
  }

  .content.compact {
    margin-top: 18px;
  }

  .bottom-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .bottom-nav a {
    min-width: 74px;
    padding-block: 12px;
  }
}

@media (max-height: 720px) and (min-width: 561px) {
  .home {
    align-content: start;
  }

  .hero {
    padding: 20px;
  }

  .logo {
    width: 82px;
  }

  h1 {
    font-size: 2.7rem;
  }
}
