/* ============================================================
   KTH – Version Red/Gold | style-red.css
   Racing Premium · Black × Crimson × Gold
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ---- CSS VARIABLES ---- */
:root {
  --red: #d90a1c;
  --red-dark: #a80816;
  --red-glow: rgba(217, 10, 28, 0.35);
  --gold: #c49a22;
  --gold-light: #e8b84b;
  --gold-dim: rgba(196, 154, 34, 0.15);
  --dark: #070708;
  --dark2: #0e0e10;
  --dark3: #161618;
  --dark4: #1e1e21;
  --white: #f0ede6;
  --gray: #666;
  --gray-mid: #999;
  --gray-light: #c0bdb6;
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ---- SELECTION ---- */
::selection { background: var(--red); color: var(--white); }

/* ---- LOADER ---- */
#loader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; }
.loader-svg { width: 110px; height: 110px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.loader-track { fill: none; stroke: var(--dark3); stroke-width: 3; }
.loader-progress {
  fill: none; stroke: var(--red); stroke-width: 3;
  stroke-dasharray: 276; stroke-dashoffset: 276;
  stroke-linecap: round;
  transform-origin: center;
  transform: rotate(-90deg);
  animation: loaderSpin 1.4s var(--ease-out) forwards;
}
@keyframes loaderSpin { to { stroke-dashoffset: 0; } }
.loader-logo { width: 52px; height: 52px; object-fit: contain; position: relative; filter: drop-shadow(0 0 12px var(--red-glow)); }
.loader-pct {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-top: 4rem;
}

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(7, 7, 8, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  border-color: rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo img { width: 38px; height: 38px; object-fit: contain; }
.nav-brand { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; letter-spacing: 0.05em; line-height: 1; }
.nav-brand-sub { display: block; font-size: 0.6rem; font-family: var(--font-cond); letter-spacing: 0.2em; color: var(--gray-mid); text-transform: uppercase; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 3px;
  padding: 0.55rem 1.1rem !important;
  margin-left: 0.5rem;
  transition: background 0.25s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { max-height: 500px; }
.mobile-menu a {
  display: block; padding: 1rem 2rem;
  font-family: var(--font-cond); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu .mobile-cta { color: var(--red); }

/* ---- HERO ---- */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: flex-end;
  padding-bottom: 8rem;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,7,8,0.88) 0%, rgba(7,7,8,0.65) 50%, rgba(7,7,8,0.35) 100%);
}
.hero-diagonal {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--dark) 100%);
  pointer-events: none;
}
.hero-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(160px, 28vw, 420px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  right: -2%;
  bottom: -5%;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-cond); font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1.5rem;
}
.hero-tag-dot {
  display: block; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:0.3 } }
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.h1-line { display: block; }
.h1-line.accent { color: var(--gold); }
.hero-sub {
  font-family: var(--font-cond); font-size: 1rem;
  font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 2;
}
.scroll-wheel {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 11px; position: relative;
}
.scroll-wheel::after {
  content: ''; position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--red); border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0%{ top:5px;opacity:1 } 80%{ top:18px;opacity:0 } 100%{ top:5px;opacity:0 } }
.hero-scroll-hint span {
  font-family: var(--font-cond); font-size: 0.65rem;
  letter-spacing: 0.3em; color: var(--gray);
}
.hero-slide-nav {
  position: absolute; right: 2rem; bottom: 2.5rem;
  display: flex; gap: 0.5rem; z-index: 2;
}
.slide-dot {
  width: 24px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px; transition: all 0.3s var(--ease);
}
.slide-dot.active { width: 40px; background: var(--red); }

/* ---- STATS RIBBON ---- */
.stats-ribbon {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ribbon-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
}
.ribbon-stat {
  padding: 2rem 1.5rem;
  text-align: center;
}
.rs-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.rs-unit {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--red);
}
.rs-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.3rem;
}
.ribbon-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.08); }

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--red);
  overflow: hidden; padding: 0.85rem 0;
}
.ticker-track { overflow: hidden; }
.ticker-inner {
  display: flex; gap: 2.5rem;
  width: max-content;
  animation: tickerRoll 30s linear infinite;
}
.ticker-inner span {
  font-family: var(--font-cond);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); white-space: nowrap;
}
.ticker-inner .sep { color: rgba(255,255,255,0.4); }
@keyframes tickerRoll { from{ transform:translateX(0) } to{ transform:translateX(-50%) } }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}
.btn-red-sm {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.2rem;
  font-family: var(--font-cond);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  border-radius: 3px;
  transition: background 0.25s;
}
.btn-red-sm:hover { background: var(--red-dark); }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION COMMONS ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.label-tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.25rem;
}
.label-tag::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--red);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900; line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.sec-title em { font-style: normal; color: var(--gold); }
.sec-sub {
  font-size: 0.95rem; color: var(--gray-mid);
  max-width: 560px; line-height: 1.7;
}
.sec-header { text-align: center; margin-bottom: 4rem; }
.sec-header .sec-sub { margin: 0 auto; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1; transform: none;
}

