/* ==========================================================================
   SNUS SWEDEN site polish — dark theme, all pages
   ========================================================================== */

body:not(.page-home) {
  background:
    radial-gradient(1000px 520px at 8% -8%, rgba(0, 168, 180, 0.12), transparent 55%),
    radial-gradient(800px 420px at 96% 0%, rgba(228, 132, 24, 0.08), transparent 50%),
    #061828;
  color: #E8ECF0;
}

/* —— Header —— */
.site-header {
  background: rgba(6, 24, 40, 0.94);
  border-bottom: 1px solid rgba(0, 168, 180, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00A8B4, #E48418);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.lang-toggle-btn {
  border-radius: 999px;
  background: rgba(0, 168, 180, 0.08);
}
.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:not(.btn-ghost):not(.btn-ghost-light):not(.btn-copper) {
  background: #E48418;
  border-color: #E48418;
  color: #0A0A0A;
  box-shadow: 0 10px 28px rgba(228, 132, 24, 0.28);
}
.btn-copper {
  background: linear-gradient(135deg, #F0A040, #E48418 45%, #C46E10);
  border: none;
  color: #0A0A0A;
  box-shadow: 0 12px 32px rgba(228, 132, 24, 0.32);
}
.btn-ghost,
.btn-ghost-light {
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 180, 0.55);
  backdrop-filter: blur(8px);
}

/* —— Page heroes —— */
.page-hero-dual {
  position: relative;
  min-height: clamp(220px, 32vw, 320px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 168, 180, 0.35) 0%, transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(228, 132, 24, 0.22) 0%, transparent 40%),
    linear-gradient(145deg, #050b12 0%, #061828 42%, #0C3054 100%);
  border-bottom: none;
  overflow: hidden;
}
.page-hero-dual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background:
    repeating-linear-gradient(60deg, transparent 0 26px, rgba(0, 168, 180, 0.07) 26px 27px),
    repeating-linear-gradient(-60deg, transparent 0 26px, rgba(228, 132, 24, 0.04) 26px 27px);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.page-hero-dual::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  z-index: 2;
  background: linear-gradient(180deg, transparent, #00A8B4 25%, #E48418 75%, transparent);
}
.page-hero-dual .page-hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 10vw, 110px) clamp(20px, 4vw, 36px) clamp(40px, 5vw, 56px);
  max-width: 1180px;
}
.page-hero-dual .eyebrow-light,
.page-hero-dual .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E48418;
  margin-bottom: 14px;
}
.page-hero-dual .eyebrow-light::before,
.page-hero-dual .eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #E48418;
  box-shadow: 0 0 0 4px rgba(228, 132, 24, 0.2);
}
.page-hero-dual h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  max-width: 14ch;
}
.page-hero-dual p {
  margin: 0;
  max-width: 40em;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  color: rgba(232, 236, 240, 0.78);
}
.page-hero-bg-pack {
  opacity: 0.55 !important;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)) !important;
  transform: rotate(-6deg) scale(1.05);
}

