/* ============================================================
   Deleon Party Rentals — "Modern celebration" art direction
   Refined, upscale, generous whitespace. ZERO photos — CSS/SVG only.
   System fonts only. Mobile-first.
   ============================================================ */

:root {
  /* DPR brand identity — royal blue (#0B3F8B) from the client's logo,
     smoothed out with slate grays so the blue reads as an accent, not a flood.
     Token names are legacy; values now carry the blue/gray system. */
  --ivory: #FFFFFF;
  --ivory-deep: #F1F4F8;
  --ink: #17263F;
  --ink-soft: #5A6B84;
  --terra: #0B3F8B;
  --terra-deep: #082C63;
  --terra-tint: #E7EDF7;
  --teal: #3D6DB0;
  --teal-deep: #14315F;
  --teal-tint: #E9EFF8;
  --gold: #B9C5D8;
  --gold-deep: #0B3F8B;
  --gold-tint: #F1F4F8;
  --line: #E1E7F0;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(23, 38, 63, 0.10);
  --shadow-soft: 0 4px 14px rgba(23, 38, 63, 0.07);
  --font-head: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wrap { width: min(1120px, 92%); margin: 0 auto; }
.wrap.narrow { width: min(720px, 92%); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }
.btn-primary {
  background: var(--terra); color: #fff;
  box-shadow: 0 10px 24px rgba(11, 63, 139, 0.35);
}
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn-outline {
  background: var(--white); color: var(--teal-deep);
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-soft);
}
.btn-outline:hover { transform: translateY(-2px); border-color: var(--teal-deep); }
.btn-dark {
  background: var(--ink); color: #fff;
  padding: 13px 28px; font-size: 0.98rem;
  box-shadow: var(--shadow-soft);
}
.btn-dark:hover { transform: translateY(-2px); background: #453d4d; }

/* ---------- Section headers ---------- */
section { padding: 88px 0; position: relative; }
.section-kicker {
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terra-deep); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 12px; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 620px; margin-bottom: 40px; }
.section-kicker.light, .section-title.light, .section-sub.light { color: #fff; }
.section-sub.light { opacity: 0.92; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1200px, 94%); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.footer-logo { width: 56px; height: 56px; margin-bottom: 10px; }
.footer-brand .brand-text { display: block; }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  color: var(--ink); line-height: 1.1; letter-spacing: -0.01em;
}
.brand-text em { font-style: normal; color: var(--terra-deep); display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.98rem;
  border-bottom: 2px solid transparent; padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--terra-deep); border-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.nav-call {
  font-weight: 700; color: var(--teal-deep); text-decoration: none;
  white-space: nowrap; font-size: 0.98rem;
}
.nav-quote { white-space: nowrap; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--ink); margin: 5px auto; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 96px 0 72px;
  background: radial-gradient(ellipse 90% 65% at 50% 0%, #EEF3FA 0%, #FFFFFF 72%);
}
.hero-inner { width: min(860px, 92%); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra-deep); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 18px; }
.hero h1::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 20px auto 0;
  background: var(--gold); border-radius: 2px;
}
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.category-pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.category-pills li {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 20px; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.category-pills li:hover { border-color: var(--terra); color: var(--terra-deep); }

/* ---------- Trust row ---------- */
.trust { padding-top: 64px; }
.trust-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 12px;
}
.trust-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 6px 0;
}
.trust-item strong { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.trust-item span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Inventory ---------- */
.inventory { background: var(--ivory-deep); }
.gear-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.gear-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 20px 28px;
  text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gear-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Tint is carried by a 4px top edge — no illustration, type-only cards. */
.tint-terra { border-top: 4px solid var(--terra-deep); }
.tint-teal { border-top: 4px solid var(--teal-deep); }
.tint-gold { border-top: 4px solid var(--gold-deep); }
/* Minimal geometric line icons — one per rental item, tinted to match the card edge */
.item-icon { display: block; width: 44px; height: 44px; margin: 2px auto 14px; }
.item-icon svg { width: 100%; height: 100%; display: block; }
.tint-terra .item-icon { color: var(--terra); }
.tint-teal .item-icon { color: var(--teal); }
.tint-gold .item-icon { color: #7C8AA0; }
.gear-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.gear-card .price { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.gear-card .price span { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Packages ---------- */
.package-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;
}
.package-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  border: 1px solid var(--line); border-top: 5px solid var(--line);
  box-shadow: var(--shadow-soft); position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.package-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.pkg-gold { border-top-color: var(--gold); }
.pkg-terra { border-top-color: var(--terra); }
.pkg-teal { border-top-color: var(--teal); }
.pkg-price { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; margin-bottom: 18px; letter-spacing: -0.02em; }
.package-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.package-card li {
  padding: 9px 0 9px 28px; position: relative; font-size: 1rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--ivory-deep);
}
.package-card li:last-child { border-bottom: none; }
.package-card li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.pkg-terra li::before { background: var(--terra); }
.pkg-teal li::before { background: var(--teal); }
.pkg-badge {
  position: absolute; top: -13px; right: 24px;
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.package-card .btn { align-self: flex-start; }

/* ---------- How it works ---------- */
.how { background: var(--ivory-deep); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--ivory); border-radius: var(--radius); padding: 38px 28px;
  text-align: center; border: 1px solid var(--line);
}
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  border: 2px solid var(--terra); color: var(--terra-deep);
  margin-bottom: 18px; background: var(--white);
}
.step:nth-child(2) .step-badge { border-color: var(--teal); color: var(--teal-deep); }
.step:nth-child(3) .step-badge { border-color: var(--gold); color: var(--gold-deep); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Service area ---------- */
.area { text-align: center; padding-top: 64px; }
.area .section-sub { margin-left: auto; margin-right: auto; }
.area-pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 760px; margin: 0 auto;
}
.area-pills li {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 24px; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
}
.area-pills li:first-child {
  background: var(--terra-tint); color: var(--terra-deep); border-color: var(--terra);
  font-weight: 700;
}

/* ---------- Reviews ---------- */
.reviews { background: var(--ivory-deep); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft); margin: 0;
  display: flex; flex-direction: column;
}
.review-card .stars { color: var(--gold-deep); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review-card blockquote { font-size: 1rem; color: var(--ink); flex: 1; margin-bottom: 20px; line-height: 1.7; }
.review-card figcaption strong { font-family: var(--font-head); font-size: 0.98rem; display: block; }
.review-card figcaption span { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); overflow: hidden;
}
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 62px 20px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  position: relative; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--terra); color: var(--terra-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 400; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--terra); color: #fff; }
.faq-list details p { padding: 0 26px 24px; color: var(--ink-soft); }

