/* ============================================================================
   COLUMBIA SC PARTY RENTALS — STYLES (premium build)
   ----------------------------------------------------------------------------
   Mobile-first, dependency-free CSS. No build step. Re-theme the whole site by
   editing the :root variables below. Class names match the HTML exactly.
   A web font is loaded with a graceful system fallback (works offline too).
   ============================================================================ */

/* ---- Web font (optional polish; falls back to system fonts if blocked) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ---- THEME VARIABLES (edit these to re-theme the site) ----------------- */
:root {
  /* Brand palette — deep, confident blues with a warm amber accent */
  --brand:        #1c6ea4;
  --brand-600:    #155a87;
  --brand-700:    #114b71;
  --brand-900:    #0c2c44;   /* deep navy: hero + footer */
  --accent:       #f0843a;   /* warm amber CTA */
  --accent-600:   #db6a1d;
  --accent-soft:  #ffe6d2;

  --ink:          #16222f;   /* primary text */
  --ink-soft:     #3c4a5a;
  --muted:        #687686;   /* secondary text */
  --line:         #e7ecf2;   /* hairline borders */
  --line-strong:  #d6dee8;

  --bg:           #ffffff;
  --bg-soft:      #f5f8fb;    /* soft section */
  --bg-tint:      #eaf2f8;    /* tinted blue panel */
  --ok:           #1f8a5b;
  --ok-600:       #18764d;

  --radius:       16px;
  --radius-sm:    11px;
  --radius-lg:    24px;
  --pill:         999px;
  --maxw:         1140px;

  /* Layered, soft shadows for depth (premium feel) */
  --shadow-xs:    0 1px 2px rgba(16,40,66,.06);
  --shadow:       0 4px 14px rgba(16,40,66,.08);
  --shadow-md:    0 10px 30px rgba(16,40,66,.10);
  --shadow-lg:    0 24px 60px rgba(12,44,68,.18);

  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);

  --ease:         cubic-bezier(.4, 0, .2, 1);
}

/* ---- RESET / BASE ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 92px; }   /* keep anchored sections clear of sticky header */
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 2.85rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; margin-top: 1.7em; }
h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.3em; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 700; }

