*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.68;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: all 0.18s ease; }
a:hover { color: var(--brand-dark); }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 18px; }
.section { padding: 48px 0; }
.section-white { background: var(--bg-surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-dark { background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 100%); color: #fff; }

/* Compliance Strip */
.compliance-bar {
  background: var(--brand-darker);
  color: #cfe0dc;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compliance-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.compliance-bar a { color: var(--brand-accent); text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  color: var(--header-text);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid var(--brand-accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 14px; }
.site-logo img { height: 42px; width: auto; object-fit: contain; }
.nav-list { display: flex; align-items: center; list-style: none; gap: 3px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 700; color: var(--header-text); white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.12); color: var(--brand-accent); }
.nav-link.active { background: var(--brand-accent); color: #081c15 !important; }

.has-dropdown .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 6px; list-style: none; z-index: 99;
}
.has-dropdown:hover .dropdown-menu, .has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-main); }
.dropdown-menu a:hover { background: var(--brand-soft); color: var(--brand-primary); }

.burger-btn {
  display: none; background: transparent; border: 1px solid rgba(128,128,128,0.4);
  border-radius: 8px; padding: 7px 11px; font-size: 20px; cursor: pointer; color: var(--header-text);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 800;
  letter-spacing: 0.35px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, filter 0.18s ease; text-transform: uppercase; text-align: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-primary { background: var(--brand-primary); color: #fff !important; box-shadow: 0 5px 16px rgba(0,0,0,0.22); }
.btn-accent { background: linear-gradient(135deg, #ffd44d 0%, var(--brand-accent) 100%); color: #10201b !important; box-shadow: 0 5px 16px rgba(245, 166, 35, 0.35); }
.btn-outline { background: transparent; border-color: var(--brand-primary); color: var(--brand-primary) !important; }
.btn-outline:hover { background: var(--brand-primary); color: #fff !important; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.65); color: #fff !important; }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ===== HERO CAROUSEL (Full Uncropped Banners) ===== */
.hero-slider-wrap {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-md);
  background: #000; box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.hero-slides { display: flex; align-items: center; transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1); }
.hero-slide { min-width: 100%; display: flex; align-items: center; justify-content: center; background: #000; }
.hero-slide img { width: 100%; height: auto; max-height: 440px; object-fit: contain; margin: 0 auto; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.52); color: #fff; border: none; font-size: 18px; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--brand-primary); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 5; flex-wrap: wrap; justify-content: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; }
.slider-dot.active { background: var(--brand-accent); width: 20px; border-radius: 99px; }

/* Template A: Editorial Dark Stage (711Cuci) */
.editorial-hero {
  background: radial-gradient(circle at top center, var(--brand-dark) 0%, var(--brand-darker) 75%);
  padding: 24px 0 36px;
  color: #fff;
}
.twin-cta-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 960px; margin: 18px auto 0;
}

/* Template B: Royal Bento Split Hero (88CUCI) */
.bento-hero {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 60%, var(--brand-primary) 100%);
  padding: 36px 0 42px;
  color: #fff;
}
.bento-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: center; }
.eyebrow-pill {
  display: inline-block; padding: 5px 12px; border-radius: 99px;
  background: rgba(255, 183, 27, 0.18); border: 1px solid rgba(255, 183, 27, 0.45);
  color: var(--brand-accent); font-size: 12px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 12px;
}
.bento-hero h1, .editorial-title { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; line-height: 1.22; margin-bottom: 14px; }
.bento-hero p { color: #d6e4f7; font-size: 15.5px; margin-bottom: 20px; }
.quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick-tag {
  padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,0.1);
  color: #fff; font-size: 12.5px; font-weight: 700; border: 1px solid rgba(255,255,255,0.18);
}
.quick-tag:hover { background: var(--brand-accent); color: #071d42; }

/* TrustBar */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm);
}
.trust-cell strong { display: block; font-size: 19px; font-weight: 900; color: var(--brand-primary); }
.trust-cell span { font-size: 13px; color: var(--text-muted); }

/* Headings & Grids */
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; color: var(--brand-darker); margin-bottom: 8px; }
.section-head p { color: var(--text-muted); max-width: 760px; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #cce0da; }

/* Provider Cards (6-col desktop like ekplus8.pro) */
.provider-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.provider-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.provider-card {
  display: flex; flex-direction: column; background: var(--tile-bg);
  border: 1px solid var(--tile-border); border-radius: var(--radius-md);
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; text-align: center;
}
.provider-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
.provider-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 10px; background: var(--tile-bg); }
.provider-card span { display: block; padding: 8px 6px; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--brand-primary); }

