﻿/* ==========================================================================
   CB ALUMINIUM & SLIDEX - PREMIUM DESIGN SYSTEM & STYLESHEET
   Target: cPanel Ready, High-Performance, Mobile-First, Hardware-Accelerated
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* --- CUSTOM TEXT SELECTION (BRAND MATCHING ::selection) --- */
::selection {
  background-color: #0284C7 !important;
  color: #FFFFFF !important;
  text-shadow: none !important;
}

/* Admin document package manager. */
.library-admin-card { max-width:1180px; }
.library-admin-head { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding-bottom:22px; border-bottom:1px solid #334155; }
.library-admin-head h3 { margin:5px 0 7px; padding:0; border:0; }
.library-admin-head p { max-width:760px; margin:0; color:#94a3b8; line-height:1.6; }
.library-limit-badge { display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; padding:10px 12px; border:1px solid rgba(56,189,248,.35); border-radius:8px; background:#0f172a; color:#bae6fd; font-size:.75rem; font-weight:800; }
.library-type-note { margin:18px 0; padding:13px 15px; border-left:3px solid #38bdf8; background:#0f172a; color:#cbd5e1; font-size:.82rem; line-height:1.6; }
.library-admin-item { position:relative; display:grid; grid-template-columns:52px minmax(220px,1fr) minmax(190px,.65fr) auto auto; gap:12px; align-items:center; padding:18px 0; border-bottom:1px solid #334155; }
.library-admin-number { display:grid; place-items:center; width:42px; height:42px; border:1px solid rgba(56,189,248,.35); border-radius:9px; background:#0f172a; color:#38bdf8; font:800 .75rem monospace; }
.library-admin-copy h4 { margin:0 0 6px; color:#f8fafc; font-size:.98rem; }
.library-current-file { margin:0; color:#fbbf24; font-size:.76rem; line-height:1.45; overflow-wrap:anywhere; }
.library-current-file.is-ready { color:#6ee7b7; }
.library-file-picker { display:flex; align-items:center; min-width:0; height:42px; overflow:hidden; border:1px solid #475569; border-radius:8px; background:#0f172a; color:#e2e8f0; cursor:pointer; }
.library-file-picker span { display:flex; align-items:center; gap:7px; padding:0 13px; white-space:nowrap; font-size:.78rem; font-weight:800; }
.library-file-picker input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.library-upload-button,.library-remove-button { min-height:42px; white-space:nowrap; }
.library-remove-button { border:1px solid #64748b; background:#1e293b; color:#f8fafc !important; }
.library-remove-button:hover { border-color:#f87171; background:#7f1d1d; }
.library-row-status { grid-column:2/-1; min-height:17px; margin:0; font-size:.75rem; font-weight:700; }
.library-row-status[data-state="info"] { color:#7dd3fc; }
.library-row-status[data-state="error"] { color:#fca5a5; }
.library-admin-status { margin:16px 0 0; font-weight:800; }
.library-admin-status[data-state="success"] { color:#6ee7b7; }
.library-admin-status[data-state="error"] { color:#fca5a5; }

/* Published library downloads and stable footer alignment. */
.download-card[data-download-ready="true"] { border-color:rgba(52,211,153,.42); }
.download-card[data-download-ready="true"] .file-format-badge { border-color:rgba(52,211,153,.55); color:#a7f3d0; }
.library-direct-download::after { background:linear-gradient(120deg,transparent,rgba(255,255,255,.3),transparent); }
.footer:not(.premium-footer) .footer-bottom { align-items:flex-start; }
.footer:not(.premium-footer) .footer-bottom > p { margin:0; }
.footer:not(.premium-footer) .footer-bottom > p:last-child { max-width:330px; text-align:right; line-height:1.65; }
.orbis-agency-credit { margin-left:auto; color:#94a3b8; font-size:.78rem; line-height:1.5; }
.orbis-agency-credit a { color:#38bdf8; font-weight:800; text-decoration:none; }
.orbis-agency-credit a:hover { color:#7dd3fc; text-decoration:underline; text-underline-offset:3px; }
body:has(.floating-actions) .footer-bottom { padding-bottom: 92px; }

@media (max-width:980px) {
  .library-admin-head { display:grid; }
  .library-limit-badge { width:fit-content; }
  .library-admin-item { grid-template-columns:44px minmax(0,1fr) auto; }
  .library-file-picker { grid-column:2/-1; }
  .library-upload-button { grid-column:2; }
  .library-remove-button { grid-column:3; }
  .library-row-status { grid-column:2/-1; }
}

@media (max-width:640px) {
  .library-admin-item { grid-template-columns:42px minmax(0,1fr); }
  .library-file-picker,.library-upload-button,.library-remove-button,.library-row-status { grid-column:1/-1; width:100%; }
  .library-upload-button,.library-remove-button { justify-content:center; }
  .footer:not(.premium-footer) .footer-bottom { align-items:center; }
  .footer:not(.premium-footer) .footer-bottom > p:last-child { max-width:100%; text-align:center; }
  .orbis-agency-credit { width:100%; margin-left:0; text-align:center; }
  body:has(.floating-actions) .footer-bottom { padding-bottom: 104px; }
}

::-moz-selection {
  background-color: #0284C7 !important;
  color: #FFFFFF !important;
  text-shadow: none !important;
}

[data-theme="dark"] ::selection {
  background-color: #38BDF8 !important;
  color: #070D1B !important;
}

[data-theme="dark"] ::-moz-selection {
  background-color: #38BDF8 !important;
  color: #070D1B !important;
}

/* --- DESIGN TOKENS --- */
:root {
  /* Colors - LIGHT THEME (DEFAULT) */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-surface-dark: #0F172A;
  --color-surface-darker: #070D1B;
  --color-surface-graphite: #1E293B;
  
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;
  --color-text-light: #F8FAFC;
  
  --color-primary: #0284C7;       /* CB Aluminium Blue */
  --color-primary-hover: #0369A1;
  --color-primary-light: #E0F2FE;
  --color-accent: #38BDF8;
  
  --color-border: #E2E8F0;
  --color-border-dark: #334155;
  
  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 24px rgba(2, 132, 199, 0.25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1440px;
  --header-height: 80px;
}

/* --- DARK THEME OVERRIDES --- */
[data-theme="dark"] {
  --color-bg: #0B132B;
  --color-bg-alt: #0F172A;
  --color-bg-card: #1E293B;
  --color-surface-dark: #070D1B;
  --color-surface-darker: #040812;
  
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  
  --color-primary-light: rgba(2, 132, 199, 0.25);
  --color-border: #334155;
  --color-border-dark: #475569;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Premium page transition layer */
.page-motion-pending body { overflow: hidden; }
.page-motion-overlay {
  position: fixed;
  z-index: 10000000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #071825;
  opacity: 0;
  pointer-events: none;
  transition: opacity .72s cubic-bezier(.16,1,.3,1), visibility .72s;
  visibility: hidden;
}
.page-motion-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.page-motion-overlay.is-leaving { opacity: 1; visibility: visible; }
.page-motion-mark { display: grid; justify-items: center; gap: 22px; transform: translateY(16px) scale(.92); opacity: 0; transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .7s ease; }
.page-motion-overlay.is-visible .page-motion-mark { transform: translateY(0) scale(1); opacity: 1; }
.page-motion-mark img { display:block; width:min(390px,78vw); max-height:none; height:auto; padding:7px; border-radius:10px; background:#fff; object-fit:contain; object-position:center; filter:none; }
.page-motion-mark span { position: relative; display: block; width: min(190px, 48vw); height: 2px; overflow: hidden; background: rgba(255,255,255,.2); }
.page-motion-mark span::after { content: ''; position: absolute; inset: 0 auto 0 -100%; width: 55%; background: #D7B56D; box-shadow: 0 0 16px rgba(215,181,109,.8); animation: page-motion-line 1.8s cubic-bezier(.16,1,.3,1) 1 forwards; }
@keyframes page-motion-line { to { transform: translateX(360%); } }
@media (prefers-reduced-motion: reduce) {
  .page-motion-overlay, .page-motion-mark { transition: none; }
  .page-motion-mark span::after { animation: none; left: 0; }
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

/* --- PREMIUM INTERACTIVE MOUSE CURSOR ANIMATION --- */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #38BDF8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999999;
  transform: translate3d(-100px,-100px,0) translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 0 10px #38BDF8;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999998;
  transform: translate3d(-100px,-100px,0) translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.25);
  backdrop-filter: blur(2px);
}

/* Hover State for Interactive Elements */
body.cursor-hover .custom-cursor-follower {
  width: 54px;
  height: 54px;
  border-color: #38BDF8;
  background-color: rgba(2, 132, 199, 0.15);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

body.cursor-hover .custom-cursor-dot {
  width: 12px;
  height: 12px;
  background-color: #FFFFFF;
}

@media (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-follower {
    display: none !important;
  }
}

/* --- PREMIUM SPLASH SCREEN OVERLAY --- */
.slidex-splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #0F172A 0%, #040812 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
  box-sizing: border-box;
}

.slidex-splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 90vw;
}

.splash-glow-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(2, 132, 199, 0) 70%);
  filter: blur(32px);
  animation: splashPulse 2s ease-in-out infinite alternate;
}

.splash-brand-logo {
  width: min(440px, 86vw);
  height: auto;
  max-width: 85vw;
  object-fit: contain;
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.38));
  animation: logoBreath 2s ease-in-out infinite alternate;
}

@keyframes logoBreath {
  0% { transform: scale(0.96); }
  100% { transform: scale(1.04); }
}

@keyframes splashPulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  100% { opacity: 0.9; transform: scale(1.15); }
}

.splash-tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #38BDF8;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.splash-progress-track {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284C7 0%, #38BDF8 100%);
  box-shadow: 0 0 14px #38BDF8;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CONTACT INFO ROW HORIZONTAL LAYOUT --- */
.contact-info-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.contact-icon-box {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-text strong {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.contact-info-text p {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Contact page: resilient two-column desktop and touch-friendly mobile layout. */
.contact-page-main { padding-top:120px; padding-bottom:80px; overflow:hidden; }
.contact-page-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"details form" "extra form"; gap:24px 40px; align-items:start; }
.contact-page-card { min-width:0; padding:36px; border:1px solid var(--color-border); border-radius:var(--radius-xl); background:var(--color-bg-card); box-shadow:var(--shadow-lg); }
.contact-details-card { grid-area:details; }
.contact-form-card { grid-area:form; }
.contact-extra-card { grid-area:extra; position:relative; overflow:hidden; padding:30px; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(241,248,252,.96)); }
.contact-extra-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:linear-gradient(180deg,var(--color-primary),#38BDF8 55%,#D7B765); }
.contact-extra-kicker { display:inline-flex; margin-bottom:10px; color:var(--color-primary); font-size:.69rem; font-weight:800; letter-spacing:.14em; }
.contact-extra-intro .heading-md { margin-bottom:12px; }
.contact-extra-intro > p { color:var(--color-text-secondary); font-size:.9rem; line-height:1.7; }
.contact-extra-links { display:grid; gap:7px; margin:20px 0; padding:17px 18px; border:1px solid rgba(2,132,199,.16); border-radius:14px; background:rgba(2,132,199,.055); }
.contact-extra-links p { margin:0; color:var(--color-text-secondary); font-size:.86rem; line-height:1.55; }
.contact-extra-links a { color:var(--color-primary); font-weight:750; overflow-wrap:anywhere; }
.contact-extra-columns { display:grid; gap:14px; }
.contact-extra-block { padding:18px; border:1px solid var(--color-border); border-radius:14px; background:#FFF; }
.contact-extra-block h3 { display:flex; align-items:center; gap:9px; margin-bottom:13px; font-size:1rem; }
.contact-extra-block h3 i { color:var(--color-primary); }
.contact-extra-block ul { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.contact-extra-block li { display:flex; justify-content:space-between; gap:14px; padding-bottom:8px; border-bottom:1px dashed var(--color-border); color:var(--color-text-secondary); font-size:.82rem; }
.contact-extra-block li:last-child { padding-bottom:0; border-bottom:0; }
.contact-extra-block li strong { color:var(--color-text-primary); text-align:right; }
.contact-extra-offer p { margin:0; color:var(--color-text-secondary); font-size:.85rem; line-height:1.65; }
[data-theme="dark"] .contact-extra-card { background:linear-gradient(145deg,rgba(30,41,59,.98),rgba(15,23,42,.98)); }
[data-theme="dark"] .contact-extra-links { border-color:rgba(56,189,248,.24); background:rgba(14,165,233,.09); }
[data-theme="dark"] .contact-extra-block { background:rgba(15,23,42,.72); }
.contact-map-embed { height:220px; margin-top:24px; overflow:hidden; border:1px solid var(--color-border); border-radius:16px; background:#071825; }
.contact-map-embed iframe { display:block; width:100%; height:100%; border:0; }
.contact-info-text { min-width:0; }
.contact-info-text p,
.contact-info-text a { max-width:100%; overflow-wrap:anywhere; word-break:normal; }
.contact-form-card .form-control { width:100%; max-width:100%; }

@media (max-width:900px) {
  .contact-page-main { padding-top:calc(var(--header-height) + 38px); padding-bottom:68px; }
  .contact-page-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"details" "extra" "form"; gap:24px; }
  .contact-page .section-header.center { margin-bottom:32px !important; }
  .contact-page-card { padding:28px; }
  .contact-map-embed { height:260px; }
}

@media (max-width:560px) {
  .contact-page-main { padding-top:calc(var(--header-height) + 26px); padding-bottom:54px; }
  .contact-page .section-header.center { margin-bottom:24px !important; text-align:left; }
  .contact-page .section-header.center .subtitle { margin-right:0; margin-left:0; }
  .contact-page-card { padding:22px 18px; border-radius:18px; }
  .contact-extra-card { padding:24px 20px; }
  .contact-extra-block li { align-items:flex-start; }
  .contact-page-card .heading-md { font-size:1.25rem; }
  .contact-info-row { align-items:flex-start !important; margin-bottom:20px !important; }
  .contact-info-text strong { font-size:.8rem; line-height:1.35; }
  .contact-info-text p { font-size:.86rem; line-height:1.5; }
  .contact-map-embed { height:230px; margin-top:18px; border-radius:12px; }
  .contact-form-card .btn[type="submit"] { min-height:50px; white-space:normal; }
  .contact-page .service-network { padding-top:70px; padding-bottom:70px; }
  .contact-page .service-network-head { margin-bottom:24px; }
  .contact-page .service-network-head h2 { font-size:2.35rem; }
  .contact-page .service-map-canvas { min-height:320px; aspect-ratio:auto; }
  .contact-page .service-location-card { min-height:0; padding:20px 18px; }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 800;
}

.heading-lg {
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
}

.heading-md {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.heading-sm {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.subtitle {
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 680px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-theme="dark"] .badge-tag {
  background: rgba(56, 189, 248, 0.2);
  color: var(--color-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-tag.dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- BUTTONS & FORMS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: #0F172A !important;
  border: 1.5px solid #0F172A;
  font-weight: 700;
}

[data-theme="dark"] .btn-secondary {
  color: #F8FAFC !important;
  border-color: #475569;
}

.btn-secondary:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  background: rgba(2, 132, 199, 0.08);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.825rem;
  min-height: 38px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  min-height: 52px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label, .cms-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #CBD5E1 !important;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .form-group label, [data-theme="dark"] .cms-card label {
  color: #F8FAFC !important;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  min-height: 46px;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  border-color: var(--color-primary);
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
  pointer-events: none;
}

[data-theme="dark"] .header::before {
  background: rgba(11, 19, 43, 0.96);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.header-container > nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.header-brand-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.slidex-brand-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  flex-shrink: 0;
  border-radius: 4px;
  background: #fff;
}

.footer img[src*="slidex-logo-official"] {
  width: 178px !important;
  max-width: 100%;
  height: auto !important;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
}

.slidex-brand-logo:hover {
  transform: scale(1.05);
}

[data-theme="dark"] .slidex-brand-logo {
  opacity: 1;
}

/* Footer zemini her iki temada da koyu (--color-surface-darker: #070D1B / #040812).
   Bu yuzden logo temadan bagimsiz olarak daima acik (koyu tema) surumunde kalir;
   aksi halde acik temada koyu logo koyu zeminde kayboluyordu. */
.footer img[src*="slidex-logo-official"] {
  filter: grayscale(1) invert(1) brightness(1.28) contrast(1.08) drop-shadow(0 4px 10px rgba(56, 189, 248, 0.16));
  opacity: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-primary);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-dropdown { position:relative; }
.nav-dropdown-toggle { display:inline-flex; align-items:center; gap:7px; }
.nav-dropdown-chevron { font-size:.6rem; transition:transform var(--transition-fast); }
.nav-dropdown-menu {
  position:absolute;
  top:calc(100% + 15px);
  left:50%;
  min-width:230px;
  padding:10px;
  list-style:none;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:rgba(7,24,37,.97);
  box-shadow:0 22px 50px rgba(2,8,23,.28);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,10px);
  transition:opacity .2s ease,visibility .2s ease,transform .2s ease;
  z-index:1100;
}
.nav-dropdown-menu::before { content:""; position:absolute; inset:-15px 0 auto; height:15px; }
.nav-dropdown-menu a { display:block; padding:10px 12px; border-radius:9px; color:#E2E8F0; font-size:.82rem; font-weight:650; white-space:nowrap; transition:background .18s ease,color .18s ease,transform .18s ease; }
.nav-dropdown-menu a:hover,.nav-dropdown-menu a:focus-visible { color:#FFF; background:rgba(14,165,233,.16); transform:translateX(3px); }
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu,.nav-dropdown.open .nav-dropdown-menu { opacity:1; visibility:visible; transform:translate(-50%,0); }
.nav-dropdown:hover .nav-dropdown-chevron,.nav-dropdown:focus-within .nav-dropdown-chevron,.nav-dropdown.open .nav-dropdown-chevron { transform:rotate(180deg); }

.service-info-page-main { position:relative; isolation:isolate; padding:140px 0 100px; overflow:hidden; background:radial-gradient(circle at 8% 12%,rgba(14,165,233,.1),transparent 26rem),linear-gradient(180deg,var(--color-bg-alt),var(--color-bg)); }
.service-info-page-main::before { content:""; position:absolute; z-index:-1; top:70px; right:-140px; width:430px; height:430px; border:1px solid rgba(14,165,233,.12); border-radius:50%; box-shadow:0 0 0 55px rgba(14,165,233,.025),0 0 0 110px rgba(215,183,101,.02); }
.service-info-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:54px; align-items:end; margin-bottom:54px; }
.service-info-hero .heading-xl { max-width:820px; margin-top:14px; letter-spacing:-.045em; }
.service-info-hero p { max-width:570px; color:var(--color-text-secondary); font-size:1rem; line-height:1.9; }
.service-info-nav { position:sticky; top:calc(var(--header-height) + 14px); z-index:20; display:flex; gap:7px; margin-bottom:32px; padding:9px; overflow-x:auto; border:1px solid var(--color-border); border-radius:16px; background:color-mix(in srgb,var(--color-bg-card) 94%,transparent); box-shadow:0 14px 36px rgba(15,23,42,.09); backdrop-filter:blur(18px); }
.service-info-nav a { position:relative; flex:0 0 auto; padding:11px 15px 11px 29px; border-radius:10px; color:var(--color-text-secondary); font-size:.78rem; font-weight:780; }
.service-info-nav a::before { content:""; position:absolute; left:14px; top:50%; width:6px; height:6px; border-radius:50%; background:#D7B765; transform:translateY(-50%); box-shadow:0 0 0 4px rgba(215,183,101,.12); }
.service-info-nav a:hover,.service-info-nav a:focus-visible { color:#FFF; background:#0B2A3D; }
.service-info-sections { display:grid; gap:26px; }
.service-info-section { --section-accent:#0EA5E9; position:relative; scroll-margin-top:155px; display:grid; grid-template-columns:minmax(245px,285px) minmax(0,1fr); gap:46px; padding:44px 42px; overflow:hidden; border:1px solid var(--color-border); border-radius:24px; background:linear-gradient(112deg,color-mix(in srgb,var(--color-bg-card) 100%,transparent) 0 29%,color-mix(in srgb,var(--section-accent) 4%,var(--color-bg-card)) 29% 100%); box-shadow:0 18px 44px rgba(15,23,42,.07); transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease; }
.service-info-section:nth-child(2) { --section-accent:#D7B765; }
.service-info-section:nth-child(3) { --section-accent:#64748B; }
.service-info-section:nth-child(4) { --section-accent:#0F9F8F; }
.service-info-section:nth-child(5) { --section-accent:#8B6FC0; }
.service-info-section::before { content:""; position:absolute; inset:0 auto 0 0; width:5px; background:linear-gradient(180deg,var(--section-accent),color-mix(in srgb,var(--section-accent) 20%,transparent)); }
.service-info-section::after { content:""; position:absolute; right:-44px; top:-66px; width:170px; height:170px; border:1px solid color-mix(in srgb,var(--section-accent) 22%,transparent); border-radius:50%; }
.service-info-section:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--section-accent) 45%,var(--color-border)); box-shadow:0 24px 55px rgba(15,23,42,.11); }
.service-info-section header { position:relative; min-width:0; padding-right:18px; border-right:1px solid color-mix(in srgb,var(--section-accent) 24%,var(--color-border)); }
.service-info-section .service-info-index { display:inline-flex; align-items:center; gap:8px; color:var(--section-accent); font-size:.69rem; font-weight:850; letter-spacing:.15em; }
.service-info-section .service-info-index::before { content:""; width:24px; height:2px; background:currentColor; }
.service-info-section h2 { margin-top:12px; max-width:100%; color:var(--color-text-primary); font-size:clamp(1.42rem,2vw,1.85rem); line-height:1.14; overflow-wrap:anywhere; word-break:normal; hyphens:auto; }
.service-info-content { position:relative; z-index:1; min-width:0; max-width:70ch; color:var(--color-text-secondary); font-size:1.02rem; line-height:1.95; }
.service-info-content p + p { margin-top:22px; }
.service-info-content ul + p { margin-top:22px; }
.service-info-content ul { display:grid; gap:16px; margin:22px 0 0; padding:0; list-style:none; }
.service-info-content li { position:relative; padding-left:22px; line-height:1.85; }
.service-info-content li::before { content:""; position:absolute; left:1px; top:.78em; width:7px; height:7px; border:2px solid var(--section-accent); border-radius:50%; }
.service-info-legal-note { margin-top:26px; padding:18px 20px; border-left:3px solid #D7B765; background:rgba(215,183,101,.1); color:var(--color-text-secondary); font-size:.84rem; line-height:1.8; }

@media (max-width:960px) {
  .nav-dropdown { width:100%; }
  .nav-dropdown-toggle { justify-content:space-between; }
  .nav-dropdown-menu { position:static; min-width:0; width:100%; margin-top:4px; padding:6px 0 4px 16px; border:0; border-radius:0; background:transparent; box-shadow:none; opacity:1; visibility:visible; transform:none; display:none; }
  .nav-dropdown.open .nav-dropdown-menu { display:block; transform:none; }
  .nav-dropdown-menu a { padding:9px 12px; color:var(--color-text-secondary); border-left:1px solid var(--color-border); border-radius:0; white-space:normal; }
  .service-info-page-main { padding-top:calc(var(--header-height) + 44px); }
  .service-info-hero { grid-template-columns:1fr; gap:18px; margin-bottom:34px; }
  .service-info-section { grid-template-columns:1fr; gap:18px; }
  .service-info-section header { padding-right:0; padding-bottom:18px; border-right:0; border-bottom:1px solid color-mix(in srgb,var(--section-accent) 24%,var(--color-border)); }
}

@media (max-width:560px) {
  .service-info-page-main { padding-bottom:60px; }
  .service-info-hero .heading-xl { font-size:2.6rem; }
  .service-info-nav { margin-right:-12px; margin-left:-12px; border-radius:0; }
  .service-info-section { padding:24px 20px; border-radius:18px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.825rem;
  color: var(--color-text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  background: var(--color-bg-alt);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.lang-selector span {
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lang-selector span.active {
  color: var(--color-primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* --- BALANCED SPLIT HERO SECTION --- */
.hero-split {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.hero-split-container {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

.hero-split-text {
  max-width: 660px;
}

.hero-split-text .hero-title {
  margin-top: 18px;
  margin-bottom: 20px;
  color: var(--color-text-primary);
}

.hero-split-text .hero-description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-split-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-bg);
}

.hero-split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* --- TRUST BADGE BAND --- */
.trust-bar {
  background-color: var(--color-surface-dark);
  color: #FFFFFF;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-text h5 {
  font-size: 0.95rem;
  color: #FFFFFF;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- PRODUCT CARDS & STACKED BUTTON FOOTER --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.product-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.product-card-footer .btn, .product-card-footer a {
  width: 100% !important;
  padding: 10px 16px;
  font-size: 0.825rem;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

/* --- SMART QUIZ / PRODUCT FINDER --- */
.quiz-box {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.quiz-option-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  background: var(--color-bg);
}

.quiz-option-card:hover, .quiz-option-card.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.quiz-option-card h5 {
  color: var(--color-text-primary);
}

.quiz-option-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: block;
}

/* --- STUDIO 2-COLUMN CONFIGURATOR --- */
.configurator-wrapper {
  display: grid;
  grid-template-columns: 52% 48%;
  background-color: var(--color-surface-darker);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border-dark);
  align-items: stretch;
}

.configurator-preview {
  position: relative;
  background: radial-gradient(circle at center, #1E293B 0%, #080D1A 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--color-border-dark);
}

.preview-badge-code {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.preview-canvas-container {
  width: 100%;
  height: 440px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0,0,0,0.6);
  background: #0B132B;
}

.configurator-controls {
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  color: #0F172A;
}

[data-theme="dark"] .configurator-controls {
  background-color: #1E293B;
  color: #F8FAFC;
}

.config-steps-nav {
  display: flex;
  background: var(--color-bg-alt);
  border-bottom: 2px solid var(--color-border);
  padding: 12px;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.config-steps-nav::-webkit-scrollbar {
  display: none;
}

[data-theme="dark"] .config-steps-nav {
  background: #0F172A;
  border-bottom-color: #334155;
}

.step-pill {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid var(--color-border);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

[data-theme="dark"] .step-pill {
  background: #0F172A;
  color: #CBD5E1;
  border-color: #334155;
}

.step-pill.active {
  background-color: var(--color-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.config-panel {
  display: none !important;
  padding: 24px;
  flex-grow: 1;
}

.config-panel.active {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
}

.config-panel h4 {
  font-size: 1.1rem;
  color: var(--color-text-primary);
  font-weight: 800;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: 8px;
}

.slider-box {
  background: var(--color-bg-alt);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.slider-val {
  font-family: monospace;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-primary);
}

[data-theme="dark"] .slider-box {
  background: #0F172A !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .slider-val {
  color: var(--color-accent) !important;
}

.accessory-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--color-bg-alt);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  color: var(--color-text-primary);
  font-weight: 600;
  min-height: 48px;
}

[data-theme="dark"] .accessory-checkbox-label {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #F8FAFC !important;
}

.summary-box {
  background: var(--color-bg-alt);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  color: var(--color-text-primary);
}

[data-theme="dark"] .summary-box {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #F8FAFC !important;
}

.config-option-card {
  padding: 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.config-option-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A !important;
  margin-bottom: 4px;
}

.config-option-card p {
  font-size: 0.825rem;
  color: #475569 !important;
  margin: 0;
}

.config-option-card.active {
  border-color: var(--color-primary) !important;
  background-color: #E0F2FE !important;
}

.config-option-card.active h5 {
  color: #0284C7 !important;
}

[data-theme="dark"] .config-option-card {
  background: #0F172A !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .config-option-card h5 {
  color: #F8FAFC !important;
}

[data-theme="dark"] .config-option-card p {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .config-option-card.active {
  background-color: rgba(2, 132, 199, 0.35) !important;
  border-color: #38BDF8 !important;
}

[data-theme="dark"] .config-option-card.active h5 {
  color: #FFFFFF !important;
}

.ral-swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.ral-swatch {
  height: 60px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
}

.ral-swatch:hover, .ral-swatch.active {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

/* --- UNIVERSAL QUOTE MODAL --- */
.quote-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.quote-modal-content {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.quote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.quote-modal-close:hover {
  color: var(--color-primary);
}

/* --- B2B LIBRARY PORTAL CSS --- */
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.library-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  flex-grow: 1;
  max-width: 440px;
}

.library-search-box input {
  width: 100%;
  color: #F8FAFC;
  font-size: 0.9rem;
}

.library-search-box input::placeholder {
  color: #94A3B8;
}

.library-filter-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lib-tag {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  background: rgba(30, 41, 59, 0.8);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 38px;
}

.lib-tag:hover, .lib-tag.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.download-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.4rem;
}

.file-format-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.2);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: monospace;
}

.card-content {
  flex-grow: 1;
  margin-bottom: 20px;
}

.download-card .card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.35;
  margin-bottom: 8px;
}

.download-card .card-desc {
  font-size: 0.85rem;
  color: #94A3B8 !important;
  line-height: 1.5;
  margin: 0;
}

/* --- FOOTER HIGH CONTRAST TYPOGRAPHY --- */
.footer {
  background-color: var(--color-surface-darker);
  color: #E2E8F0;
  padding-top: 70px;
  padding-bottom: 40px;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 50px;
}

.footer h4 {
  color: #FFFFFF !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #CBD5E1 !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent) !important;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* --- COMPREHENSIVE RESPONSIVE BREAKPOINTS (320px to 1200px) --- */

@media (max-width: 1200px) {
  :root {
    --container-max: 960px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-split-image img {
    height: 360px;
  }

  .configurator-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .slidex-brand-logo {
    height: 40px;
  }

  .config-steps-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 10px;
  }
  .config-steps-nav .step-pill {
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding: 9px 5px;
    font-size: .72rem;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height));
    z-index: 1001;
    flex-direction: column;
    background: var(--color-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 20px;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .header-phone span {
    display: none;
  }

  .hero-split {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
  }

  .hero-split-image img {
    height: 280px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .product-grid, .library-grid {
    grid-template-columns: 1fr !important;
  }

  .library-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .library-search-box {
    max-width: 100%;
  }

  .quiz-box {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .configurator-preview {
    padding: 16px;
  }

  .preview-canvas-container {
    height: 300px;
  }

  .config-panel {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .quote-modal-content {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 540px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .heading-xl {
    font-size: 1.75rem;
  }

  .heading-lg {
    font-size: 1.4rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100% !important;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ral-swatch-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-row {
    gap: 12px !important;
  }

  .contact-icon-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 1.1rem;
  }

  .preview-canvas-container {
    height: 260px;
  }
}

@media (max-width: 360px) {
  .slidex-brand-logo {
    height: 26px;
  }

  .lang-selector {
    padding: 2px 6px;
    font-size: 0.7rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.825rem;
  }

  .heading-xl {
    font-size: 1.55rem;
  }

  .quote-modal-content {
    padding: 18px 14px;
  }
}

/* ========================================================================== 
   2026 EXPERIENCE UPGRADE
   Editorial outdoor-living system for the refreshed CB Aluminium website
   ========================================================================== */

:root {
  --color-ink: #071825;
  --color-ink-soft: #102b3d;
  --color-cyan: #00a8e8;
  --color-cyan-bright: #41c7f4;
  /* Premium champagne-gold accent replacing the former neon lime. */
  --color-lime: #D7B56D;
  --color-warm: #f4f2ec;
  --color-paper: #fbfcfa;
  --container-max: 1280px;
  --header-height: 84px;
}

body {
  background: var(--color-paper);
  letter-spacing: -0.01em;
}

.skip-link {
  position: fixed;
  z-index: 10000000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #071825;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--color-cyan-bright);
  outline-offset: 3px;
}

.header {
  height: var(--header-height);
  border-bottom-color: rgba(7, 24, 37, 0.1);
  box-shadow: none;
}

.header::before {
  background: rgba(251, 252, 250, 0.92);
  box-shadow: none;
}

.header.header-scrolled::before {
  background: rgba(251, 252, 250, 0.98);
  box-shadow: 0 18px 45px rgba(7, 24, 37, 0.09);
}

[data-theme="dark"] .header::before,
[data-theme="dark"] .header.header-scrolled::before {
  background: rgba(7, 24, 37, 0.94);
}

.header-container {
  gap: 22px;
}

.slidex-brand-logo {
  height: 48px;
}

.nav-menu {
  gap: clamp(10px, 1.25vw, 20px);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-link::after {
  height: 3px;
  bottom: -8px;
  border-radius: 999px;
}

.header-actions {
  gap: 8px;
}

.lang-selector {
  gap: 3px;
  padding: 5px 9px;
  border-radius: 8px;
  background: transparent;
}

.lang-selector button,
.lang-selector span[data-lang-btn] {
  min-width: 22px;
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-selector button.active,
.lang-selector span[data-lang-btn].active {
  color: var(--color-primary);
  font-weight: 900;
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.header-phone {
  color: var(--color-ink);
}

[data-theme="dark"] .header-phone {
  color: #fff;
}

.btn {
  border-radius: 7px;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-cyan);
  box-shadow: 0 12px 32px rgba(0, 168, 232, 0.24);
}

.btn-primary:hover {
  background: #008bc2;
}

.btn-glass {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  color: #fff !important;
  border-color: #fff;
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

/* Driver.js-inspired focus and motion language for premium CTA micro-interactions. */
.btn { position: relative; isolation: isolate; overflow: hidden; transform: translateZ(0); }
.btn::after { content: ''; position: absolute; z-index: -1; inset: 0 auto 0 -120%; width: 70%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transition: left .65s cubic-bezier(.16,1,.3,1); }
.btn:hover::after, .btn:focus-visible::after { left: 140%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.985); transition-duration: .08s; }
.btn i { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.btn:hover i, .btn:focus-visible i { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 26px rgba(0,168,232,.22), 0 0 0 0 rgba(65,199,244,0); }
.btn-primary:hover, .btn-primary:focus-visible { box-shadow: 0 16px 32px rgba(0,168,232,.3), 0 0 0 4px rgba(65,199,244,.13); }
.btn-secondary:hover, .btn-secondary:focus-visible { box-shadow: 0 10px 22px rgba(7,24,37,.1); }
.btn-glass::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .btn i { transition: none !important; } .btn:hover { transform: none; } }

/* Explicit light-theme contrast guard for sections that use dark-theme copy tokens. */
[data-theme="light"] .faq-section { color: var(--color-text-primary); background: var(--color-bg); }
[data-theme="light"] .faq-section .faq-intro h2,
[data-theme="light"] .faq-section .faq-list summary { color: var(--color-text-primary) !important; }
[data-theme="light"] .faq-section .faq-intro p,
[data-theme="light"] .faq-section .faq-list details p { color: var(--color-text-secondary) !important; }
[data-theme="light"] .faq-section .faq-list { border-color: var(--color-border); }

/* Final theme reconciliation: the editorial layer must not override the base theme. */
html { scroll-behavior: smooth; }
::selection { background: rgba(215,181,109,.32); color: var(--color-text-primary); }
html { scrollbar-width: thin; scrollbar-color: var(--color-primary) rgba(7,24,37,.08); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: rgba(7,24,37,.06); }
::-webkit-scrollbar-thumb { border:2px solid transparent; border-radius:99px; background:linear-gradient(var(--color-primary),var(--color-accent)); background-clip:padding-box; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.site-header { backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); }
.site-header .nav-link { position:relative; transition: color .28s ease, transform .28s ease; }
.site-header .nav-link:hover { transform: translateY(-1px); }
.site-header .nav-link::after { content:''; position:absolute; left:50%; right:50%; bottom:-9px; height:2px; border-radius:99px; background:var(--color-accent); transition:left .28s ease,right .28s ease; }
.site-header .nav-link:hover::after { left:18%; right:18%; }
.btn { position:relative; overflow:hidden; isolation:isolate; box-shadow: 0 10px 24px rgba(0,168,232,.12); }
.btn::before { content:''; position:absolute; inset:0; background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.24) 48%,transparent 70%); transform:translateX(-120%); transition:transform .75s cubic-bezier(.16,1,.3,1); pointer-events:none; }
.btn:hover::before { transform:translateX(120%); }
.product-card, .service-card, .project-card { transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .35s ease; }
.product-card:hover, .service-card:hover, .project-card:hover { transform:translateY(-7px); box-shadow:0 24px 60px rgba(7,24,37,.16); }
.product-card, .service-card, .project-card { position:relative; }
.is-image-tile { cursor:zoom-in; }
.catalog-filter-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 28px; padding:14px 16px; border:1px solid var(--color-border); background:rgba(255,255,255,.72); }
.catalog-filter-label { margin-right:auto; font-size:.78rem; font-weight:700; color:var(--color-text-secondary); text-transform:uppercase; letter-spacing:.08em; }
.catalog-filter { border:1px solid var(--color-border); border-radius:999px; padding:9px 14px; background:transparent; color:var(--color-text-secondary); cursor:pointer; transition:.25s ease; }
.catalog-filter.active,.catalog-filter:hover { background:#102337; color:#fff; border-color:#102337; }
.catalog-open-btn { margin:4px 0 18px; padding:0; border:0; background:none; color:var(--color-primary); font-size:.78rem; font-weight:700; cursor:pointer; }
.catalog-detail[hidden] { display:none; }
.catalog-detail { position:fixed; inset:0; z-index:100001; display:grid; place-items:center; padding:24px; }
.catalog-detail-backdrop { position:absolute; inset:0; background:rgba(1,9,16,.86); backdrop-filter:blur(10px); }
.catalog-detail-dialog { position:relative; z-index:1; display:grid; grid-template-columns:minmax(280px, .9fr) minmax(320px, 1.1fr); width:min(980px,100%); overflow:hidden; border:1px solid rgba(255,255,255,.15); background:#0d1a2c; color:#fff; box-shadow:0 30px 100px rgba(0,0,0,.45); }
.catalog-detail-media { min-height:430px; position:relative; overflow:hidden; background:#071825; }
.catalog-detail-media img { width:100%; height:100%; min-height:430px; object-fit:cover; }
.catalog-detail-media span { position:absolute; left:24px; bottom:22px; font-size:.65rem; letter-spacing:.14em; color:#D7B56D; }
.catalog-detail-copy { padding:54px 42px 38px; }
.catalog-detail-copy small { color:#4cc7f4; letter-spacing:.14em; font-weight:700; }
.catalog-detail-copy h2 { margin:16px 0 12px; color:#fff; font-size:clamp(2rem,4vw,3.4rem); }
.catalog-detail-copy p { color:#b7c5d5; line-height:1.7; }
.catalog-series-list { display:grid; gap:8px; margin:24px 0; }
.catalog-series { display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); color:#fff; text-align:left; cursor:pointer; }
.catalog-series span { color:#D7B56D; font-size:.72rem; }
.catalog-series i { margin-left:auto; color:#4cc7f4; }
.catalog-series.active,.catalog-series:hover { border-color:#4cc7f4; background:rgba(76,199,244,.12); }
.catalog-series-admin-wrap { margin-top: 14px; }
.catalog-series-admin-row {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #0f172a;
}
.catalog-series-admin-head {
  margin-bottom: 10px;
  color: #7dd3fc;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalog-detail-actions { display:flex; gap:10px; flex-wrap:wrap; }
.catalog-detail-actions[hidden],
.catalog-detail-actions .btn[hidden],
.catalog-detail-actions a[hidden] { display:none !important; }
.catalog-detail-actions .btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff !important;
  border: 1px solid #38bdf8;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}
.catalog-detail-actions .btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(56, 189, 248, 0.42);
}
.catalog-detail-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc !important;
  border: 1.5px solid rgba(125, 211, 252, 0.7);
  box-shadow: 0 6px 18px rgba(7, 24, 37, 0.28);
}
.catalog-detail-actions .btn-secondary:hover,
.catalog-detail-actions .btn-secondary:focus-visible {
  background: rgba(76, 199, 244, 0.2);
  color: #e0f2fe !important;
  border-color: #7dd3fc;
  box-shadow: 0 10px 22px rgba(76, 199, 244, 0.24);
}
.catalog-detail-actions .btn.is-disabled,
.catalog-detail-actions .btn.is-disabled:hover {
  opacity: .55;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  color: #cbd5e1 !important;
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.04);
}
.catalog-doc-hint {
  margin: 10px 0 0;
  color: #94a3b8;
  font-size: .78rem;
}
.catalog-detail-close { position:absolute; z-index:2; top:14px; right:14px; width:40px; height:40px; border:1px solid rgba(255,255,255,.32); border-radius:50%; background:rgba(7,24,37,.7); color:#fff; font-size:1.6rem; line-height:1; cursor:pointer; }
@media(max-width:700px){.catalog-detail-dialog{grid-template-columns:1fr;max-height:92vh;overflow:auto}.catalog-detail-media,.catalog-detail-media img{min-height:220px;height:220px}.catalog-detail-copy{padding:28px 22px}.catalog-filter-label{flex-basis:100%}}
[data-theme="dark"] .catalog-filter-bar { background:rgba(15,23,42,.72); border-color:rgba(148,163,184,.24); }
[data-theme="dark"] .catalog-filter { color:#cbd5e1; border-color:rgba(148,163,184,.3); }
[data-theme="dark"] .catalog-filter.active,[data-theme="dark"] .catalog-filter:hover { background:#e2b96d; color:#071825; border-color:#e2b96d; }
[data-theme="dark"] .catalog-open-btn { color:#7dd3fc; }
[data-theme="light"] .catalog-detail-dialog { background:#102337; }
[data-theme="light"] .catalog-detail-close { background:rgba(7,24,37,.72); color:#fff; }
.catalog-detail-dialog, .catalog-filter-bar, .catalog-filter, .catalog-open-btn { color-scheme:light dark; }
.service-network { overflow:hidden; background:#071825; color:#fff; }
.service-network-head { display:flex; justify-content:space-between; gap:36px; align-items:end; margin-bottom:34px; }
.service-network-head h2 { margin:10px 0 0; color:#fff; font-size:clamp(2.2rem,5vw,4.8rem); letter-spacing:-.05em; }
.service-network-head p { max-width:430px; color:#aebdca; line-height:1.7; }
.service-network-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr); align-items:stretch; border:1px solid rgba(255,255,255,.14); }
.service-map-canvas { position:relative; min-height:520px; height:100%; overflow:hidden; background:#061522; cursor:grab; touch-action:none; }
.service-map-canvas.is-dragging { cursor:grabbing; }
.service-map-canvas::after { display:none; }
.service-map-canvas::before { content:'WORLDWIDE · SLIDEX · SERVICE NETWORK'; position:absolute; z-index:3; left:28px; top:24px; color:#4cc7f4; font-size:.65rem; font-weight:700; letter-spacing:.18em; }
.service-map-stage { position:absolute; z-index:1; inset:0; transform-origin:0 0; transition:transform .16s ease-out; will-change:transform; }
.service-map-canvas.is-dragging .service-map-stage { transition:none; }
.service-map-stage > img { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; user-select:none; pointer-events:none; opacity:.94; }
.service-map-grid { position:absolute; z-index:1; inset:0; opacity:.06; background-image:linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size:52px 52px; }
.service-map-pin { position:absolute; z-index:2; display:block; width:18px; height:18px; padding:0; transform:translate(-50%,-50%); border:0; background:none; color:#d8e3eb; cursor:pointer; }
.service-map-pin span { display:block; position:absolute; inset:0; width:17px; height:17px; box-sizing:border-box; border:4px solid #071825; border-radius:50%; background:#D7B56D; box-shadow:0 0 0 1px #D7B56D,0 0 0 12px rgba(215,181,109,.12); transition:.3s ease; }
.service-map-pin b { position:absolute; width:max-content; padding:5px 8px; border:1px solid rgba(125,211,252,.12); background:rgba(7,24,37,.92); font-size:.72rem; box-shadow:0 8px 18px rgba(0,0,0,.25); }
.service-map-pin b::before { content:''; position:absolute; width:18px; height:1px; background:rgba(125,211,252,.42); transform-origin:left center; }
.service-map-pin.label-ne b { left:25px; bottom:18px; }.service-map-pin.label-ne b::before { left:-17px; bottom:-7px; transform:rotate(34deg); }
.service-map-pin.label-nw b { right:25px; bottom:18px; }.service-map-pin.label-nw b::before { right:-17px; bottom:-7px; transform:rotate(146deg); transform-origin:right center; }
.service-map-pin.label-se b { left:25px; top:18px; }.service-map-pin.label-se b::before { left:-17px; top:-7px; transform:rotate(-34deg); }
.service-map-pin.label-sw b { right:25px; top:18px; }.service-map-pin.label-sw b::before { right:-17px; top:-7px; transform:rotate(-146deg); transform-origin:right center; }
.service-map-pin.active span,.service-map-pin:hover span { background:#4cc7f4; box-shadow:0 0 0 1px #4cc7f4,0 0 0 18px rgba(76,199,244,.14); transform:scale(1.15); }
.service-map-controls { position:absolute; z-index:8; right:14px; top:14px; display:grid; gap:6px; }
.service-map-controls button { display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid rgba(125,211,252,.35); border-radius:6px; background:rgba(7,24,37,.88); color:#fff; font-size:1.2rem; box-shadow:0 10px 24px rgba(0,0,0,.24); }
.service-map-controls button:hover { background:#38bdf8; color:#071825; }
.service-map-hint { position:absolute; z-index:8; left:16px; bottom:14px; display:flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid rgba(255,255,255,.13); background:rgba(7,24,37,.8); color:#cbd5e1; font-size:.68rem; letter-spacing:.04em; pointer-events:none; }
.service-location-list { padding:24px; background:#102337; }
.service-location-card { display:none; min-height:100%; padding:22px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.035); }
.service-location-card.active { display:flex; flex-direction:column; animation:location-card-in .4s ease both; }
.service-location-card small { color:#D7B56D; letter-spacing:.15em; text-transform:uppercase; }
.service-location-card h3 { margin:14px 0; color:#fff; font-size:2rem; }
.service-location-card p { color:#c1ccd6; line-height:1.65; }
.service-location-card address { margin:18px 0; padding-top:18px; border-top:1px solid rgba(255,255,255,.13); color:#8fa4b6; font-style:normal; line-height:1.6; }
.service-location-card a { margin-top:8px; color:#7dd3fc; }
@keyframes location-card-in { from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none} }
.map-admin-row { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; margin-top:10px; padding:14px; border:1px solid #334155; background:#0f172a; }
.map-admin-row strong,.map-admin-row small { display:block; color:#fff; }.map-admin-row small{margin-top:4px;color:#94a3b8}
.map-admin-row em { display:block; margin-top:5px; color:#38bdf8; font-size:.72rem; font-style:normal; }
.admin-map-picker { position:relative; min-height:360px; margin:22px 0; overflow:hidden; border:1px solid #334155; background:#071825; cursor:grab; touch-action:none; }
.admin-map-picker:active { cursor:grabbing; }
.admin-map-picker::after { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:42px 42px; pointer-events:none; }
.admin-map-picker-stage { position:absolute; z-index:1; inset:0; transform-origin:0 0; will-change:transform; }
.admin-map-picker-stage img { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; user-select:none; pointer-events:none; }
.admin-map-picker-stage > span { position:absolute; z-index:2; width:18px; height:18px; transform:translate(-50%,-50%); border:4px solid #071825; border-radius:50%; background:#38bdf8; box-shadow:0 0 0 2px #38bdf8,0 0 0 14px rgba(56,189,248,.18); pointer-events:none; }
.admin-map-controls { position:absolute; z-index:5; top:14px; right:14px; display:grid; gap:6px; }
.admin-map-controls button { display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid rgba(125,211,252,.35); border-radius:6px; background:rgba(7,24,37,.9); color:#fff; font-size:1.15rem; }
.admin-map-controls button:hover { background:#38bdf8; color:#071825; }
.admin-map-controls output { padding:5px 7px; border-radius:4px; background:rgba(7,24,37,.9); color:#D7B56D; font:700 .68rem monospace; text-align:center; }
.admin-map-picker-help { position:absolute; z-index:2; top:16px; left:18px; padding:7px 10px; background:rgba(7,24,37,.82); color:#fff; font-size:.76rem; }
.admin-map-picker output { position:absolute; z-index:2; right:18px; bottom:16px; padding:7px 10px; background:rgba(7,24,37,.88); color:#D7B56D; font-family:monospace; font-size:.76rem; }
.service-location-coordinates { display:flex; align-items:center; gap:8px; margin:4px 0 12px; color:#D7B56D; font-family:monospace; font-size:.78rem; }
.service-map-route { display:inline-flex; align-items:center; gap:8px; width:fit-content; margin:0 0 12px; padding:10px 12px; border:1px solid rgba(125,211,252,.28); color:#7dd3fc !important; }
.service-map-route:hover { background:#7dd3fc; color:#071825 !important; }
@media(max-width:760px){.service-network-head{display:block}.service-network-layout{grid-template-columns:1fr}.service-map-canvas{height:auto;min-height:360px;aspect-ratio:1.55/1}.service-location-list{padding:14px}.service-location-card{min-height:320px}.service-map-hint{display:none}}

/* Live map: Leaflet provides lossless, real geographic zoom on public and admin views. */
.service-leaflet-map,
.admin-service-leaflet-map { position:absolute; inset:0; width:100%; height:100%; background:#071825; z-index:1; }
.service-map-canvas .leaflet-container,
.admin-map-picker .leaflet-container { font-family:inherit; }
.service-map-canvas .leaflet-tile-pane,
.admin-map-picker .leaflet-tile-pane { filter:invert(92%) hue-rotate(168deg) brightness(.52) saturate(.72) contrast(1.18); }
.service-map-canvas .leaflet-control-zoom,
.admin-map-picker .leaflet-control-zoom { overflow:hidden; border:1px solid rgba(125,211,252,.35) !important; border-radius:8px; box-shadow:0 12px 30px rgba(0,0,0,.28); }
.service-map-canvas .leaflet-control-zoom a,
.admin-map-picker .leaflet-control-zoom a { display:grid; place-items:center; width:38px; height:38px; border:0; border-bottom:1px solid rgba(125,211,252,.2); background:rgba(7,24,37,.92); color:#fff; font-size:1.25rem; }
.service-map-canvas .leaflet-control-zoom a:hover,
.admin-map-picker .leaflet-control-zoom a:hover { background:#38bdf8; color:#071825; }
.service-map-canvas .leaflet-control-attribution,
.admin-map-picker .leaflet-control-attribution { padding:3px 7px; background:rgba(7,24,37,.78); color:#9fb4c5; font-size:9px; }
.service-map-canvas .leaflet-control-attribution a,
.admin-map-picker .leaflet-control-attribution a { color:#7dd3fc; }
.service-leaflet-marker,
.admin-leaflet-marker { background:transparent; border:0; }
.service-leaflet-marker span,
.admin-leaflet-marker span { position:absolute; inset:0; display:block; box-sizing:border-box; border:4px solid #071825; border-radius:50%; background:#d7b56d; box-shadow:0 0 0 2px #d7b56d,0 0 0 13px rgba(215,181,109,.19),0 10px 28px rgba(0,0,0,.48); }
.service-leaflet-marker b { position:absolute; left:25px; top:-8px; width:max-content; padding:6px 9px; border:1px solid rgba(125,211,252,.23); background:rgba(7,24,37,.94); color:#fff; font-size:.72rem; line-height:1; box-shadow:0 10px 24px rgba(0,0,0,.34); }
.admin-leaflet-marker span { background:#38bdf8; box-shadow:0 0 0 2px #38bdf8,0 0 0 14px rgba(56,189,248,.22),0 10px 28px rgba(0,0,0,.48); }
.service-map-reset,
.admin-map-reset { position:absolute; z-index:550; display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid rgba(125,211,252,.32); border-radius:7px; background:rgba(7,24,37,.9); color:#fff; font-size:.7rem; font-weight:700; cursor:pointer; box-shadow:0 10px 24px rgba(0,0,0,.28); }
.service-map-reset { right:14px; top:14px; }
.admin-map-reset { right:14px; top:14px; }
.service-map-reset:hover,
.admin-map-reset:hover { background:#38bdf8; color:#071825; }
.service-map-fallback .service-leaflet-map { display:grid; place-items:center; }
.service-map-fallback .service-leaflet-map img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.72; }
.service-map-fallback .service-leaflet-map p { position:relative; z-index:2; padding:10px 14px; background:rgba(7,24,37,.88); color:#fff; }
.admin-map-picker { min-height:440px; cursor:default; touch-action:auto; }
.admin-map-picker::after { display:none; }
.admin-map-picker-help { z-index:550; top:auto; bottom:34px; pointer-events:none; }
.admin-map-picker > output { z-index:550; bottom:34px; pointer-events:none; }
.admin-map-unavailable { position:absolute; inset:0; display:grid; place-content:center; justify-items:center; gap:8px; color:#fff; text-align:center; }
.admin-map-unavailable i { color:#38bdf8; font-size:2rem; }
.admin-map-unavailable span { color:#94a3b8; }
.map-address-search { display:grid; grid-template-columns:1fr auto; gap:10px; }
.map-address-search .btn { min-width:210px; white-space:nowrap; border:1px solid #38bdf8; background:#075985; color:#fff !important; font-weight:800; box-shadow:0 8px 22px rgba(14,165,233,.2); opacity:1; }
.map-address-search .btn i { color:#bae6fd !important; }
.map-address-search .btn:hover,
.map-address-search .btn:focus-visible { border-color:#7dd3fc; background:#0284c7; color:#fff; box-shadow:0 0 0 3px rgba(56,189,248,.22),0 12px 28px rgba(14,165,233,.28); }
.map-address-search .btn:disabled { border-color:#475569; background:#334155; color:#cbd5e1; opacity:.72; cursor:wait; }
.map-geocode-attribution { display:block; margin-top:7px; color:#64748b; font-size:.68rem; }
.map-geocode-status { min-height:18px; margin:6px 0 0; font-size:.76rem; font-weight:700; }
.map-geocode-status[data-state="success"] { color:#34d399; }
.map-geocode-status[data-state="error"] { color:#f87171; }
.map-geocode-status[data-state="info"] { color:#7dd3fc; }
.map-note-language-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:14px 0; }
@media(max-width:900px){.map-note-language-grid{grid-template-columns:1fr}}
@media(max-width:760px){.map-address-search{grid-template-columns:1fr}.map-address-search .btn{min-width:0;width:100%}}
@media(max-width:760px){.service-map-reset span{display:none}.service-map-reset{padding:10px}.admin-map-picker{min-height:360px}.admin-map-picker-help{display:none}}

/* Safe SEO / analytics administration. */
.tracking-admin-card { max-width:1180px; }
.tracking-admin-head { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding-bottom:22px; border-bottom:1px solid #334155; }
.tracking-admin-head h3 { margin:5px 0 7px; padding:0; border:0; font-size:1.45rem; }
.tracking-admin-head p { max-width:720px; margin:0; color:#94a3b8; }
.tracking-eyebrow { color:#38bdf8; font-size:.68rem; font-weight:800; letter-spacing:.16em; }
.tracking-provider-state { display:block; margin-top:7px; padding:7px 9px; border-radius:6px; font-weight:800; }
.tracking-provider-state[data-state="empty"] { border:1px solid rgba(251,191,36,.32); background:rgba(251,191,36,.1); color:#fcd34d; }
.tracking-provider-state[data-state="ready"] { border:1px solid rgba(52,211,153,.35); background:rgba(16,185,129,.12); color:#6ee7b7; }
.tracking-admin-card .tracking-switch { position:relative; display:flex; align-items:center; gap:10px; min-width:max-content; margin:0; color:#f8fafc !important; cursor:pointer; }
.tracking-switch input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.tracking-switch span { position:relative; width:46px; height:26px; border:1px solid #475569; border-radius:999px; background:#0f172a; transition:.25s; }
.tracking-switch span::after { content:''; position:absolute; left:3px; top:3px; width:18px; height:18px; border-radius:50%; background:#94a3b8; transition:.25s; }
.tracking-switch input:checked + span { border-color:#38bdf8; background:rgba(14,165,233,.23); }
.tracking-switch input:checked + span::after { transform:translateX(20px); background:#38bdf8; }
.tracking-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:24px; }
.tracking-field { display:grid; gap:7px; padding:17px; border:1px solid #334155; border-radius:12px; background:#0f172a; color:#f8fafc; }
.tracking-field > span { font-weight:800; }
.tracking-field > span i { width:22px; color:#38bdf8; }
.tracking-field small { color:#94a3b8; line-height:1.55; }
.tracking-field-wide { grid-column:1/-1; }
.tracking-notice { display:flex; align-items:flex-start; gap:12px; margin-top:18px; padding:14px 16px; border:1px solid rgba(245,158,11,.42); background:rgba(245,158,11,.1); color:#fcd34d; }
.tracking-seo-row { display:grid; grid-template-columns:minmax(260px,.8fr) 1.8fr; gap:18px; align-items:center; margin-top:18px; }
.tracking-seo-row label { color:#fff; font-weight:700; }
.tracking-seo-row input { margin-right:8px; accent-color:#38bdf8; }
.tracking-seo-row p { margin:0; color:#94a3b8; font-size:.78rem; line-height:1.6; }
.tracking-seo-row p i { color:#d7b56d; margin-right:6px; }
.tracking-placement { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; padding:14px; border:1px dashed #475569; color:#cbd5e1; font-size:.77rem; }
.tracking-placement strong { width:100%; color:#fff; }
.tracking-placement span { padding:6px 9px; background:#17243a; }
.tracking-actions { display:flex; align-items:center; gap:18px; margin-top:22px; }
#trackingStatus { margin:0; font-size:.82rem; font-weight:700; }
#trackingStatus[data-state="success"] { color:#34d399; }
#trackingStatus[data-state="error"] { color:#f87171; }
#trackingStatus[data-state="info"] { color:#7dd3fc; }
.tracking-code-editor { margin-top:22px; padding:20px; border:1px solid #3b5068; border-radius:14px; background:linear-gradient(145deg,#101c2e,#0b1424); }
.tracking-code-editor-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:16px; }
.tracking-code-editor-head h4 { margin:5px 0 0; color:#f8fafc; font-size:1rem; }
.tracking-danger-badge { display:inline-flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(251,191,36,.42); border-radius:999px; color:#fcd34d; font-size:.7rem; font-weight:800; white-space:nowrap; }
.tracking-code-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.tracking-admin-card .tracking-code-field { display:grid; gap:8px; min-width:0; margin:0; color:#e2e8f0 !important; }
.tracking-code-field > span { display:flex; align-items:center; gap:8px; color:#f8fafc; font-weight:800; }
.tracking-code-field > span b { display:grid; width:24px; height:24px; place-items:center; border-radius:50%; background:#0ea5e9; color:#fff; font-size:.68rem; }
.tracking-code-field textarea { min-height:190px; resize:vertical; border-color:#3b5068; background:#070f1e; color:#bae6fd; font:500 .75rem/1.55 Consolas,"Courier New",monospace; white-space:pre; tab-size:2; }
.tracking-code-field textarea:focus { border-color:#38bdf8; box-shadow:0 0 0 3px rgba(56,189,248,.14); }
.tracking-code-field small { color:#94a3b8; line-height:1.55; }
.tracking-code-field code { color:#7dd3fc; }
.tracking-code-warning { display:flex; align-items:flex-start; gap:9px; margin:15px 0 0; padding:12px 13px; border-left:3px solid #f59e0b; background:rgba(245,158,11,.09); color:#fcd34d; font-size:.76rem; line-height:1.6; }
@media(max-width:760px){.tracking-admin-head{display:grid}.tracking-admin-card .tracking-switch{width:100%; min-width:0; justify-content:space-between; padding:12px 0 0; border-top:1px solid #334155}.tracking-grid,.tracking-seo-row{grid-template-columns:1fr}.tracking-field-wide{grid-column:auto}.tracking-actions{align-items:stretch;flex-direction:column}.tracking-actions .btn{width:100%;justify-content:center}}
@media(max-width:980px){.tracking-code-grid{grid-template-columns:1fr}.tracking-code-field textarea{min-height:160px}}
@media(max-width:640px){.tracking-code-editor{padding:14px}.tracking-code-editor-head{display:grid}.tracking-danger-badge{white-space:normal}.tracking-code-warning{font-size:.72rem}}

/* Product media upload guidance and high-contrast modal actions. */
#editItemModal > div { max-height:calc(100vh - 34px); overflow-y:auto; scrollbar-color:#38bdf8 #0f172a; }
.catalog-media-admin { margin:16px 0; padding:15px; border:1px solid #334155; border-radius:12px; background:#0f172a; }
.catalog-size-guide { display:flex; gap:11px; align-items:flex-start; margin-bottom:13px; padding:11px 12px; border-left:3px solid #38bdf8; background:rgba(56,189,248,.08); }
.catalog-size-guide.secondary { margin-top:15px; border-left-color:#d7b56d; background:rgba(215,181,109,.08); }
.catalog-size-guide i { margin-top:3px; color:#38bdf8; }
.catalog-size-guide.secondary i { color:#d7b56d; }
.catalog-size-guide strong,.catalog-size-guide span { display:block; }
.catalog-size-guide strong { color:#fff; font-size:.83rem; }
.catalog-size-guide span { margin-top:3px; color:#94a3b8; font-size:.72rem; line-height:1.45; }
.catalog-file-input { padding:9px !important; color:#cbd5e1 !important; }
.catalog-file-input::file-selector-button { margin-right:10px; padding:8px 11px; border:0; border-radius:7px; background:#38bdf8; color:#071825; font-weight:800; cursor:pointer; }
.catalog-upload-status { min-height:18px; margin:8px 0; color:#7dd3fc; font-size:.78rem; font-weight:700; }
.admin-cancel-btn { display:inline-flex !important; align-items:center; justify-content:center; gap:7px; min-width:102px; border:1px solid #94a3b8 !important; background:#172033 !important; color:#fff !important; opacity:1 !important; box-shadow:none !important; }
.admin-cancel-btn:hover { border-color:#fff !important; background:#334155 !important; color:#fff !important; }
.admin-cancel-btn:focus-visible { outline:3px solid rgba(56,189,248,.35); outline-offset:2px; }
.climate-readout [data-cms-id] { position:relative; z-index:2; }
.product-card::before, .service-card::before, .project-card::before { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(135deg,rgba(255,255,255,.14),transparent 32%); opacity:0; transition:opacity .4s ease; }
.product-card:hover::before, .service-card:hover::before, .project-card:hover::before { opacity:1; }
.form-control, input, select, textarea { transition:border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.form-control:focus, input:focus, select:focus, textarea:focus { border-color:var(--color-primary) !important; box-shadow:0 0 0 4px rgba(0,168,232,.11); outline:none; }
.section-index { letter-spacing:.16em; }
[data-theme="dark"] .site-header { background:rgba(7,24,37,.86); border-bottom-color:rgba(255,255,255,.1); }
[data-theme="light"] .site-header { background:rgba(251,252,250,.88); }
[data-theme="light"] .btn:hover { box-shadow:0 16px 32px rgba(0,168,232,.2); }
[data-theme="light"] body { background: var(--color-paper); color: var(--color-text-primary); }
[data-theme="light"] body.engineering-page .section-header.center .heading-xl { color: var(--color-text-primary) !important; }
[data-theme="light"] body.engineering-page .section-header.center .subtitle { color: var(--color-text-secondary) !important; }
[data-theme="dark"] body { background: var(--color-bg); color: var(--color-text-primary); }
[data-theme="dark"] body:not(.home-page) > div[style*="padding-top:120px"] {
  background: linear-gradient(180deg, #0F172A 0, #0F172A 420px, #0B132B 420px);
}
[data-theme="dark"] body:not(.home-page) .section-header.center .heading-xl,
[data-theme="dark"] body:not(.home-page) .section-header.center .subtitle { color: var(--color-text-primary); }
[data-theme="dark"] body:not(.home-page) .section-header.center .subtitle { color: var(--color-text-secondary); }

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section-index-light {
  color: var(--color-cyan-bright);
}

.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-lime);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.premium-hero {
  position: relative;
  min-height: 820px;
  padding-top: var(--header-height);
  background: var(--color-ink);
  color: #fff;
  overflow: hidden;
}

.premium-hero::after {
  content: '';
  position: absolute;
  inset: var(--header-height) 0 auto;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.premium-hero-media {
  position: absolute;
  inset: var(--header-height) 0 0;
}

.premium-hero-media::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,24,37,0.98) 0%, rgba(7,24,37,0.87) 40%, rgba(7,24,37,0.25) 78%, rgba(7,24,37,0.42) 100%),
    linear-gradient(0deg, rgba(7,24,37,0.82) 0%, transparent 42%);
}

.premium-hero-media::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.premium-hero-media img, .premium-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.premium-hero-media video { display: block; }

.premium-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(620px, 1.05fr);
  align-items: end;
  gap: clamp(36px, 5vw, 72px);
  min-height: 720px;
  padding-top: 72px;
  padding-bottom: 148px;
}

.premium-hero-grid:has(.hero-featured-panel) .premium-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.35rem, 3.8vw, 4.6rem);
}

.premium-hero-copy {
  max-width: 790px;
}

.premium-hero-copy h1 {
  max-width: 780px;
  margin: 22px 0 24px;
  color: #fff;
  font-size: clamp(3rem, 5.8vw, 6.25rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.premium-hero-copy > p {
  max-width: 670px;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.premium-hero-copy .hero-ctas {
  margin-top: 34px;
}

.premium-hero-copy .btn-lg {
  min-height: 56px;
  padding-inline: 27px;
  font-size: 0.86rem;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  list-style: none;
  color: rgba(255,255,255,0.75);
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-proof-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-proof-list i {
  color: var(--color-lime);
}

.quick-project-card {
  align-self: end;
  margin-bottom: 8px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(7,24,37,0.76);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.32);
  backdrop-filter: blur(22px);
}

.quick-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.quick-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--color-cyan-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.quick-card-head h2 {
  max-width: 290px;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1.15;
}

.quick-step {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
}

.quick-field {
  display: block;
  margin-top: 21px;
}

.quick-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.64);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-label output {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
}

.quick-choice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.quick-choice {
  min-height: 42px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 800;
}

.quick-choice:hover,
.quick-choice.active {
  border-color: var(--color-lime);
  background: var(--color-lime);
  color: var(--color-ink);
}

.quick-dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quick-project-card input[type="range"] {
  width: 100%;
  accent-color: var(--color-lime);
}

.quick-submit {
  width: 100%;
  margin-top: 24px;
  min-height: 52px;
}

.quick-note {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  line-height: 1.45;
}

.quick-note i {
  margin-top: 3px;
  color: var(--color-cyan-bright);
}

.hero-spec-dock {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.18);
  background: rgba(7,24,37,0.72);
  backdrop-filter: blur(16px);
}

.hero-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,0.13);
}

.hero-spec:last-child {
  border-right: 0;
}

.hero-spec strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.hero-spec span {
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
}

.decision-strip {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.decision-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.decision-link {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 22px 30px;
  border-right: 1px solid var(--color-border);
  text-align: left;
  color: var(--color-text-primary);
}

.decision-link:first-child {
  border-left: 1px solid var(--color-border);
}

.decision-link > i:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.decision-link > i:last-child {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.decision-link:hover > i:last-child {
  transform: translateX(5px);
}

.decision-link span {
  display: flex;
  flex-direction: column;
}

.decision-link strong {
  font-size: 0.9rem;
}

.decision-link small {
  margin-top: 2px;
  color: var(--color-text-secondary);
  font-size: 0.7rem;
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}

.editorial-heading h2 {
  max-width: 800px;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.editorial-heading > p,
.heading-action p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.systems-section {
  padding-top: 110px;
  padding-bottom: 120px;
}

.systems-bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 400px 400px 330px;
  gap: 18px;
}

.system-story {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: var(--color-ink);
}

.system-story-large {
  grid-row: span 2;
}

.system-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.system-story::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,24,37,0.96) 0%, rgba(7,24,37,0.12) 68%);
}

.system-story:hover img {
  transform: scale(1.045);
}

.system-story-number {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.system-story-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(24px, 4vw, 46px);
}

.story-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--color-lime);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.system-story h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 3rem);
  font-weight: 600;
}

.system-story p {
  max-width: 570px;
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.84rem;
  line-height: 1.6;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.system-directory {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.7fr 1.4fr;
  grid-template-rows: auto 1fr;
  column-gap: 80px;
  padding: 42px 46px;
  background: var(--color-ink);
  color: #fff;
}

.system-directory h3 {
  grid-column: 1;
  max-width: 350px;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.system-directory ul {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 0 26px;
  list-style: none;
}

.system-directory li {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.system-directory li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 700;
}

.system-directory li a:hover {
  color: var(--color-lime);
}

.system-directory .text-link {
  align-self: end;
  color: var(--color-cyan-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.text-link:hover i {
  transform: translateX(5px);
}

.text-link i {
  transition: transform var(--transition-fast);
}

.climate-section {
  padding: 120px 0;
  background: var(--color-ink);
  color: #fff;
}

.climate-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.climate-copy h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.4rem, 4.1vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.climate-copy > p {
  color: rgba(255,255,255,0.64);
  line-height: 1.7;
}

.climate-tabs {
  display: flex;
  gap: 8px;
  margin: 30px 0 24px;
}

.climate-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.63);
  font-size: 0.73rem;
  font-weight: 800;
}

.climate-tab.active,
.climate-tab:hover {
  border-color: var(--color-lime);
  background: var(--color-lime);
  color: var(--color-ink);
}

.climate-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.climate-panel p {
  color: rgba(255,255,255,0.58);
  font-size: 0.85rem;
  line-height: 1.65;
}

.climate-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #00101c;
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
}

.climate-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,24,37,0.8), transparent 48%);
  pointer-events: none;
}

.climate-visual img {
  width: 100%;
  height: 590px;
  object-fit: cover;
  transition: filter 0.7s ease, transform 0.7s ease;
}

.climate-visual.mode-sun img {
  filter: saturate(1.05) brightness(1.08) contrast(0.98);
}

.climate-visual.mode-rain img {
  filter: saturate(0.55) brightness(0.72) contrast(1.1) hue-rotate(10deg);
}

.climate-visual.mode-night img {
  filter: saturate(1.1) brightness(0.43) contrast(1.2) hue-rotate(7deg);
  transform: scale(1.02);
}

.climate-readout {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(7,24,37,0.72);
  backdrop-filter: blur(12px);
}

.climate-readout span {
  color: var(--color-cyan-bright);
  font-family: monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.climate-readout strong {
  margin-top: 3px;
  color: #fff;
  font-family: monospace;
  font-size: 1rem;
}

.climate-point {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.climate-point span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(7,24,37,0.42);
  backdrop-filter: blur(7px);
}

.climate-point small {
  padding: 5px 8px;
  background: rgba(7,24,37,0.62);
  backdrop-filter: blur(7px);
}

.climate-point.is-interactive { cursor: pointer; }
.climate-point.is-interactive:focus-visible { outline: 2px solid var(--color-cyan-bright); outline-offset: 6px; border-radius: 6px; }
.climate-point.is-active > span { background: var(--color-cyan-bright); color: #00101c; box-shadow: 0 0 0 5px rgba(75,219,255,0.22); }
.climate-point-detail {
  position: absolute;
  z-index: 8;
  top: calc(100% + 12px);
  left: 0;
  width: min(280px, 70vw);
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(7,24,37,0.94);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  backdrop-filter: blur(14px);
  color: #fff;
}
.climate-point-detail strong { display: block; color: var(--color-cyan-bright); font-size: 0.82rem; }
.climate-point-detail p { margin: 7px 0 0; color: rgba(255,255,255,0.78); font-size: 0.75rem; line-height: 1.55; }
.climate-point-three .climate-point-detail { right: 0; left: auto; }

.is-zoomable { cursor: zoom-in; }
.is-zoomable:focus-visible { outline: 3px solid var(--color-cyan-bright); outline-offset: 4px; }
body.lightbox-open { overflow: hidden; }
.site-lightbox[hidden] { display: none; }
.site-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.site-lightbox-backdrop { position: absolute; inset: 0; background: rgba(1,9,16,0.92); backdrop-filter: blur(8px); }
.site-lightbox-dialog { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: min(1240px, 100%); max-height: 92vh; }
.site-lightbox-dialog figure { margin: 0; flex: 1; min-width: 0; text-align: center; }
.site-lightbox-image { width: auto; max-width: 100%; max-height: 82vh; object-fit: contain; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 25px 80px rgba(0,0,0,0.5); cursor: default; }
.site-lightbox-image.is-opening { animation: lightbox-image-in .52s cubic-bezier(.16,1,.3,1) both; }
@keyframes lightbox-image-in { from { opacity:0; transform:scale(.88) translateY(12px); } to { opacity:1; transform:scale(1) translateY(0); } }
.site-lightbox-caption { margin-top: 10px; color: rgba(255,255,255,0.78); font-size: 0.8rem; }
.site-lightbox-close, .site-lightbox-prev, .site-lightbox-next { display:grid; place-items:center; align-content:center; width:44px; height:44px; padding:0; border:1px solid rgba(255,255,255,0.3); border-radius:50%; background:rgba(7,24,37,0.76); color:#fff; font-size:1.8rem; line-height:1; font-family:Arial, sans-serif; cursor:pointer; }
.site-lightbox-close { position: absolute; z-index: 2; top: -18px; right: -18px; font-size: 1.6rem; }
.site-lightbox-close:hover, .site-lightbox-prev:hover, .site-lightbox-next:hover { background: var(--color-cyan-bright); color: #00101c; }

.climate-point-one { top: 15%; left: 36%; }
.climate-point-two { top: 40%; left: 9%; }
.climate-point-three { top: 27%; right: 10%; }

.audience-section {
  padding-top: 115px;
  padding-bottom: 120px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

.audience-card {
  position: relative;
  min-height: 390px;
  padding: 38px;
  background: var(--color-bg-card);
  color: var(--color-text-primary);
}

.audience-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--color-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.audience-card:hover::after {
  transform: scaleX(1);
}

.audience-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.audience-no {
  position: absolute;
  top: 38px;
  right: 38px;
  color: var(--color-text-muted);
  font-family: monospace;
  font-size: 0.74rem;
}

.audience-card h3 {
  margin-top: 70px;
  font-size: 1.8rem;
}

.audience-card p {
  margin-top: 13px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.audience-card .text-link {
  position: absolute;
  right: 38px;
  bottom: 38px;
  left: 38px;
  justify-content: space-between;
}

.process-section {
  padding: 115px 0;
  background: var(--color-ink);
  color: #fff;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(60px, 9vw, 140px);
}

.process-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-intro h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.process-intro p {
  margin-bottom: 28px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.process-list {
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  padding: 35px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.process-number {
  color: var(--color-lime);
  font-family: monospace;
  font-size: 0.8rem;
}

.process-list h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.45rem;
}

.process-list p {
  max-width: 650px;
  color: rgba(255,255,255,0.55);
  font-size: 0.87rem;
  line-height: 1.65;
}

.projects-showcase {
  padding-top: 115px;
  padding-bottom: 120px;
}

.heading-action .text-link {
  margin-top: 16px;
}

.project-editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px 20px;
}

.project-main {
  grid-row: span 2;
}

.project-editorial-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.project-main img {
  height: 710px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 10px;
  color: var(--color-text-muted);
  font-family: monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.project-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-title-row h3 {
  font-size: 1.35rem;
}

.project-title-row button {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-primary);
}

.project-title-row button:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.comparison-section {
  padding-top: 110px;
  padding-bottom: 115px;
  background: var(--color-warm);
}

[data-theme="dark"] .comparison-section {
  background: #0b2030;
}

.comparison-shell {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 60px;
  align-items: start;
}

.comparison-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.comparison-intro p {
  margin-bottom: 26px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(7,24,37,0.13);
  background: var(--color-bg-card);
  align-self: start;
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.comparison-table thead th {
  background: var(--color-ink);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
}

.comparison-table thead th:first-child {
  color: var(--color-cyan-bright);
}

.comparison-table tbody th {
  color: var(--color-text-secondary);
  font-weight: 700;
}

.comparison-table td {
  color: var(--color-text-primary);
  font-weight: 700;
}

/* Admin-managed comparison table editor */
.comparison-admin-card {
  display: grid;
  gap: 22px;
}

.comparison-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.comparison-admin-toolbar h3 {
  margin: 4px 0 8px;
}

.comparison-admin-toolbar p {
  max-width: 760px;
  color: #94a3b8;
  line-height: 1.65;
}

.comparison-admin-toolbar-actions {
  display: grid;
  min-width: 210px;
  gap: 10px;
}

.comparison-admin-toolbar-actions label,
.comparison-header-editor label,
.comparison-admin-fields label {
  display: grid;
  gap: 7px;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
}

.comparison-count {
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 800;
}

.comparison-header-editor {
  padding: 20px;
  border: 1px solid #334155;
  border-radius: 14px;
  background: #0f172a;
}

.comparison-header-editor h4 {
  margin: 0 0 14px;
}

.comparison-header-editor > div,
.comparison-admin-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.comparison-admin-main-actions,
.comparison-admin-actions,
.comparison-admin-savebar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-admin-rows {
  display: grid;
  gap: 14px;
}

.comparison-admin-row {
  padding: 18px;
  border: 1px solid #334155;
  border-radius: 15px;
  background: linear-gradient(145deg, #182438, #111b2d);
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.16);
}

.comparison-admin-row.is-disabled {
  opacity: 0.62;
}

.comparison-admin-row-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

.comparison-admin-order {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 50%;
  color: #38bdf8;
  font-family: var(--font-heading);
  font-size: 0.74rem;
}

.comparison-admin-row-head h4,
.comparison-admin-row-head p {
  margin: 0;
}

.comparison-admin-row-head h4 {
  color: #f8fafc !important;
  font-weight: 800;
}

.comparison-admin-row-head p {
  margin-top: 3px;
  color: #a8b5c8 !important;
  font-size: 0.72rem;
}

.comparison-admin-card .comparison-visible-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #3c4c63;
  border-radius: 999px;
  color: #f8fafc !important;
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0;
}

.comparison-visible-toggle input {
  accent-color: #0ea5e9;
}

.comparison-admin-actions {
  justify-content: flex-end;
  margin-top: 14px;
}

.comparison-admin-actions .action-btn-sm {
  min-height: 32px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #dbeafe;
}

.comparison-admin-actions .action-btn-sm:hover:not(:disabled) {
  border-color: #38bdf8;
  background: #17304a;
  color: #7dd3fc;
}

.comparison-admin-actions [data-comparison-action="up"],
.comparison-admin-actions [data-comparison-action="down"] {
  width: 34px;
  padding: 0;
  justify-content: center;
  font-size: 0.82rem;
}

.comparison-admin-actions .action-btn-sm:disabled {
  border-color: #334155;
  color: #64748b;
  opacity: 0.65;
  cursor: not-allowed;
}

.comparison-delete {
  border-color: rgba(248, 113, 113, 0.6) !important;
  background: rgba(127, 29, 29, 0.18) !important;
  color: #fca5a5 !important;
}

.comparison-delete:hover {
  border-color: #fb7185 !important;
  background: rgba(190, 24, 93, 0.24) !important;
  color: #fecdd3 !important;
}

.comparison-reset {
  border: 1px solid #475569;
  background: #182438;
  color: #f8fafc;
}

.comparison-reset:hover {
  border-color: #38bdf8;
  color: #7dd3fc;
}

.comparison-admin-savebar {
  position: sticky;
  z-index: 4;
  bottom: 12px;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #334155;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.38);
  backdrop-filter: blur(14px);
}

.comparison-admin-savebar p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.8rem;
}

.comparison-admin-savebar p[data-state="success"] { color: #34d399; }
.comparison-admin-savebar p[data-state="error"] { color: #f87171; }

@media (max-width: 980px) {
  .comparison-admin-toolbar { grid-template-columns: 1fr; }
  .comparison-admin-toolbar-actions { min-width: 0; }
  .comparison-header-editor > div,
  .comparison-admin-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .comparison-header-editor > div,
  .comparison-admin-fields { grid-template-columns: 1fr; }
  .comparison-admin-main-actions,
  .comparison-admin-savebar { align-items: stretch; flex-direction: column; }
  .comparison-admin-main-actions .btn,
  .comparison-admin-savebar .btn { width: 100%; justify-content: center; }
  .comparison-admin-row-head { grid-template-columns: 40px minmax(0, 1fr); }
  .comparison-visible-toggle { grid-column: 1 / -1; justify-content: center; }
  .comparison-admin-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .comparison-admin-actions button { justify-content: center; }
}

.quiz-section-upgrade {
  padding-top: 115px;
  padding-bottom: 120px;
  background: var(--color-bg);
}

.quiz-section-upgrade .section-header h2 {
  margin-top: 15px;
  font-size: clamp(2.2rem, 3.8vw, 4rem);
}

.quiz-box {
  max-width: 1040px;
  padding: 0;
  border-radius: 0;
  box-shadow: 0 30px 90px rgba(7,24,37,0.12);
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-bottom: 1px solid var(--color-border);
}

.quiz-progress span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  font-family: monospace;
  font-size: 0.67rem;
}

.quiz-progress span.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.quiz-progress i {
  width: 65px;
  height: 1px;
  background: var(--color-border);
}

.quiz-step {
  padding: 40px;
}

.quiz-step > h4 {
  margin-bottom: 22px;
  text-align: center;
}

.quiz-option-card {
  min-height: 150px;
  border-radius: 0;
  background: var(--color-bg-card);
}

.quiz-range-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 520px;
  margin: 30px auto;
}

.quiz-range-wrap input {
  flex: 1;
  accent-color: var(--color-primary);
}

.quiz-range-wrap strong {
  min-width: 70px;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.quiz-step[data-step="3"] {
  text-align: center;
}

.faq-section {
  padding-top: 110px;
  padding-bottom: 115px;
  border-top: 1px solid var(--color-border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 80px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.faq-intro p {
  margin-bottom: 22px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-list details {
  border-bottom: 1px solid var(--color-border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list summary i {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 50px 25px 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

.final-cta-section {
  padding: 85px 0;
  background: var(--color-ink-soft);
  color: #fff;
}

.final-cta-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
}

.final-cta-shell h2 {
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.final-cta-shell p {
  max-width: 760px;
  color: rgba(255,255,255,0.63);
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premium-footer {
  padding-top: 0;
}

.footer-topline {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-topline img {
  width: 190px;
  height: auto;
}

.footer-topline p {
  max-width: 580px;
  color: #b7c2cd;
  font-size: 0.8rem;
}

.footer-topline a {
  color: var(--color-cyan-bright);
  font-size: 0.8rem;
  font-weight: 800;
}

.premium-footer .footer-grid {
  grid-template-columns: 1.7fr 0.7fr 0.7fr 0.9fr;
  padding-top: 60px;
}

.footer-label {
  color: var(--color-cyan-bright);
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.footer-brand-column h3 {
  max-width: 440px;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 600;
}

.footer-contact-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 25px;
}

.footer-contact-stack a {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.premium-footer address {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.75;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--color-cyan-bright) !important;
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-bottom > div {
  display: flex;
  gap: 8px;
}

.floating-actions {
  position: fixed;
  z-index: 970;
  right: 18px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(7,24,37,0.94);
  box-shadow: 0 18px 42px rgba(7,24,37,0.28);
  backdrop-filter: blur(14px);
}

.floating-actions a,
.floating-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.floating-actions a:hover {
  background: rgba(255,255,255,0.13);
}

.floating-actions a:nth-child(2) {
  color: #53e882;
}

.floating-actions button {
  background: var(--color-cyan);
}

.floating-actions .floating-chat-btn {
  background: #0b4b38;
  border: 0;
  cursor: pointer;
}

.floating-actions .floating-chat-btn:hover,
.floating-actions .floating-chat-btn.is-open {
  background: #0d5c45;
}

.quote-modal-content {
  border-radius: 10px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  line-height: 1.5;
}

.consent-row input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.contact-page .form-group label,
.quote-modal-form .form-group label,
.contact-page .consent-row,
.quote-modal-form .consent-row {
  color: var(--color-text-primary) !important;
}

/* Improve the existing secondary pages without changing their architecture. */
body:not(.home-page) > div[style*="padding-top:120px"] {
  padding-top: 150px !important;
  background:
    linear-gradient(180deg, var(--color-bg-alt) 0, var(--color-bg-alt) 420px, var(--color-bg) 420px);
}

body:not(.home-page) .section-header.center {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

body:not(.home-page) .section-header.center .heading-xl {
  margin-top: 18px !important;
  font-size: clamp(2.4rem, 4.7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

body:not(.home-page) .product-grid {
  gap: 20px;
}

body:not(.home-page) .product-card {
  border-radius: 8px;
  box-shadow: none;
}

body:not(.home-page) .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,168,232,0.42);
  box-shadow: 0 22px 55px rgba(7,24,37,0.12);
}

body:not(.home-page) .product-card-image {
  height: 255px;
}

body:not(.home-page) .product-card-body {
  padding: 26px;
}

body:not(.home-page) .product-card-body h3 {
  font-size: 1.35rem;
  font-weight: 650;
}

/* auto-fit, not a fixed 1fr 1fr: since the configurator button was dropped the
   product cards carry a single action, and a fixed second track would leave it
   sitting in half the card. Empty tracks collapse, so two-button footers are
   unchanged. */
body:not(.home-page) .product-card-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

body:not(.home-page) .product-card-footer .btn,
body:not(.home-page) .product-card-footer a {
  min-height: 44px;
}

.product-discovery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.product-discovery-toolbar > strong {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.product-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.product-filter-buttons button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 800;
}

.product-filter-buttons button:hover,
.product-filter-buttons button.active {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: #fff;
}

.product-card[hidden] {
  display: none !important;
}

.core-system-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  background: var(--color-lime);
  color: var(--color-ink);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -6px 0 18px;
}

.product-spec-chips span {
  padding: 5px 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.62rem;
  font-weight: 700;
}

.product-compare-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin-bottom: 10px;
  border: 1px dashed var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 800;
}

.product-compare-toggle:hover,
.product-compare-toggle.active {
  border-style: solid;
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.compare-tray {
  position: fixed;
  z-index: 980;
  right: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: min(620px, calc(100vw - 36px));
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(7,24,37,0.96);
  color: #fff;
  box-shadow: 0 22px 60px rgba(7,24,37,0.34);
  transform: translateX(50%);
  backdrop-filter: blur(14px);
}

.compare-tray[hidden] {
  display: none;
}

.compare-tray-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
}

.compare-tray-summary strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-ink);
}

.compare-tray-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-tray-actions > button:first-child {
  padding: 8px 10px;
  color: rgba(255,255,255,0.62);
  font-size: 0.68rem;
  font-weight: 800;
}

.compare-tray .btn {
  min-height: 40px;
  font-size: 0.68rem;
}

.product-compare-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7,24,37,0.82);
  backdrop-filter: blur(14px);
}

.product-compare-modal[hidden] {
  display: none;
}

.product-compare-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  padding: 42px;
  overflow-y: auto;
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  box-shadow: 0 35px 90px rgba(0,0,0,0.38);
}

.product-compare-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-primary);
}

.product-compare-dialog h2 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.modal-compare-table-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
}

.modal-compare-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.modal-compare-table th,
.modal-compare-table td {
  padding: 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.modal-compare-table thead th {
  background: var(--color-ink);
  color: #fff;
}

.modal-compare-table tbody th {
  color: var(--color-text-secondary);
}

@media (max-width: 720px) {
  .product-discovery-toolbar { align-items: flex-start; flex-direction: column; }
  .product-filter-buttons { justify-content: flex-start; }
  .compare-tray { gap: 10px; min-width: calc(100vw - 20px); }
  .compare-tray-summary span { display: none; }
  .compare-tray-actions { margin-left: auto; }
  .compare-tray .btn { padding-inline: 12px; }
  .product-compare-dialog { padding: 35px 18px 22px; }
}

.project-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.project-filter-toolbar > strong {
  font-size: 0.78rem;
}

.project-filter-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-filter-toolbar button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 800;
}

.project-filter-toolbar button.active,
.project-filter-toolbar button:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: #fff;
}

.project-spec-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -6px 0 18px;
}

.project-spec-line span {
  padding: 5px 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.62rem;
  font-weight: 700;
}

.project-method-section {
  margin-top: 90px;
  padding: 55px;
  background: var(--color-ink);
  color: #fff;
}

.project-method-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 70px;
  align-items: end;
}

.project-method-heading .section-index {
  grid-column: 1 / -1;
  color: var(--color-cyan-bright);
}

.project-method-heading h2 {
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.project-method-heading p {
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.project-method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.project-method-steps article {
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,0.16);
}

.project-method-steps article:last-child {
  border-right: 0;
}

.project-method-steps span {
  color: var(--color-lime);
  font-family: monospace;
  font-size: 0.7rem;
}

.project-method-steps h3 {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 1.2rem;
}

.project-method-steps p {
  color: rgba(255,255,255,0.54);
  font-size: 0.8rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .project-filter-toolbar { align-items: flex-start; flex-direction: column; }
  .project-method-section { margin-top: 60px; padding: 34px 22px; }
  .project-method-heading { grid-template-columns: 1fr; gap: 15px; }
  .project-method-steps { grid-template-columns: 1fr; }
  .project-method-steps article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .project-method-steps article:last-child { border-bottom: 0; }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.quick-project-card.reveal-up {
  animation-delay: 0.12s;
}

.reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-target { opacity: 1; transform: none; }
}

@media (max-width: 1260px) {
  .header-phone span { display: none; }
  .header-phone { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--color-border); border-radius: 8px; }
  .premium-hero-grid { grid-template-columns: 1fr minmax(520px, 1fr); gap: 40px; }
}

@media (max-width: 1120px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 1001;
    flex-direction: column;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    padding: 35px 28px;
    gap: 18px;
    background: var(--color-bg-card);
    overflow-y: auto;
  }
  .nav-menu.active { display: flex !important; }
  .mobile-toggle { display: flex !important; }
  .premium-hero-grid { grid-template-columns: 1fr; padding-top: 88px; padding-bottom: 180px; }
  .premium-hero-copy { max-width: 850px; }
  .quick-project-card { width: min(100%, 620px); align-self: auto; margin: 0; }
  .premium-hero-media::before { background: linear-gradient(90deg, rgba(7,24,37,0.97), rgba(7,24,37,0.55)); }
  .systems-bento { grid-template-rows: 360px 360px auto; }
  .climate-grid { grid-template-columns: 1fr; }
  .climate-copy { max-width: 780px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-card:last-child { grid-column: 1 / -1; }
  .process-layout, .comparison-shell, .faq-grid { grid-template-columns: 1fr; }
  .process-intro, .faq-intro { position: static; max-width: 760px; }
  .premium-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .premium-footer .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  :root { --header-height: 74px; }
  .header-quote, .header-phone { display: none; }
  .slidex-brand-logo { height: 40px; }
  .premium-hero { min-height: auto; }
  .premium-hero-grid { padding-top: 72px; padding-bottom: 110px; }
  .premium-hero-copy h1 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hero-spec-dock { grid-template-columns: 1fr 1fr; }
  .hero-spec:nth-child(2) { border-right: 0; }
  .hero-spec:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.13); }
  .decision-strip-grid { grid-template-columns: 1fr; }
  .decision-link, .decision-link:first-child { border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); border-left: 1px solid var(--color-border); }
  .editorial-heading { grid-template-columns: 1fr; gap: 20px; }
  .systems-bento { display: flex; flex-direction: column; }
  .system-story, .system-story-large { min-height: 480px; }
  .system-directory { display: block; padding: 34px 28px; }
  .system-directory ul { grid-template-columns: 1fr; margin: 25px 0; }
  .climate-visual, .climate-visual img { min-height: 460px; height: 460px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card:last-child { grid-column: auto; }
  .project-editorial-grid { grid-template-columns: 1fr; }
  .project-main { grid-row: auto; }
  .project-main img, .project-editorial-card img { height: 430px; }
  .final-cta-shell { grid-template-columns: 1fr; gap: 35px; }
  .footer-topline { grid-template-columns: 1fr; gap: 18px; }
  .premium-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .premium-footer .footer-grid > div:first-child { grid-column: 1 / -1; }
  .premium-footer .footer-grid > div:last-child { grid-column: auto; }
  body:not(.home-page) .product-card-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding-right: 18px; padding-left: 18px; }
  .lang-selector { display: none; }
  .premium-hero-grid { padding-top: 58px; padding-bottom: 96px; }
  .premium-hero-copy h1 { margin-top: 17px; font-size: clamp(2.55rem, 14vw, 4rem); }
  .premium-hero-copy .hero-ctas { flex-direction: column; align-items: stretch; }
  .premium-hero-copy .btn { width: 100%; }
  .hero-proof-list { flex-direction: column; }
  .quick-project-card { padding: 22px 18px; }
  .quick-choice-row { grid-template-columns: 1fr; }
  .quick-dimensions { grid-template-columns: 1fr; gap: 0; }
  .hero-spec { padding: 16px; }
  .hero-spec strong { font-size: 0.95rem; }
  .editorial-heading h2, .climate-copy h2, .process-intro h2, .faq-intro h2 { font-size: 2.55rem; }
  .section, .systems-section, .audience-section, .projects-showcase, .quiz-section-upgrade, .faq-section { padding-top: 80px; padding-bottom: 85px; }
  .system-story, .system-story-large { min-height: 440px; }
  .system-story-copy { padding: 26px 22px; }
  .system-story h3 { font-size: 2rem; }
  .climate-section, .process-section { padding: 85px 0; }
  .climate-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .climate-tab { justify-content: center; padding: 10px 8px; }
  .climate-point small { display: none; }
  .climate-visual, .climate-visual img { min-height: 370px; height: 370px; }
  .climate-point-detail { position: fixed; z-index: 1001; right: 18px; bottom: calc(92px + env(safe-area-inset-bottom)); top: auto; left: 18px; width: auto; max-height: 28vh; overflow: auto; }
  .climate-point-three .climate-point-detail { right: 18px; left: 18px; }
  .site-lightbox { padding: 14px; }
  .site-lightbox-dialog { gap: 6px; }
  .site-lightbox-prev, .site-lightbox-next { width: 36px; height: 36px; font-size: 1.45rem; }
  .site-lightbox-close { top: -8px; right: -4px; width: 38px; height: 38px; }
  .audience-card { min-height: 350px; padding: 28px; }
  .audience-card h3 { margin-top: 60px; }
  .audience-card .text-link { right: 28px; bottom: 28px; left: 28px; }
  .process-list li { grid-template-columns: 46px 1fr; gap: 15px; }
  .project-main img, .project-editorial-card img { height: 330px; }
  .project-meta { flex-direction: column; gap: 3px; }
  .quiz-progress i { width: 30px; }
  .quiz-step { padding: 25px 16px; }
  .faq-list summary { font-size: 0.95rem; }
  .final-cta-section { padding: 70px 0; }
  .final-cta-shell h2 { font-size: 2.7rem; }
  .premium-footer .footer-grid { grid-template-columns: 1fr; }
  .premium-footer .footer-grid > div:first-child { grid-column: auto; }
  .floating-actions { right: 10px; bottom: 10px; left: 10px; justify-content: center; }
  .floating-actions a, .floating-actions button { flex: 1; }
  .floating-actions button span { display: inline; }
}

/* Stable admin header and mobile administration layout */
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.admin-studio-label {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-logout-btn {
  flex: 0 0 auto;
  background: #10283b !important;
  color: #fff !important;
  border-color: #2f5874 !important;
  box-shadow: 0 7px 18px rgba(2, 12, 27, 0.2);
  white-space: nowrap;
}

.admin-logout-btn:hover,
.admin-logout-btn:focus-visible {
  background: #0ea5e9 !important;
  border-color: #38bdf8 !important;
  color: #fff !important;
  box-shadow: 0 9px 24px rgba(14, 165, 233, 0.3);
}

@media (max-width: 900px) {
  .header-actions .header-phone,
  .header-actions .header-quote {
    display: none !important;
  }

  .header-container {
    gap: 12px;
  }

  .header-actions {
    min-width: 0;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .admin-studio-label {
    display: none;
  }

  .admin-header-actions {
    gap: 8px;
  }

  .admin-main {
    padding-top: calc(var(--header-height) + 28px) !important;
    padding-bottom: 40px !important;
  }

  .admin-main .section-header {
    margin-bottom: 18px !important;
  }

  .admin-main .section-header .heading-lg {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .admin-main .section-header .subtitle {
    font-size: 0.9rem;
  }

  .admin-nav-tabs {
    width: 100%;
    max-width: calc(100vw - 36px);
    gap: 7px !important;
    margin-bottom: 18px !important;
    padding-bottom: 9px !important;
    scrollbar-width: thin;
  }

  .admin-tab-btn {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
  }

  .admin-panel-content,
  .admin-panel-content.active,
  .cms-card {
    min-width: 0;
    max-width: 100%;
  }

  .cms-card {
    padding: 16px !important;
    border-radius: 13px !important;
  }

  .cms-editor-toolbar,
  .cms-editor-controls {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .cms-editor-controls label,
  .cms-editor-controls .form-control,
  .cms-editor-controls button {
    width: 100%;
    min-width: 0 !important;
  }

  .cms-preview-wrap,
  #cmsPreviewFrame {
    height: 430px !important;
    min-height: 430px !important;
  }

  .cms-inspector {
    min-width: 0;
    padding: 15px !important;
  }

  .tracking-admin-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .tracking-admin-card .tracking-switch {
    box-sizing: border-box;
    overflow: visible;
  }

  .tracking-field {
    min-width: 0;
    padding: 14px;
  }

  .tracking-field input,
  .tracking-field small,
  .tracking-field span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .tracking-placement span {
    overflow-wrap: anywhere;
  }

  #editItemModal,
  #adminAuthModal {
    padding: 12px !important;
  }

  #editItemModal > div,
  #adminAuthModal > div {
    max-height: calc(100dvh - 24px) !important;
    padding: 24px 18px !important;
    overflow-y: auto;
  }

  #editItemModal form > div:last-child {
    align-items: stretch !important;
    flex-direction: column-reverse;
  }

  #editItemModal form > div:last-child .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .header-brand-wrapper {
    min-width: 0;
  }

  .slidex-brand-logo {
    width: auto;
    max-width: 118px;
    height: 38px !important;
  }

  .admin-logout-btn {
    min-height: 38px;
    padding: 8px 11px !important;
    font-size: 0.78rem !important;
  }

  .admin-main > .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .admin-nav-tabs {
    max-width: calc(100vw - 24px);
  }

  .comparison-admin-row,
  .comparison-header-editor {
    padding: 13px;
  }
}

/* Public language availability */
[data-lang-btn].language-disabled {
  display: none !important;
}

/* Official logo: transparent artwork, consistent proportions on every page. */
.slidex-brand-logo {
  width: clamp(154px, 10.5vw, 180px) !important;
  height: auto !important;
  max-width: 180px !important;
  max-height: 82px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}
.page-motion-mark img,
.splash-brand-logo,
.footer img[src*="slidex-logo-official"] {
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}
.footer img[src*="slidex-logo-official"] { width: 190px !important; }

@media (max-width: 600px) {
  .slidex-brand-logo {
    width: 118px !important;
    max-width: 118px !important;
    max-height: 60px !important;
  }
}

/* Premium campaign strip shared by all public pages. */
.premium-campaign-banner { position:relative; z-index:40; margin-top:var(--header-height); color:#0b2436; background:linear-gradient(105deg,#f5eee2 0%,#fff 42%,#eef7fb 100%); border-top:1px solid rgba(215,181,109,.55); border-bottom:1px solid #d7e2e9; box-shadow:0 12px 34px rgba(7,25,39,.1); overflow:hidden; }
.premium-campaign-banner + main { margin-top:0; }
body.has-premium-campaign .premium-hero { padding-top:0; }
body.has-premium-campaign .premium-hero::after { inset:0 0 auto; }
body.has-premium-campaign .premium-hero-media { inset:0; }
.premium-campaign-banner::before { content:""; position:absolute; inset:0 auto 0 0; width:34%; background:linear-gradient(118deg,rgba(215,181,109,.18),rgba(14,165,233,.08),transparent); clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%); pointer-events:none; }
.premium-campaign-inner { position:relative; display:grid; grid-template-columns:210px minmax(0,1fr) 260px; align-items:center; gap:34px; min-height:132px; padding-top:16px; padding-bottom:16px; }
.campaign-discount { position:relative; display:grid; grid-template-rows:auto auto auto; place-items:center; align-content:center; width:176px; height:104px; color:#fff; text-align:center; background:linear-gradient(145deg,#0b3652,#075985 68%,#0369a1); border:3px solid #fff; border-radius:24px 13px 24px 13px; transform:rotate(-2deg); box-shadow:0 15px 30px rgba(3,75,113,.25),inset 0 0 0 2px rgba(215,181,109,.75); }
.campaign-discount::before { content:""; position:absolute; inset:8px; border:1px dashed rgba(255,255,255,.48); border-radius:17px 8px 17px 8px; }
.campaign-discount::after { content:""; position:absolute; right:-31px; top:8px; width:2px; height:88px; background:linear-gradient(180deg,transparent,#d7b56d 22% 78%,transparent); transform:skewX(-12deg); }
.campaign-discount strong { position:relative; z-index:1; color:#fff; font-size:2.55rem; line-height:.88; letter-spacing:-.07em; }
.campaign-discount span { position:relative; z-index:1; margin-top:7px; color:#f5d583; font-size:.69rem; font-weight:950; letter-spacing:.13em; }
.campaign-discount small { position:relative; z-index:1; margin-top:2px; color:#fff; font-size:.5rem; font-weight:900; letter-spacing:.16em; }
.campaign-copy { display:flex; flex-direction:column; gap:5px; }
.campaign-copy .campaign-kicker { color:#0284c7; font-size:.68rem; font-weight:950; letter-spacing:.18em; }
.campaign-copy strong { color:#0a2031; font-size:clamp(1.1rem,1.55vw,1.48rem); line-height:1.25; letter-spacing:-.025em; }
.campaign-copy > span:last-child { color:#5c6f7d; font-size:.92rem; }
.campaign-actions { display:flex; flex-direction:column; align-items:stretch; gap:8px; min-width:240px; }
.campaign-primary,.campaign-secondary { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:11px 18px; border-radius:8px; font-weight:850; text-decoration:none; transition:transform .2s,background .2s,color .2s,box-shadow .2s; }
.campaign-primary { color:#fff; background:linear-gradient(135deg,#082d46,#075985); box-shadow:0 10px 22px rgba(7,50,77,.2); }
.campaign-primary:hover { color:#fff; background:linear-gradient(135deg,#0369a1,#0284c7); transform:translateY(-2px); box-shadow:0 14px 28px rgba(2,132,199,.26); }
.campaign-secondary { min-height:auto; padding:4px 8px; color:#193b50; font-size:.84rem; }
.campaign-secondary:hover { color:#0284c7; }
.service-info-content > :empty,[data-cms-id]:empty { display: none !important; }
.service-info-multiline { white-space: pre-line; }
.service-info-admin-card { display: grid; gap: 14px; }
.service-info-admin-card .form-group { display: grid; gap: 7px; color: #e2e8f0; font-weight: 800; }
.service-info-admin-actions { display: flex; align-items: center; gap: 14px; }
.service-info-admin-status { color: #94a3b8; font-weight: 750; }
.service-info-admin-status[data-state="success"] { color: #34d399; }
.service-info-admin-status[data-state="error"] { color: #f87171; }

@media (max-width: 820px) {
  .premium-campaign-banner + main { margin-top:0; }
  .premium-campaign-inner { grid-template-columns:88px 1fr; gap:14px; min-height:0; padding-top:13px; padding-bottom:13px; }
  .campaign-discount { width:82px; height:70px; border-width:2px; border-radius:15px 8px; }
  .campaign-discount::after { display:none; }
  .campaign-discount strong { font-size:1.65rem; }
  .campaign-discount span { margin-top:4px; font-size:.45rem; }
  .campaign-discount small { display:none; }
  .campaign-copy .campaign-kicker { font-size:.56rem; }
  .campaign-copy strong { font-size:.92rem; }
  .campaign-copy > span:last-child { display:none; }
  .campaign-actions { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; min-width:0; }
  .campaign-primary,.campaign-secondary { min-height:40px; padding:8px 9px; font-size:.7rem; text-align:center; }
}
.cb-lang-separator { margin: 0 5px; color: #64748b; }
.contact-map-embed { position: relative; }
.contact-map-open { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: #fff; background: rgba(7, 25, 39, .92); border: 1px solid rgba(56, 189, 248, .42); border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,.28); font-size: .8rem; font-weight: 800; text-decoration: none; }
.contact-map-open:hover { background: #0284c7; color: #fff; }
.company-map-preview-shell { height: 260px; overflow: hidden; border: 1px solid #334155; border-radius: 14px; background: #071825; }
.company-map-preview-shell iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Opening/closing mark: the navy master logo becomes a crisp monochrome mark
   only on the dark motion layers; regular header/footer logos keep brand color. */
.slidex-splash-overlay .splash-brand-logo,
.page-motion-overlay .page-motion-mark img {
  width: min(420px, 78vw) !important;
  max-width: min(420px, 78vw) !important;
  max-height: 230px !important;
  padding: 24px 34px !important;
  border-radius: 0 !important;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.96) 0%, rgba(231,242,248,.82) 46%, rgba(231,242,248,0) 75%) !important;
  filter: saturate(1.05) contrast(1.06) drop-shadow(0 14px 34px rgba(56,189,248,.2)) !important;
  clip-path: inset(27px 0 27px 0);
  opacity: 1;
}
.page-motion-mark { gap: 25px; }
.page-motion-mark::before {
  content: none;
}
.page-motion-mark span { width:min(220px,48vw); background:rgba(255,255,255,.16); }
.page-motion-mark span::after { width:46%; background:linear-gradient(90deg,#d7b56d,#fff0b0,#d7b56d); }
@media (max-width:600px) {
  .slidex-splash-overlay .splash-brand-logo,
  .page-motion-overlay .page-motion-mark img { width:min(320px,84vw) !important; max-width:min(320px,84vw) !important; padding:20px 24px !important; }
}

/* Admin language publishing */
.language-admin-card { padding: 28px; }
.language-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid #334155; }
.language-admin-head h3 { margin: 4px 0 8px; color: #f8fafc; }
.language-admin-head p { max-width: 760px; margin: 0; color: #94a3b8; }
.language-admin-eyebrow { color: #38bdf8; font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.language-security-note { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 12px; color: #7dd3fc; background: #0f172a; border: 1px solid #334155; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.language-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.language-admin-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 13px; min-width: 0; padding: 17px; background: #0f172a; border: 1px solid #334155; border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.language-admin-option.is-enabled { border-color: #0ea5e9; background: #0c2033; }
.language-admin-option.language-locked { cursor: default; }
.language-code { display: grid; place-items: center; width: 42px; height: 42px; color: #e0f2fe; background: #0c4a6e; border-radius: 11px; font-weight: 900; }
.language-name { display: flex; flex-direction: column; min-width: 0; color: #f8fafc; }
.language-name small { margin-top: 4px; color: #94a3b8; overflow-wrap: anywhere; }
.language-state-badge { padding: 5px 8px; color: #94a3b8; background: #1e293b; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.language-admin-option.is-enabled .language-state-badge { color: #67e8f9; background: #164e63; }
.language-admin-option input { width: 20px; height: 20px; accent-color: #0ea5e9; }
.language-password-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; padding: 20px; background: #111c31; border: 1px solid #334155; border-radius: 14px; }
.language-password-row label { display: flex; flex-direction: column; gap: 8px; color: #e2e8f0; font-weight: 800; }
.language-password-row small { color: #94a3b8; font-weight: 500; }
.language-password-row .btn { min-height: 46px; }
.language-admin-status { min-height: 22px; margin: 14px 0 0; color: #94a3b8; font-weight: 700; }
.language-admin-status[data-state="success"] { color: #34d399; }
.language-admin-status[data-state="error"] { color: #f87171; }

@media (max-width: 900px) {
  .language-admin-grid { grid-template-columns: 1fr; }
  .language-admin-head, .language-password-row { grid-template-columns: 1fr; flex-direction: column; }
  .language-security-note { align-self: flex-start; }
  .language-password-row .btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .language-admin-card { padding: 16px !important; }
  .language-admin-option { grid-template-columns: auto minmax(0, 1fr) auto; }
  .language-admin-option input { grid-column: 3; grid-row: 1 / span 2; }
  .language-state-badge { display: none; }
}

/* ==========================================================================
   PREMIUM SERVIS SERIDI — ekranin altina yapisik, her sayfada
   SVG orani 1800x70 (25.7:1). Zemin SVG'nin kendi zemini ile ayni renkte,
   boylece genis ekranda contain'den dogan bosluk gorunmez.
   ========================================================================== */
:root {
  --premium-bar-h: 58px;
}

.premium-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 985; /* modallerin altinda, yuzen butonlarin ustunde */
  height: var(--premium-bar-h);
  overflow-x: auto;
  overflow-y: hidden;
  background: #f4f7f8;
  box-shadow: 0 -6px 22px rgba(7, 13, 27, 0.22);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.premium-bar::-webkit-scrollbar {
  display: none;
}

.premium-bar {
  display: block; /* <a> oldugu icin acikca blok */
  cursor: pointer;
  transition: filter .2s ease;
}

.premium-bar:hover img,
.premium-bar:focus-visible img {
  filter: brightness(1.04) saturate(1.05);
}

.premium-bar:focus-visible {
  outline: 3px solid #c39a51;
  outline-offset: -3px;
}

.premium-bar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Serit sayfanin son satirlarini ortmesin. */
body {
  padding-bottom: var(--premium-bar-h);
}

/* Alt kosede duran mevcut ogeler seridin ustune cikmali. */
.floating-actions {
  bottom: calc(20px + var(--premium-bar-h));
}

.compare-tray {
  bottom: calc(18px + var(--premium-bar-h));
}

/* Dar ekranda 1800px'lik serit contain ile okunamaz hale gelir;
   dogal oranda birakilip yatay kaydirmaya acilir. */
@media (max-width: 900px) {
  :root {
    --premium-bar-h: 46px;
  }

  /* width:auto + sabit yukseklik => img dogal oranini korur (46 * 1800/70),
     serit yatay kaydirilir. object-fit:none burada goruntuyu dikey kirpardi. */
  .premium-bar img {
    width: auto;
    max-width: none;
  }
}

@media print {
  .premium-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Homepage quality badges */
.home-page .home-quality-badges-wrap {
  position: fixed;
  z-index: 964;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(20px + var(--premium-bar-h));
  width: min(240px, 42vw);
  pointer-events: none;
}

.home-page .home-quality-badges {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .home-page .home-quality-badges-wrap {
    width: min(168px, 46vw);
    bottom: calc(12px + var(--premium-bar-h));
  }
}

@media print {
  .home-page .home-quality-badges-wrap {
    display: none;
  }
}

/* ==========================================================================
   GASTRO SYSTEM POSTER (ingenieurwesen.html)
   Portrait 4:5 artwork, so it is capped and centred instead of stretched across
   the full grid width. The whole card is one link to WhatsApp.
   ========================================================================== */

.gastro-showcase {
  margin-top: clamp(36px, 5vw, 60px);
}

.gastro-showcase-title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

[data-theme="light"] body.engineering-page .gastro-showcase-title {
  color: var(--color-text-primary);
}

.gastro-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(480px, 42vw) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.gastro-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  min-height: 0;
}

.gastro-gallery-slot {
  position: relative;
  display: flex;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 36px rgba(4, 12, 22, 0.28);
  min-height: 160px;
  height: 100%;
}

.gastro-gallery-slot.is-uploadable {
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gastro-gallery-slot.is-uploadable:hover,
.gastro-gallery-slot.is-uploadable:focus-visible {
  border-color: rgba(37, 150, 190, 0.85);
  box-shadow: 0 18px 40px rgba(4, 12, 22, 0.4);
  transform: translateY(-2px);
  outline: none;
}

.gastro-gallery-slot.is-uploading {
  opacity: 0.65;
  pointer-events: none;
}

.gastro-gallery-slot.is-uploading::after {
  content: 'Yükleniyor…';
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(7, 24, 37, 0.72);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.gastro-gallery-slot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gastro-gallery-slot.is-filled .gastro-gallery-empty {
  display: none;
}

.gastro-gallery-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  color: rgba(148, 163, 184, 0.75);
  font-size: 1.6rem;
  text-align: center;
  padding: 16px;
}

.gastro-gallery-empty-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.9);
}

.gastro-poster {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(4, 12, 22, 0.42);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (max-width: 900px) {
  .gastro-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "poster poster"
      "tl tr"
      "bl br";
  }

  .gastro-poster {
    grid-area: poster;
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .gastro-gallery-side--left,
  .gastro-gallery-side--right {
    display: contents;
  }

  .gastro-gallery-side--left .gastro-gallery-slot:first-child { grid-area: tl; }
  .gastro-gallery-side--left .gastro-gallery-slot:last-child { grid-area: bl; }
  .gastro-gallery-side--right .gastro-gallery-slot:first-child { grid-area: tr; }
  .gastro-gallery-side--right .gastro-gallery-slot:last-child { grid-area: br; }
}

@media (max-width: 560px) {
  .gastro-gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "poster"
      "tl"
      "tr"
      "bl"
      "br";
  }

  .gastro-gallery-slot {
    min-height: 200px;
  }
}

.gastro-poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 66px rgba(4, 12, 22, 0.55);
}

.gastro-poster:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 3px;
}

.gastro-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.gastro-poster-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #25d366;
  color: #06281a;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
}

.gastro-poster-cta .fa-whatsapp {
  font-size: 1.35rem;
}

.gastro-poster-cta .fa-arrow-right {
  transition: transform var(--transition-fast);
}

.gastro-poster:hover .gastro-poster-cta .fa-arrow-right {
  transform: translateX(4px);
}

@media (max-width: 560px) {
  .gastro-poster {
    border-radius: 14px;
  }

  .gastro-poster-cta {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   HEADER FIT
   Seven nav labels plus language, theme, social, phone and the quote button add
   up to more than the 1240px text column, so the row overflowed the viewport and
   the quote button was clipped off the right edge. Four measures, in order of
   how much room they win back: the header gets its own wider column, the phone
   collapses to its icon, the nav rhythm tightens, and the whole nav folds into
   the hamburger while there is still room for it.
   ========================================================================== */

/* The header row is not part of the 1280px reading column. The cap is set by the
   longest real nav: the home page's "Showroom - Kontakt - FAQ" label plus the
   contact block need ~1640px before the row would fold into the hamburger. */
.header .header-container {
  max-width: min(1760px, 100%);
}

/* One box model for every nav item. app.js turns the Service & Informationen
   link into an inline-flex toggle so it can carry a chevron, which made it
   taller than the plain inline links; centred in the row, its text then sat
   several pixels above the others. */
.header .nav-menu > li {
  display: flex;
  align-items: center;
}

.header .nav-menu .nav-link {
  display: inline-flex;
  align-items: center;
}

@media (min-width: 1281px) {
  .nav-menu {
    gap: clamp(9px, 0.75vw, 14px);
  }

  .nav-link {
    font-size: 0.73rem;
  }
}

/* Just above the hamburger breakpoint the row is the tightest; buy back another
   ~50px so a slow-loading webfont cannot tip it into an overflow. */
@media (min-width: 1281px) and (max-width: 1480px) {
  .nav-menu {
    gap: 9px;
  }

  .nav-link {
    font-size: 0.7rem;
  }
}

/* The number itself is ~100px of the row. It stays one tap away as an icon, and
   in full in the footer and on the contact page. */
@media (max-width: 1600px) {
  .header-container {
    gap: 16px;
  }
}

/* Folded nav. app.js adds .nav-collapsed as soon as the row would overflow, so
   this is not tied to a width; the 1280px query below is the no-JS floor. */
.header.nav-collapsed .nav-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 1001;
  flex-direction: column;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  padding: 32px 26px;
  gap: 18px;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.header.nav-collapsed .nav-menu.active {
  display: flex !important;
}

.header.nav-collapsed .nav-menu .nav-link {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.05rem;
}

.header.nav-collapsed .mobile-toggle {
  display: flex !important;
}

body.nav-open {
  overflow: hidden;
}

body > .nav-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 1001;
  flex-direction: column;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  margin: 0;
  padding: 32px 26px;
  gap: 18px;
  list-style: none;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

body > .nav-menu.active {
  display: flex !important;
}

body > .nav-menu .nav-link {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.05rem;
  color: var(--color-text-primary);
}

@media (min-width: 1401px) {
  .header .nav-menu {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .header.nav-collapsed .nav-menu {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .header .mobile-toggle,
  .header.nav-collapsed .mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 1001;
    flex-direction: column;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    padding: 32px 26px;
    gap: 18px;
    background: var(--color-bg-card);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu .nav-link {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
  }

  .mobile-toggle {
    display: flex !important;
  }
}

/* service-informationen.html marks its footer address with <address>; strip the
   browser's default italic so it matches the plain paragraph the other pages use. */
.footer .footer-bottom > address {
  margin: 0;
  font-style: normal;
}

/* ==========================================================================
   INFORMATIONEN HUB + THEMENSEITEN
   Seven topics: a pill row that links straight to the detail page, seven cards
   in the existing product-card frame, and a dark title band per topic.
   ========================================================================== */

/* The pills are links here, not filter buttons; same look as the toolbar's. */
.topic-toolbar > div a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.topic-toolbar > div a:hover,
.topic-toolbar > div a.is-current {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: #fff;
}

.topic-toolbar > div a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

[data-theme="dark"] .topic-toolbar > div a:hover,
[data-theme="dark"] .topic-toolbar > div a.is-current {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

/* Placeholder visual: no topic photography exists yet, so each card carries its
   own icon panel. Swap the div for an <img> once artwork is supplied. */
.topic-card-visual {
  display: grid;
  place-items: center;
  height: 190px;
  background: linear-gradient(135deg, #0f2b3d 0%, #071825 100%);
  color: var(--color-accent);
  font-size: 2.6rem;
}

[data-theme="dark"] .topic-card-visual {
  background: linear-gradient(135deg, #12304a 0%, #040812 100%);
}

.topic-card .product-card-body h3 {
  font-size: 1.45rem;
}

.topic-card .product-card-body > p {
  flex-grow: 1;
  margin-bottom: 18px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* --- DETAILSEITE --- */
.info-detail-hero {
  margin-bottom: clamp(32px, 4vw, 54px);
  padding: calc(var(--header-height) + clamp(40px, 5vw, 68px)) 0 clamp(38px, 5vw, 66px);
  background: linear-gradient(120deg, #1e3a52 0%, #071825 62%, #04101a 100%);
  color: #f8fafc;
}

/* The campaign strip already reserves the fixed header's height, so the band
   must not reserve it a second time. Mirrors .premium-hero's handling. */
body.has-premium-campaign .info-detail-hero {
  padding-top: clamp(38px, 4.2vw, 64px);
}

/* flex, not inline-flex: each of these takes its own line above the title. */
.info-detail-back {
  display: flex;
  width: fit-content;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: #a9c6d8;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.info-detail-back:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-detail-kicker {
  display: flex;
  width: fit-content;
  gap: 9px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--color-lime);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.info-detail-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.info-detail-lead {
  max-width: 62ch;
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.info-detail-body {
  max-width: 78ch;
  margin: 0 auto clamp(38px, 5vw, 62px);
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.info-detail-body h2 {
  margin: clamp(30px, 3.6vw, 46px) 0 14px;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.info-detail-body h2:first-child {
  margin-top: 0;
}

.info-detail-body p {
  margin: 0 0 16px;
}

.info-detail-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.info-detail-body li {
  margin-bottom: 9px;
}

.info-detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg-alt);
}

.info-detail-cta p {
  flex: 1 1 260px;
  margin: 0;
  color: var(--color-text-primary);
  font-weight: 600;
}

.info-detail-more {
  margin-bottom: clamp(40px, 5vw, 70px);
}

@media (max-width: 620px) {
  .info-detail-cta .btn {
    width: 100%;
  }
}

/* ==========================================================================
   HEADER DIRECT CONTACT
   "Ihr direkter Kontakt" over the number, with the sales contact's portrait and
   an availability dot beside it. Built by app.js on every page.
   ========================================================================== */

/* The anchor is sized by its content now. Beats the legacy 36x36 icon-button
   rules at 1260px and below, which would crop the portrait. */
.header .header-phone {
  gap: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.header-phone-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1.15;
}

.header-phone-label {
  color: var(--color-text-muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-phone-number {
  font-size: 0.83rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone-avatar {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-alt);
}

.header-phone-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Availability dot, as in the reference header. */
.header-phone-avatar::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--color-bg);
  border-radius: 50%;
  background: #22c55e;
}

[data-theme="dark"] .header-phone-avatar::after {
  border-color: var(--color-bg-card);
}

/* Higher specificity than the legacy ".header-phone span { display:none }" rules
   at 1260px and below, which would otherwise hide the portrait along with the
   text. Must also sit after the base rules above to win on source order. */
.header-phone .header-phone-avatar {
  display: block;
}

/* Below 1600px the label and number step aside so the quote button keeps its
   place; the portrait stays as the contact affordance. */
@media (max-width: 1600px) {
  .header-phone .header-phone-copy {
    display: none;
  }
}

/* ==========================================================================
   HEADER SOCIAL PROFILES
   Injected by app.js into .header-actions on every page, kept in brand colour
   so the row reads as icons rather than as more navigation.
   ========================================================================== */

.header-social {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  align-items: center;
  padding-left: 8px;
  border-left: 1px solid var(--color-border);
}

.header-social-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1.08rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-social-link:hover {
  transform: translateY(-1px);
  background: var(--color-bg-alt);
}

.header-social-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.header-social-facebook { color: #1877f2; }
.header-social-instagram { color: #e1306c; }
.header-social-tiktok { color: var(--color-ink); }

[data-theme="dark"] .header-social {
  border-left-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .header-social-link:hover {
  background: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .header-social-tiktok { color: #f8fafc; }

@media (max-width: 560px) {
  /* The language selector is gone here, so the divider has nothing to divide. */
  .header-social {
    gap: 2px;
    padding-left: 0;
    border-left: 0;
  }

  .header-social-link {
    width: 30px;
    height: 30px;
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .header-social-link {
    width: 27px;
    height: 27px;
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   CONSENT MANAGER (DSGVO / TTDSG)
   Editorial card in the site's ink/champagne language. The three decision
   buttons deliberately share one geometry and one weight: German supervisory
   authorities treat a visually louder "accept" as an invalid nudge.
   ========================================================================== */

html.cb-consent-locked,
html.cb-consent-locked body {
  overflow: hidden;
}

.cb-consent-root {
  --cb-surface: #ffffff;
  --cb-ink: #071825;
  --cb-muted: #475569;
  --cb-line: #e2e8f0;
  --cb-gold: #d7b56d;

  position: fixed;
  z-index: 9999990;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 24, 37, 0.62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

[data-theme="dark"] .cb-consent-root {
  --cb-surface: #10202d;
  --cb-ink: #f8fafc;
  --cb-muted: #cbd5e1;
  --cb-line: #334155;
  background: rgba(4, 8, 18, 0.74);
}

.cb-consent-root.is-open {
  display: grid;
  animation: cbConsentFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cbConsentFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cb-consent-card {
  width: min(760px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  border-radius: 6px;
  background: var(--cb-surface);
  box-shadow: 0 34px 90px rgba(4, 12, 22, 0.42);
  animation: cbConsentRise 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cbConsentRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* The card only takes focus to anchor screen readers at the heading. */
.cb-consent-card:focus {
  outline: none;
}

.cb-consent-body {
  padding: clamp(26px, 4.4vw, 52px);
}

.cb-consent-rule {
  display: block;
  width: 88px;
  height: 3px;
  margin-bottom: clamp(18px, 2.6vw, 28px);
  background: var(--cb-gold);
}

.cb-consent-title {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--cb-ink);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cb-consent-text {
  margin: 0 0 16px;
  color: var(--cb-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.cb-consent-text:last-of-type {
  margin-bottom: 0;
}

.cb-consent-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--cb-gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.cb-consent-text a:hover {
  color: var(--cb-ink);
}

/* --- DECISION BUTTONS: one row, one size, one weight --- */
.cb-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3.4vw, 34px);
}

.cb-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1.5px solid var(--cb-ink);
  border-radius: 4px;
  background: transparent;
  color: var(--cb-ink);
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.cb-consent-btn:hover {
  background: var(--cb-ink);
  color: var(--cb-surface);
}

.cb-consent-btn:focus-visible {
  outline: 3px solid var(--cb-gold);
  outline-offset: 2px;
}

.cb-consent-back {
  display: block;
  margin: 18px auto 0;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--cb-muted);
  font-family: var(--font-body);
  font-size: 0.83rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cb-consent-back:hover {
  color: var(--cb-ink);
}

.cb-consent-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(20px, 2.8vw, 28px);
  padding-top: clamp(16px, 2.4vw, 22px);
  border-top: 1px solid rgba(215, 181, 109, 0.55);
}

.cb-consent-legal a {
  color: var(--cb-muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.cb-consent-legal a:hover {
  color: var(--cb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cb-consent-legal-sep {
  color: var(--cb-gold);
}

/* --- SETTINGS VIEW --- */
.cb-consent-categories {
  max-height: min(46vh, 420px);
  margin-top: 22px;
  overflow-y: auto;
  border-top: 1px solid var(--cb-line);
}

.cb-consent-category {
  padding: 20px 2px;
  border-bottom: 1px solid var(--cb-line);
}

.cb-consent-category-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cb-consent-category-head h3 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cb-ink);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.cb-consent-always {
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid rgba(215, 181, 109, 0.65);
  border-radius: 999px;
  color: var(--cb-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cb-consent-category-desc {
  margin: 9px 0 0;
  color: var(--cb-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.cb-consent-services {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.cb-consent-services strong {
  color: var(--cb-muted);
  font-weight: 700;
}

/* Toggle */
.cb-consent-switch {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 30px;
  cursor: pointer;
}

.cb-consent-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cb-consent-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--cb-line);
  transition: background-color var(--transition-fast);
  pointer-events: none;
}

.cb-consent-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(7, 24, 37, 0.28);
  transition: transform var(--transition-fast);
}

.cb-consent-switch input:checked + .cb-consent-track {
  background: var(--cb-ink);
}

.cb-consent-switch input:checked + .cb-consent-track::after {
  transform: translateX(24px);
}

.cb-consent-switch input:focus-visible + .cb-consent-track {
  outline: 3px solid var(--cb-gold);
  outline-offset: 2px;
}

/* --- FOOTER RE-ENTRY --- */
.cb-consent-footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: #38bdf8;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cb-consent-footer-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- BLOCKED EXTERNAL MEDIA --- */
/* Fits inside the 220px map frame: every line is sized so the button and the
   settings link stay visible instead of being cropped off the bottom. */
.cb-consent-placeholder {
  /* The placeholder lives inside the page, not inside .cb-consent-root, so it
     has to carry its own copy of the button tokens. Without them the shared
     .cb-consent-btn rule resolves to an invalid border and renders borderless. */
  --cb-ink: #ffffff;
  --cb-surface: #071825;
  --cb-gold: #d7b56d;

  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 16px;
  overflow: auto;
  background: #071825;
  color: #e2e8f0;
  text-align: center;
}

.cb-consent-placeholder i {
  color: var(--color-lime);
  font-size: 1.15rem;
}

.cb-consent-placeholder strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.cb-consent-placeholder p {
  max-width: 52ch;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cb-consent-btn-inline {
  min-height: 36px;
  margin-top: 2px;
  padding: 7px 16px;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-size: 0.85rem;
}

.cb-consent-btn-inline:hover {
  background: #ffffff;
  color: #071825;
}

.cb-consent-placeholder-link {
  border: 0;
  background: none;
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cb-consent-placeholder-link:hover {
  color: #ffffff;
}

@media (max-width: 620px) {
  .cb-consent-root {
    padding: 14px;
  }

  .cb-consent-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .cb-consent-btn {
    min-height: 52px;
  }

  .cb-consent-categories {
    max-height: none;
  }
}

@media print {
  .cb-consent-root,
  .cb-consent-footer-link {
    display: none !important;
  }
}

/* ==========================================================================
   LANGUAGE SWITCH — OFF
   The site ships in German only, so the DE/TR/EN chip is hidden rather than
   deleted: the i18n engine, the dictionaries and the admin language toggles
   stay intact, and bringing the switch back is this one rule.
   ========================================================================== */
.header .lang-selector,
.header .cb-lang-separator {
  display: none !important;
}

/* Home featured product cards (hero panel – Gumax style) */
.hero-featured-panel {
  align-self: end;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

.hero-featured-grid .featured-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 2px solid #d7dee8;
  border-radius: 6px;
  background: #f3f5f7;
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
  overflow: visible;
  transition: transform .3s ease, box-shadow .3s ease;
}

.hero-featured-grid .featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.28);
}

.hero-featured-grid .featured-product-card.is-featured {
  border-color: #f97316;
  box-shadow: 0 22px 48px rgba(249,115,22,0.28);
}

.hero-featured-grid .featured-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: #0f172a;
}

.hero-featured-grid .featured-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hero-featured-grid .featured-card-badge {
  top: 12px;
  left: 12px;
  padding: 7px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.hero-featured-grid .featured-card-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 52px;
  background: #f3f5f7;
  border-radius: 0 0 4px 4px;
}

.hero-featured-grid .featured-card-title {
  margin: 0 0 12px;
  color: #1f3b32;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-featured-grid .featured-card-title a {
  color: inherit;
  text-decoration: none;
}

.hero-featured-grid .featured-card-title a:hover {
  color: #0f766e;
}

.hero-featured-grid .featured-card-features {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.hero-featured-grid .featured-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-featured-grid .featured-card-features li.is-lead {
  color: #0f172a;
  font-weight: 700;
}

.hero-featured-grid .featured-card-features i {
  margin-top: 2px;
  color: #16a34a;
  font-size: 0.72rem;
}

.hero-featured-grid .featured-card-footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  min-height: 54px;
}

.hero-featured-grid .featured-card-colors > span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-featured-grid .featured-card-swatches {
  margin-top: 6px;
}

.hero-featured-grid .featured-card-swatches span {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(15,23,42,0.12);
}

.featured-color-swatch {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid rgba(15,23,42,0.14);
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.featured-color-swatch:hover {
  transform: scale(1.08);
}

.featured-color-swatch.is-active {
  border-color: #0f172a;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f172a;
}

.featured-colors-admin {
  display: grid;
  gap: 10px;
}

.featured-color-admin-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
}

.featured-color-admin-row input[type="color"] {
  width: 52px;
  height: 40px;
  padding: 2px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0f172a;
  cursor: pointer;
}

.hero-featured-grid .featured-card-price {
  position: absolute;
  right: -10px;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(234,88,12,0.38);
  pointer-events: none;
  cursor: default;
}

.hero-featured-grid .featured-card-price:hover {
  transform: none;
  box-shadow: 0 14px 28px rgba(234,88,12,0.38);
}

.hero-featured-grid .featured-card-price small {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.hero-featured-grid .featured-card-price strong {
  font-size: 0.92rem;
}

.hero-featured-panel.reveal-up {
  animation-delay: 0.12s;
}

.home-featured-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.home-featured-head .section-index,
.home-featured-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-featured-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-featured-head p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.featured-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: 0 18px 44px rgba(7,24,37,0.08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.featured-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(7,24,37,0.14);
}

.featured-product-card.is-featured {
  border-color: var(--color-primary);
  box-shadow: 0 22px 52px rgba(2,132,199,0.16);
}

.featured-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
}

.featured-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.featured-product-card:hover .featured-card-media img {
  transform: scale(1.04);
}

.featured-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.featured-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.featured-card-body h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.featured-card-body h3 a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.featured-card-body h3 a:hover {
  color: var(--color-primary);
}

.featured-card-features {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.featured-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.featured-card-features li.is-lead {
  color: var(--color-text-primary);
  font-weight: 700;
}

.featured-card-features i {
  margin-top: 3px;
  color: #10b981;
  font-size: 0.78rem;
}

.featured-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.featured-card-colors {
  display: grid;
  gap: 8px;
}

.featured-card-colors > span {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-card-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.featured-card-swatches span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.featured-card-price {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(234,88,12,0.28);
  pointer-events: none;
  cursor: default;
}

.featured-card-price:hover {
  transform: none;
  box-shadow: 0 12px 28px rgba(234,88,12,0.28);
}

.featured-card-price small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-card-price strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.1;
}

.featured-section-fields,
.featured-admin-fields {
  display: grid;
  gap: 12px;
}

@media (max-width: 1120px) {
  .hero-featured-panel {
    max-width: 640px;
    margin: 0 auto 8px;
  }

  .hero-featured-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .hero-featured-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   LIVE CHATBOT WIDGET (inside floating-actions bar)
   ========================================================================== */

.floating-actions {
  flex-wrap: wrap;
}

.floating-actions .slidex-chat-window {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 24px));
  height: min(520px, calc(100vh - 180px));
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 24, 37, 0.28);
  z-index: 5;
}

.floating-actions .slidex-chat-window[hidden] {
  display: none !important;
}

.slidex-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #0b4b38;
  color: #fff;
}

.slidex-chat-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slidex-chat-agent-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.slidex-chat-agent small {
  display: block;
  opacity: 0.82;
  font-size: 0.68rem;
}

.slidex-chat-header-actions {
  display: flex;
  gap: 6px;
}

.slidex-chat-icon-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.slidex-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 8px;
  background: #fff;
  overflow: hidden;
}

.slidex-chat-hint {
  margin: 0;
  color: #94a3b8;
  font-size: 0.72rem;
  text-align: center;
}

.slidex-chat-messages {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding-right: 2px;
}

.slidex-chat-message {
  display: grid;
  gap: 4px;
}

.slidex-chat-message.is-bot {
  grid-template-columns: 32px 1fr;
  align-items: start;
}

.slidex-chat-message.is-user {
  justify-items: end;
}

.slidex-chat-message small {
  color: #94a3b8;
  font-size: 0.66rem;
}

.slidex-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b4b38;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.slidex-chat-bubble {
  display: inline-block;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.slidex-chat-message.is-bot .slidex-chat-bubble {
  background: #0b4b38;
  color: #fff;
  border-bottom-left-radius: 4px;
}

.slidex-chat-message.is-user .slidex-chat-bubble {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-right-radius: 4px;
}

.slidex-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.slidex-chat-chip {
  border: 1px solid rgba(11, 75, 56, 0.18);
  border-radius: 999px;
  background: #f8fafc;
  color: #0b4b38;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.slidex-chat-chip:hover {
  background: rgba(11, 75, 56, 0.08);
}

.slidex-chat-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.slidex-chat-attach {
  color: #94a3b8;
  font-size: 0.9rem;
}

.slidex-chat-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.82rem;
}

.slidex-chat-input:focus {
  outline: none;
}

.slidex-chat-send {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #0b4b38;
  color: #fff;
  cursor: pointer;
}

.slidex-chat-send:disabled,
.slidex-chat-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .floating-actions .slidex-chat-window {
    width: calc(100vw - 20px);
    height: min(68vh, 520px);
  }

  .floating-actions .floating-chat-btn span {
    display: none;
  }
}
