@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #050508;
  --white: #f5f5f7;      /* soft off-white — never pure #fff */
  --gray: #86868b;       /* Apple secondary text */
  --gray-dim: #6e6e73;
  --cyan: #00E5FF;
  --magenta: #FF00C8;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --surface: rgba(255,255,255,0.03);
  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max: 1080px;
  --pad-section: 140px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ---------- SHARED TYPE ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray);
  max-width: 40ch;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 980px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover { opacity: 0.82; }
.btn-primary:active { transform: scale(0.98); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: gap 0.25s ease;
}

.btn-link::after { content: '›'; font-size: 1.15em; line-height: 1; transition: transform 0.25s ease; }
.btn-link:hover { gap: 10px; }

/* ---------- ANIMATED BRAND BUTTON ---------- */
@property --btn-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border: 1.5px solid rgba(0,229,255,0.4);
  border-radius: 980px;
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background: rgba(0,229,255,0.07);
  border-color: rgba(0,229,255,0.7);
  box-shadow: 0 0 34px rgba(0,229,255,0.22);
}

.button:active { transform: scale(0.98); }

/* rotating cyan -> magenta outline on hover */
.button::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 980px;
  padding: 1.5px;
  background: conic-gradient(from var(--btn-angle),
    transparent 0deg,
    var(--cyan) 60deg,
    var(--magenta) 130deg,
    transparent 210deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.button:hover::after {
  opacity: 1;
  animation: btn-spin 1.4s linear infinite;
}

@keyframes btn-spin {
  to { --btn-angle: 360deg; }
}

/* splash lines */
.button .splash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 120px);
  height: auto;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.button .splash path {
  stroke: var(--cyan);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset 0.5s ease, opacity 0.5s ease;
}

.button .splash path[stroke-opacity="0.3"] { stroke: var(--magenta); }

.button:hover .splash path {
  stroke-dashoffset: 0;
  opacity: 1;
}

/* label + icon */
.button .content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button .label { display: inline-flex; }

.button .label span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  transition-delay: calc(var(--i, 0) * 18ms);
}

.button:hover .label span { transform: translateY(-2px); }

.button .icon {
  display: inline-flex;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.button:hover .icon { transform: translateX(4px); }
.button .icon svg { width: 16px; height: 16px; display: block; }

@media (prefers-reduced-motion: reduce) {
  .button::after { animation: none; }
  .button .label span,
  .button .icon { transition: none; }
  .button:hover .label span { transform: none; }
  .button .splash path { transition: none; }
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,5,8,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo mark — small replica of the brand circle */
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--magenta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark img {
  width: 66%;
  height: auto;
  display: block;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--cyan);
}

.nav-cta {
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  padding: 7px 18px;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 32px 100px;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  max-width: 14ch;
}

.hero-title .accent { color: var(--cyan); }

.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray);
  max-width: 30ch;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Brand mark — magenta logo circle with dark soundwave bars */
.hero-visual {
  position: relative;
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.brand-mark {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 60px rgba(0,229,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img,
.brand-mark .brand-wave {
  width: 62%;
  height: auto;
  display: block;
}

/* Live audio-visualizer bars inside the logo circle */
.brand-wave .vbar {
  transform-box: fill-box;
  transform-origin: center;
  animation: vbar-pulse 1s ease-in-out infinite;
}

@keyframes vbar-pulse {
  0%, 100% { transform: scaleY(0.38); }
  50%      { transform: scaleY(1); }
}

.brand-wave .vbar:nth-child(1)  { animation-duration: 0.90s; animation-delay: -0.15s; }
.brand-wave .vbar:nth-child(2)  { animation-duration: 1.20s; animation-delay: -0.60s; }
.brand-wave .vbar:nth-child(3)  { animation-duration: 0.75s; animation-delay: -0.30s; }
.brand-wave .vbar:nth-child(4)  { animation-duration: 1.35s; animation-delay: -0.10s; }
.brand-wave .vbar:nth-child(5)  { animation-duration: 0.95s; animation-delay: -0.75s; }
.brand-wave .vbar:nth-child(6)  { animation-duration: 1.10s; animation-delay: -0.40s; }
.brand-wave .vbar:nth-child(7)  { animation-duration: 0.80s; animation-delay: -0.20s; }
.brand-wave .vbar:nth-child(8)  { animation-duration: 1.25s; animation-delay: -0.90s; }
.brand-wave .vbar:nth-child(9)  { animation-duration: 0.70s; animation-delay: -0.05s; }
.brand-wave .vbar:nth-child(10) { animation-duration: 1.30s; animation-delay: -0.50s; }
.brand-wave .vbar:nth-child(11) { animation-duration: 0.88s; animation-delay: -0.35s; }
.brand-wave .vbar:nth-child(12) { animation-duration: 1.05s; animation-delay: -0.70s; }
.brand-wave .vbar:nth-child(13) { animation-duration: 0.78s; animation-delay: -0.25s; }

.brand-wordmark {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--cyan);
  padding-left: 0.35em; /* optical centering for trailing letter-spacing */
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  padding: 200px 32px 120px;
  text-align: center;
}

.page-hero .hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 0 auto 28px;
}

.page-hero .hero-sub { margin: 0 auto; }

/* ---------- GENERIC SECTION ---------- */
.section {
  padding: var(--pad-section) 0;
}

.section.tight { padding: 90px 0; }

.section-head {
  margin-bottom: 80px;
  max-width: 640px;
}

.divider { border: none; border-top: 1px solid var(--line-soft); }

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

.stat { text-align: center; }

.stat-num {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--white);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 400;
}

