/* ============================================================
   Seelight · Refractive Light theme  (v2 — additive, not destructive)
   Load AFTER all vendor & template CSS so this wins specificity
   ============================================================ */

:root {
  /* Palette — obsidian + prism (logo-friendly) */
  --sl-ink: #07080f;
  --sl-ink-2: #0e1018;
  --sl-ink-3: #1a1c28;
  --sl-paper: #f5f3ec;
  --sl-line: rgba(255, 255, 255, 0.08);
  --sl-line-strong: rgba(255, 255, 255, 0.18);
  --sl-muted: #8e8eab;
  --sl-text: #e9e7df;

  /* Prism spectrum (used in accents) */
  --sl-prism-1: #38e7ff;
  --sl-prism-2: #6e7bff;
  --sl-prism-3: #b366ff;
  --sl-prism-4: #ff4d8d;
  --sl-prism-5: #ffb946;
  --sl-accent: var(--sl-prism-1);

  /* Type — Bricolage Grotesque (variable display) + Manrope (body) + JetBrains Mono */
  --sl-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sl-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --sl-mono: 'JetBrains Mono', ui-monospace, monospace;

  --sl-glow-cyan: 0 0 40px rgba(56, 231, 255, 0.18);
}

/* ============================================================
   Color & typography only (no layout rewrites)
   ============================================================ */
body {
  background: var(--sl-ink) !important;
  color: var(--sl-text) !important;
  font-family: var(--sl-sans) !important;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

/* Dark backgrounds for the template's light sections */
.bg-light,
.bg-light2,
.page-wrapper.bg-light,
.tv-about-section.bg-light,
.tv-service-section.bg-light,
.tv-cta-section.bg-light,
.tv-testimonial-section.bg-light,
.tv-project-section.bg-light,
.seelight-clients-section.bg-light {
  background: var(--sl-ink) !important;
}

.bg-dark { background: var(--sl-ink-2) !important; }

::selection { background: var(--sl-prism-1); color: var(--sl-ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sl-ink); }
::-webkit-scrollbar-thumb { background: var(--sl-ink-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--sl-prism-2); }

/* ============================================================
   Typography
   ============================================================ */
.hero-title,
.sec-title,
h1, h2, h3, h4, h5 {
  font-family: var(--sl-display) !important;
  font-variation-settings: 'wdth' 100, 'opsz' 96;
  letter-spacing: -0.025em;
  color: var(--sl-paper) !important;
}

h1, .hero-title { font-weight: 500 !important; }
h2.sec-title { font-weight: 500 !important; }

/* italic prism accent — applied via <em class="sl-prism-text"> or just <em> in headings */
.sec-title em,
.hero-title em,
.sl-prism-text {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(110deg, var(--sl-prism-1) 0%, var(--sl-prism-3) 45%, var(--sl-prism-4) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

p, li, span, a, label, input, textarea, select { font-family: var(--sl-sans); }

.sub-title,
.sub-title-2 {
  font-family: var(--sl-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.22em !important;
  font-size: 0.72rem !important;
  color: var(--sl-muted) !important;
}
.sub-title i,
.sub-title-2 i {
  color: var(--sl-prism-1) !important;
  font-size: 0.5rem;
  margin-right: 0.4rem;
}
.sub-title-2.text-theme,
.sub-title-2.text-white,
.sub-title-2.two { color: var(--sl-muted) !important; }

/* Generic text overrides */
.text-white, .text-dark { color: var(--sl-text) !important; }
.text-muted { color: var(--sl-muted) !important; }

/* ============================================================
   Buttons
   ============================================================ */
.theme-btn,
.theme-btn.br-30,
.theme-btn.style2,
.theme-btn.style-2 {
  background: var(--sl-paper) !important;
  color: var(--sl-ink) !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.6rem !important;
  font-family: var(--sl-mono) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem !important;
  border: 1px solid var(--sl-paper) !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sl-glow-cyan);
  background: transparent !important;
  color: var(--sl-paper) !important;
}
.theme-btn.style2 {
  background: transparent !important;
  color: var(--sl-paper) !important;
  border: 1px solid var(--sl-line-strong) !important;
}
.theme-btn .arrow-all svg path { stroke: currentColor !important; }
.theme-btn .arrow-all svg circle { stroke: currentColor !important; }

/* ============================================================
   Header
   ============================================================ */
.tv-header,
.tv-header.header-style6 {
  background: transparent;
  border-bottom: 1px solid var(--sl-line);
}
.sticky-header,
.sticky-header.tv-header {
  background: rgba(7, 8, 15, 0.85) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--sl-line);
}

.main-menu .navigation > li > a {
  font-family: var(--sl-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sl-text) !important;
  position: relative;
}
.main-menu .navigation > li > a::after {
  content: '';
  position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--sl-prism-1), var(--sl-prism-3));
  transition: width .3s ease;
}
.main-menu .navigation > li > a:hover { color: var(--sl-paper) !important; }
.main-menu .navigation > li > a:hover::after { width: 60%; }