/* ---- ABOUT ---- */
.section-about { padding: 8rem 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-visual { position: relative; }
.about-img-main {
  position: relative;
  border-radius: 2px; overflow: hidden;
}
.about-img-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.6rem 1rem;
  background: rgba(7,7,8,0.7);
  font-family: var(--font-cond); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-mid);
  backdrop-filter: blur(8px);
}
.about-img-float {
  position: absolute;
  right: -2.5rem; bottom: -2.5rem;
  width: 48%; aspect-ratio: 1;
  border-radius: 2px; overflow: hidden;
  border: 3px solid var(--dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute;
  left: -1.5rem; top: 2rem;
  background: var(--red);
  padding: 1rem 1.25rem;
  border-radius: 3px;
  text-align: center;
  box-shadow: 0 8px 30px var(--red-glow);
}
.abf-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.abf-text { display: block; font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }
.about-content { padding-left: 1rem; }
.about-p { color: var(--gray-light); line-height: 1.75; margin-bottom: 1.25rem; font-size: 0.95rem; }
.about-bars { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.skill-bar {}
.sb-header { display: flex; justify-content: space-between; font-family: var(--font-cond); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gray-mid); margin-bottom: 0.5rem; text-transform: uppercase; }
.sb-track { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.sb-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 2px; width: 0; transition: width 1.2s var(--ease-out); }
.about-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.about-pills span {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  font-family: var(--font-cond); font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-mid);
  transition: all 0.2s;
}
.about-pills span:hover { border-color: var(--red); color: var(--red); }

/* ---- SERVICES FLIP CARDS ---- */
.section-services { padding: 8rem 0; background: var(--dark2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.flip-card { height: 380px; perspective: 1000px; cursor: pointer; }
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 3px; overflow: hidden;
}
.flip-front {
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem;
}
.flip-front::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,8,0.92) 0%, rgba(7,7,8,0.3) 60%, transparent 100%);
}
.flip-num {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.08);
  position: absolute; top: 1rem; right: 1.25rem;
  z-index: 1;
}
.flip-front h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; line-height: 1.15;
  position: relative; z-index: 1;
}
.flip-back {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem;
  gap: 1rem;
}
.fb-num {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 900; line-height: 1;
  color: rgba(217,10,28,0.12);
  position: absolute; bottom: 1rem; right: 1.5rem;
}
.flip-back h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.flip-back p { font-size: 0.875rem; color: var(--gray-light); line-height: 1.65; flex: 1; }
.fb-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fb-tags span {
  padding: 0.25rem 0.6rem;
  background: rgba(217,10,28,0.12);
  border: 1px solid rgba(217,10,28,0.25);
  border-radius: 2px;
  font-family: var(--font-cond); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
}
.services-cta-card {
  height: 380px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem;
  position: relative; overflow: hidden;
}
.services-cta-card::before {
  content: 'KTH';
  position: absolute; bottom: -1.5rem; right: -0.5rem;
  font-family: var(--font-display); font-size: 7rem; font-weight: 900;
  color: rgba(255,255,255,0.06); line-height: 1; pointer-events: none;
}
.scc-content { position: relative; z-index: 1; }
.scc-content .label-tag { color: rgba(255,255,255,0.6); }
.scc-content .label-tag::before { background: rgba(255,255,255,0.6); }
.scc-content h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.scc-content p { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 1.75rem; line-height: 1.65; }
.scc-content .btn-red {
  background: var(--white); color: var(--dark);
}
.scc-content .btn-red:hover { background: var(--gold); box-shadow: none; }

/* ---- GALLERY MASONRY ---- */
.section-gallery { padding: 8rem 0; }
.masonry-grid {
  columns: 4; column-gap: 1rem;
}
.mas-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative; overflow: hidden;
  border-radius: 3px; cursor: pointer;
}
.mas-item img {
  width: 100%; display: block;
  transition: transform 0.5s var(--ease);
}
.mas-item:hover img { transform: scale(1.05); }
.mas-overlay {
  position: absolute; inset: 0;
  background: rgba(217,10,28,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.mas-overlay span { font-size: 2rem; color: var(--white); }
.mas-item:hover .mas-overlay { opacity: 1; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(7,7,8,0.96);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lb-img-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.08);
  color: var(--white); font-size: 1.4rem;
  width: 44px; height: 44px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.8rem; }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.8rem; }

/* ---- PRESS TIMELINE ---- */
.section-press { padding: 8rem 0; background: var(--dark2); }
.press-timeline { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 900px; margin: 0 auto; }
.press-timeline::before {
  content: '';
  position: absolute; left: 3rem; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.07);
}
.pt-item {
  display: grid; grid-template-columns: 6rem 1fr;
  gap: 2rem; padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: start;
}
.pt-item:last-child { border-bottom: none; }
.pt-badge {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  text-align: center;
  align-self: start;
  position: relative; z-index: 1;
}
.pt-source {
  display: block;
  font-family: var(--font-cond); font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.pt-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.2; }
