/* =========================================================
   NCAST IPTV — shared stylesheet (site-wide + service pages)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #e02020;
  --red-dark:   #c01a1a;
  --dark:       #0d0d0d;
  --darker:     #14181f;
  --card:       #1a1f2e;
  --accent:     #f5a623;
  --paper:      #f7f5f2;
  --paper-alt:  #efece5;
  --ink:        #16181c;
  --ink-muted:  #6b6f76;
  --text:       #e5e7eb;
  --muted:      #9ca3af;
  --border-light: rgba(22,24,28,.09);
  --border-dark:  rgba(255,255,255,.08);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3 { text-wrap: balance; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--red); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ── UTILITY BAR ── */
.util-bar {
  background: var(--dark); color: var(--muted);
  font-size: .8rem; padding: 9px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.util-left, .util-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.util-social { display: flex; gap: 8px; }
.util-social a {
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; transition: background .2s;
}
.util-social a:hover { background: var(--red); }
.util-item { display: flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }

.icon { width: 16px; height: 16px; flex-shrink: 0; }
.nav-search .icon { width: 19px; height: 19px; }
.contact-icon .icon { width: 22px; height: 22px; }
.util-item:hover { color: #fff; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,242,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 5%;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--red); }
.logo-wrap { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.logo-tagline {
  font-size: .68rem; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-muted); margin-top: 2px;
}

.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; order: 3; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-block; padding: 10px 14px; color: var(--ink);
  text-decoration: none; font-size: .95rem; font-weight: 500;
  border-radius: 8px; transition: color .2s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--red); }
.has-dropdown { display: flex; align-items: center; }
.dropdown-toggle {
  background: none; border: none; color: var(--ink-muted);
  cursor: pointer; font-size: .65rem; padding: 8px 6px 8px 0;
}
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,.12); padding: 8px;
  display: none; flex-direction: column; gap: 2px; z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.dropdown-open .dropdown { display: flex; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .87rem; }
.dropdown a:hover { background: var(--paper-alt); color: var(--red); }
.dropdown a .icon { width: 16px; height: 16px; color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 14px; order: 2; }
.nav-search { background: none; border: none; color: var(--ink-muted); cursor: pointer; display: flex; align-items: center; transition: color .2s; }
.nav-search:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: .88rem; transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  nav { flex-wrap: wrap; row-gap: 8px; }
  .nav-links {
    display: none; flex-basis: 100%; flex-direction: column;
    align-items: stretch; gap: 0; order: 4;
    border-top: 1px solid var(--border-light); padding-top: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { display: block; padding: 12px 6px; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 14px; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
}

/* ── SHARED SECTION TYPE ── */
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-label .icon { width: 16px; height: 16px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
  max-width: 600px; line-height: 1.2; color: var(--ink); letter-spacing: -.5px;
}
.section-sub { color: var(--ink-muted); max-width: 540px; margin-top: 12px; }

/* ── HERO (home) ── */
.hero {
  padding: 64px 5% 0;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(224,32,32,.10) 0%, transparent 70%),
    var(--paper);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  padding-top: 56px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,32,32,.09);
  border: 1px solid rgba(224,32,32,.3);
  color: var(--red);
  font-size: .78rem; font-weight: 700; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 22px; text-transform: uppercase;
}
.badge .icon { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.12; color: var(--ink); }
.hero h1 em { color: var(--red); font-style: normal; }
.hero p.lead { margin-top: 20px; max-width: 500px; font-size: 1.05rem; color: var(--ink-muted); }

.hero-btns { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--red); color: #fff;
  padding: 14px 30px; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .2s;
}
.btn-primary .icon { width: 18px; height: 18px; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.btn-ghost .play {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.06); color: var(--red);
  transition: border-color .2s, transform .2s;
}
.btn-ghost .play .icon { width: 16px; height: 16px; }
.btn-ghost:hover .play { border-color: var(--red); transform: scale(1.06); }