.btn-lang {
  background: transparent;
  border: 1px solid var(--sl-line-strong);
  color: var(--sl-muted);
  font-family: var(--sl-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.12em;
  transition: all .25s ease;
}
.btn-lang.active,
.btn-lang[aria-pressed="true"] {
  background: var(--sl-paper);
  color: var(--sl-ink);
  border-color: var(--sl-paper);
}

/* ============================================================
   Hero — keep template image + add prism glow overlay
   ============================================================ */
.seelight-hero {
  background: var(--sl-ink) !important;
  position: relative;
  isolation: isolate;
}
.seelight-hero .hero-area {
  background: var(--sl-ink) !important;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.seelight-hero .hero-area .bg.image,
.seelight-hero .hero-area .background-image {
  /* keep the template bg image, just dim & desaturate */
  filter: saturate(0.6) brightness(0.45);
  opacity: 0.7;
}
/* prism beam glow on top of bg image */
.seelight-hero .hero-area::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(56,231,255,0.18), transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 70%, rgba(179,102,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(7,8,15,0.6) 0%, rgba(7,8,15,0.85) 80%, rgba(7,8,15,0.95) 100%);
  pointer-events: none;
  z-index: 1;
}
.seelight-hero .hero-area .container { position: relative; z-index: 2; }

.seelight-hero .hero-content { padding: 5rem 0 4rem; max-width: 920px; }

.seelight-hero .sub-title {
  display: inline-flex !important; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--sl-line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  color: var(--sl-muted) !important;
  font-family: var(--sl-mono) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.22em !important;
}
.seelight-hero .sub-title img { display: none; }
.seelight-hero .sub-title::before {
  content: '◇'; color: var(--sl-prism-1); font-size: 0.7rem;
}

.seelight-hero .hero-title {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  font-size: clamp(2.6rem, 6.5vw, 6.5rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 1.5rem !important;
  color: var(--sl-paper) !important;
}

.seelight-hero .text {
  font-family: var(--sl-sans);
  font-size: 1rem; line-height: 1.6;
  color: var(--sl-text); opacity: 0.85;
  max-width: 620px;
}
.seelight-hero .text small {
  display: block; margin-top: 1rem;
  font-family: var(--sl-mono); font-size: 0.7rem;
  color: var(--sl-muted);
  border-left: 1px solid var(--sl-line-strong);
  padding-left: 0.9rem;
  line-height: 1.5;
}

.seelight-hero .border.my-50 { border-color: var(--sl-line) !important; opacity: 1; }
.seelight-hero .hero-user { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* keep slider arrows but restyle */
.seelight-hero .array-button { gap: 0.5rem; }
.seelight-hero .array-button button {
  background: rgba(255,255,255,0.05);
  color: var(--sl-paper);
  border: 1px solid var(--sl-line-strong);
  border-radius: 999px;
  width: 44px; height: 44px;
  transition: all .25s ease;
}
.seelight-hero .array-button button.active,
.seelight-hero .array-button button:hover {
  background: var(--sl-paper);
  color: var(--sl-ink);
  border-color: var(--sl-paper);
}

/* ============================================================
   Marquee
   ============================================================ */
.tv-marquee-section {
  background: var(--sl-ink) !important;
  border-top: 1px solid var(--sl-line);
  border-bottom: 1px solid var(--sl-line);
  padding: 1rem 0;
}
.marquee-wrap,
.marquee-wrap.style-2,
.tv-marquee-section .marquee-wrap {
  background: var(--sl-ink) !important;
  border-radius: 0 !important;
  padding: 1.4rem 0 !important;
  border-top: 1px solid var(--sl-line);
  border-bottom: 1px solid var(--sl-line);
}
.marquee-wrap .marquee__group .m-item,
.tv-marquee-section .item.m-item {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2.6rem) !important;
  color: var(--sl-text) !important;
}
.marquee-wrap .marquee__group .m-item .icon,
.tv-marquee-section .item.m-item .icon,
.tv-marquee-section .item.m-item img {
  filter: brightness(0) invert(1);
  opacity: 0.45;
}

/* ============================================================
   Sections base
   ============================================================ */
.tv-about-section,
.tv-service-section,
.tv-choose-section,
.tv-project-section,
.tv-testimonial-section,
.seelight-clients-section,
.tv-contact-section,
.tv-cta-section {
  background: var(--sl-ink) !important;
  position: relative;
}
.tv-service-section .tv-service-inner,
.tv-choose-section,
.tv-about-section,
.tv-project-section,
.tv-cta-section,
.tv-contact-section,
.tv-testimonial-section { background: var(--sl-ink) !important; }

/* dim template's decorative bg images instead of removing */
.tv-cta-section > .bg.image img,
.tv-contact-section > .bg.image img,
.tv-choose-section > .bg.image img {
  opacity: 0.15;
  filter: grayscale(0.5) brightness(0.6);
}
.tv-cta-section .overlay {
  background: linear-gradient(180deg, rgba(7,8,15,0.7), rgba(7,8,15,0.92)) !important;
}

/* ============================================================
   About — keep template layout, swap surface colors only
   ============================================================ */
.about-left-box,
.about-right .about-tags,
.about-right .about-contact-card,
.about-midle .about-card {
  background: var(--sl-ink-2) !important;
  border: 1px solid var(--sl-line);
  color: var(--sl-text);
}
.about-left-box .box-top h2,
.about-left-box .count-number,
.about-left-box h2 {
  color: var(--sl-paper) !important;
  font-family: var(--sl-display) !important;
  font-weight: 500;
}
.about-left-box .icon img { filter: brightness(0) invert(1); opacity: 0.6; }
.about-left-box .box-midle-title {
  font-family: var(--sl-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--sl-muted);
}
.about-left-box .border,
.about-midle .border,
.about-right .border { border-color: var(--sl-line) !important; opacity: 1; }

.about-midle .about-details h5 {
  font-family: var(--sl-display) !important;
  font-style: italic;
  font-weight: 500;
  color: var(--sl-paper) !important;
}
.about-midle .about-details .title {
  font-family: var(--sl-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sl-muted) !important;
}

.about-tags .title { color: var(--sl-paper) !important; }
.about-tags .tag {
  font-family: var(--sl-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--sl-line-strong);
  border-radius: 999px;
  color: var(--sl-muted);
  background: transparent;
}
.about-tags .tag.active {
  background: var(--sl-paper);
  color: var(--sl-ink);
  border-color: var(--sl-paper);
}
.about-contact-card h4 {
  font-family: var(--sl-mono); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sl-muted) !important;
}
.about-contact-card a {
  color: var(--sl-paper) !important;
  font-family: var(--sl-mono); font-size: 0.85rem;
}
.about-contact-card a:hover { color: var(--sl-prism-1) !important; }
.about-contact-card .social-icon a {
  color: var(--sl-text) !important;
  border: 1px solid var(--sl-line-strong);
}
.about-contact-card .social-icon a:hover {
  background: var(--sl-paper);
  color: var(--sl-ink) !important;
  border-color: var(--sl-paper);
}

/* ============================================================
   Services — restyle cards, keep original layout
   ============================================================ */
.service-box-six {
  background: transparent !important;
}
.service-box-six .inner {
  background: var(--sl-ink-2);
  border: 1px solid var(--sl-line);
  transition: border-color .35s ease, transform .35s ease;
}
.service-box-six:hover .inner {
  border-color: var(--sl-line-strong);
  transform: translateY(-4px);
}
.service-box-six .thumb img {
  filter: saturate(0.7) brightness(0.85) contrast(1.05);
}
.service-box-six .icon img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.service-box-six h4.text {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  color: var(--sl-paper) !important;
}
.service-box-six p.seelight-service-desc {
  color: var(--sl-text); opacity: 0.7;
}
.service-box-six .border { border-color: var(--sl-line) !important; opacity: 1; }

/* ============================================================
   Choose (Why)
   ============================================================ */
.choose-left .title-box {
  border-bottom: 1px solid var(--sl-line);
  padding: 1.2rem 0;
  cursor: pointer;
  transition: opacity .25s ease;
}
.choose-left .title-box:not(.active) { opacity: 0.5; }
.choose-left .title-box .icon img { filter: brightness(0) invert(1); opacity: 0.7; }
.choose-left .title-box .content span {
  font-family: var(--sl-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sl-muted) !important;
}
.choose-left .title-box .content .title {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  color: var(--sl-paper) !important;
}
.choose-left .title-box.active .content .title {
  background: linear-gradient(110deg, var(--sl-prism-1), var(--sl-prism-3));
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.choose-left .title-box .description {
  color: var(--sl-text) !important;
  opacity: 0.7;
}
.choose-right img {
  border: 1px solid var(--sl-line);
  filter: saturate(0.85);
}

/* ============================================================
   Clients (brands) — grayscale + dark surface
   ============================================================ */
.seelight-clients-section .container {
  border-top: 1px solid var(--sl-line);
  border-bottom: 1px solid var(--sl-line);
  padding-top: 3rem; padding-bottom: 3rem;
}
.brands-slider-three .brand-item,
.brands-slider-three .swiper-slide .image {
  background: var(--sl-ink-2);
  border: 1px solid var(--sl-line);
  padding: 0.8rem 1rem;
  min-height: 90px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: border-color .25s ease, background .25s ease;
}
.brands-slider-three .swiper-slide:hover .image,
.brands-slider-three .swiper-slide:hover .brand-item {
  background: var(--sl-ink-3);
  border-color: var(--sl-line-strong);
}
.brands-slider-three img.client-logo,
.brands-slider-three .brand-item img,
.brands-slider-three .swiper-slide img,
.seelight-clients-section img.client-logo,
.seelight-clients-section .brand-item img {
  filter: grayscale(1) brightness(1.6) contrast(0.9) !important;
  opacity: 0.55 !important;
  max-height: 50px;
  width: auto;
  transition: filter .3s ease, opacity .3s ease;
}
.brands-slider-three .swiper-slide:hover img.client-logo,
.brands-slider-three .swiper-slide:hover .brand-item img,
.seelight-clients-section .brand-item:hover img {
  filter: grayscale(0) brightness(1) contrast(1) !important;
  opacity: 1 !important;
}

/* ============================================================
   Projects — keep layout, restyle cards
   ============================================================ */
.project-box-five {
  background: var(--sl-ink-2);
  border: 1px solid var(--sl-line);
  color: var(--sl-text);
  transition: background .35s ease, border-color .35s ease;
}
.project-box-five:hover {
  background: var(--sl-ink-3);
  border-color: var(--sl-line-strong);
}
.project-box-five .serial {
  font-family: var(--sl-mono);
  letter-spacing: 0.18em;
  color: var(--sl-muted) !important;
}
.project-box-five .title {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  color: var(--sl-paper) !important;
}
.project-box-five .text { color: var(--sl-text) !important; opacity: 0.7; }
.project-box-five .badge {
  background: transparent !important;
  border: 1px solid var(--sl-line-strong) !important;
  color: var(--sl-text) !important;
  font-family: var(--sl-mono);
  font-size: 0.62rem;
  font-weight: 500 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tv-project-section .thumbs .thumb {
  border: 1px solid var(--sl-line);
  opacity: 0.5;
}
.tv-project-section .thumbs .thumb.active,
.tv-project-section .thumbs .thumb:hover { opacity: 1; }

/* ============================================================
   CTA
   ============================================================ */
.tv-cta-section .cta-left .sec-title {
  font-family: var(--sl-display) !important;
  color: var(--sl-paper) !important;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-card,
.testimonial-card .inner-box {
  background: var(--sl-ink-2);
  border: 1px solid var(--sl-line);
  color: var(--sl-text);
}
.testimonial-card .content .text {
  font-family: var(--sl-display) !important;
  font-style: italic;
  font-weight: 500;
  color: var(--sl-paper) !important;
}
.testimonial-card .quote-icon {
  color: var(--sl-prism-3) !important;
  opacity: 0.7;
}
.testimonial-card .user-name {
  font-family: var(--sl-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sl-paper) !important;
}
.testimonial-card .user-title {
  font-family: var(--sl-mono);
  color: var(--sl-muted) !important;
  font-size: 0.7rem;
}
.tv-testimonial-section .array-button button {
  background: transparent;
  color: var(--sl-paper);
  border: 1px solid var(--sl-line-strong);
  border-radius: 999px;
  width: 44px; height: 44px;
}
.tv-testimonial-section .array-button button.active,
.tv-testimonial-section .array-button button:hover {
  background: var(--sl-paper); color: var(--sl-ink);
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-form.style-5 {
  background: var(--sl-ink-2);
  border: 1px solid var(--sl-line);
  padding: 2.5rem;
}
.contact-form .sec-title {
  color: var(--sl-paper) !important;
}
.contact-form input,
.contact-form textarea,
.contact-form select,
.seelight-contact-form input,
.seelight-contact-form textarea,
.seelight-contact-form select {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--sl-line-strong) !important;
  border-radius: 0 !important;
  padding: 0.9rem 0 !important;
  font-family: var(--sl-mono);
  font-size: 0.88rem;
  color: var(--sl-paper) !important;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--sl-prism-1) !important;
  box-shadow: 0 1px 0 0 var(--sl-prism-1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--sl-muted);
  font-family: var(--sl-mono);
  letter-spacing: 0.04em;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

/* Inline validation errors */
.contact-form .form-group { position: relative; }
.contact-form .sl-invalid,
.seelight-contact-form .sl-invalid {
  border-bottom-color: var(--sl-prism-4) !important;
  box-shadow: 0 1px 0 0 var(--sl-prism-4) !important;
  color: #ffe1ec !important;
}
.contact-form .sl-invalid::placeholder { color: rgba(255,77,141,0.6) !important; }
.sl-field-error {
  font-family: var(--sl-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--sl-prism-4);
  padding: 0.35rem 0 0;
  display: flex; align-items: center; gap: 0.4rem;
}
.sl-field-error::before {
  content: '!';
  display: inline-flex; width: 14px; height: 14px;
  align-items: center; justify-content: center;
  background: var(--sl-prism-4); color: var(--sl-ink);
  border-radius: 50%; font-weight: 700; font-size: 0.65rem;
}
#contact-status {
  font-family: var(--sl-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding-top: 1rem;
}
#contact-status:not(:empty) {
  color: var(--sl-prism-1) !important;
}

.tv-contact-section .p-4 p {
  font-family: var(--sl-mono);
  font-size: 0.85rem;
  color: var(--sl-text) !important;
  border-bottom: 1px solid var(--sl-line);
  padding: 0.7rem 0;
}
.tv-contact-section .p-4 strong {
  display: block;
  font-family: var(--sl-mono);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--sl-muted) !important;
  margin-bottom: 0.2rem;
}
.tv-contact-section .p-4 a { color: var(--sl-paper) !important; }
.tv-contact-section .p-4 a:hover { color: var(--sl-prism-1) !important; }

/* ============================================================
   Footer — keep template layout, swap colors
   ============================================================ */
.footer-section {
  background: var(--sl-ink) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  border-top: 1px solid var(--sl-line);
}
.footer-section .bg.image img { opacity: 0.1; filter: grayscale(1); }
.footer-section .title {
  font-family: var(--sl-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem !important;
  color: var(--sl-muted) !important;
}
.footer-section ul li a,
.footer-section .contact-item a {
  color: var(--sl-text) !important;
  font-family: var(--sl-sans);
}
.footer-section ul li a:hover,
.footer-section .contact-item a:hover { color: var(--sl-prism-1) !important; }
.footer-section .social-icon {
  border: 1px solid var(--sl-line-strong) !important;
  color: var(--sl-text) !important;
}
.footer-section .social-icon:hover {
  background: var(--sl-paper);
  color: var(--sl-ink) !important;
  border-color: var(--sl-paper);
}
.footer-section .copyright p,
.footer-section .footer-policy a {
  font-family: var(--sl-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sl-muted) !important;
}
.footer-section .footer-policy a:hover { color: var(--sl-paper) !important; }

/* ============================================================
   Cookie / WhatsApp / sidebar
   ============================================================ */
.cookie-banner, .seelight-cookie-banner {
  background: rgba(7, 8, 15, 0.96) !important;
  border: 1px solid var(--sl-line-strong) !important;
  color: var(--sl-text) !important;
}
.whatsapp-float a { box-shadow: var(--sl-glow-cyan); }

.menu-sidebar,
.tg-sidebar-info {
  background: var(--sl-ink-2) !important;
  color: var(--sl-text);
  border-left: 1px solid var(--sl-line);
}

/* ============================================================
   Reveal helpers
   ============================================================ */
@keyframes slReveal {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.sl-reveal { animation: slReveal 800ms cubic-bezier(.2,.7,.2,1) both; }
.sl-d1 { animation-delay: 80ms; }
.sl-d2 { animation-delay: 200ms; }
.sl-d3 { animation-delay: 340ms; }
.sl-d4 { animation-delay: 480ms; }
.sl-d5 { animation-delay: 620ms; }

.sl-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sl-line-strong), transparent);
}

/* ============================================================
   Select2 (custom select dropdown used in contact form)
   ============================================================ */
.select2-container--default .select2-selection--single,
.contact-form .select2-selection,
.seelight-contact-form .select2-selection {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--sl-line-strong) !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 0.6rem 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--sl-paper) !important;
  font-family: var(--sl-mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0 !important;
  line-height: 1.6 !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--sl-muted) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--sl-muted) transparent transparent transparent !important;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--sl-prism-1) transparent !important;
}
.select2-dropdown {
  background: var(--sl-ink-2) !important;
  border: 1px solid var(--sl-line-strong) !important;
  border-radius: 4px !important;
}
.select2-container--default .select2-results__option {
  color: var(--sl-text) !important;
  font-family: var(--sl-mono);
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--sl-prism-1) !important;
  color: var(--sl-ink) !important;
}
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--selected {
  background: rgba(56,231,255,0.1) !important;
  color: var(--sl-paper) !important;
}
.select2-search--dropdown .select2-search__field {
  background: transparent !important;
  border: 1px solid var(--sl-line-strong) !important;
  color: var(--sl-paper) !important;
  font-family: var(--sl-mono);
  padding: 0.5rem !important;
}

