/* ---------- Base / Variables ---------- */
:root {
  --navy: #1c2b47;
  --navy-dark: #121b2d;
  --navy-soft: #2a3c5e;
  --gold: #c3a06a;
  --gold-light: #e2cda0;
  --cream: #ede9e1;
  --cream-2: #f7f5f1;
  --ink: #20242c;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(18, 27, 45, 0.12);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section {
  padding: 96px 0;
}

.section-cream { background: var(--cream-2); }
.section-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream-2);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(237, 233, 225, 0.85); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header p { color: #52596b; }
.section-navy .section-header p { color: rgba(237, 233, 225, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 8px 20px rgba(195, 160, 106, 0.4); }

.btn-outline {
  background: transparent;
  border-color: rgba(237, 233, 225, 0.5);
  color: inherit;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); box-shadow: 0 8px 20px rgba(28, 43, 71, 0.3); }

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 43, 71, 0.08);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled { box-shadow: 0 4px 20px rgba(18, 27, 45, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; }
.logo-link img { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream-2);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 160, 106, 0.18) 0%, rgba(195, 160, 106, 0) 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); }

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(237, 233, 225, 0.85);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(237, 233, 225, 0.7);
}

/* Decorative vending machine illustration */
.machine-illustration {
  justify-self: center;
  width: 260px;
  background: linear-gradient(145deg, #232f45, #16202f);
  border: 2px solid rgba(195, 160, 106, 0.35);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.machine-screen {
  background: rgba(237, 233, 225, 0.06);
  border: 1px solid rgba(195, 160, 106, 0.25);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.machine-slot {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  opacity: 0.9;
  animation: glow 3.5s ease-in-out infinite;
}
.machine-slot:nth-child(2n) { background: linear-gradient(145deg, #e7e2d8, #c9c2b3); animation-delay: 0.4s; }
.machine-slot:nth-child(3n) { animation-delay: 0.9s; }
.machine-slot:nth-child(4n) { background: linear-gradient(145deg, var(--gold), var(--navy-soft)); animation-delay: 1.3s;}

@keyframes glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.94); }
}

.machine-pay {
  height: 34px;
  border-radius: 8px;
  background: rgba(195, 160, 106, 0.15);
  border: 1px dashed rgba(195, 160, 106, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.machine-slot-out {
  height: 20px;
  border-radius: 6px;
  background: rgba(0,0,0,0.35);
}

/* ---------- Feature strip ---------- */
.feature-strip {
  background: var(--white);
  border-top: 1px solid rgba(28,43,71,0.06);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 8px 4px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg { width: 26px; height: 26px; stroke: var(--navy); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: #565d70; font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s ease;
}
.product-card:hover { transform: translateY(-6px); }

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-icon svg { width: 26px; height: 26px; stroke: var(--gold-light); }

.product-card h3 { font-size: 1.3rem; }
.product-card p { color: #565d70; margin-bottom: 18px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
}

/* ---------- Host section ---------- */
.host-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.host-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
}

.host-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.host-list svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  stroke: var(--gold);
  margin-top: 3px;
}

.host-list strong { color: var(--white); display: block; margin-bottom: 2px; }
.host-list span { color: rgba(237, 233, 225, 0.75); font-size: 0.93rem; }

.host-panel {
  background: rgba(237, 233, 225, 0.06);
  border: 1px solid rgba(195, 160, 106, 0.25);
  border-radius: var(--radius);
  padding: 40px;
}

.host-panel h3 { color: var(--white); }
.host-panel .panel-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.panel-types .panel-type:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.panel-type {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(195,160,106,0.2);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(237, 233, 225, 0.9);
  font-weight: 600;
}

/* ---------- About strip ---------- */
.about-strip {
  background: var(--cream);
  padding: 64px 0;
  text-align: center;
}
.about-strip .eyebrow { color: var(--navy-soft); }
.about-strip p { max-width: 720px; margin: 0 auto; color: #4a5064; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: #565d70; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-weight: 600;
}
.contact-detail svg { width: 22px; height: 22px; stroke: var(--gold); flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group { margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dcd7cd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream-2);
  transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.82rem;
  color: #7b8194;
  margin-top: 14px;
}

.form-success {
  display: none;
  background: #eaf5ee;
  border: 1px solid #b9ddc5;
  color: #245a35;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(237, 233, 225, 0.7);
  padding: 56px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(237, 233, 225, 0.1);
}

.footer-brand img { height: 44px; margin-bottom: 12px; }
.footer-brand p { max-width: 280px; font-size: 0.9rem; }

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: rgba(237, 233, 225, 0.75);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .cta-row { justify-content: center; }
  .machine-illustration { justify-self: center; margin-top: 24px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .host-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--cream-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .host-panel { padding: 24px; }
  .contact-form { padding: 24px; }
}