/* ---------- Quote ---------- */
.quote {
  background: linear-gradient(155deg, #0F2C5C 0%, #0B3F8B 100%);
}
.quote-form {
  background: var(--white); border-radius: 22px; padding: 42px 38px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label {
  display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 16px; color: var(--ink);
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; margin-top: 7px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--ivory); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint);
  background: #fff;
}
.quote-form textarea { resize: vertical; }
.quote-form .btn { width: 100%; margin-top: 6px; }
.form-note { text-align: center; margin-top: 16px; color: var(--ink-soft); font-size: 0.95rem; }
.form-note a { color: var(--teal-deep); font-weight: 700; }
.form-status { text-align: center; font-weight: 700; margin-top: 14px; min-height: 1.6em; }
.form-status.ok { color: var(--teal-deep); }
.form-status.err { color: var(--terra-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E7EDF7; padding: 64px 0 26px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 44px;
}
.footer-brand .brand-text { color: #fff; font-size: 1.35rem; }
.footer-brand p { opacity: 0.75; margin-top: 12px; max-width: 320px; font-size: 0.96rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-weight: 700; }
.footer-contact p { margin-bottom: 8px; opacity: 0.85; }
.footer-contact a { color: var(--gold); font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.footer-links a { display: block; color: #E7EDF7; text-decoration: none; opacity: 0.8; padding: 5px 0; font-size: 0.96rem; }
.footer-links a:hover { color: var(--gold); opacity: 1; }
.footer-credit {
  text-align: center; opacity: 0.6; font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px;
}

/* ---------- Mobile call pill ---------- */
.call-pill {
  display: none; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 90; align-items: center; gap: 8px;
  background: var(--terra); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 13px 30px; border-radius: 999px; border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(11, 63, 139, 0.45);
}
.call-pill svg { width: 20px; height: 20px; }

/* ---------- Confetti burst canvas ---------- */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .gear-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    margin-left: 0; padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 5%; border-bottom: 1px solid var(--ivory-deep); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-call { display: none; }
  .trust-row, .package-grid, .steps, .review-grid { grid-template-columns: 1fr; }
  .package-card .btn { align-self: stretch; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gear-card { padding: 24px 14px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 30px 24px; }
  .call-pill { display: inline-flex; }
  section { padding: 64px 0; }
  .hero { padding: 68px 0 56px; }
  .hero-ctas .btn-lg { width: 100%; text-align: center; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
