/* =========================================================
   Open-Boxx — Momentec-style theme
   Black / white / red, condensed uppercase display type,
   pill buttons, full-width bands.
   ========================================================= */
:root {
  --black: #000000;
  --near-black: #0d0d0d;
  --panel: #161616;
  --red: #e0231c;
  --red-dark: #b71c16;
  --white: #ffffff;
  --off: #f4f4f4;
  --grey: #9aa0a6;
  --line: #262626;
  --display: "Archivo", sans-serif;
  --body: "Inter", sans-serif;
  --max: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--white); background: var(--black); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Pill buttons (Momentec style) ---------- */
.pill {
  display: inline-block; padding: 0.65rem 2.2rem; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; transition: 0.15s;
}
.pill-light { background: var(--white); color: var(--black); }
.pill-light:hover { background: var(--black); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.pill-dark { background: var(--black); color: var(--white); }
.pill-dark:hover { background: var(--white); color: var(--black); }
.pill-row { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }

/* ---------- Header ---------- */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.logo { display: flex; flex-direction: column; }
.logo-mark {
  font-family: var(--display); font-weight: 900; font-size: 1.55rem;
  letter-spacing: -0.02em; color: var(--white); white-space: nowrap; line-height: 1;
}
.logo-mark em { font-style: normal; color: var(--red); }
.logo-tag { font-style: italic; font-size: 0.68rem; color: var(--grey); letter-spacing: 0.02em; }

.header-search { flex: 1; display: flex; max-width: 420px; margin-left: auto; }
.header-search input {
  flex: 1; padding: 0.5rem 1.1rem; border: 1px solid var(--line);
  border-right: none; border-radius: 999px 0 0 999px; font: inherit; font-size: 0.88rem;
  background: var(--near-black); color: var(--white);
}
.header-search input::placeholder { color: var(--grey); }
.header-search button {
  padding: 0 1.1rem; border: 1px solid var(--line); border-left: none;
  background: var(--near-black); color: var(--white);
  border-radius: 0 999px 999px 0; cursor: pointer; font-size: 1rem;
}

/* ---------- Nav ---------- */
.main-nav { background: var(--black); border-top: 1px solid var(--line); }
.nav-toggle { display: none; }
.nav-list {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: center; gap: 0.25rem;
}
.nav-item > a {
  display: block; padding: 0.7rem 1rem; color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-right: 1px solid var(--line);
}
.nav-item:first-child > a { color: var(--red); }
.nav-item:hover > a { color: var(--red); }
.nav-item:first-child:hover > a { color: var(--white); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: var(--near-black); border: 1px solid var(--line); border-top: 3px solid var(--red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 0.65rem 1.2rem; font-size: 0.88rem; color: var(--off);
  border-bottom: 1px solid var(--line);
  text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 500;
}
.dropdown a:hover { background: var(--panel); color: var(--red); }
.dropdown-wide { min-width: 580px; column-count: 2; column-gap: 0; padding: 0; }
.dropdown-wide li { break-inside: avoid; }
.has-dropdown.open-hint .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Hero 1: red promo band ---------- */
.hero-red {
  background: var(--red);
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center;
}
.hero-red-copy { padding: 4.5rem 3rem 4.5rem max(3rem, calc((100vw - 1280px) / 2 + 1.5rem)); }
.hero-line, .hero-line-sub {
  font-family: var(--display); font-weight: 800; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.4rem; line-height: 1.3;
}
.hero-line-sub { font-size: 0.95rem; margin: 1.2rem 0 1.8rem; font-weight: 700; }
.hero-red h1 { margin: 0.6rem 0; line-height: 1.05; }
.chip {
  display: inline-block; background: var(--black); color: var(--white);
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem); padding: 0.05em 0.3em; letter-spacing: -0.01em;
  transform: skewX(-6deg); margin: 0.12em 0;
}
.chip-big { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
.hero-red-media { height: 100%; min-height: 420px; }
.hero-red-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero 2: photo band ---------- */
.hero-photo { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0) 100%);
}
.hero-photo-copy { position: relative; z-index: 2; padding: 4rem max(3rem, calc((100vw - 1280px) / 2 + 1.5rem)); max-width: 640px; }
.hero-photo-copy h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.01em;
  font-style: italic;
}
.hero-photo-copy p { margin: 1rem 0 1.6rem; color: var(--off); max-width: 400px; }
.hero-photo .pill-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }

/* ---------- Tagline band ---------- */
.tagline-band { background: var(--black); text-align: center; padding: 2.6rem 1.5rem; border-bottom: 1px solid var(--line); }
.tagline-band p {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem); color: var(--white); letter-spacing: -0.01em;
}
.tagline-band strong { font-weight: 900; }

