/* Priority Vending Services — Rebuild
   Faithful recreation of the original Wix-built site
*/

:root {
  --brand-red: #E8001D;
  --brand-red-dark: #c40018;
  --black: #0d0d0d;
  --white: #ffffff;
  --text: #0d0d0d;
  --muted: #555555;
  --border: #e6e6e6;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Mulish', 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Mulish', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand img {
  height: 110px;
  width: auto;
}
.brand-text h1 {
  font-size: 30px;
  margin: 0;
  line-height: 1.05;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--black);
}
.brand-text small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  display: block;
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
  position: relative;
  transition: color .2s;
  font-family: 'Mulish', sans-serif;
}
.nav a:hover { color: var(--brand-red); }
.nav a.active { color: var(--black); font-weight: 700; }

.socials {
  display: flex;
  gap: 14px;
  margin-left: 16px;
}
.socials a {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: color .2s, transform .2s;
}
.socials a:hover { color: var(--brand-red); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--black);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-band {
  background: var(--brand-red);
  color: var(--white);
  padding: 110px 24px 120px;
  text-align: center;
}
.hero-band h2 {
  font-size: clamp(48px, 9vw, 130px);
  margin: 0 auto 18px;
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 1400px;
}
.hero-band p {
  font-size: clamp(16px, 1.6vw, 22px);
  margin: 0 auto 36px;
  opacity: 0.95;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all .25s ease;
  font-family: 'Mulish', sans-serif;
}
.btn:hover {
  background: var(--white);
  color: var(--brand-red);
}
.btn-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-dark:hover {
  background: var(--black);
  color: var(--white);
}
.btn-red {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
  color: var(--white);
}
.btn-outline-red {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: transparent;
}
.btn-outline-red:hover {
  background: var(--brand-red);
  color: var(--white);
}

/* ---------- Section base ---------- */
section { padding: 90px 0; }
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  color: var(--brand-red);
  margin-bottom: 10px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* ---------- Our Machines ---------- */
.machines-section { padding: 90px 0 0; }
.machines-section .container-wide { max-width: 100%; padding: 0; }
.machines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.machine-card {
  position: relative;
  text-align: center;
}
.machine-card .img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f5f5f5;
  margin: 0;
  position: relative;
}
.machine-card .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.machine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.machine-card:hover img { transform: scale(1.04); }
.machine-card h3 {
  position: absolute;
  left: 0; right: 0;
  bottom: 22px;
  z-index: 2;
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  padding: 0 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.machine-desc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: var(--white);
  padding: 56px 32px 0;
  max-width: 1320px;
  margin: 0 auto;
}
.machine-desc p {
  color: var(--muted);
  font-size: 16px;
  text-align: center;
  margin: 0;
}

/* ---------- Features (split 50/50: red | black) ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.features-left {
  background: var(--brand-red);
  color: var(--white);
  padding: 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features-left h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  margin: 0 0 48px;
  text-align: center;
  letter-spacing: -0.01em;
}
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
}
.feature-item {
  text-align: center;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.feature-icon svg {
  width: 100%; height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.feature-item h3 {
  font-size: 19px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0;
}
.feature-item p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
  font-weight: 400;
}
.features-right {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.features-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Who We Are ---------- */
.who-we-are {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 40px;
  align-items: center;
}
.who-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 6px;
}
.who-img img { width: 100%; height: 100%; object-fit: cover; }
.who-card {
  background: var(--brand-red);
  color: var(--white);
  padding: 60px 50px;
  border-radius: 8px;
  text-align: center;
}
.who-card h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--white);
  margin-bottom: 22px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.who-card p {
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.65;
}
.who-card .btn { margin-top: 12px; }

/* ---------- Who We Service (RED background, white circle logos) ---------- */
.who-service {
  background: var(--brand-red);
  color: var(--white);
}
.who-service .section-head h2 { color: var(--white); }
.who-service .section-head p { color: rgba(255,255,255,0.9); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  align-items: center;
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.client-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.client-circle:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.client-circle img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.and-more {
  text-align: center;
  margin-top: 44px;
  font-style: italic;
  color: var(--white);
  font-size: 19px;
  font-weight: 500;
}

/* ---------- Contact form ---------- */
.contact {
  background: var(--black);
  color: var(--white);
}
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: rgba(255,255,255,0.7); }
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1.5px solid #444;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  border-radius: 0;
  transition: border-color .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brand-red);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button {
  justify-self: center;
  margin-top: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 50px 24px 32px;
  text-align: center;
}
.footer-brand {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
  margin-bottom: 16px;
  color: var(--black);
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--muted);
}
.footer-info a:hover { color: var(--brand-red); }
.site-footer .socials {
  justify-content: center;
  margin: 0 0 18px;
}
.copyright {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- About page ---------- */
.page-hero {
  background: var(--brand-red);
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  margin: 0 0 8px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.page-hero p {
  margin: 0;
  font-size: 19px;
  opacity: 0.95;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 620px;
}
.about-block .who-img {
  aspect-ratio: auto;
  border-radius: 0;
  height: 100%;
}
.about-block .about-text-panel {
  background: var(--brand-red);
  color: var(--white);
  padding: 80px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-block h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  color: var(--white);
  margin-bottom: 4px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.about-block .name {
  font-style: italic;
  font-size: 22px;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 500;
  opacity: 0.95;
}
.about-block .about-text-panel p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-block .btn { align-self: flex-start; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-head {
  text-align: center;
  margin-bottom: 60px;
}
.faq-head h1 {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--brand-red);
  margin: 0 0 8px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.faq-head p {
  color: var(--black);
  font-size: 19px;
  margin: 0;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.faq-item {
  text-align: center;
  padding: 0 12px;
}
.faq-q-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--white);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 28px;
}
.faq-item h3 {
  color: var(--brand-red);
  font-size: 20px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  margin: 0 0 10px;
}
.faq-item p {
  color: var(--black);
  font-size: 16px;
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ---------- Contact page ---------- */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card h3 {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}
.contact-info-card .info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.contact-info-card .info-row:last-child { border-bottom: 0; }
.contact-info-card .icon {
  width: 36px; height: 36px;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.contact-info-card .icon svg { width: 16px; height: 16px; fill: currentColor; }

.contact-page .contact-form {
  background: var(--black);
  padding: 32px;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 18px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .socials { margin: 12px 0 0; }
  .menu-toggle { display: block; }

  .machines { grid-template-columns: 1fr; max-width: 100%; margin: 0; }
  .machine-desc { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 0; }
  .features { grid-template-columns: 1fr; }
  .features-right { min-height: 360px; }
  .who-we-are,
  .about-block,
  .contact-page { grid-template-columns: 1fr; gap: 32px; }
  .about-block { min-height: 0; }
  .about-block .about-text-panel { padding: 60px 32px; }
  .features-list { gap: 36px 24px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-circle { width: 150px; height: 150px; padding: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 64px 0; }
  .machines-section { padding: 64px 0 0; }
  .brand-text h1 { font-size: 22px; }
  .brand-text small { font-size: 12px; }
  .brand img { height: 70px; }
  .header-inner { padding: 20px 24px; }
  .who-card { padding: 40px 28px; }
  .hero-band { padding: 70px 24px 80px; }
  .hero-band h2 { font-size: clamp(40px, 11vw, 80px); }
}

@media (max-width: 480px) {
  .client-grid { grid-template-columns: 1fr; max-width: 220px; }
  .features-list { grid-template-columns: 1fr; }
  .hero { height: 50vh; min-height: 320px; }
}
