:root {
  --page: #fbfaf7;
  --paper: #fffdf8;
  --paper-soft: #f8f2e8;
  --ink: #17130f;
  --muted: #6f675f;
  --gold: #b37a36;
  --gold-bright: #ef9822;
  --gold-dark: #8d5c24;
  --line: rgba(130, 92, 48, .18);
  --shadow: 0 24px 70px rgba(76, 53, 25, .08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(239, 152, 34, .07), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, var(--page) 55%, #fffdf8 100%);
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(100% - 36px, 1280px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(179, 122, 54, .08);
}
.header-inner {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.logo {
  width: fit-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 1;
  color: var(--gold-dark);
  letter-spacing: -.04em;
  text-shadow: 0 8px 26px rgba(179, 122, 54, .18);
}
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.nav-link { color: #312b25; font-size: 15px; font-weight: 560; }
.nav-link:hover { color: var(--gold-dark); }
.header-cta { justify-self: end; }

.btn {
  border: 0;
  border-radius: 11px;
  padding: 11px 22px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn.primary {
  color: white;
  background: linear-gradient(180deg, #f5a336, #e38314);
  box-shadow: 0 12px 24px rgba(227, 131, 20, .25);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(227, 131, 20, .3); }
.btn:disabled { opacity: .72; cursor: wait; }

.hero { padding: 34px 0 42px; }
.hero-grid {
  min-height: clamp(520px, 48vw, 660px);
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255,253,248,.96) 0%, rgba(255,253,248,.9) 50%, rgba(255,253,248,.08) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 78px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
h1 {
  max-width: 670px;
  margin: 0 0 28px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .98;
}
.hero-lead {
  max-width: 610px;
  margin: 0 0 28px;
  color: #453d34;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
}
.hero-note {
  max-width: 520px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 16px;
}
.hero-cta { min-width: 390px; min-height: 66px; border-radius: 12px; font-size: 20px; }
.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(260px, 1fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px) 0;
}
.vertical-reel {
  position: relative;
  height: clamp(470px, 48vw, 640px);
  overflow: hidden;
  border: 1px solid rgba(130, 92, 48, .16);
  border-radius: 32px;
  background: #d9cdbd;
  box-shadow: 0 28px 70px rgba(76, 53, 25, .14);
}
.vertical-reel::before,
.vertical-reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 90px;
  pointer-events: none;
}
.vertical-reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(23,19,15,.28), transparent);
}
.vertical-reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(23,19,15,.34), transparent);
}
.vertical-reel-track {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .85s cubic-bezier(.2, .75, .18, 1);
  will-change: transform;
}
.vertical-reel-slide {
  min-height: 100%;
  margin: 0;
}
.vertical-reel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 19, 15, .42);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.coffee-card {
  position: relative;
  min-height: clamp(380px, 43vw, 560px);
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(130, 92, 48, .14);
  background:
    radial-gradient(circle at 45% 25%, rgba(255,255,255,.78), transparent 20rem),
    linear-gradient(180deg, rgba(255,253,248,.85), rgba(248,238,222,.92));
  box-shadow: var(--shadow);
}
.coffee-card img {
  position: absolute;
  inset: -7% -8% 16% -8%;
  width: 116%;
  height: 92%;
  object-fit: cover;
  object-position: center;
}
.coffee-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 26px;
  color: #2d241b;
  background: linear-gradient(180deg, transparent, rgba(255,253,248,.92) 28%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.tariff-band { padding: 0 0 64px; }
.tariff-card {
  width: min(100%, 1190px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.tariff-item {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.tariff-item:last-child { border-right: 0; }
.tariff-item svg, .step-card svg, .benefit-item svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tariff-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 400;
}
.tariff-item span { color: var(--muted); font-size: 16px; }

.section { padding: 34px 0 58px; }
.section h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
}
.step-card {
  position: relative;
  min-height: 292px;
  padding: 28px 22px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 42px rgba(76, 53, 25, .045);
}
.step-card:not(:last-child)::after {
  content: "····›";
  position: absolute;
  top: 50%;
  right: -46px;
  transform: translateY(-50%);
  color: rgba(179,122,54,.38);
  letter-spacing: 5px;
  font-size: 26px;
}
.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: -6px 0 22px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: #f7ead8;
  font-size: 25px;
  font-weight: 800;
}
.step-card svg { width: 46px; height: 46px; margin-bottom: 22px; }
.step-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }

.benefits-card, .faq-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.benefits-card h2, .faq-card h2 { margin-bottom: 28px; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
}
.benefit-item svg { width: 34px; height: 34px; flex: 0 0 auto; }
.benefit-item span { font-size: 16px; }
.benefit-item b { color: var(--gold-dark); font-weight: 900; }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  overflow: hidden;
  border: 1px solid rgba(130,92,48,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.faq-question {
  position: relative;
  width: 100%;
  padding: 19px 54px 19px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 24px 18px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin: 0; }

.site-footer {
  margin-top: 40px;
  padding: 46px 0 26px;
  border-top: 1px solid rgba(179,122,54,.08);
  background: rgba(255,253,248,.9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .75fr 1fr 1.1fr;
  gap: 62px;
}
.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 16px;
}
.footer-grid p, .footer-grid a {
  display: block;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-contact { color: var(--ink) !important; }
.copyright { margin: 32px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28, 22, 17, .48);
  backdrop-filter: blur(10px);
}
.modal-overlay.active { display: flex; }
.modal {
  position: relative;
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(18, 12, 8, .24);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f5eadb;
  color: var(--gold-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.04em;
}
.modal form { display: grid; gap: 16px; }
.modal label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.modal input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  outline: none;
}
.modal input:focus { border-color: rgba(179,122,54,.55); box-shadow: 0 0 0 4px rgba(179,122,54,.12); }
.modal-submit { margin-top: 6px; min-height: 54px; }
.period-field {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}
.period-field legend {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.period-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.period-option {
  position: relative;
  display: block !important;
  color: var(--ink) !important;
  cursor: pointer;
}
.period-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.period-option span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.period-option input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #f5a336, #e38314);
  box-shadow: 0 10px 22px rgba(227, 131, 20, .22);
}
.modal-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(179,122,54,.18);
  border-radius: 14px;
  background: #fff8ed;
}
.modal-total span { color: var(--muted); font-size: 13px; }
.modal-total strong {
  grid-row: span 2;
  align-self: center;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-dark);
  font-size: 30px;
  font-weight: 400;
}
.modal-total small { color: var(--muted); }

.status-page {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  padding: 72px 0;
}
.status-card {
  max-width: 780px;
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.status-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #f7ead8;
}
.status-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.status-icon-error { background: #f8e5dd; }
.status-card h1 {
  max-width: 650px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 5vw, 58px);
}
.status-card p {
  max-width: 610px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}
.status-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 30px;
}
.status-steps span {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  color: #3c332a;
  font-size: 14px;
}
.status-btn { display: inline-block; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; height: auto; padding: 18px 0; }
  .nav-links { order: 3; grid-column: 1 / -1; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { grid-template-columns: .9fr 1.1fr; padding-top: 0; }
  .vertical-reel { height: 520px; }
  .tariff-card, .steps-grid, .benefits-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .status-steps { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1280px); }
  .header-cta { display: none; }
  .logo { font-size: 31px; }
  .nav-links { gap: 18px; font-size: 14px; }
  .hero-copy { padding: 34px 22px; }
  h1 { font-size: 42px; }
  .hero-cta { min-width: 100%; }
  .hero-showcase { grid-template-columns: 1fr; }
  .vertical-reel { height: 430px; border-radius: 24px; }
  .coffee-card { min-height: 390px; border-radius: 24px; }
  .period-options { grid-template-columns: 1fr 1fr; }
  .tariff-card, .steps-grid, .benefits-grid, .footer-grid { grid-template-columns: 1fr; }
  .tariff-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .tariff-item:last-child { border-bottom: 0; }
  .section { padding: 26px 0 42px; }
}