/* Hide any leftover select2 container (we disabled the init) */
.contact-form .select2-container,
.seelight-contact-form .select2-container { display: none !important; }

/* Native dark select */
select.sl-native-select,
select.custom-select,
.contact-form select,
.seelight-contact-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sl-muted) 50%),
    linear-gradient(135deg, var(--sl-muted) 50%, transparent 50%) !important;
  background-position: calc(100% - 14px) 1.25rem, calc(100% - 9px) 1.25rem !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  border: none !important;
  border-bottom: 1px solid var(--sl-line-strong) !important;
  border-radius: 0 !important;
  color: var(--sl-paper) !important;
  font-family: var(--sl-mono) !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.04em !important;
  padding: 0.9rem 28px 0.9rem 0 !important;
  width: 100% !important;
  cursor: pointer;
}
select.sl-native-select:focus,
.contact-form select:focus {
  outline: none !important;
  border-bottom-color: var(--sl-prism-1) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sl-prism-1) 50%),
    linear-gradient(135deg, var(--sl-prism-1) 50%, transparent 50%) !important;
}
select.sl-native-select option,
.contact-form select option,
.seelight-contact-form select option {
  background: var(--sl-ink-2) !important;
  color: var(--sl-paper) !important;
  font-family: var(--sl-mono);
  padding: 0.6rem;
}
select.sl-native-select option:disabled {
  color: var(--sl-muted) !important;
}