/* ---------- Logo strip ---------- */
.logo-strip {
  background: var(--white); padding: 1.8rem 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.4rem 3.2rem;
}
.logo-strip img { height: 44px; width: auto; object-fit: contain; filter: grayscale(35%); transition: 0.15s; }
.logo-strip img:hover { filter: none; }
.logo-strip img.on-dark { background: var(--black); padding: 6px 10px; border-radius: 4px; }

/* ---------- Sections ---------- */
.section-title {
  font-family: var(--display); font-weight: 900; font-size: 1.7rem;
  color: var(--white); text-align: center; margin-bottom: 2.2rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.categories, .testimonials { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem; }

/* Category tiles */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.category-card {
  background: var(--panel); border: 1px solid var(--line);
  padding: 2rem 1.6rem; transition: 0.15s; display: flex; flex-direction: column; gap: 0.3rem;
}
.category-card:hover { border-color: var(--red); transform: translateY(-3px); }
.card-tag { color: var(--red); font-family: var(--display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.15em; }
.category-card h3 { font-family: var(--display); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; }
.category-card p { font-size: 0.88rem; color: var(--grey); margin-bottom: 1.1rem; }
.card-pill { padding: 0.5rem 1.4rem; font-size: 0.72rem; align-self: flex-start; margin-top: auto; }

/* ---------- About band + trust ---------- */
.about-band { background: var(--near-black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-band-inner { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem; }
.about-copy h2 {
  font-family: var(--display); font-weight: 900; font-size: 1.9rem; color: var(--white);
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.about-copy p { max-width: 860px; color: var(--grey); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; margin-top: 2.4rem; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--display); font-weight: 800; color: var(--red); font-size: 1.05rem; text-transform: uppercase; }
.trust-item span { font-size: 0.8rem; color: var(--grey); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.testimonial {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red);
  padding: 1.4rem 1.5rem; margin: 0;
}
.testimonial p { font-size: 0.95rem; color: var(--off); }
.testimonial footer { margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--grey); display: flex; align-items: center; gap: 0.6rem; }
.review-logo-img { height: 30px; width: auto; max-width: 90px; object-fit: contain; background: var(--white); border-radius: 4px; padding: 3px 6px; }
.review-logo-img.on-dark { background: var(--black); }
.logo-bellagio { background: var(--white); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--red); color: var(--white); }
.page-hero .hero-inner { max-width: var(--max); margin: 0 auto; padding: 3.2rem 1.5rem; }
.page-hero h1 {
  font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.01em; text-transform: uppercase; font-style: italic;
}
.page-hero .hero-sub { color: rgba(255,255,255,0.85); margin-top: 0.6rem; max-width: 560px; }
.page-body { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.page-body h2 {
  font-family: var(--display); font-weight: 900; color: var(--white); margin: 2.2rem 0 0.8rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p { margin-bottom: 1rem; color: var(--grey); }
.muted { color: #6b7178; font-size: 0.9rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin: 1rem 0 1.5rem; }
.contact-card { background: var(--panel); border: 1px solid var(--line); padding: 1.3rem; text-align: center; }
.contact-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.4rem; }
.contact-card .phone { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--red); }
.contact-form { display: grid; gap: 1rem; max-width: 520px; margin: 1rem 0 1.5rem; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; color: var(--white); }
.contact-form input, .contact-form textarea {
  padding: 0.7rem 0.9rem; border: 1px solid var(--line); font: inherit;
  background: var(--panel); color: var(--white); border-radius: 4px;
}
.contact-form button {
  border: none; cursor: pointer; font: inherit; justify-self: start;
  background: var(--red); color: var(--white); padding: 0.7rem 2rem; border-radius: 999px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.contact-form button:hover { background: var(--red-dark); }
.locations { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.locations li { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.9rem; color: var(--off); }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); color: var(--grey); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2rem;
}
.footer-tagline { font-style: italic; font-size: 0.8rem; color: var(--grey); margin-top: 0.3rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.8rem; max-width: 280px; }
.footer-col h4 {
  color: var(--white); font-family: var(--display); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem;
}
.footer-col li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--red); }
.footer-legal { text-align: center; font-size: 0.8rem; padding: 1.2rem; border-top: 1px solid var(--line); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero-red { grid-template-columns: 1fr; }
  .hero-red-copy { padding: 3rem 1.5rem; }
  .hero-red-media { min-height: 260px; }
  .hero-photo-copy { padding: 3.5rem 1.5rem; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 1rem; }
  .header-search { order: 3; max-width: none; width: 100%; margin-left: 0; }
  .nav-toggle {
    display: block; width: 100%; background: var(--black); color: var(--white);
    border: none; padding: 0.8rem 1.5rem; text-align: left; font: inherit;
    font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em;
  }
  .nav-list { display: none; flex-direction: column; padding: 0; }
  .nav-list.open { display: flex; }
  .nav-item > a { border-right: none; border-bottom: 1px solid var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; border: none; border-left: 3px solid var(--red);
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown-wide { column-count: 1; min-width: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .logo-strip img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
