/* =============================================
   gsmdoplata.mom — Polish GSM Top-Up Guide
   Violet #2D1B69 | Gold #F0A500 | White #FFF
   ============================================= */

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

:root {
  --violet:   #2D1B69;
  --violet2:  #3f2a8f;
  --violet3:  #1a0f42;
  --gold:     #F0A500;
  --gold2:    #d49000;
  --white:    #FFFFFF;
  --bg:       #F8F7FC;
  --bg2:      #EFEDF8;
  --text:     #1C1830;
  --muted:    #5E5A7A;
  --border:   #D9D5F0;
  --card:     #FFFFFF;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(45,27,105,0.11);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--violet3);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.28);
}

.hdr-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}

.site-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }

.brand-gem {
  width: 38px; height: 38px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: flex; align-items: center; justify-content: center;
}

.brand-gem span { font-size: 0.75rem; font-weight: 900; color: var(--violet3); }

.brand-name { color: #fff; font-size: 1.08rem; font-weight: 700; letter-spacing: 0.04em; }

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

.site-nav a {
  color: rgba(255,255,255,0.78); text-decoration: none;
  font-size: 0.87rem; font-weight: 500;
  padding: 6px 13px; border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover { color: #fff; background-color: rgba(255,255,255,0.1); }

.nav-cta {
  background: var(--gold) !important; color: var(--violet3) !important;
  font-weight: 700 !important; border-radius: 6px !important;
  padding: 7px 18px !important;
}
.nav-cta:hover { background: var(--gold2) !important; color: var(--violet3) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; }

/* ── HERO ── */
.hero {
  background: var(--violet);
  position: relative; overflow: hidden;
  padding: 96px 24px 80px;
}

.hero-bg-shape {
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,0.18) 0%, transparent 70%);
}

.hero-bg-shape2 {
  position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,0.15); border: 1px solid rgba(240,165,0,0.4);
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 18px; border-radius: 20px; margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 900;
  color: #fff; line-height: 1.18; margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }

.hero p { font-size: 1.08rem; color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto 38px; }

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-gold {
  display: inline-block; background: var(--gold); color: var(--violet3);
  text-decoration: none; font-weight: 800; font-size: 0.97rem;
  padding: 13px 34px; border-radius: 8px;
  transition: background-color 0.2s;
}
.btn-gold:hover { background: var(--gold2); }

.btn-ghost {
  display: inline-block; border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.88); text-decoration: none;
  font-weight: 600; font-size: 0.97rem;
  padding: 11px 28px; border-radius: 8px;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.btn-ghost:hover { border-color: #fff; color: #fff; background-color: rgba(255,255,255,0.08); }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--bg2); border-bottom: 1px solid var(--border); }

.trust-inner {
  max-width: 1160px; margin: 0 auto; padding: 22px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}

.trust-item { text-align: center; }
.trust-num { font-size: 1.7rem; font-weight: 800; color: var(--violet); display: block; }
.trust-lbl { font-size: 0.8rem; color: var(--muted); }

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section.bg-soft { background: var(--bg); }
.section.bg-violet { background: var(--violet); }
.section.bg-dark { background: var(--violet3); }

.sec-inner { max-width: 1160px; margin: 0 auto; }

.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.77rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--gold); margin-bottom: 12px;
}
.sec-eyebrow::before { content: ''; display: block; width: 22px; height: 3px; background: var(--gold); border-radius: 2px; }

.sec-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800;
  color: var(--violet); margin-bottom: 14px; line-height: 1.25;
}
.bg-violet .sec-title,
.bg-dark .sec-title { color: #fff; }

.sec-lead { font-size: 1.03rem; color: var(--muted); max-width: 640px; margin-bottom: 48px; }
.bg-violet .sec-lead,
.bg-dark .sec-lead { color: rgba(255,255,255,0.68); }

/* ── INTRO SPLIT ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.intro-text h2 { font-size: 1.7rem; font-weight: 800; color: var(--violet); margin-bottom: 18px; }
.intro-text p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }

.check-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }

.ck-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 900; color: var(--violet3);
}

.ck-body strong { display: block; font-size: 0.95rem; color: var(--violet); margin-bottom: 1px; }
.ck-body span { font-size: 0.87rem; color: var(--muted); }

/* panel */
.intro-panel {
  background: var(--violet); border-radius: 16px; padding: 36px 30px;
  color: #fff; position: relative; overflow: hidden;
}
.intro-panel::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(240,165,0,0.14);
}
.panel-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 18px; }

.panel-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 12px;
  position: relative; z-index: 1;
}
.panel-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.panel-dot.active { background: #4ade80; }
.panel-dot.pay  { background: #60a5fa; }
.panel-dot.sms  { background: var(--gold); }

.panel-row span { font-size: 0.9rem; font-weight: 500; }
.panel-row .badge { margin-left: auto; font-size: 0.72rem; background: rgba(240,165,0,0.25); color: var(--gold); border-radius: 8px; padding: 2px 8px; font-weight: 700; }

/* ── METHODS ── */
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.method-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.method-card:hover { box-shadow: var(--shadow); border-color: var(--violet2); transform: translateY(-3px); }

.mc-icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--violet), var(--violet2));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

.method-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--violet); margin-bottom: 8px; }
.method-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.mc-tag {
  display: inline-block; margin-top: 14px;
  font-size: 0.73rem; font-weight: 700;
  background: var(--bg2); color: var(--violet);
  padding: 3px 10px; border-radius: 10px;
}

/* ── AMOUNTS ── */
.amounts-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }

.amounts-info h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.amounts-info p { font-size: 0.93rem; color: rgba(255,255,255,0.68); margin-bottom: 14px; }

.amounts-table {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; overflow: hidden;
}

.at-head {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  background: rgba(240,165,0,0.18); padding: 13px 20px;
  font-size: 0.77rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold);
}

.at-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.91rem; color: rgba(255,255,255,0.85);
  transition: background-color 0.15s;
}
.at-row:hover { background: rgba(255,255,255,0.05); }
.at-row strong { color: #fff; font-weight: 700; }
.at-row .valid { color: #4ade80; font-weight: 600; }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.steps { display: flex; flex-direction: column; gap: 28px; }

.step-item { display: flex; gap: 20px; align-items: flex-start; }

.step-circle {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); color: var(--violet3);
  font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}

.step-body h4 { font-size: 1rem; font-weight: 700; color: var(--violet); margin-bottom: 4px; }
.step-body p  { font-size: 0.89rem; color: var(--muted); }

.tip-box {
  background: var(--bg2); border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 20px 22px; margin-bottom: 16px;
}
.tip-box h4 { font-size: 0.97rem; font-weight: 700; color: var(--violet); margin-bottom: 5px; }
.tip-box p  { font-size: 0.87rem; color: var(--muted); }

/* ── FAQ ── */
.faq-wrap { max-width: 800px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-size: 0.99rem; font-weight: 600; color: var(--violet);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold2); }

.faq-toggle {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--muted);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.faq-item.open .faq-toggle { background: var(--gold); border-color: var(--gold); color: var(--violet3); }

.faq-a {
  font-size: 0.93rem; color: var(--muted); line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 280px; padding-bottom: 20px; }

/* ── RESOURCES ── */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.res-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius); padding: 24px 20px;
  text-decoration: none; display: block;
  transition: background-color 0.2s, border-color 0.2s;
}
.res-card:hover { background: rgba(255,255,255,0.13); border-color: rgba(240,165,0,0.4); }
.res-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.res-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.58); }

/* ── LEGAL / AGB ── */
.legal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }

.legal-block h3 {
  font-size: 1rem; font-weight: 700; color: var(--violet);
  padding-bottom: 7px; margin-bottom: 12px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.legal-block p, .legal-block ul { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
.legal-block ul { padding-left: 18px; }
.legal-block ul li { margin-bottom: 5px; }

/* ── CONTACT ── */
.form-wrap { max-width: 660px; margin: 0 auto; text-align: center; }
.form-wrap .sec-title { text-align: center; }
.form-wrap .sec-lead  { text-align: center; margin: 0 auto 36px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }

.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-field.full { grid-column: 1 / -1; }

.f-field label { font-size: 0.8rem; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 0.07em; }

.f-field input,
.f-field textarea {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; font-family: inherit;
  color: var(--text); background: #fff; outline: none;
  transition: border-color 0.2s;
}
.f-field input:focus,
.f-field textarea:focus { border-color: var(--violet); }
.f-field textarea { resize: vertical; min-height: 108px; }

.f-submit { grid-column: 1 / -1; margin-top: 8px; text-align: center; }
.f-submit button {
  background: var(--violet); color: #fff; border: none;
  padding: 14px 46px; font-size: 1rem; font-weight: 700;
  border-radius: 8px; cursor: pointer; transition: background-color 0.2s;
}
.f-submit button:hover { background: var(--gold); color: var(--violet3); }

.f-note { grid-column: 1 / -1; font-size: 0.77rem; color: var(--muted); text-align: center; }

.form-ok {
  display: none; background: #e8f5e9; color: #2e7d32;
  padding: 14px 20px; border-radius: 8px; font-size: 0.95rem;
  margin-top: 16px; text-align: center;
}

/* ── FOOTER ── */
.site-footer { background: var(--violet3); color: rgba(255,255,255,0.6); }

.footer-top {
  max-width: 1160px; margin: 0 auto; padding: 54px 24px 38px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}

.fa-brand { color: #fff; font-size: 1rem; font-weight: 700; display: block; margin-bottom: 12px; }
.fa-desc  { font-size: 0.87rem; line-height: 1.75; max-width: 250px; }
.fa-contact { margin-top: 18px; font-size: 0.84rem; line-height: 1.9; }
.fa-contact a { color: rgba(255,255,255,0.52); text-decoration: none; transition: color 0.2s; }
.fa-contact a:hover { color: #fff; }

.fc-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.38); margin-bottom: 14px; }
.fc-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; margin-bottom: 10px; transition: color 0.2s; }
.fc-col a:hover { color: #fff; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; padding: 18px 24px;
  font-size: 0.79rem; color: rgba(255,255,255,0.32);
}
.footer-bar a { color: rgba(255,255,255,0.42); text-decoration: none; margin: 0 8px; transition: color 0.2s; }
.footer-bar a:hover { color: #fff; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .intro-grid    { grid-template-columns: 1fr; gap: 32px; }
  .how-grid      { grid-template-columns: 1fr; gap: 36px; }
  .methods-grid  { grid-template-columns: 1fr 1fr; }
  .amounts-layout{ grid-template-columns: 1fr; gap: 32px; }
  .legal-cols    { grid-template-columns: 1fr; gap: 28px; }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 28px; }
  .trust-inner   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--violet3); padding: 14px; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .site-nav.open a { padding: 10px 14px; }
  .hamburger { display: flex; }
  .methods-grid { grid-template-columns: 1fr; }
  .at-head, .at-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .at-head > *:nth-child(3),
  .at-row  > *:nth-child(3) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .res-grid  { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
