/**
 * Infinity Connect — modern ISP theme
 * Overrides Youlink template clutter for a clean, business-first look.
 */
/* Inter is loaded by a <link> in each page. */

:root {
  --ic-brand: #670460;
  --ic-brand-dark: #4a0345;
  --ic-brand-light: #f3e8f2;
  --ic-accent: #cb5cff;
  --ic-ink: #0f172a;
  --ic-body: #334155;
  --ic-muted: #64748b;
  --ic-line: #e2e8f0;
  --ic-surface: #ffffff;
  --ic-surface-2: #f8fafc;
  --ic-radius: 12px;
  --ic-radius-lg: 20px;
  --ic-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --ic-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --ic-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ic-header-h: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ic-font) !important;
  color: var(--ic-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.tp-section-title,
.tp-hero__title,
.breadcrumb__title {
  font-family: var(--ic-font) !important;
  color: var(--ic-ink);
  letter-spacing: -0.02em;
}

/* Hide template chrome we don't use */
.search__popup,
.tp-hero__shape-1,
.tp-hero__shape-2,
.tp-hero__shape-3,
.tp-service__badge-wrap,
.tp-hero__title-shape,
.tp-section-title .tp-title-shape,
.tp-service__title-shape,
.tp-service__box-shape,
.tp-cta-3__left-shape,
.tp-cta-3__offer-shape,
.tp-cta-3__offer {
  display: none !important;
}

/* ── Header ── */
.ic-site-header {
  position: relative;
  z-index: 1000;
}

.ic-site-header .tp-header-top__area {
  background: var(--ic-brand-dark) !important;
  border-bottom: none;
}

.ic-site-header .tp-header-top__left-info ul li,
.ic-site-header .tp-header-top__left-info ul li a,
.ic-site-header .tp-header-top__left-info ul li span {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px;
}

.ic-site-header .tp-header-top__left-info ul li span {
  background: var(--ic-brand);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-right: 8px;
}

.ic-site-header .tp-header-top__left-info ul li::after {
  display: none;
}

.ic-site-header .tp-header-top__social a {
  color: rgba(255, 255, 255, 0.85) !important;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.ic-site-header .tp-header-top__social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.ic-header-clean {
  background: var(--ic-surface) !important;
  border-bottom: 1px solid var(--ic-line) !important;
  box-shadow: none !important;
}

.ic-header-inner {
  min-height: var(--ic-header-h) !important;
  max-width: var(--ic-nav-shell-max, 1320px);
  margin: 0 auto;
  padding: 0 !important;
  width: 100%;
}

.ic-header-logo-img {
  height: 48px !important;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.ic-site-header .tp-header-main__menu > nav > ul > li > a {
  font-size: 15px !important;
  font-weight: 500;
  color: var(--ic-ink) !important;
  position: relative;
  z-index: 0;
  border-radius: 8px;
  transition: color 0.15s ease;
}

.ic-site-header .tp-header-main__menu > nav > ul > li > a:not(.ic-nav-coverage-btn)::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10px;
  right: -10px;
  top: 50%;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 8px;
  background: var(--ic-brand-light);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.ic-site-header .tp-header-main__menu > nav > ul > li.active > a:not(.ic-nav-coverage-btn) {
  color: var(--ic-brand) !important;
}

.ic-site-header .tp-header-main__menu > nav > ul > li > a:hover:not(.ic-nav-coverage-btn),
.ic-site-header .tp-header-main__menu > nav > ul > li:hover > a:not(.ic-nav-coverage-btn),
.ic-site-header .tp-header-main__menu > nav > ul > li.ic-mega-open > a:not(.ic-nav-coverage-btn) {
  color: var(--ic-brand) !important;
}

.ic-site-header .tp-header-main__menu > nav > ul > li > a:hover:not(.ic-nav-coverage-btn)::before,
.ic-site-header .tp-header-main__menu > nav > ul > li:hover > a:not(.ic-nav-coverage-btn)::before,
.ic-site-header .tp-header-main__menu > nav > ul > li.ic-mega-open > a:not(.ic-nav-coverage-btn)::before {
  opacity: 1;
}

.ic-site-header .tp-header-main__menu > nav > ul > li {
  margin: 0 14px !important;
}

.ic-site-header .tp-header-main__menu > nav > ul > li.has-dropdown-2::after {
  color: var(--ic-muted) !important;
  font-size: 10px;
}

.ic-header-phone {
  border-left: 1px solid var(--ic-line) !important;
  padding-left: 20px !important;
}

.ic-header-phone .tp-header-main__phone-content span {
  color: var(--ic-muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ic-header-phone .tp-header-main__phone-content a {
  color: var(--ic-ink) !important;
  font-weight: 700;
  font-size: 15px;
}

.ic-nav-coverage-item > a.ic-nav-coverage-btn {
  background: var(--ic-brand) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.ic-nav-coverage-item > a.ic-nav-coverage-btn::after {
  display: none !important;
}

.ic-nav-coverage-item > a.ic-nav-coverage-btn:hover {
  background: var(--ic-brand-dark) !important;
  color: #fff !important;
}

.ic-site-header .tp-header-main__menu nav ul li .has-homemenu.ic-mega-menu {
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--ic-line);
  box-shadow: var(--ic-shadow-lg);
  padding: 0;
}

.homemenu-title {
  color: var(--ic-ink) !important;
  font-size: 16px;
}

.tp-menu-btn {
  background: var(--ic-brand) !important;
  border-radius: 6px;
}

#header-sticky.header-sticky {
  box-shadow: var(--ic-shadow) !important;
}

body.ic-has-sticky-header {
  padding-top: var(--ic-header-h);
}

/* Kill legacy purple logo block if any template remnant */
.tp-header-main__logo-wrap,
.tp-header-main__logo span,
.tp-header-main__main-bg {
  display: none !important;
}

/* ── Modern hero ── */
.ic-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ic-ink);
}

.ic-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.ic-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(74, 3, 69, 0.75) 45%,
    rgba(15, 23, 42, 0.55) 100%
  );
}