/* —— Page body —— */
.page-wrap,
.page-wrap-wide {
  position: relative;
}
.page-wrap-wide {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 96px);
}
.page-section-title {
  position: relative;
  display: inline-block;
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.page-section-title::after {
  content: "";
  display: block;
  margin-top: 10px;
  width: 4.5rem;
  height: 3px;
  background: linear-gradient(90deg, #00A8B4, #E48418);
}
.lead,
.muted {
  color: #9AA8B5;
  font-size: 16px;
  line-height: 1.6;
  max-width: 48em;
}
.crumbs-dark { color: #9AA8B5; }
.crumbs-dark a { color: #33C0CC; }
h1, h2, h3 { color: inherit; }
.page-wrap h1,
.page-wrap h2,
.page-wrap-wide h1,
.page-wrap-wide h2 { color: #fff; }

/* —— Pack cards —— */
.pack-grid {
  gap: 22px;
  margin-top: 32px;
}
.pack-card {
  position: relative;
  border: 1px solid rgba(0, 168, 180, 0.18);
  background: linear-gradient(180deg, #122033 0%, #0B1520 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  border-radius: 4px;
  overflow: hidden;
  color: #E8ECF0;
}
.pack-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #00A8B4, #E48418);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.pack-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 168, 180, 0.45);
  box-shadow: 0 28px 70px rgba(6, 24, 40, 0.18);
}
.pack-card:hover::before { opacity: 1; }
.pack-card-media {
  position: relative;
  min-height: 250px;
  background: transparent;
  overflow: hidden;
}
.pack-card-media::after {
  display: none;
}
.pack-card-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 210px);
  max-height: 210px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pack-card:hover .pack-card-media img {
  transform: translateY(-8px) scale(1.06) rotate(-3deg);
}
.pack-card-body { padding: 22px 22px 26px; }
.pack-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
.pack-card-body p { color: #9AA8B5; }
.pack-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #33C0CC;
  transition: gap 0.25s ease, color 0.25s ease;
}
.pack-card:hover .pack-card-cta {
  gap: 0.65rem;
  color: #E48418;
}

/* —— Product detail —— */
.product-detail-pack {
  margin-top: 8px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #122033, #0B1520);
  border: 1px solid rgba(0, 168, 180, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: #E8ECF0;
}
.product-detail-pack h1 { color: #fff; }
.product-detail-pack .product-detail-media {
  min-height: 420px;
  border-radius: 6px;
  background: transparent;
  border: 0;
}
.product-detail-pack .product-detail-media img {
  width: min(100%, 380px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-detail-pack:hover .product-detail-media img {
  transform: scale(1.04) rotate(-2deg);
}
.product-detail-note {
  border-left: 3px solid #E48418;
  background: rgba(228, 132, 24, 0.08);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
}

/* —— Chips / filters —— */
.chip-row { gap: 10px; margin-bottom: 8px; }
.chip {
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 180, 0.28);
  background: rgba(18, 32, 51, 0.9);
  color: #E8ECF0;
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.chip:hover {
  transform: translateY(-2px);
  border-color: #00A8B4;
  color: #fff;
}
.chip.active {
  background: linear-gradient(135deg, #E48418, #C46E10);
  border-color: transparent;
  color: #0A0A0A !important;
  box-shadow: 0 10px 24px rgba(228, 132, 24, 0.28);
}

/* —— Services rows —— */
.service-rows {
  margin-top: 28px;
  border-top: none;
  display: grid;
  gap: 12px;
}
.service-row {
  grid-template-columns: 72px 1fr 48px;
  padding: 26px 22px;
  border: 1px solid rgba(0, 168, 180, 0.18);
  border-radius: 8px;
  background: linear-gradient(90deg, #122033, #0B1520);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #E8ECF0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.3s ease, background 0.25s ease;
}
.service-row:hover {
  transform: translateX(6px);
  padding-inline-start: 22px;
  border-color: rgba(0, 168, 180, 0.45);
  background: linear-gradient(90deg, rgba(0, 168, 180, 0.14), #122033 45%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.service-row-num {
  font-size: 18px;
  font-weight: 700;
}
.service-row-text strong { color: #fff; }
.service-row-text em { color: #9AA8B5; }
.service-row-arrow {
  background: linear-gradient(135deg, #0C3054, #061828);
  transition: transform 0.3s ease, background 0.25s ease;
}
.service-row:hover .service-row-arrow {
  transform: translate(3px, -3px);
  background: linear-gradient(135deg, #E48418, #C46E10);
}

/* —— Contact —— */
.contact-grid {
  gap: 36px;
  align-items: stretch;
}
.contact-form-col {
  padding: 32px;
  border-radius: 8px;
  background: linear-gradient(180deg, #122033, #0B1520);
  border: 1px solid rgba(0, 168, 180, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: #E8ECF0;
}
.contact-form-col h2 {
  font-size: 28px;
  letter-spacing: 0.02em;
  color: #fff;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9AA8B5;
}
.field input,
.field textarea {
  border-radius: 8px;
  border: 1px solid rgba(0, 168, 180, 0.25);
  background: #061828;
  color: #E8ECF0;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 168, 180, 0.65);
  background: #0A1624;
  box-shadow: 0 0 0 4px rgba(0, 168, 180, 0.16);
  outline: none;
}
.contact-visual-pack {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 168, 180, 0.25);
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 168, 180, 0.25) 0%, transparent 55%),
    #070d14;
  box-shadow: 0 24px 60px rgba(6, 24, 40, 0.2);
}
.contact-visual-note {
  width: 100%;
  margin-top: 8px;
  padding: 22px 24px 28px;
  background: linear-gradient(180deg, transparent, rgba(6, 24, 40, 0.92));
  color: #E8ECF0;
}
.contact-visual-note h2 { color: #fff; margin: 0 0 8px; }
.contact-visual-note a { color: #E48418; font-weight: 700; }

/* —— Blog —— */
.blog-grid { gap: 22px; }
.blog-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 168, 180, 0.18);
  background: linear-gradient(180deg, #122033, #0B1520);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  color: #E8ECF0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.blog-card-title a { color: #fff; }
.blog-card .tile-body p { color: #9AA8B5; }
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(6, 24, 40, 0.14);
}
.blog-card-media img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }

/* —— Legal —— */
.legal-prose {
  background: linear-gradient(180deg, #122033, #0B1520);
  border: 1px solid rgba(0, 168, 180, 0.18);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  color: #E8ECF0;
}
.legal-prose h2 {
  margin-top: 1.6em;
  padding-top: 0.4em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
  color: #fff;
}
.legal-prose a { color: #33C0CC; }
.legal-meta { color: #9AA8B5; }
.legal-prose h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* —— Footer / compliance —— */
.compliance {
  background: #0A0A0A;
  border-block: 1px solid #E48418;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  font-size: 11px;
}
.site-footer {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(0, 168, 180, 0.16), transparent 55%),
    radial-gradient(500px 300px at 10% 100%, rgba(228, 132, 24, 0.1), transparent 50%),
    #061828;
  border-top: 1px solid rgba(0, 168, 180, 0.35);
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(232, 236, 240, 0.45);
}
.footer-links a {
  transition: color 0.25s ease, padding-inline-start 0.25s ease;
}
.footer-links a:hover {
  color: #E48418;
  padding-inline-start: 4px;
}

/* —— Tiles fallback —— */
.tile {
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(6, 24, 40, 0.05);
}
.tile-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(6, 24, 40, 0.14);
}

/* —— Reveals (all pages) —— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.18s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .page-hero-dual::after { display: none; }
  .product-detail-pack { padding: 18px; }
  .contact-form-col { padding: 22px; }
}
