/* ============================================================
   UrbanTVFix - Design System
   UrbanCompany-inspired: clean white, deep ink, vivid violet/blue
   Zero dependencies. Mobile-first. Fast-loading.
   ============================================================ */

:root {
  --ink: #0f1222;
  --ink-soft: #3c4152;
  --muted: #6b7186;
  --bg: #ffffff;
  --surface: #f6f7fb;
  --line: #e6e8f0;
  --accent: #5b2eea;
  --accent-dark: #4720c4;
  --accent-2: #0e6fff;
  --success: #0b7d57;
  --warn: #f59e0b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 18, 34, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 18, 34, 0.06);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

/* Anchor targets land below the sticky header */
[id] { scroll-margin-top: 84px; }

/* Faster, cleaner taps on touch devices */
a, button, select, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.section-sub { color: var(--muted); max-width: 640px; margin: 12px auto 0; text-align: center; }
.section-head { text-align: center; margin-bottom: 40px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: #efeafd;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}

section { padding: 64px 0; }
section.alt { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(91, 46, 234, 0.32); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-call { background: var(--success); color: #fff; }
.btn-call:hover { filter: brightness(1.06); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.22rem; color: var(--ink); text-decoration: none !important; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 1rem; font-weight: 800;
}
.logo span em { font-style: normal; color: var(--accent); }

/* Brand-page header identity: shows /img/brands/<slug>.png when the
   file exists, otherwise falls back to styled brand text */
.header-brand {
  display: inline-flex; align-items: center; line-height: 1.15;
  border-left: 2px solid var(--line); padding-left: 12px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink);
  white-space: nowrap;
}
.header-brand .hb-logo { height: 26px; width: auto; display: block; }
.header-brand .hb-text { display: none; }
.header-brand.hb-noimg .hb-logo { display: none; }
.header-brand.hb-noimg .hb-text { display: inline-flex; flex-direction: column; }
.header-brand .hb-sub {
  font-weight: 600; font-size: 0.66rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent);
}
@media (max-width: 479px) {
  .header-brand { font-size: 0.95rem; padding-left: 9px; }
  .header-brand .hb-logo { height: 22px; }
}

.location-select {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 7px 10px; font-size: 0.86rem; color: var(--ink-soft); background: #fff;
}
.location-select select { border: 0; background: transparent; font-family: var(--font); font-size: 0.86rem; color: var(--ink); outline: none; cursor: pointer; }

.main-nav { display: none; margin-left: auto; gap: 26px; }
.main-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; text-decoration: none !important; }
.main-nav a:hover { color: var(--accent); }

.header-cta { display: none; align-items: center; gap: 10px; }
.header-cta .btn { padding: 10px 18px; font-size: 0.88rem; }

.nav-toggle {
  margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; color: var(--ink);
}

/* One-tap call button in the mobile header */
.call-mini { display: none; }
@media (max-width: 899px) {
  .call-mini {
    display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
    border-radius: 10px; margin-left: auto; font-size: 1.1rem;
  }
  .nav-toggle { margin-left: 0; }
}

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 20px 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 11px 0; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--surface); text-decoration: none !important; }
.mobile-menu .btn { margin-top: 14px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(91, 46, 234, 0.14), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(14, 111, 255, 0.1), transparent 60%),
    var(--surface);
  padding: 56px 0 64px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.hero h1 { margin: 14px 0 16px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.83rem; font-weight: 600;
  color: var(--ink-soft); background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 14px; box-shadow: var(--shadow-sm);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }

/* Booking card */
.booking-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
}
.booking-card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.booking-card p.small { color: var(--muted); font-size: 0.86rem; margin-bottom: 18px; }
.form-row { margin-bottom: 13px; }
.form-row label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 5px; color: var(--ink-soft); }
.form-row input, .form-row select {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff; outline: none;
}
.form-row input:focus, .form-row select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 46, 234, 0.13); }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 10px; }
.form-success { display: none; background: #e7f8f1; color: #06603f; border: 1px solid #b5ead6; border-radius: var(--radius-sm); padding: 14px; font-size: 0.9rem; font-weight: 600; margin-top: 12px; }
.form-success.show { display: block; }

/* ---------- Cards & Grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.card { color: var(--ink); text-decoration: none !important; display: block; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8d3f5; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 14px;
  background: linear-gradient(135deg, #efeafd, #e5efff);
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.9rem; }
.card .card-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.88rem; color: var(--accent); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 100px; padding: 9px 18px; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  text-decoration: none !important; transition: border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- How it works ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; }
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 14px;
}

/* ---------- Rate card / estimator ---------- */
.rate-wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .rate-wrap { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }

.rate-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 0.92rem; }
.rate-table th, .rate-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.rate-table th { background: var(--ink); color: #fff; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table td.price { font-weight: 700; white-space: nowrap; }
.rate-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.estimator { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.estimate-result {
  margin-top: 16px; background: var(--surface); border-radius: var(--radius-sm);
  padding: 16px; text-align: center;
}
.estimate-result .price-big { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.estimate-result .small { font-size: 0.8rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform 0.45s ease; }
.slide { flex: 0 0 100%; padding: 4px; }
@media (min-width: 900px) { .slide { flex: 0 0 33.3333%; } }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; }
.stars { color: #b45309; letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 10px; }
.testimonial p { font-size: 0.92rem; color: var(--ink-soft); }
.testimonial .who { margin-top: 14px; font-weight: 700; font-size: 0.88rem; }
.testimonial .who span { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.slider-nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.slider-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  font-size: 1.05rem; cursor: pointer; color: var(--ink); transition: border-color 0.15s, color 0.15s;
}
.slider-nav button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 0.98rem; font-weight: 700; color: var(--ink);
  padding: 17px 48px 17px 20px; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-q::after { content: "-"; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.92rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-radius: var(--radius); padding: 44px 32px; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 10px auto 24px; max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.83rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Guarantee strip ---------- */
.guarantee {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--success);
  border-radius: var(--radius-sm); padding: 20px 22px;
}
.guarantee .g-icon { font-size: 1.6rem; }
.guarantee h3 { margin-bottom: 4px; }
.guarantee p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9cbda; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 0.92rem; margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer .logo span em { color: #b7a4f7; }
.site-footer a { color: #c9cbda; display: block; padding: 4px 0; font-size: 0.88rem; text-decoration: none !important; }
.site-footer a:hover { color: #fff; }
.footer-about p { font-size: 0.88rem; margin-top: 12px; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 22px; font-size: 0.8rem; color: #8b8fa3; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ---------- Floating mobile call bar ---------- */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; font-weight: 800; font-size: 0.95rem; text-decoration: none !important;
}
.callbar .call { background: var(--success); color: #fff; }
.callbar .wa { background: #0e7a3d; color: #fff; }
@media (min-width: 900px) { .callbar { display: none; } }
body { padding-bottom: 54px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; color: var(--ink-soft); font-size: 0.95rem; }
.legal h2 { margin: 30px 0 10px; font-size: 1.25rem; color: var(--ink); }
.legal p { margin-bottom: 13px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 7px; }
.legal .updated { color: var(--muted); font-size: 0.82rem; margin-bottom: 24px; }
.legal .callout { background: #fdf6ec; border: 1px solid #f0dcbb; border-left: 4px solid var(--warn); border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0; }

.footer-disclaimer { font-size: 0.78rem; color: #999db3; margin-top: 22px; line-height: 1.6; }

/* ---------- Mobile spacing & density ---------- */
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .hero { padding: 36px 0 48px; }
  .section-head { margin-bottom: 28px; }
  .booking-card { padding: 20px; }
  .card { padding: 20px; }
  .cta-band { padding: 34px 20px; }
  .chip { padding: 8px 14px; font-size: 0.84rem; }
  .hero-ctas .btn-lg { padding: 14px 20px; font-size: 0.95rem; }
  .rate-table th, .rate-table td { padding: 11px 12px; font-size: 0.88rem; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.hidden { display: none; }