/* ---------- CLIENTS ---------- */
.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 72px;
  align-items: center;
}

.client-logo {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(245,245,247,0.4);
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.client-logo:hover { color: var(--white); }

/* ---------- SERVICES (flat, separator lines) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  padding: 44px 32px 44px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.service-icon {
  width: 30px; height: 30px;
  margin-bottom: 28px;
  color: var(--white);
}

.service-icon svg { width: 100%; height: 100%; display: block; }

.service-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--white);
}

.service-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 34ch;
}

/* ---------- EVENT TYPES ---------- */
.event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 720px;
}

.event-list li {
  list-style: none;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--white);
}

/* ---------- PROSE / ABOUT ---------- */
.prose { max-width: 680px; }

.prose p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 28px;
  font-weight: 400;
}

.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--white); font-weight: 500; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.value-card {
  padding: 40px 32px 0 0;
  border-top: 1px solid var(--line);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--white);
}

.value-card p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial { text-align: center; }

.testimonial-quote {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin: 0 auto 40px;
  color: var(--white);
}

.testimonial-author {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 400;
}

/* ---------- CTA ---------- */
.cta { text-align: center; }

.cta-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.cta-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gray);
  margin: 0 auto 48px;
  max-width: 34ch;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.contact-item { text-align: center; }

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 10px;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-value:hover { color: var(--cyan); }

/* ---------- CONTACT / FORM ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  margin-bottom: 10px;
}

.field label .req { color: var(--magenta); }

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  padding: 15px 16px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--gray-dim); }

.field select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray) 50%),
    linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position: calc(100% - 21px) center, calc(100% - 16px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0,229,255,0.04);
}

.field textarea { resize: vertical; min-height: 130px; }
.field option { background: var(--black); color: var(--white); }

.form-submit { margin-top: 36px; }

.form-status {
  margin-top: 24px;
  font-size: 0.95rem;
  padding: 15px 18px;
  border-radius: 12px;
  display: none;
}

.form-status.show { display: block; }
.form-status.success { border: 1px solid rgba(0,229,255,0.35); background: rgba(0,229,255,0.05); color: var(--cyan); }
.form-status.error { border: 1px solid rgba(255,0,200,0.35); background: rgba(255,0,200,0.05); color: var(--magenta); }

.contact-aside {
  padding-top: 8px;
}

.contact-aside h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}

.aside-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.aside-item .contact-label { text-align: left; margin-bottom: 6px; }
.aside-item .contact-value { display: inline-block; }

.aside-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 980px;
  padding: 12px 22px;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.aside-wa:hover { background: var(--white); color: var(--black); }
.aside-wa svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- WHATSAPP CHAT WIDGET ---------- */
.wa-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-fab {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}

.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 26px; height: 26px; fill: #fff; }

.wa-card {
  width: 300px;
  max-width: calc(100vw - 32px);
  background: #0d0d14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22,1,0.36,1), visibility 0.28s;
}

.wa-card.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wa-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px 18px 16px;
  background: #128C7E;
}

