:root {
  --navy: #1e3a5f;
  --navy-deep: #13263f;
  --burgundy: #8b2040;
  --gold: #c9a96e;
  --gold-light: #f4ead4;
  --green: #3a74ad;
  --green-dark: #2b5680;
  --cream: #f8f4ee;
  --white: #fff;
  --text: #1c2430;
  --muted: #667085;
  --line: #e6ddd0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(19, 38, 63, .1);
  --footer-h: 76px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: Figtree, sans-serif;
  background:
    radial-gradient(ellipse at top, #fffdf8 0%, transparent 42%),
    var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 86px;
  padding-bottom: calc(var(--footer-h) + 16px);
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font-family: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
}

.page-wrap {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(248, 244, 238, .94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  width: min(640px, 100%);
  margin: 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
}

.menu-btn,
.share-btn,
.drawer-close,
.modal-close-btn,
.policy-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-light);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.menu-btn {
  gap: 4px;
}

.header-logo {
  display: flex;
  justify-content: center;
}

.header-logo-img {
  height: 74px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
}

.share-btn {
  background: var(--gold-light);
  color: var(--navy);
  justify-self: end;
}

.drawer-overlay,
.policy-overlay,
.cnpj-overlay,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 38, 63, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 300;
}

.drawer-overlay.open,
.policy-overlay.active,
.cnpj-overlay.open,
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform .3s;
  z-index: 310;
  padding: 20px 18px;
}

.drawer.open {
  transform: none;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer-head img {
  height: 52px;
}

.drawer-nav {
  display: grid;
  gap: 6px;
}

.drawer-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 12px;
}

.drawer-trust {
  margin-top: 24px;
  color: var(--muted);
  font-size: .78rem;
}

.hero {
  padding: 18px 0 8px;
  text-align: center;
}

.hero-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.org-kicker {
  margin: 0 0 10px;
}

.hero-ornament {
  width: 56px;
  height: 2px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.hero-ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--burgundy);
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--cream);
}

.hero h1,
.block h2 {
  font-family: Fraunces, serif;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--navy);
}

.hero h1 {
  font-size: clamp(1.32rem, 4.8vw, 1.85rem);
  line-height: 1.28;
  margin-bottom: 16px;
}

.hero h1 .hero-accent {
  color: var(--burgundy);
  font: inherit;
}

.hero-wine {
  font-family: Fraunces, serif;
  font-style: italic;
  font-size: clamp(1.02rem, 3.8vw, 1.22rem);
  color: var(--burgundy);
  line-height: 1.35;
  margin: 0 0 16px;
}

.tv-frame {
  margin: 0 auto 14px;
}

.tv-bezel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(19, 38, 63, .1);
}

.tv-screen {
  border-radius: 15px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.tv-screen kks-player,
.tv-screen iframe,
.tv-screen video {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

.hero-sub {
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.3;
  white-space: nowrap;
  margin: 0 auto 16px;
}

.ledger-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 14px 14px;
  box-shadow: none;
  margin: 16px 0 8px;
}

.ledger-seal {
  min-width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--burgundy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 0 4px #f4ead4;
}

.ledger-copy {
  flex: 1;
}

.ledger-copy small {
  display: block;
  color: var(--muted);
}

.ledger-arrow {
  font-size: .72rem;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
}

.accounts-head,
.accounts-total {
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.accounts-list {
  list-style: none;
}

.accounts-list li,
.accounts-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
}

.accounts-list li {
  border-bottom: 1px solid #f1ebe2;
  font-size: .9rem;
}

.accounts-total {
  background: var(--gold-light);
  color: var(--navy);
}

.hero-cta-wrap {
  margin: 16px 0 18px;
  display: grid;
  gap: 10px;
}

.hero-cta-wrap .btn-donate {
  min-height: 56px;
  padding: 15px 18px;
  font-size: 1rem;
  line-height: 1.25;
}

.btn-donate.btn-mensal {
  position: relative;
  background: var(--burgundy);
  box-shadow: 0 6px 0 #6a1830;
  animation: none;
}

.btn-donate.btn-mensal:hover {
  background: #7a1c38;
}

.btn-donate.btn-mensal:active {
  box-shadow: 0 2px 0 #6a1830;
}

.btn-donate.btn-unica {
  background: var(--green);
  box-shadow: 0 6px 0 var(--green-dark);
}

.cta-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(19, 38, 63, .12);
}

.donation-type-label {
  margin: 0 16px 8px;
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-light, #eef4fc);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
}

.donation-type-label.donation-type-mensal,
.donation-type-mensal {
  background: rgba(139, 32, 64, .1);
  color: var(--burgundy);
}

.mensal-hint {
  margin-top: 8px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}

.hero-proof {
  margin-top: 10px;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 700;
}

.btn-donate,
.footer-donate-btn,
.btn-pix {
  width: 100%;
  border-radius: 16px;
  padding: 15px 18px;
  font-weight: 800;
  letter-spacing: .02em;
}

