:root {
  --primary: #1a4d2e;
  --primary-light: #2a6b3e;
  --highlight: #3d8b5c;
  --bg-gray: #f5f5f5;
  --bg-white: #ffffff;
  --text: #222;
  --text-muted: #555;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(26, 77, 46, 0.08);
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

.btn { display: inline-block; padding: 12px 24px; font-family: var(--font); font-size: 1rem; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: background 0.2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; text-decoration: none; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.header { background: #1a4d2e; padding: 14px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.95); font-size: 1rem; font-weight: 600; }
.logo:hover { color: #fff; text-decoration: none; }
.logo-img { max-height: 72px; width: auto; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav-link { color: rgba(255, 255, 255, 0.95); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.nav-link:hover { color: #fff; text-decoration: underline; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0; background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; }

.hero { padding: 60px 0 80px; background: var(--bg-white); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-title { margin: 0 0 24px; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: var(--primary); line-height: 1.3; }
.hero-title .flag-underline { text-decoration: none; border-bottom: 3px solid transparent; border-image: linear-gradient(to right, #000 0%, #000 33.33%, #DD0000 33.33%, #DD0000 66.66%, #FFCC00 66.66%, #FFCC00 100%) 1; padding-bottom: 1px; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag { display: inline-block; padding: 8px 14px; background: #e8f5e9; color: var(--primary); font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(26, 77, 46, 0.2); border-radius: 999px; }
.trust-badges { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-badges .badges-img { height: 72px; width: auto; object-fit: contain; margin-right: 8px; }
.hero-visual { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.hero-side-image { width: 100%; max-height: 400px; height: auto; object-fit: contain; border-radius: var(--radius); }

.section { padding: 64px 0; background: var(--bg-white); }
.section-gray { background: var(--bg-gray); }
.section-title { margin: 0 0 16px; font-size: clamp(1.5rem, 3vw, 1.85rem); font-weight: 700; color: var(--primary); }
.section-lead { max-width: 1080px; margin: 0 auto 12px; color: var(--text-muted); font-size: 1.05rem; }
.section-lead + .section-lead { margin-bottom: 28px; }
.payment-methods { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.payment-methods img { height: 28px; width: auto; object-fit: contain; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto 40px; text-align: left; }
.benefit-card { background: var(--primary); color: #fff; padding: 28px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; font-size: 1.2rem; font-weight: 700; }
.benefit-title { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.benefit-text { margin: 0; font-size: 0.95rem; opacity: 0.95; line-height: 1.5; }

.doc-section { padding: 56px 0; }
.doc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.doc-block-reverse .doc-media { order: 2; }
.doc-block-reverse .doc-content { order: 1; }
.doc-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #e8e8e8; min-height: 220px; }
.doc-media .img-placeholder { display: none; padding: 20px; color: var(--text-muted); font-size: 0.9rem; text-align: center; }
.doc-media.placeholder .img-placeholder { display: block; }
.doc-media.placeholder img { display: none; }
.doc-media img { width: 100%; height: auto; object-fit: cover; }
.doc-img-crop { width: 100%; height: 220px; object-fit: cover; object-position: center; }
.doc-title { margin: 0 0 16px; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.doc-content p { margin: 0 0 16px; color: var(--text-muted); line-height: 1.65; }
.link-more { font-weight: 600; color: var(--highlight); }
.link-more:hover { text-decoration: underline; }

.faq-section .section-lead { margin-bottom: 32px; }
.faq-list { max-width: 720px; margin: 0 auto 40px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; padding: 18px 20px; text-align: left; font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--primary); background: var(--bg-white); border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-question:hover { background: var(--bg-gray); }
.faq-question::after { content: ''; width: 12px; height: 12px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform 0.25s; flex-shrink: 0; margin-left: 12px; }
.faq-item.is-open .faq-question::after { transform: rotate(-135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { margin: 0; padding: 0 20px 20px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; border-left: 3px solid var(--highlight); margin-left: 20px; padding-left: 16px; }

.footer { background: var(--bg-gray); padding: 24px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.copyright { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.footer-links { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.footer-links .sep { color: var(--border); user-select: none; }

.modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); cursor: pointer; }
.modal-box { position: relative; background: var(--bg-white); max-width: 560px; width: 100%; max-height: 85vh; overflow-y: auto; border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); padding: 28px 32px 32px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0; font-size: 1.5rem; line-height: 1; color: var(--text-muted); background: none; border: none; cursor: pointer; }
.modal-close:hover { color: var(--text); }
.modal-title { margin: 0 0 16px; font-size: 1.35rem; color: var(--primary); }
.modal-body { font-size: 0.95rem; line-height: 1.6; color: var(--text); }
.modal-body p { margin: 0 0 12px; }
.no-copy { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.no-copy * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
@media print { .modal, .modal * { display: none !important; visibility: hidden !important; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; }
  .doc-tags { justify-content: center; }
  .trust-badges { justify-content: center; }
  .benefits-grid { grid-template-columns: 1fr; }
  .doc-block, .doc-block-reverse { grid-template-columns: 1fr; }
  .doc-block-reverse .doc-media, .doc-block-reverse .doc-content { order: unset; }
  .doc-media { min-height: 200px; }
}
@media (max-width: 600px) {
  .menu-toggle { display: flex; }
  .nav-link { display: none; }
  .hero { padding: 40px 0 56px; }
  .section, .doc-section { padding: 40px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