.hero-visual { position: relative; height: 400px; }
.blob { position: absolute; opacity: .85; clip-path: polygon(50% 0%, 100% 100%, 0% 100%); border-radius: 24px; }
.blob-a { width: 260px; height: 260px; top: -10px; right: 20px; background: linear-gradient(135deg, var(--red), #7c1414); }
.blob-b { width: 200px; height: 200px; bottom: -10px; left: 10px; background: linear-gradient(135deg, var(--accent), #a06a00); }
.device-frame {
  position: absolute; inset: 46px 56px;
  background: #0d0d0d; border-radius: 22px; border: 6px solid #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
}
.device-screen .icon { width: 72px; height: 72px; color: var(--red); }
.float-card {
  position: absolute; left: -18px; bottom: -20px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.16);
  display: flex; align-items: center; gap: 14px;
}
.ring {
  --pct: 92; width: 54px; height: 54px; border-radius: 50%;
  background: conic-gradient(var(--red) calc(var(--pct) * 1%), var(--paper-alt) 0);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.ring::before { content: ''; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.ring span { position: relative; font-size: .75rem; font-weight: 800; color: var(--ink); }
.ring-lg { --pct: 99; width: 108px; height: 108px; }
.ring-lg::before { inset: 13px; }
.ring-lg span { font-size: 1.3rem; }
.float-label { font-size: .8rem; color: var(--ink-muted); font-weight: 600; max-width: 110px; line-height: 1.3; }

.hero-stats-row {
  margin-top: 56px; max-width: 1200px; margin-inline: auto;
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  padding: 32px 5% 40px; border-top: 1px solid var(--border-light); position: relative;
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-lbl { font-size: .78rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .5px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-visual { height: 300px; margin-top: 12px; }
}

/* ── ABOUT / WHY ── */
#why {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 96px 5%;
}
.why-visual { position: relative; }
.why-visual .panel {
  background: var(--card); border-radius: 20px; padding: 50px;
  min-height: 300px; display: flex; align-items: center; justify-content: center;
}
.why-visual .panel .icon { width: 96px; height: 96px; color: var(--red); }
.why-visual .float-card { right: -20px; bottom: -22px; left: auto; }
.why-checklist {
  list-style: none; margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.why-item { display: flex; gap: 12px; align-items: flex-start; }
.why-check {
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  background: rgba(224,32,32,.12); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-check .icon { width: 14px; height: 14px; }
.why-item strong { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; }
.why-item span { color: var(--ink-muted); font-size: .85rem; }

@media (max-width: 768px) {
  #why { grid-template-columns: 1fr; gap: 44px; }
  .why-checklist { grid-template-columns: 1fr; }
}

/* ── SERVICES ── */
#services { background: var(--paper-alt); padding: 96px 5%; }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-title, .services-header .section-sub { margin-inline: auto; text-align: center; }
.services-header .section-label { justify-content: center; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1140px; margin: 0 auto;
}
.service-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 16px 32px rgba(0,0,0,.06); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  border: 1.5px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--red);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-rule { width: 24px; height: 2px; background: var(--red); margin-bottom: 16px; position: relative; }
.service-rule::after { content: ''; position: absolute; left: 30px; top: 0; width: 10px; height: 2px; background: var(--red); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.service-card p { color: var(--ink-muted); font-size: .92rem; flex: 1; }
.btn-card {
  margin-top: 20px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-light); color: var(--ink);
  text-decoration: none; padding: 9px 18px; border-radius: 8px;
  font-size: .85rem; font-weight: 700; transition: border-color .2s, color .2s;
}
.btn-card .icon { width: 14px; height: 14px; }
.btn-card:hover { border-color: var(--red); color: var(--red); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--red); color: #fff; padding: 52px 5%; }
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,.85); margin-top: 6px; max-width: 380px; }
.cta-form { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-form input {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px; padding: 12px 16px; color: #fff; font-size: .9rem;
  min-width: 170px; font-family: inherit;
}
.cta-form input::placeholder { color: rgba(255,255,255,.75); }
.cta-form button {
  background: #fff; color: var(--red); border: none;
  padding: 12px 24px; border-radius: 8px; font-weight: 800;
  cursor: pointer; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px;
}
.cta-form button .icon { width: 16px; height: 16px; }

/* ── CHANNELS CAROUSEL ── */
#channels { padding: 96px 5%; }
.channels-header {
  max-width: 1200px; margin: 0 auto 40px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-light); background: #fff; color: var(--ink);
  cursor: pointer; transition: border-color .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-nav button .icon { width: 18px; height: 18px; }
.carousel-nav button:hover { border-color: var(--red); color: var(--red); }
.carousel-track {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  scroll-snap-align: start; flex: 0 0 240px; aspect-ratio: 4/3;
  border-radius: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff; font-weight: 800; font-size: 1.05rem;
}
.carousel-item .icon { width: 34px; height: 34px; margin-bottom: 10px; }
.ci-1 { background: linear-gradient(135deg, #7c1414, var(--red)); }
.ci-2 { background: linear-gradient(135deg, #1a1f2e, #3a4256); }
.ci-3 { background: linear-gradient(135deg, #8a5c00, var(--accent)); }
.ci-4 { background: linear-gradient(135deg, #14181f, var(--red)); }
.ci-5 { background: linear-gradient(135deg, #3a4256, #6b7280); }
.ci-6 { background: linear-gradient(135deg, #6d1010, var(--accent)); }

/* ── PRICING ── */
#pricing { background: var(--dark); padding: 96px 5%; color: var(--text); }
.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-header .section-title { margin-inline: auto; }
.pricing-header .section-label { justify-content: center; }
#pricing .section-title { color: #fff; }
#pricing .section-sub { color: var(--muted); margin-inline: auto; text-align: center; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; max-width: 1180px; margin: 0 auto;
}
.price-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 36px 30px; text-align: center; position: relative;
}
.price-card.featured {
  border-color: var(--red);
  background: linear-gradient(145deg, #1e1018 0%, var(--card) 100%);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .5px;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.price-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(255,255,255,.06); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.price-icon .icon { width: 26px; height: 26px; }
.price-tier { font-size: .85rem; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.price-chip { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 22px; }
.price-amount { font-size: 1.8rem; font-weight: 900; color: var(--ink); }
.price-amount sup { font-size: .95rem; font-weight: 700; vertical-align: super; color: var(--ink-muted); }
.price-period { font-size: .8rem; color: var(--ink-muted); }
.price-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin-bottom: 22px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; text-align: left; }
.price-features li { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.price-features li .icon { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
.btn-plan {
  display: block; text-align: center; text-decoration: none;
  padding: 12px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-plan-outline { border: 1px solid rgba(255,255,255,.2); color: #fff; }
.btn-plan-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.btn-plan-solid { background: var(--red); color: #fff; }
.btn-plan-solid:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── DEVICE COMPATIBILITY ── */
#devices { padding: 52px 5%; background: var(--paper); border-bottom: 1px solid var(--border-light); }
.devices-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.devices-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px;
}
.devices-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.device-chip {
  padding: 10px 26px; font-weight: 600; color: var(--ink);
  border-right: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 8px; font-size: .92rem;
}
.device-chip .icon { width: 18px; height: 18px; color: var(--red); }
.device-chip:last-child { border-right: none; }
@media (max-width: 700px) {
  .device-chip { border-right: none; border-bottom: 1px solid var(--border-light); width: 100%; justify-content: center; padding: 12px 0; }
  .device-chip:last-child { border-bottom: none; }
}

/* ── WHO WE ARE / STORY ── */
#story {
  max-width: 1100px; margin: 0 auto; padding: 96px 5%;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center;
}
.story-visual { position: relative; height: 320px; }
.story-panel-a {
  position: absolute; top: 0; left: 0; width: 68%; height: 78%;
  border-radius: 18px; background: linear-gradient(135deg, var(--red), #6d1010);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.story-panel-a .icon { width: 64px; height: 64px; color: #fff; }
.story-panel-b {
  position: absolute; bottom: 0; right: 0; width: 56%; height: 56%;
  border-radius: 18px; background: linear-gradient(135deg, var(--accent), #8a5c00);
  border: 6px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.story-panel-b .icon { width: 48px; height: 48px; color: #fff; }
.story-copy p { color: var(--ink-muted); margin-top: 18px; max-width: 520px; }

@media (max-width: 768px) {
  #story { grid-template-columns: 1fr; gap: 44px; }
  .story-visual { height: 260px; }
}

/* ── TESTIMONIALS (dark section) ── */
#testimonials { background: var(--darker); padding: 96px 5%; color: var(--text); }
.testimonials-header { text-align: center; margin-bottom: 56px; }
#testimonials .section-title { color: #fff; margin-inline: auto; }
#testimonials .section-sub { color: var(--muted); margin-inline: auto; text-align: center; }
#testimonials .section-label { justify-content: center; }
.testimonials-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px;
}
.testimonial {
  background: rgba(255,255,255,.03); border: 1px solid var(--border-dark);
  border-radius: 16px; overflow: hidden;
}
.testimonial-head { background: var(--red); padding: 22px 24px; display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: .95rem; flex-shrink: 0;
}
.testimonial-head strong { display: block; color: #fff; font-size: 1rem; }
.testimonial-head span { color: rgba(255,255,255,.82); font-size: .82rem; }
.stars { margin-left: auto; color: #fff; display: flex; gap: 2px; }
.stars .icon { width: 13px; height: 13px; }
.testimonial-body { padding: 26px 24px 28px; color: var(--muted); font-size: .94rem; position: relative; }
.testimonial-body::before {
  content: '\201C'; position: absolute; top: -6px; right: 18px;
  font-size: 5rem; color: rgba(255,255,255,.05); font-weight: 900; line-height: 1;
}

/* ── Light testimonial card (used on service pages) ── */
.testimonial-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,.05);
}
.testimonial-card .testimonial-head { background: var(--paper-alt); }
.testimonial-card .testimonial-head strong { color: var(--ink); }
.testimonial-card .testimonial-head span { color: var(--ink-muted); }
.testimonial-card .stars { color: var(--red); }
.testimonial-card .testimonial-body { color: var(--ink-muted); }
.testimonial-card .testimonial-body::before { color: rgba(22,24,28,.05); }

/* ── STATS / NUMBERS ── */
#numbers { padding: 88px 5%; background: var(--paper); }
.numbers-inner { max-width: 1100px; margin: 0 auto; }
.progress-deco { max-width: 480px; margin: 0 auto 48px; }
.progress-deco .track { height: 6px; background: var(--border-light); border-radius: 999px; overflow: hidden; }
.progress-deco .fill { height: 100%; width: 99.9%; background: var(--red); border-radius: 999px; }
.progress-deco .cap {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: .74rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .5px;
}
.numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.number-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.number-card .num { font-size: 2.2rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.number-card .lbl { color: var(--ink-muted); font-size: .85rem; margin: 6px 0 16px; }
.number-card .num-icon { color: var(--red); display: flex; justify-content: center; }
.number-card .num-icon .icon { width: 26px; height: 26px; }

/* ── CONTACT ── */
#contact { max-width: 900px; margin: 0 auto; padding: 96px 5%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(224,32,32,.1); border-radius: 12px; color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail strong { display: block; margin-bottom: 4px; color: var(--ink); }
.contact-detail a, .contact-detail span { color: var(--ink-muted); font-size: .95rem; text-decoration: none; }
.contact-detail a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 8px; padding: 12px 16px; color: var(--ink); font-size: .95rem;
  width: 100%; transition: border-color .2s; font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--red);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer { background: var(--paper); border-top: 1px solid var(--border-light); padding: 72px 5% 0; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 56px;
}
.footer-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 18px; color: var(--ink); }
.footer-col p { color: var(--ink-muted); font-size: .9rem; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a .icon { width: 13px; height: 13px; color: var(--red); flex-shrink: 0; }
.footer-links a:hover { color: var(--red); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px; background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none; transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; background: var(--paper-alt); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 11px 14px; font-size: .88rem; color: var(--ink); font-family: inherit;
}
.newsletter-form button {
  background: var(--red); border: none; color: #fff; border-radius: 8px;
  width: 42px; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.newsletter-form button .icon { width: 16px; height: 16px; }
.footer-recent { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.footer-recent li { display: flex; gap: 12px; align-items: flex-start; }
.footer-recent .thumb {
  width: 48px; height: 48px; border-radius: 8px; background: var(--paper-alt);
  color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-recent .thumb .icon { width: 20px; height: 20px; }
.footer-recent .meta { font-size: .74rem; color: var(--ink-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.footer-recent .meta .icon { width: 11px; height: 11px; }
.footer-recent a { color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 700; line-height: 1.35; }
.footer-recent a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding: 22px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; max-width: 1200px; margin: 0 auto;
}
.footer-bottom p { color: var(--ink-muted); font-size: .85rem; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--ink-muted); text-decoration: none; font-size: .85rem; }
.footer-bottom-links a:hover { color: var(--red); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── BACK TO TOP ── */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--red); color: #fff; border: none;
  cursor: pointer; box-shadow: 0 10px 24px rgba(224,32,32,.35);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s; z-index: 90;
  display: flex; align-items: center; justify-content: center;
}
.to-top .icon { width: 20px; height: 20px; }
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* =========================================================
   SERVICE DETAIL TABS (single-page deep-dive section)
   ========================================================= */
.svc-details { background: var(--paper-alt); padding: 96px 5%; }

.svc-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 1140px; margin: 0 auto 8px;
}
.svc-tab-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--border-light); background: #fff; color: var(--ink-muted);
  font-weight: 700; font-size: .88rem; font-family: inherit; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.svc-tab-btn .icon { width: 16px; height: 16px; }
.svc-tab-btn:hover { border-color: var(--red); color: var(--red); }
.svc-tab-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

.svc-tab-panel { display: none; }
.svc-tab-panel.active { display: block; }

/* ── Overview: accordion + visual ── */
.svc-overview {
  max-width: 1140px; margin: 0 auto; padding: 96px 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.svc-overview-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--ink); line-height: 1.25; margin-bottom: 18px; }
.svc-overview-copy > p { color: var(--ink-muted); margin-bottom: 32px; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: #fff; border: 1px solid var(--border-light); border-radius: 14px;
  overflow: hidden; transition: border-color .2s;
}
.accordion-item.active { border-color: var(--red); }
.accordion-header {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  text-align: left; font-family: inherit;
}
.accordion-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 10px;
  background: rgba(224,32,32,.09); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.accordion-icon .icon { width: 20px; height: 20px; }
.accordion-header h3 { flex: 1; font-size: 1rem; font-weight: 700; color: var(--ink); }
.accordion-chevron { color: var(--ink-muted); transition: transform .2s; display: flex; }
.accordion-chevron .icon { width: 18px; height: 18px; }
.accordion-item.active .accordion-chevron { transform: rotate(180deg); color: var(--red); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-body-inner { padding: 0 22px 20px 80px; color: var(--ink-muted); font-size: .92rem; }
.accordion-item.active .accordion-body { max-height: 220px; }

.svc-visual { position: relative; }
.svc-visual-panel {
  background: var(--card); border-radius: 22px; padding: 48px;
  min-height: 340px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 48px rgba(0,0,0,.14);
}
.svc-visual-panel .icon { width: 108px; height: 108px; color: var(--red); }
.svc-visual .float-card { position: absolute; left: -18px; bottom: -22px; }
@media (max-width: 900px) {
  .svc-overview { grid-template-columns: 1fr; gap: 40px; }
  .svc-visual { order: -1; }
}

/* ── Service info block ── */
.svc-info { max-width: 1140px; margin: 0 auto; padding: 0 5% 96px; }
.svc-info-lead { max-width: 760px; color: var(--ink-muted); margin-bottom: 48px; }
.feature-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-bottom: 48px; }
.feature-trio-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-trio-icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: 14px;
  background: rgba(224,32,32,.09); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.feature-trio-icon .icon { width: 24px; height: 24px; }
.feature-trio-item h4 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.feature-trio-item p { color: var(--ink-muted); font-size: .9rem; }
.svc-info-tail { max-width: 760px; color: var(--ink-muted); margin-bottom: 48px; }

.svc-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .svc-info-cards { grid-template-columns: 1fr; } }

.download-card {
  background: linear-gradient(135deg, var(--red), #7c1414);
  border-radius: 18px; padding: 36px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden; min-height: 200px;
}
.download-card::before {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: repeating-linear-gradient(115deg, #fff 0 2px, transparent 2px 26px);
}
.download-card-body { position: relative; }
.download-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.download-card p { color: rgba(255,255,255,.85); font-size: .92rem; max-width: 320px; }
.download-btn {
  position: relative; align-self: flex-start;
  background: #fff; color: var(--red); text-decoration: none;
  padding: 12px 22px; border-radius: 10px; font-weight: 800; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 10px; transition: transform .15s;
}
.download-btn:hover { transform: translateY(-2px); }
.download-btn .icon { width: 18px; height: 18px; }

/* ── Padding overrides when overview/info blocks live inside a tab panel ── */
.svc-tab-panel .svc-overview { padding: 40px 0 56px; }
.svc-tab-panel .svc-info { padding: 0 0 16px; }