.btn-donate,
.footer-donate-btn {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 0 var(--green-dark);
  animation: donate-pulse 1.55s ease-in-out infinite;
}

.btn-donate-lg {
  padding: 20px 18px;
  font-size: 1.18rem;
}

.btn-donate:active,
.footer-donate-btn:active {
  animation: none;
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--green-dark);
}

@keyframes donate-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-donate,
  .footer-donate-btn {
    animation: none;
  }
}

.btn-text {
  width: 100%;
  color: var(--burgundy);
  font-weight: 800;
  text-decoration: underline;
  margin: 8px 0 10px;
}

.btn-pix {
  background: var(--navy);
  color: #fff;
  margin-bottom: 8px;
}

.org-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: transparent;
  border: none;
}

.org-card-single {
  grid-template-columns: 1fr;
}

.org-card-single .org-col {
  flex-direction: row;
  justify-content: center;
  text-align: left;
}

.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  text-align: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.org-col small,
.org-icon + span small {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.org-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.org-col strong {
  font-size: .82rem;
  word-break: break-word;
}

.org-divider {
  display: none;
}

.org-badges {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 4px 4px 0;
  font-size: .75rem;
  font-weight: 700;
  color: var(--navy);
}

.verse-ticker {
  margin: 22px 0;
  overflow: hidden;
  background: linear-gradient(160deg, #4a1409, #2a0c06);
  color: #fff;
  padding: 16px 0;
  isolation: isolate;
  transform: translateZ(0);
}

.verse-track {
  display: flex;
  gap: 48px;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: ticker 42s linear infinite;
}

.verse-track p {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: visible;
  font-family: Fraunces, serif;
  font-size: .95rem;
}

@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.block {
  background: var(--white);
  border-radius: 22px;
  padding: 22px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.block-story {
  background: transparent;
  box-shadow: none;
  padding: 10px 4px 28px;
  text-align: left;
  border-left: 3px solid var(--gold);
  border-radius: 0;
}

.block-story h2,
.block-story .prose {
  text-align: left;
}

.block-story .prose p:first-of-type::first-letter {
  font-family: Fraunces, serif;
  font-size: 2.8rem;
  float: left;
  line-height: .85;
  padding: 4px 8px 0 0;
  color: var(--burgundy);
}

.block-photos {
  background: #f3ebe3;
  box-shadow: none;
  border: 1px solid #e4d6c6;
}

.block-path {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f4ead4 100%);
  border: 1px solid #d8c7a2;
  box-shadow: none;
}

.block-infra {
  background: #fff;
  box-shadow: none;
  border: 1px dashed #d8c7a2;
}

.block-pix {
  background: var(--navy);
  box-shadow: none;
}

.block-pix h2 {
  color: #fff;
}

.block-quote {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: none;
}

.block-quote h2,
.block-quote .prose p,
.block-quote strong {
  color: #fff;
}

.block-quote .prose p {
  color: rgba(255, 255, 255, .82);
}

.block-quote .btn-donate {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 0 var(--gold);
}

.block h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.banner {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 16px;
}

.prose {
  text-align: center;
}

.prose p {
  margin-bottom: 12px;
  color: #334155;
}

.pull {
  color: var(--burgundy);
  font-family: Fraunces, serif;
  font-style: italic;
}

.pull.strong,
.prose .strong {
  font-weight: 700;
  font-style: italic;
}

.section-lead {
  color: var(--muted);
  margin: -6px 0 14px;
}

.foto-slider-wrap {
  margin-bottom: 16px;
}

.foto-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.foto-track::-webkit-scrollbar {
  display: none;
}

.foto-slide {
  flex: 0 0 86%;
  scroll-snap-align: center;
}

.foto-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}

.foto-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.foto-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5cbbd;
}

.foto-dot.active {
  background: var(--burgundy);
  transform: scale(1.2);
}

.pix-card,
.addr-card {
  background: #fffdf8;
  border: 1.5px dashed #d8c7a2;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
}

.pix-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pix-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}

.pix-head small,
.pix-recipient,
.addr-card span,
.addr-card a {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}

.pix-copy-box {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pix-key-text,
.form-input,
.custom-input-wrap input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: .95rem;
}

.pix-copy-btn {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 0 14px;
  font-weight: 700;
}

.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.dest-card {
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}

.dest-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.dest-card div {
  padding: 10px;
}

.dest-card strong,
.dest-card span {
  display: block;
}

.dest-card span {
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 700;
}

.dest-card-plain {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 12px;
  min-height: 110px;
}

.dest-card-plain span {
  font-weight: 600;
  color: var(--muted);
}

.pix-steps {
  margin-top: 14px;
  padding-left: 20px;
  color: #334155;
  text-align: left;
}

.pix-steps li + li {
  margin-top: 8px;
}

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

.social-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.social-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
}

.social-ico svg {
  width: 18px;
  height: 18px;
}

