/* ==========================================================================
   KICKOFF MEDIA — MODERN DIGITAL & CREATIVE STUDIO
   Design & Motion Language inspired by Latenza Studio
   ========================================================================== */

:root {
  --bg-primary: #070708;
  --bg-secondary: #0f1012;
  --bg-card: rgba(20, 21, 26, 0.65);
  --bg-card-hover: rgba(28, 30, 36, 0.88);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.26);
  --border-strong: rgba(255, 255, 255, 0.5);

  --text-primary: #f5f5f7;
  --text-secondary: #8e8e93;
  --text-muted: #5e5e65;
  --text-accent: #ffffff;
  
  --accent-dot: #10b981;

  --font-display: 'Syne', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bubble: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-motto: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #ffffff, #888899);
  z-index: 99999;
  transition: width 0.08s linear;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Static Home Specific (Full Height Screen Composition) */
body.static-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 900px) {
  body.static-home {
    height: 100vh;
    overflow: hidden;
  }
}

/* === AMBIENT NOISE & LIGHT EFFECTS === */
.bg-ambient-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.025) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(18, 19, 23, 0.4) 0%, transparent 80%);
}

.ambient-cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.035) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
  will-change: transform;
}

/* === CUSTOM CURSOR (DESKTOP) === */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease-out, height 0.25s ease-out, border-color 0.25s ease-out, transform 0.08s ease-out;
}

body.cursor-hover .custom-cursor-follower {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
}

@media (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-follower,
  .ambient-cursor-glow {
    display: none !important;
  }
}

/* === TYPOGRAPHY & LINKS === */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #7d7d88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === BADGES & PILLS === */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-dot);
  box-shadow: 0 0 10px var(--accent-dot);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-dot); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  border-color: var(--border-hover);
  color: #fff;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: #ffffff;
  color: #070708;
  box-shadow: 0 4px 22px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background-color: #e5e5e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.22);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--border-strong);
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-smooth);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* === HEADER & NAVIGATION === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 7, 8, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.3s, background-color 0.3s;
}

header.scrolled {
  padding: 13px 40px;
  background: rgba(7, 7, 8, 0.94);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(1.2);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #ffffff;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #ffffff;
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.lang-toggle-btn:hover {
  color: #ffffff;
  border-color: var(--border-hover);
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.menu-toggle-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === MOBILE OVERLAY === */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 8, 0.97);
  backdrop-filter: blur(24px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  margin-bottom: 30px;
}

.mobile-nav-links li {
  margin: 16px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-overlay.open .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav-links li:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav-links li:nth-child(3) { transition-delay: 0.20s; }
.mobile-nav-links li:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav-links li:nth-child(5) { transition-delay: 0.32s; }

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-transform: lowercase;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #888899;
}

/* === MAIN LAYOUT CONTAINER === */
main {
  position: relative;
  z-index: 10;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
  padding: 85px 0;
}

/* ==========================================================================
   STATIC HOME: COMPOSITION WITH INTERACTIVE MOTTO + FLOATING BUBBLES
   ========================================================================== */
.static-home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 20px;
  position: relative;
}

.home-split-wrapper {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.home-motto-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.home-tagline-pill {
  margin-bottom: 22px;
}

/* === MOTTO DISPLAY === */
.motto-interactive-stage {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  user-select: none;
  padding: 4px 0;
}

.motto-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.motto-word {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.2vw, 6.6rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  display: inline-block;
  color: var(--text-primary);
}

.home-lead-concise {
  font-size: clamp(0.98rem, 1.7vw, 1.22rem);
  font-weight: 300;
  color: #b0b0ba;
  max-width: 520px;
  line-height: 1.5;
  margin-top: 24px;
}

/* === FLOATING BUBBLES CLUSTER === */
.home-bubbles-cluster {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.floating-bubble {
  position: relative;
  background: rgba(22, 23, 28, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 18px 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-bubble);
  will-change: transform;
}

.floating-bubble:hover {
  background: rgba(32, 34, 42, 0.94);
  border-color: var(--border-strong);
  box-shadow: 0 15px 45px rgba(255, 255, 255, 0.08);
  transform: scale(1.05) !important;
  animation-play-state: paused;
}

.floating-bubble .b-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ffffff;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.floating-bubble:hover .b-arrow {
  background-color: #ffffff;
  color: #070708;
  transform: translate(2px, -2px);
}

.floating-bubble .b-text {
  display: flex;
  flex-direction: column;
}

.floating-bubble .b-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--text-primary);
  line-height: 1.2;
}