/* In-content links get a subtle, refined underline */
.section p a, .faq-body a, .quick-answer a, .breadcrumbs a:hover {
  color: var(--brand-600);
  text-decoration: underline;
  text-decoration-color: rgba(28,110,164,.35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color .15s var(--ease), color .15s var(--ease);
}
.section p a:hover, .faq-body a:hover, .quick-answer a:hover {
  color: var(--accent-600);
  text-decoration-color: var(--accent);
}

/* Accessibility: skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent);
  color: #fff; padding: .7em 1.1em; z-index: 1000; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 52px 0; }
.section--soft  { background: var(--bg-soft); }
.section--tint  { background: var(--bg-tint); }
.section--brand { background: var(--brand-900); color: #e8f0f6; }
.section--brand h2, .section--brand h3 { color: #fff; }

/* Section intro lead text */
.lead { font-size: 1.12rem; color: var(--muted); max-width: 65ch; }

/* ---- BUTTONS ---------------------------------------------------------- */
.btn {
  --btn-shadow: var(--shadow);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: var(--pill); text-align: center;
  border: 1.5px solid transparent; cursor: pointer; letter-spacing: .005em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  box-shadow: var(--btn-shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(28,110,164,.45); outline-offset: 2px; }

.btn--accent { background: linear-gradient(180deg, #f48f48, var(--accent)); color: #fff; --btn-shadow: 0 8px 20px rgba(219,106,29,.32); }
.btn--accent:hover { background: linear-gradient(180deg, #f0843a, var(--accent-600)); color: #fff; box-shadow: 0 12px 26px rgba(219,106,29,.4); }

.btn--call { background: linear-gradient(180deg, #25a06b, var(--ok)); color: #fff; --btn-shadow: 0 8px 20px rgba(31,138,91,.30); }
.btn--call:hover { background: linear-gradient(180deg, #1f8a5b, var(--ok-600)); color: #fff; }

.btn--outline { background: #fff; color: var(--brand-600); border-color: var(--line-strong); --btn-shadow: var(--shadow-xs); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }

.btn--ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); --btn-shadow: none; }
.btn--ghost-light:hover { background: #fff; color: var(--brand-900); border-color: #fff; }

.btn--lg { padding: 17px 30px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }

/* ---- HEADER ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 22px; max-width: var(--maxw); margin: 0 auto;
}
.brand-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo svg { flex: 0 0 auto; border-radius: 9px; box-shadow: var(--shadow-xs); }
.brand-logo .brand-name { font-family: var(--font-display); font-weight: 800; color: var(--brand-900); font-size: 1.05rem; line-height: 1.05; letter-spacing: -.02em; display:block; }
.brand-logo .brand-tag { display: block; font-weight: 600; color: var(--muted); font-size: .7rem; letter-spacing: .02em; margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 9px; }
.header-cta .btn { padding: 11px 16px; font-size: .92rem; box-shadow: none; }
.header-cta .btn--accent { box-shadow: 0 6px 16px rgba(219,106,29,.28); }
.header-phone-text { display: none; }

/* Primary nav */
.nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: var(--brand-900);
  color: #fff; border: 0; border-radius: 10px; padding: 11px 14px; font-weight: 700; cursor: pointer; font-family: var(--font-display);
}
.main-nav { display: none; }
.main-nav.is-open { display: block; border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 8px 22px 18px; }
.main-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.main-nav a { display: block; padding: 13px 4px; text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover { color: var(--brand-600); }
.main-nav .nav-group-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 15px 4px 5px; font-weight: 700; }

/* ---- STICKY MOBILE CTA BAR -------------------------------------------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; gap: 0; box-shadow: 0 -6px 22px rgba(12,44,68,.22);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: 15px 8px; font-weight: 700; font-family: var(--font-display);
  text-decoration: none; color: #fff; font-size: 1.02rem; letter-spacing: .01em;
}
.mobile-cta-bar a.cta-call { background: linear-gradient(180deg,#25a06b,var(--ok-600)); }
.mobile-cta-bar a.cta-quote { background: linear-gradient(180deg,#f0843a,var(--accent-600)); }
body { padding-bottom: 58px; }   /* clear the fixed bar on mobile */

/* ---- HERO ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #eaf2f9;
  padding: 64px 0 70px;
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(240,132,58,.30), transparent 45%),
    radial-gradient(120% 120% at 0% 0%, rgba(46,140,200,.40), transparent 50%),
    linear-gradient(155deg, #0c2c44 0%, #114b71 55%, #155a87 100%);
}
.hero::after {   /* subtle dotted texture overlay */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 19ch; }
.hero p.lede { font-size: 1.18rem; color: #d7e6f1; max-width: 60ch; }
.hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero .eyebrow { color: #ffd7b8; }

/* Eyebrow (used in hero + sections) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800;
  font-family: var(--font-display); color: var(--accent-600); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---- QUICK ANSWER BOX (AI-extractable summary) ------------------------ */
.quick-answer {
  position: relative; background: linear-gradient(180deg, #fff, var(--bg-tint));
  border: 1px solid #d4e4f0; border-radius: var(--radius);
  padding: 20px 22px 20px 24px; margin: 0 0 26px; box-shadow: var(--shadow);
}
.quick-answer::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 5px; background: linear-gradient(180deg, var(--brand), var(--accent)); }
.quick-answer .qa-label { font-family: var(--font-display); font-weight: 800; color: var(--brand-700); text-transform: uppercase; font-size: .74rem; letter-spacing: .1em; margin-bottom: 4px; }

/* ---- BREADCRUMBS ------------------------------------------------------ */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; }
.breadcrumbs li::after { content: "›"; margin-left: 7px; color: var(--line-strong); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-600); }

/* ---- TRUST STRIP ------------------------------------------------------ */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
.trust-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.trust-item h3 { margin-top: 0; font-size: 1.06rem; }
.trust-item p { margin-bottom: 0; color: var(--muted); }
.trust-item .ti-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  font-size: 1.4rem; border-radius: 13px; margin-bottom: 12px;
  background: linear-gradient(180deg, var(--bg-tint), #dcebf7 0%); background: var(--bg-tint); border: 1px solid #d4e4f0;
}

/* ---- CARDS (services / areas / resources) ----------------------------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card::before {   /* accent top edge revealed on hover */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0; transition: opacity .22s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; font-size: 1.14rem; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card .card-link { margin-top: auto; font-family: var(--font-display); font-weight: 700; color: var(--brand-600); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link::after { content: "→"; transition: transform .2s var(--ease); }
.card:hover .card-link { color: var(--accent-600); }
.card:hover .card-link::after { transform: translateX(4px); }

/* ---- CHECKLISTS ------------------------------------------------------- */
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
  color: var(--ok); background: rgba(31,138,91,.12); border-radius: 50%;
}

/* ---- IMAGE PLACEHOLDERS ----------------------------------------------- */
.img-placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(28,110,164,.06), transparent 60%),
    repeating-linear-gradient(45deg, #eef3f8, #eef3f8 14px, #e4edf4 14px, #e4edf4 28px);
  border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted);
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 230px; font-weight: 600; padding: 18px; margin: 6px 0 8px;
}

/* ---- FAQ -------------------------------------------------------------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px;
  background: #fff; box-shadow: var(--shadow-xs); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; padding: 17px 18px; font-family: var(--font-display); font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-600); background: var(--bg-tint); border-radius: 50%; font-size: 1.2rem; font-weight: 700; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq .faq-body { padding: 0 18px 18px; color: var(--ink-soft); }
.faq .faq-body p { margin-bottom: 0; }

/* ---- CTA BANNER ------------------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: 44px 28px; text-align: center;
  background:
    radial-gradient(120% 160% at 90% -20%, rgba(240,132,58,.40), transparent 50%),
    linear-gradient(150deg, #0c2c44, #155a87);
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-top: 0; }
.cta-banner p { color: #d7e6f1; max-width: 62ch; margin: 0 auto 20px; }
.cta-banner .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- INTERNAL LINK CLUSTERS ------------------------------------------- */
.link-columns { display: grid; grid-template-columns: 1fr; gap: 22px; }
.link-columns h3 { font-size: 1rem; margin: 0 0 .5em; }
.link-list { list-style: none; padding-left: 0; }
.link-list li { margin-bottom: .45em; }
.link-list a { color: var(--brand-600); text-decoration: none; }
.link-list a:hover { color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; }

/* ---- FORM ------------------------------------------------------------- */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.lead-form .field { margin-bottom: 16px; }
.lead-form label { display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: 6px; font-size: .92rem; color: var(--ink); }
.lead-form .req { color: var(--accent-600); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: #fcfdfe; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9aa7b5; }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(28,110,164,.14); background: #fff;
}
.lead-form .field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-note { font-size: .86rem; color: var(--muted); }

/* ---- TABLES (listing/profile page) ------------------------------------ */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 38%; background: var(--bg-soft); color: var(--brand-700); font-family: var(--font-display); }

/* ---- NOTES / CALLOUTS ------------------------------------------------- */
.note { background: #fff8f0; border: 1px solid #f4dcc0; border-left: 5px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .92rem; color: var(--ink-soft); }
.note code { background: #fdeccd; padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.placeholder-tag { display: inline-block; background: var(--accent-soft); color: #9a5612; font-weight: 700; font-size: .7rem; padding: 3px 9px; border-radius: var(--pill); text-transform: uppercase; letter-spacing: .05em; }

/* ---- FOOTER ----------------------------------------------------------- */
.site-footer { background: var(--brand-900); color: #b8cddd; padding: 56px 0 30px; margin-top: 16px; }
.site-footer a { color: #e4eef6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: .7em; }
.footer-nap p { margin: 0 0 .5em; color: #b8cddd; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .5em; }
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a { font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; font-size: .84rem; color: #8fa9bd; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom a { color: #c8d9e6; }

/* ---- UTILITY ---------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================================
   RESPONSIVE — TABLET / DESKTOP
   ============================================================================ */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .mobile-cta-bar { display: none; }
  .section { padding: 68px 0; }
  .field-row { grid-template-columns: 1fr 1fr; }

  /* Desktop horizontal nav */
  .nav-toggle { display: none; }
  .main-nav { display: block !important; border-top: 0; }
  .main-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 0; }
  .main-nav li { border-bottom: 0; }
  .main-nav a { padding: 9px 13px; font-size: .93rem; border-radius: 9px; }
  .main-nav a:hover { background: var(--bg-tint); }
  .main-nav .nav-group-label { display: none; }

  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .link-columns { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1.2fr; gap: 40px; }
}

@media (min-width: 980px) {
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .header-phone-text { display: inline; }
  .hero { padding: 84px 0 90px; }
  .hero-flex { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
}

/* Place primary nav on its own centered row under the brand on large screens */
@media (min-width: 720px) {
  .site-header .main-nav { border-top: 1px solid var(--line); background: rgba(255,255,255,.6); }
  .site-header .main-nav ul { max-width: var(--maxw); margin: 0 auto; padding: 4px 22px; justify-content: flex-start; }
}

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