.wa-card__logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-card__logo img { width: 62%; height: auto; display: block; }
.wa-card__name { display: block; font-weight: 600; font-size: 0.95rem; color: #fff; }
.wa-card__status { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.85); }

.wa-card__close {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  opacity: 0.85;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.wa-card__msg {
  margin: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px 14px 14px 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--white);
}

.wa-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 13px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.wa-card__cta:hover { background: #1eb857; }
.wa-card__cta svg { width: 18px; height: 18px; fill: #fff; }

@media (max-width: 640px) {
  .wa-widget { bottom: 18px; right: 18px; gap: 12px; }
  .wa-fab { width: 40px; height: 40px; }
  .wa-fab svg { width: 22px; height: 22px; }
  .wa-card { width: 260px; }
}

/* ---------- INSTAGRAM FEED ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.ig-item {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}

.ig-item .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ig-cta-wrap { text-align: center; margin-top: 44px; }

.ig-cta {
  display: inline-block;
  background: var(--cyan);
  color: var(--black);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ig-cta:hover { opacity: 0.85; transform: translateY(-1px); }

@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ig-grid { grid-template-columns: 1fr; } }

/* ---------- SECONDARY BUTTON VARIANT (magenta) ---------- */
.button.button--alt { border-color: rgba(255,0,200,0.4); }
.button.button--alt:hover {
  background: rgba(255,0,200,0.07);
  border-color: rgba(255,0,200,0.7);
  box-shadow: 0 0 34px rgba(255,0,200,0.22);
}
.button.button--alt .icon { color: var(--magenta); }

/* ---------- AVAILABILITY CALENDAR ---------- */
.calendar {
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.calendar__nav {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.calendar__nav:hover { border-color: rgba(0,229,255,0.5); }
.calendar__nav:disabled { opacity: 0.3; cursor: not-allowed; }

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.calendar__weekdays span {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.cal-cell--empty { border: none; }
.cal-cell--past { color: var(--gray-dim); opacity: 0.4; }

.cal-cell--free {
  background: rgba(46,224,106,0.12);
  color: #8affb0;
  border-color: rgba(46,224,106,0.35);
}

.cal-cell--busy {
  background: rgba(255,77,109,0.12);
  color: #ff9db0;
  border-color: rgba(255,77,109,0.40);
  text-decoration: line-through;
}

.calendar__legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray);
}

.calendar__legend .dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

.dot--free { background: #2ee06a; }
.dot--busy { background: #ff4d6d; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer-copy { font-size: 0.85rem; color: var(--gray-dim); }
.footer-powered { font-size: 0.8rem; color: var(--gray-dim); }
.footer-powered .dw { font-weight: 700; letter-spacing: 0.01em; }
.footer-powered .dw-c { color: var(--cyan); }
.footer-powered .dw-m { color: var(--magenta); }

/* ---------- PAGE LOADER (circuit chip) ---------- */
.main-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.main-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader { width: min(92vw, 680px); }
.loader svg { width: 100%; height: auto; display: block; }
.loader circle { fill: #5a5a5a; }

.trace-bg {
  fill: none;
  stroke: #202028;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trace-flow {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40 400;
  stroke-dashoffset: 440;
  filter: drop-shadow(0 0 5px currentColor);
  animation: trace-flow 1.8s linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes trace-flow {
  to { stroke-dashoffset: 0; }
}

.trace-flow.purple { color: #b26bff; }
.trace-flow.blue   { color: #3b9dff; }
.trace-flow.yellow { color: #ffd23b; }
.trace-flow.green  { color: #2ee06a; }
.trace-flow.red    { color: #ff4d6d; }

@media (prefers-reduced-motion: reduce) {
  .trace-flow { animation: none; stroke-dashoffset: 0; }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-wave .vbar { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  :root { --pad-section: 100px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 340px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    padding: 90px 44px;
    background: rgba(8,8,12,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  }

  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 28px; }
  .nav-links a { font-size: 1.15rem; }
  .nav-links a.active::after { display: none; }
  .nav-cta { width: 100%; text-align: center; padding: 13px; }
}

@media (max-width: 640px) {
  .container, .nav-inner, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .hero { padding: 130px 22px 80px; }
  .page-hero { padding: 150px 22px 90px; }
  .hero-actions { flex-direction: column; gap: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 0; }
  .event-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .cta-contact { gap: 36px; margin-top: 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .section-head { margin-bottom: 56px; }
}