.floating-bubble .b-desc {
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Individual organic positions and floating keyframes */
.bubble-servizi {
  animation: floatAnim1 5.5s ease-in-out infinite;
  transform: translate(-15px, -10px);
}

.bubble-metodo {
  animation: floatAnim2 6.2s ease-in-out infinite;
  transform: translate(25px, -20px);
}

.bubble-chi-siamo {
  animation: floatAnim3 5.8s ease-in-out infinite;
  transform: translate(-20px, 15px);
}

.bubble-contatti {
  animation: floatAnim4 6.6s ease-in-out infinite;
  transform: translate(20px, 20px);
}

@keyframes floatAnim1 {
  0%, 100% { transform: translate(-15px, -10px); }
  50% { transform: translate(-15px, -24px) rotate(1deg); }
}

@keyframes floatAnim2 {
  0%, 100% { transform: translate(25px, -20px); }
  50% { transform: translate(25px, -6px) rotate(-1.5deg); }
}

@keyframes floatAnim3 {
  0%, 100% { transform: translate(-20px, 15px); }
  50% { transform: translate(-20px, 2px) rotate(-1deg); }
}

@keyframes floatAnim4 {
  0%, 100% { transform: translate(20px, 20px); }
  50% { transform: translate(20px, 34px) rotate(1.2deg); }
}

/* ==========================================================================
   KINETIC MARQUEE TICKER (FULL-WIDTH EDGE-TO-EDGE & SMALLER TECHNICAL FONT)
   ========================================================================== */
.marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 11, 14, 0.7);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  display: flex;
  white-space: nowrap;
  user-select: none;
  z-index: 50;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee-scroll 24s linear infinite;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 0.72rem; /* smaller, refined, technical studio aesthetic */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 32px;
}

.marquee-separator {
  color: var(--text-muted);
  font-size: 0.65rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* === SUB-PAGE HEROES === */
.subpage-hero {
  padding-top: 150px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-subtle);
}

.subpage-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.subpage-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.subpage-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin-top: 16px;
  line-height: 1.55;
}

/* === SERVICE CARDS (MONOCHROME & UNNUMBERED) === */
.services-deck {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px 0;
}

.service-card-concise {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 36px 38px;
  display: grid;
  grid-template-columns: 1.25fr 1.6fr;
  gap: 36px;
  align-items: center;
  transition: all var(--transition-smooth);
}

.service-card-concise:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-card-concise h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card-concise .sc-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #b5b5c0;
  margin-bottom: 20px;
}

.sc-deliverables-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 22px;
}

.sc-deliverables-box h5 {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sc-tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* === METODO CARDS === */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 50px 0;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 36px 30px;
  transition: all var(--transition-smooth);
}

.method-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.method-card .m-step {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.method-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* === CHI SIAMO === */
.about-flow-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  padding: 50px 0;
  align-items: start;
}

.about-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 28px;
}

.about-statement span {
  color: var(--text-muted);
}

.about-principles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principle-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.principle-box h4 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.principle-box p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* === CONTATTI === */
.contact-screen-wrap {
  padding: 80px 0 120px 0;
  text-align: center;
}

.contact-email-hero {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-transform: lowercase;
  cursor: pointer;
  margin: 20px 0;
  transition: color var(--transition-fast), transform var(--transition-smooth);
}

.contact-email-hero:hover {
  color: var(--text-muted);
  transform: scale(0.99);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.contact-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.contact-detail-card h5 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-detail-card p,
.contact-detail-card a {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* === LEGAL / PRIVACY PAGE === */
.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-block {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-block h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.legal-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #c0c0cb;
  margin-bottom: 12px;
}

/* === FOOTER === */
footer {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(7, 7, 8, 0.85);
  position: relative;
  z-index: 100;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #ffffff;
}

.legal-footer-link {
  color: #70707a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer-link:hover {
  color: #ffffff;
}

/* === TOAST === */
.copy-feedback-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffffff;
  color: #070708;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.copy-feedback-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: rgba(18, 19, 24, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #c4c4cc;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cookie-accept {
  background: #ffffff;
  color: #070708;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-cookie-accept:hover {
  background-color: #e5e5e8;
}

/* === REVEAL ANIMATIONS === */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
  header {
    padding: 16px 24px;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle-btn {
    display: flex;
  }

  .home-split-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-bubbles-cluster {
    min-height: auto;
    justify-content: flex-start;
  }

  .service-card-concise {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }

  .about-flow-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  header {
    padding: 14px 20px;
  }

  header .status-pill {
    display: none;
  }

  body.static-home {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .static-home-main {
    height: auto;
    padding-top: 86px;
    padding-bottom: 24px;
  }

  .container {
    padding: 0 20px;
  }

  .motto-row {
    gap: 10px;
  }

  .motto-word {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .home-bubbles-cluster {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .floating-bubble {
    width: 100%;
    padding: 16px 22px;
    border-radius: 16px;
    transform: none !important;
    animation: none !important;
  }

  .service-card-concise {
    padding: 24px 20px;
  }

  .contact-email-hero {
    font-size: clamp(1.4rem, 6.2vw, 2.4rem);
    word-break: break-all;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
