:root {
  color-scheme: light;
  --bg: #f2f2f2;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #0ea5e9;
  --accent-strong: #0369a1;
  --border: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
  --font-sans: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 120px;
}

main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  width: 100%;
}

main img {
  margin-bottom: 10px;
}

main img:last-child {
  margin-bottom: 0;
}

.order-package-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid transparent;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.order-package-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.order-package-image {
  display: block;
  width: 100%;
  height: auto;
}

.order-package-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.order-package-card.is-selected {
  border-color: #22c55e;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.28);
}

.order-package-card.is-selected .order-package-overlay {
  opacity: 1;
}

.order-package-card:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.5);
  outline-offset: 2px;
}

.order-package-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.order-package-list--grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-package-list-title {
  margin: 22px 4px 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}

.order-package-card--compact {
  padding: 14px 16px;
  background: #ffffff;
}

.order-package-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.order-package-compact-main {
  display: grid;
  gap: 4px;
}

.order-package-compact-label {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.order-package-compact-description {
  font-size: 12px;
  color: #64748b;
}

.order-package-compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.order-package-compact-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.order-package-compact-badge.is-free {
  background: #dcfce7;
  color: #15803d;
}

.order-package-compact-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
  min-width: 92px;
}

.order-package-compact-list {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.order-package-compact-current {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

@media (max-width: 640px) {
  .order-package-compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-package-compact-price {
    align-self: flex-end;
  }
}

.order-price-summary {
  display: grid;
  gap: 7px;
  padding: 10px 16px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 100%);
  border: 1px solid #bfdbfe;
}

.order-price-summary.is-hidden {
  display: none;
}

.order-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-price-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.order-price-amount {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.order-price-divider {
  height: 1px;
  background: #bfdbfe;
  margin: 1px 0;
}

.order-price-row--total .order-price-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.order-price-amount--total {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.order-price-free-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.order-price-amount {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-price-list {
  font-size: 10px;
  font-weight: 400;
  color: #b0bec5;
  text-decoration: line-through;
}

.order-price-current {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.order-form-card {
  margin: 24px auto 0;
  width: 100%;
  max-width: 760px;
  background: #f7f9fc;
  border: 1px solid #dbe4f0;
  border-radius: 22px;
  padding: 28px 22px 24px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.order-form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  margin-bottom: 12px;
}

.order-form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.order-form-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
}

.order-form-subtitle {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.order-form {
  display: grid;
  gap: 6px;
}

.order-form-field {
  display: grid;
  gap: 2px;
}

.order-form-error {
  display: none;
  margin: 0 4px 0;
  font-size: 11px;
  line-height: 1.3;
  color: #dc2626;
}

.order-form-error.is-visible {
  display: block;
}

.order-form-input.is-invalid {
  border-color: #ef4444;
  background: #fff7f7;
}

.order-form-checkbox.is-invalid {
  color: #dc2626;
}

.order-form-summary {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: #eef3f9;
  border: 1px solid #d7e2ef;
  color: #0f172a;
  font-weight: 600;
}

.order-form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d7e2ef;
  background: #f9fbfe;
  font-size: 14px;
  color: #0f172a;
}

.order-form-input::placeholder {
  color: #94a3b8;
}

.order-form-helper {
  margin: 2px 0px 2px 7px;
  font-size: 11px;
  color: #64748b;
}

.order-form-phone {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0;
}

.order-form-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px 0 0 14px;
  border: 1px solid #d7e2ef;
  background: #eef2f7;
  color: #475569;
  font-weight: 600;
}

.order-form-phone-input {
  border-radius: 0 14px 14px 0;
  border-left: 0;
}

.order-form-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #16a34a 50%),
    linear-gradient(135deg, #16a34a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.order-form-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #475569;
}

.order-form-checkbox input {
  margin-top: 3px;
}

.order-form-submit {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.order-form-submit:hover {
  filter: brightness(1.03);
}

.order-form-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.order-form-popup-card {
  width: min(520px, 100%);
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  padding: 20px 18px 16px;
}

.order-form-popup-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 700;
}

.order-form-popup-message {
  margin: 10px 0 0;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.45;
}

.order-form-popup-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.order-form-popup-close {
  margin-top: 14px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.order-form-popup-close:hover {
  filter: brightness(1.05);
}

.legal-page-main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.legal-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 28px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
}

.legal-content h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: #0ea5e9;
  text-decoration: underline;
}

.legal-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.legal-home-button:hover {
  filter: brightness(1.05);
}

.cta-button {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(640px, calc(100% - 24px));
  padding: 14px 18px;
  background: linear-gradient(135deg, #2edb63 0%, #168b36 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid rgba(12, 92, 36, 0.35);
  box-shadow:
    0 18px 42px rgba(255, 255, 255, 0.35),
    0 6px 18px rgba(255, 255, 255, 0.50),
    0 6px 16px rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  z-index: 1000;
}

.cta-button:hover {
  filter: brightness(0.98);
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 70px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #34e27a 0%, #159a3e 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(21, 120, 52, 0.45);
  z-index: 1000;
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
}

.whatsapp-fab:hover {
  filter: brightness(0.98);
}

.whatsapp-fab.is-hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 0;
  padding: 28px 18px 40px;
  background: #fbfbfb;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.footer-inner {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  text-decoration: none;
}

.footer-link:hover {
  color: #0f172a;
}

.footer-contact {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: #475569;
  justify-items: center;
}

.footer-title {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0f172a;
}

.footer-company {
  font-weight: 700;
  color: #0f172a;
}

.footer-text a {
  color: inherit;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    text-align: left;
    justify-items: start;
  }

  .footer-links {
    align-items: center;
    justify-content: flex-start;
  }

  .footer-contact {
    justify-items: start;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