/* Bento & Feature Grids */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm);
}
.bento-card.span-2 { grid-column: span 2; background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%); border-color: var(--brand-primary); }
.bento-card h3 { font-size: 17px; font-weight: 800; color: var(--brand-darker); margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--text-muted); }

/* Tabs */
.tabs-nav { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 18px; border-radius: 99px; border: 1px solid var(--border-light);
  background: #fff; color: var(--text-main); font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.tab-btn.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Steps */
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-box {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm);
}
.step-badge {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand-primary); color: #fff;
  font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}

/* Cards & Pan-Page Silo Links */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card {
  background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--brand-darker); }
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-meta { font-size: 11.5px; font-weight: 800; color: var(--brand-primary); text-transform: uppercase; margin-bottom: 6px; }
.article-card h3 { font-size: 16.5px; font-weight: 800; color: var(--brand-darker); margin-bottom: 8px; line-height: 1.35; }
.article-card p { font-size: 13.8px; color: var(--text-muted); margin-bottom: 14px; flex: 1; }

/* Tables & Prose */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: #fff; margin: 18px 0; }
.seo-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.seo-table th { background: var(--brand-primary); color: #fff; padding: 12px 14px; text-align: left; font-size: 13.5px; }
.seo-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.seo-table tr:nth-child(even) td { background: #f8fafc; }

.prose { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 22px; color: var(--brand-primary); margin: 24px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; color: var(--brand-darker); margin: 18px 0 8px; }
.prose p, .prose li { color: var(--text-muted); margin-bottom: 10px; font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }

/* Subpage Hero */
.page-hero {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-primary) 100%);
  color: #fff; padding: 46px 0; border-bottom: 3px solid var(--brand-accent);
}
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,0.78); margin-bottom: 10px; }
.breadcrumbs a { color: var(--brand-accent); }
.page-hero h1 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 900; margin-bottom: 12px; line-height: 1.25; }
.page-hero p { max-width: 780px; color: #e2eef2; font-size: 15.5px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 18px;
  font-size: 15px; font-weight: 700; color: var(--brand-darker); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--brand-primary); font-weight: 800; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 18px 16px; color: var(--text-muted); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }

/* Social Matrix */
.social-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 99px; background: #fff; border: 1px solid var(--border-light);
  font-size: 13px; font-weight: 700; color: var(--text-main);
}
.social-pill:hover { border-color: var(--brand-primary); background: var(--brand-soft); color: var(--brand-primary); }

/* Contact Form */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #cbd5df; border-radius: 8px; font-size: 14.5px; font-family: inherit;
}

/* Footer */
.site-footer { background: var(--brand-darker); color: #c7d6dc; padding: 50px 0 24px; border-top: 3px solid var(--brand-accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 28px; margin-bottom: 32px; }
.footer-col h3 { color: #fff; font-size: 15.5px; font-weight: 800; margin-bottom: 12px; }
.footer-col p { font-size: 13.5px; line-height: 1.7; color: #afc2ca; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #afc2ca; font-size: 13.5px; }
.footer-links a:hover { color: var(--brand-accent); }
.payment-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-grid img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; background: #fff; padding: 2px; }
.license-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.license-row img { height: 34px; width: auto; background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: #8da4ae;
}

@media (max-width: 1024px) {
  .provider-grid-6 { grid-template-columns: repeat(4, 1fr); }
  .bento-hero-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid, .steps-4, .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger-btn { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--header-bg); border-top: 1px solid rgba(128,128,128,0.2);
    padding: 14px 18px; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .has-dropdown .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .bento-hero-grid, .cards-2, .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .provider-grid-6, .provider-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bento-grid, .steps-4, .trust-strip, .footer-grid, .twin-cta-bar { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .prose { padding: 20px; }
}