/* ============================================================
   Legal sub-pages (aviso, privacidad, cookies, terminos, reembolsos)
   ============================================================ */
body.seelight-subpage {
  background: var(--sl-ink) !important;
}
.seelight-legal-page {
  background: var(--sl-ink) !important;
  padding-top: 8rem !important;
  padding-bottom: 6rem !important;
}
.seelight-legal-breadcrumb {
  font-family: var(--sl-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sl-muted);
}
.seelight-legal-breadcrumb a {
  color: var(--sl-muted) !important;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.seelight-legal-breadcrumb a:hover {
  color: var(--sl-prism-1) !important;
  border-bottom-color: var(--sl-prism-1);
}
.seelight-legal-page .sec-title {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  color: var(--sl-paper) !important;
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem !important;
}
.seelight-legal-page .text-muted {
  color: var(--sl-muted) !important;
  font-family: var(--sl-mono);
  letter-spacing: 0.08em;
}
.seelight-legal-prose {
  background: var(--sl-ink-2);
  border: 1px solid var(--sl-line);
  padding: 3rem 2.5rem;
  margin-top: 2rem;
  color: var(--sl-text);
  max-width: 880px;
}
.seelight-legal-prose h2 {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  font-size: 1.45rem !important;
  color: var(--sl-paper) !important;
  margin: 2.2rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sl-line);
  letter-spacing: -0.015em;
}
.seelight-legal-prose h2:first-child { margin-top: 0; }
.seelight-legal-prose h3 {
  font-family: var(--sl-display) !important;
  font-weight: 500 !important;
  font-size: 1.15rem !important;
  color: var(--sl-paper) !important;
  margin: 1.6rem 0 0.6rem;
}
.seelight-legal-prose p,
.seelight-legal-prose li {
  font-family: var(--sl-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sl-text);
  opacity: 0.88;
  margin-bottom: 0.9rem;
}
.seelight-legal-prose ul,
.seelight-legal-prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.seelight-legal-prose ul li::marker {
  color: var(--sl-prism-1);
}
.seelight-legal-prose strong {
  color: var(--sl-paper);
  font-weight: 600;
}
.seelight-legal-prose a {
  color: var(--sl-prism-1) !important;
  border-bottom: 1px solid rgba(56,231,255,0.3);
  transition: border-color .2s ease;
}
.seelight-legal-prose a:hover {
  border-bottom-color: var(--sl-prism-1);
}
.seelight-legal-prose blockquote {
  border-left: 2px solid var(--sl-prism-3);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.2rem 0;
  font-style: italic;
  color: var(--sl-text);
  opacity: 0.85;
}
.seelight-legal-prose code,
.seelight-legal-prose pre {
  font-family: var(--sl-mono);
  font-size: 0.85rem;
  background: var(--sl-ink) !important;
  color: var(--sl-prism-1);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
}
.seelight-legal-prose pre {
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 1rem 0;
}
.seelight-legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-family: var(--sl-sans);
  font-size: 0.9rem;
}
.seelight-legal-prose th,
.seelight-legal-prose td {
  border: 1px solid var(--sl-line);
  padding: 0.7rem 1rem;
  text-align: left;
}
.seelight-legal-prose th {
  background: var(--sl-ink);
  color: var(--sl-paper);
  font-family: var(--sl-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Pricing tiers within legal-pricing-article */
.seelight-legal-prose .pricing-card,
.seelight-legal-prose .price-tier {
  background: var(--sl-ink);
  border: 1px solid var(--sl-line);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.seelight-legal-prose .pricing-card h3 { margin-top: 0; }

/* Sticky header on legal pages — ensure it still applies */
body.seelight-subpage .tv-header,
body.seelight-subpage .sticky-header {
  background: rgba(7, 8, 15, 0.95) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--sl-line);
}