.ic-hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  max-width: 680px;
}

.ic-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ic-accent);
  margin-bottom: 16px;
}

.ic-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.ic-hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 540px;
}

.ic-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.ic-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ic-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.ic-hero__pill i {
  color: var(--ic-accent);
}

/* Legacy hero slider — hide if ic-hero present */
.ic-hero + .tp-hero__area,
main > .tp-hero__area.ic-hero-legacy-hidden {
  display: none !important;
}

.tp-hero__area:not(.ic-hero-legacy) {
  margin-top: 0 !important;
}

.tp-hero__mt {
  margin-top: 0 !important;
}

/* Buttons */
.ic-btn-primary {
  padding: 14px 28px !important;
  background: var(--ic-brand) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: 2px solid var(--ic-brand) !important;
  box-shadow: 0 4px 14px rgba(103, 4, 96, 0.35);
}

.ic-btn-primary:hover {
  background: var(--ic-brand-dark) !important;
  border-color: var(--ic-brand-dark) !important;
  transform: translateY(-2px);
}

.ic-btn-outline,
.ic-btn-secondary {
  padding: 13px 28px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
  background: transparent !important;
}

.ic-btn-outline:hover,
.ic-btn-secondary:hover {
  background: #fff !important;
  color: var(--ic-brand) !important;
  border-color: #fff !important;
}

.ic-audience-card__actions .ic-btn-outline {
  border-color: var(--ic-line) !important;
  color: var(--ic-ink) !important;
}

.ic-audience-card__actions .ic-btn-outline:hover {
  border-color: var(--ic-brand) !important;
  color: var(--ic-brand) !important;
  background: var(--ic-brand-light) !important;
}

/* Trust bar */
.ic-trust-bar {
  background: var(--ic-surface);
  border-bottom: 1px solid var(--ic-line);
  padding: 18px 0;
}

.ic-trust-bar ul li {
  font-size: 14px;
  color: var(--ic-body);
}

.ic-trust-bar ul li i {
  color: var(--ic-brand);
}

/* Audience split cards */
.ic-audience-split {
  padding: 80px 0;
  background: var(--ic-surface-2);
}

.ic-audience-card {
  border-radius: var(--ic-radius-lg);
  border: 1px solid var(--ic-line);
  box-shadow: var(--ic-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ic-audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ic-shadow-lg);
}

.ic-audience-card--business {
  border-top: 4px solid var(--ic-brand);
}