.social-ico.ig { background: #c13584; }
.social-ico.fb { background: #1877f2; }
.social-ico.tk { background: #111; }
.social-ico.yt { background: #e11d48; }
.social-ico.wa { background: #128c7e; }

.path-list {
  list-style: none;
  text-align: left;
  position: relative;
  margin: 4px 0 22px;
  padding: 0 4px;
}

.path-list::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--burgundy));
}

.path-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 20px;
}

.path-list li:last-child {
  padding-bottom: 0;
}

.path-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: Fraunces, serif;
  font-size: .85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}

.path-list strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.path-list p {
  color: var(--muted);
  font-size: .88rem;
}

.accounts-modal .btn-donate {
  margin-top: 14px;
}

.policy-modal-header,
.cnpj-modal-bar,
.accounts-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cnpj-modal-bar,
.accounts-modal-bar {
  font-weight: 800;
  color: var(--navy);
}

.accounts-overlay,
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 38, 63, .55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 430;
}

.accounts-overlay.open,
.exit-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.accounts-modal,
.exit-modal {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
}

.accounts-intro,
.exit-modal p {
  color: var(--muted);
  margin-bottom: 12px;
}

.exit-modal {
  text-align: center;
}

.exit-modal h3 {
  font-family: Fraunces, serif;
  color: var(--burgundy);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.btn-ghost,
.btn-leave {
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  background: #f3eee6;
  border: 1.5px solid var(--line);
  border-radius: 14px;
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  margin-bottom: 12px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.addr-card {
  margin-bottom: 12px;
}

.cnpj-card-btn {
  width: 100%;
}

.cnpj-card-btn img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
}

.cnpj-card-btn span {
  color: var(--navy);
  font-weight: 700;
}

.block-faq {
  background: transparent;
  box-shadow: none;
  padding: 8px 0 20px;
}

.faq-notes {
  list-style: none;
  display: grid;
  gap: 12px;
  text-align: left;
}

.faq-notes li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px 14px 12px;
}

.faq-n {
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--navy);
  font-family: Fraunces, serif;
  font-size: .85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.faq-notes strong {
  display: block;
  font-family: Fraunces, serif;
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.faq-notes p {
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 32px 16px 24px;
}

.site-footer-logo {
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 12px;
}

.site-footer-tag,
.site-footer-copy,
.cnpj-badge {
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
}

.footer-whats {
  display: inline-block;
  margin: 8px auto 0;
  background: none;
  color: rgba(255, 255, 255, .62);
  text-decoration: underline;
  font-weight: 600;
  font-size: .75rem;
  padding: 0;
}

.site-footer-socials,
.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
}

.social-btn,
.footer-policy-btn {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .78rem;
}

.sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(248, 244, 238, .95) 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.sticky-footer.visible {
  opacity: 1;
  pointer-events: all;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(12px);
  background: #fff;
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 500;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%);
}

.policy-overlay,
.cnpj-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 420;
}

.policy-modal,
.cnpj-modal {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
}

.policy-modal-title {
  font-family: Fraunces, serif;
  color: var(--navy);
}

.policy-modal-body {
  text-align: left;
  color: #334155;
}

.policy-modal-body h2 {
  margin: 16px 0 8px;
  font-size: 1rem;
}

.modal-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 400;
}

.modal-sheet {
  width: min(600px, 100%);
  max-height: 94vh;
  background: #fff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform .35s;
}

.modal-overlay.open .modal-sheet {
  transform: none;
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--line);
  border-radius: 99px;
  margin: 12px auto 0;
}

.modal-head,
.modal-body,
.modal-footer {
  padding: 14px 16px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.modal-head h2 {
  font-family: Fraunces, serif;
  color: var(--navy);
  font-size: 1.05rem;
}

.modal-tabs {
  display: flex;
  margin: 0 16px;
  background: #eef3f8;
  border-radius: 12px;
  padding: 4px;
}

.modal-tab {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--muted);
}

.modal-tab.active {
  background: var(--navy);
  color: #fff;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.val-btn {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 8px;
  font-size: 1.05rem;
  font-weight: 800;
  position: relative;
}

.val-btn.selected {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.val-btn.popular::before {
  content: "popular";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: .5rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 0 10px 0 6px;
}

.custom-label {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.custom-input-wrap {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.currency-tag {
  background: var(--gold-light);
  color: var(--navy);
  font-weight: 800;
  padding: 12px 14px;
}

.amount-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #eef3f8;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.chip-label {
  font-size: .7rem;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group {
  margin-bottom: 12px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}

.form-group small {
  font-weight: 500;
  color: var(--muted);
}

.anon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: .8rem;
}

.turbine-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff8e8;
  border: 1.5px solid #f0dfb0;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
}

.turbine-card.checked {
  border-color: var(--gold);
}

.step-back {
  color: var(--muted);
  font-weight: 700;
}

.modal-safe {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: .75rem;
}

.modal-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 20px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #eee;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .foto-slide {
    flex-basis: 70%;
  }

  .foto-slide img,
  .map-wrap {
    height: 300px;
  }

  .modal-overlay {
    align-items: center;
  }

  .modal-sheet {
    border-radius: 24px;
    max-height: 86vh;
  }
}
