:root {
  --orange-500: #ff6b35;
  --orange-600: #e55a2b;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --max: 80rem;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

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

.hidden {
  display: none !important;
}

.page {
  min-height: 100vh;
  background: var(--white);
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.menu-open .header {
  background: transparent;
  box-shadow: none;
}

body.menu-open .brand {
  visibility: hidden;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.25rem 1rem;
}

@media (min-width: 640px) {
  .header-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .header-inner { padding-left: 2rem; padding-right: 2rem; }
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.brand-btn {
  outline: none;
}

.brand h1,
.mobile-brand h1,
.footer-brand h3 {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: #000;
}

.brand h1 {
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .brand h1 { font-size: 1.5rem; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  position: relative;
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--orange-500);
}

.nav-link--active {
  color: #000;
}

.nav-link--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--orange-500);
}

.nav-allegro {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  color: var(--orange-500);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-allegro:hover {
  color: var(--orange-600);
}

.nav-mobile-toggle-wrap {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-mobile-toggle-wrap { display: none; }
}

.menu-toggle {
  color: #000;
  z-index: 70;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle-box {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.menu-toggle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  display: block;
}

.menu-toggle .icon-close {
  color: #fff;
}

.menu-toggle .is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.menu-open .menu-toggle {
  color: #fff;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 100dvh;
  width: 100%;
  background: #fff;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-overlay {
  opacity: 1;
}

.mobile-menu.is-open .mobile-panel {
  transform: translateX(0);
  opacity: 1;
}

.mobile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mobile-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mobile-bg-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.mobile-brand {
  position: relative;
  z-index: 10;
  padding: 1.5rem 1rem;
}

.mobile-brand h1 {
  color: #fff;
  font-size: 1.25rem;
}

.mobile-links {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 1.5rem;
}

.mobile-link {
  font-size: 1.875rem;
  font-weight: 300;
  color: #e5e7eb;
  transition: color 0.2s, transform 0.15s;
}

.mobile-link:active {
  transform: scale(0.95);
}

.mobile-link:hover {
  color: var(--orange-500);
}

.mobile-link--active {
  color: var(--orange-500);
  font-weight: 500;
}

.mobile-allegro {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--orange-500);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 64px;
  background: #fff;
}

.hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 500px;
}

@media (min-width: 768px) {
  .hero-media {
    aspect-ratio: 1920 / 1440;
    min-height: 0;
  }
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .hero-content { padding-left: 2rem; padding-right: 2rem; }
}

.hero-title {
  margin: 0 0 0.15rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
}

.br-mobile { display: block; }

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
    margin-bottom: 0.2rem;
  }
  .br-mobile { display: none; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

.hero-price {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--orange-500);
  margin: 0 0 0.35rem;
  letter-spacing: 0.025em;
  line-height: 1.1;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0 4px 6px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .hero-price {
    font-size: 3rem;
    margin-bottom: 0.45rem;
  }
}

.hero-lead {
  font-size: 1rem;
  color: #e5e7eb;
  margin: 0 auto 1.75rem;
  line-height: 1.4;
  max-width: 36rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-lead { font-size: 1.25rem; }
}

.btn-cta {
  background: var(--orange-500);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}

.btn-cta:hover {
  background: var(--orange-600);
  transform: scale(1.05);
}

.btn-cta span {
  display: inline-block;
  transition: transform 0.2s;
}

.btn-cta:hover span {
  transform: scale(0.95);
}

@media (min-width: 640px) {
  .btn-cta {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-white { background: #fff; }
.section-muted { background: var(--gray-50); }

.section-title {
  margin: 0 0 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
}

.section-title--normal {
  text-transform: none;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head--wide {
  margin-bottom: 4rem;
}

.section-sub {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

.promo {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange-500);
}

@media (min-width: 640px) {
  .promo { font-size: 1.25rem; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-media {
    order: -1;
  }
}

.about-copy p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.625;
  margin: 0 0 1.5rem;
}

.stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat { text-align: center; }

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--orange-500);
}

.stat-label { color: var(--gray-600); }

.about-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.offer-banner {
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.offer-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: center;
}

.card p {
  margin: 0;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.625;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.form-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-card h3 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.honeypot {
  display: none !important;
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  outline: none;
  font-size: 1rem;
}

.field input:focus,
.field textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--orange-500);
}

.alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  color: #16a34a;
  background: #f0fdf4;
}

.alert-error {
  color: #dc2626;
  background: #fef2f2;
}

.btn-submit {
  width: 100%;
  background: var(--orange-500);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, opacity 0.2s;
}

.btn-submit:hover:not(:disabled) {
  background: var(--orange-600);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spin {
  animation: spin 1s linear infinite;
}

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

.contact-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .info-row {
    flex-direction: row;
  }
}

.info-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-card h4 {
  margin: 0;
  font-weight: 600;
  color: var(--gray-900);
}

.info-card p {
  margin: 0;
  color: var(--gray-600);
}

.cta-box {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2rem;
}

.cta-box h4 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.cta-box p {
  margin: 0 0 1.5rem;
  color: var(--gray-600);
}

.btn-allegro {
  background: var(--orange-500);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.btn-allegro:hover {
  background: var(--orange-600);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: #fff;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer p {
  color: var(--gray-400);
  line-height: 1.625;
  margin: 0;
}

.footer h4 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--orange-500);
}

.footer-copy {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
}

.footer-copy p { margin: 0; }

/* Scroll reveals */
.reveal-left,
.reveal-up,
.reveal-scale,
.reveal-flip {
  opacity: 0;
}

.reveal-left {
  transform: translateX(-200px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.reveal-up {
  transform: translateY(50px);
  transition: transform 0.8s ease, opacity 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-scale {
  transform: scale(0.95);
  transition: transform 0.8s ease, opacity 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-flip {
  transform: perspective(800px) rotateY(90deg);
  transition: transform 0.8s ease, opacity 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.is-visible.reveal-left,
.is-visible.reveal-up,
.is-visible.reveal-scale,
.is-visible.reveal-flip {
  opacity: 1;
  transform: none;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