.ic-audience-card--home {
  border-top: 4px solid #2563eb;
}

.ic-audience-card__title {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Services grid */
.tp-service__area {
  padding-top: 100px !important;
  background: var(--ic-surface) !important;
}

.tp-service__item {
  background: var(--ic-surface);
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-radius);
  padding: 28px 20px !important;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tp-service__item:hover {
  border-color: var(--ic-brand);
  box-shadow: var(--ic-shadow);
  transform: translateY(-3px);
}

.tp-service__icon {
  width: 56px;
  height: 56px;
  background: var(--ic-brand-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tp-service__icon img {
  max-width: 28px;
  max-height: 28px;
}

.tp-service__title-sm a {
  color: var(--ic-ink) !important;
  font-weight: 600;
  font-size: 17px;
}

.tp-service__title-sm a:hover {
  color: var(--ic-brand) !important;
}

.tp-service__link {
  display: none;
}

.tp-section-subtitle {
  color: var(--ic-brand) !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-subtitle-border::before,
.subtitle-border::before {
  display: none !important;
}

/* Choose / CTA sections */
.tp-choose-2__area {
  background: var(--ic-surface-2);
}

.tp-cta-3__bg {
  background: linear-gradient(135deg, var(--ic-brand-dark), var(--ic-brand)) !important;
  border-radius: var(--ic-radius-lg) !important;
  padding: 40px 48px !important;
}

.tp-cta-3__title-sm {
  color: #fff !important;
  font-size: 1.5rem !important;
  font-weight: 700;
}

.tp-btn,
.tp-btn-black {
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 14px 24px !important;
}

/* Footer */
.ic-site-footer .tp-footer__area {
  background: var(--ic-ink) !important;
  padding-top: 80px !important;
}

.ic-site-footer .ic-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 40px;
  align-items: start;
  width: 100%;
}

.ic-site-footer .ic-footer-grid__col {
  min-width: 0;
  max-width: 100%;
}

.ic-site-footer .footer-col-1,
.ic-site-footer .footer-col-2,
.ic-site-footer .footer-col-4 {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
}

@media (max-width: 991.98px) {
  .ic-site-footer .ic-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ic-site-footer .ic-footer-grid {
    grid-template-columns: 1fr;
  }
}

.ic-site-footer .tp-footer__logo img {
  height: 40px;
  width: auto;
  max-width: 240px;
  display: block;
}

.ic-site-footer .tp-footer__widget-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.ic-site-footer .tp-footer__widget-content ul li a,
.ic-site-footer .tp-footer__main-mail a {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.15s;
}

.ic-site-footer .tp-footer__widget-content ul li a:hover,
.ic-site-footer .tp-footer__main-mail a:hover {
  color: #fff !important;
}

.ic-site-footer .tp-copyright__area {
  background: #0a0f1a !important;
}

.ic-site-footer .tp-footer__widget-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff !important;
}

/* Sticky CTA — slim bar instead of chunky box */
.ic-sticky-cta {
  display: none;
}

/* Breadcrumb inner pages */
.breadcrumb__area {
  padding-top: 100px;
  padding-bottom: 100px;
}

.breadcrumb__overlay::before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(74, 3, 69, 0.7)) !important;
}

.breadcrumb__title {
  color: #fff !important;
  font-weight: 800;
}

.breadcrumb__list span,
.breadcrumb__list a {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Offcanvas mobile menu */
.tpoffcanvas {
  background: var(--ic-surface);
}

.tpoffcanvas__logo img {
  max-height: 40px;
}

/* Back to top */
.back-to-top-wrapper {
  bottom: 24px !important;
}

.back-to-top-btn {
  background: var(--ic-brand) !important;
  border-radius: 50% !important;
}

@media (max-width: 1199px) {
  .ic-header-inner {
    padding: 0 16px !important;
  }

  .ic-hero__content {
    padding: 60px 0 80px;
  }
}

@media (max-width: 767px) {
  .ic-hero {
    min-height: 480px;
  }

  .ic-hero__actions {
    flex-direction: column;
  }

  .ic-hero__actions a {
    width: 100%;
    text-align: center;
  }

  .ic-trust-bar ul {
    flex-direction: column;
    gap: 10px;
  }

  .tp-cta-3__bg {
    padding: 28px 20px !important;
  }
}