.pt-content p { font-size: 0.875rem; color: var(--gray-light); line-height: 1.7; }

/* ---- PARTNERS ---- */
.section-partners { padding: 6rem 0; }
.partners-strip { overflow: hidden; margin-top: 3rem; }
.partners-track {
  display: flex; gap: 3rem; width: max-content;
  animation: partnerScroll 28s linear infinite;
}
@keyframes partnerScroll { from{ transform:translateX(0) } to{ transform:translateX(-50%) } }
.partner-item {
  flex-shrink: 0; width: 120px; height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.partner-item img { max-width: 100px; max-height: 50px; object-fit: contain; filter: grayscale(1) brightness(0.5); transition: filter 0.3s; }
.partner-item:hover img { filter: grayscale(0) brightness(1); }

/* ---- REVIEWS ---- */
.section-reviews { padding: 8rem 0; background: var(--dark2); }
.reviews-score-bar {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px; padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}
.rsb-score {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1;
  color: var(--gold);
}
.rsb-stars { font-size: 1rem; color: var(--gold); letter-spacing: 0.1em; }
.rsb-count { font-family: var(--font-cond); font-size: 0.75rem; color: var(--gray-mid); font-weight: 600; letter-spacing: 0.1em; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rev-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.rev-card:hover { border-color: var(--red); transform: translateY(-3px); }
.rev-q {
  font-family: var(--font-display); font-size: 6rem; line-height: 0.7;
  color: var(--red); opacity: 0.2;
  position: absolute; top: 1rem; left: 1.25rem;
  font-weight: 900;
}
.rev-card p {
  font-size: 0.875rem; color: var(--gray-light); line-height: 1.75;
  margin-bottom: 1.5rem; position: relative;
}
.rev-footer { display: flex; align-items: center; gap: 0.75rem; }
.rev-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 900;
  flex-shrink: 0;
}
.rev-footer strong { display: block; font-size: 0.875rem; }
.rev-footer span { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.05em; }
/* last card full-width if 5 items in 3-col grid */
.rev-card:last-child:nth-child(3n+2) { grid-column: span 2; }

/* ---- FAQ ---- */
.section-faq { padding: 8rem 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start; }
.faq-left p { color: var(--gray-mid); line-height: 1.7; font-size: 0.95rem; margin-top: 1.5rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--white); text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--red); }
.faq-icon {
  font-size: 1.25rem; font-weight: 300; color: var(--red);
  flex-shrink: 0; line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding-bottom: 1.4rem;
  font-size: 0.875rem; color: var(--gray-light); line-height: 1.75;
}
.faq-a a { color: var(--red); text-decoration: underline; }

/* ---- CONTACT ---- */
.section-contact { padding: 8rem 0; background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.ci-item { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.75rem; }
.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(217,10,28,0.12);
  border: 1px solid rgba(217,10,28,0.2);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 18px; height: 18px; color: var(--red); }
.ci-item h4 { font-family: var(--font-cond); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.3rem; }
.ci-item p, .ci-item a { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; }
.ci-item a:hover { color: var(--red); }
.map-wrap { margin-top: 2rem; border-radius: 3px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.map-wrap iframe { display: block; filter: grayscale(1) invert(0.85) hue-rotate(185deg); }
.contact-form-wrap { background: var(--dark3); border: 1px solid rgba(255,255,255,0.07); border-radius: 3px; padding: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-family: var(--font-cond); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { padding: 5rem 0 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social {
  display: inline-flex; width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px; align-items: center; justify-content: center;
  color: var(--gray-mid); transition: background 0.2s, color 0.2s;
}
.footer-social:hover { background: var(--red); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-cond); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.875rem; color: var(--gray); margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-col p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; margin-bottom: 0.5rem; }
.footer-bottom { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bot-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-bot-inner span { font-size: 0.8rem; color: var(--gray); }
.footer-bot-inner div { display: flex; gap: 1.5rem; }
.footer-bot-inner a { font-size: 0.8rem; color: var(--gray); transition: color 0.2s; }
.footer-bot-inner a:hover { color: var(--red); }

/* ---- BACK TO TOP ---- */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px var(--red-glow);
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--red-dark); transform: translateY(-2px); }
#backToTop svg { width: 18px; height: 18px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 3; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { gap: 4rem; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .ribbon-inner { grid-template-columns: 1fr 1fr; }
  .ribbon-divider:nth-child(4) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .flip-card { height: 320px; }
  .masonry-grid { columns: 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rev-card:last-child:nth-child(3n+2) { grid-column: span 1; }
  .press-timeline::before { display: none; }
  .pt-item { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .ribbon-inner { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .ribbon-divider { display: none; }
  .about-img-float { display: none; }
  .about-badge-float { display: none; }
}

@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
  .hero-h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero-slide-nav { display: none; }
}
