/* ═══════════════════════════════════════════════
   JOU_Proyect — Design System & Styles
   Pure CSS • No frameworks • No dependencies
   ═══════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Syne:wght@600;700;800&display=swap');

/* ─── Custom Properties ─── */
:root {
  /* Colors (Dark Mode Default) */
  --color-bg:        #000000;
  --color-surface:   #111111;
  --color-accent:    #F5C400;
  --color-accent-hover: #FFD740;
  --color-text:      #FFFFFF;
  --color-muted:     #888899;
  --color-border:    #2A2A3A;
  --color-surface-2: #1A1A25;

  /* Glow effects */
  --glow-yellow: rgba(255, 230, 0, 0.22);
  --glow-blue: rgba(0, 160, 255, 0.25);
}

@media (prefers-color-scheme: light) {
  :root {
    /* Colors (Light Mode) */
    --color-bg:        #FFFFFF;
    --color-surface:   #F5F5F7;
    --color-accent:    #D4A000;
    --color-accent-hover: #B88B00;
    --color-text:      #111111;
    --color-muted:     #666666;
    --color-border:    #E0E0E0;
    --color-surface-2: #EAEAEA;
    
    /* Glow effects for light mode */
    --glow-yellow: rgba(255, 210, 0, 0.35);
    --glow-blue: rgba(0, 150, 255, 0.25);
  }
}

:root {

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing (Condensed) */
  --space-xs:  0.35rem;
  --space-sm:  0.6rem;
  --space-md:  0.85rem;
  --space-lg:  1.25rem;
  --space-xl:  1.75rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3.5rem;
  --space-4xl: 5rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 10, 30, 0.3);
  --shadow-md: 0 4px 16px rgba(10, 10, 30, 0.4);
  --shadow-lg: 0 8px 32px rgba(10, 10, 30, 0.5);
  --shadow-glow: 0 0 20px rgba(245, 196, 0, 0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ─── Interactive Background ─── */
.interactive-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background-color: var(--color-bg);
  transition: background-color 0.4s var(--ease-out);
  overflow: hidden;
}

.interactive-bg::before,
.interactive-bg::after {
  content: '';
  position: absolute;
  top: -100vh;
  left: -100vw;
  width: 300vw;
  height: 300vh;
}

/* Yellow dominant glow */
.interactive-bg::before {
  background: radial-gradient(
    circle 1200px at calc(var(--yellow-x, 50vw) + 100vw) calc(var(--yellow-y, 0vh) + 100vh),
    var(--glow-yellow) 0%,
    transparent 70%
  );
  z-index: 1;
}

/* Blue complementary aura (spherical and changing shape) */
.interactive-bg::after {
  background: radial-gradient(
    ellipse var(--blue-radius-x, 800px) var(--blue-radius-y, 800px) at calc(var(--blue-x, 50vw) + 100vw) calc(var(--blue-y, 100vh) + 100vh),
    var(--glow-blue) 0%,
    transparent 65%
  );
  transform-origin: calc(var(--blue-x, 50vw) + 100vw) calc(var(--blue-y, 100vh) + 100vh);
  transform: rotate(var(--blue-angle, 0deg));
  z-index: 2;
}

/* Grain texture — micro-texture revealed by colored glow areas */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0px, transparent 3px,
      rgba(255, 255, 255, 0.022) 3px, rgba(255, 255, 255, 0.022) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 3px,
      rgba(255, 255, 255, 0.016) 3px, rgba(255, 255, 255, 0.016) 4px
    );
  mix-blend-mode: overlay;
}

/* Cursor bloom — barely perceptible warmth at cursor center */
.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: -7;
  pointer-events: none;
  background: radial-gradient(
    circle 220px at var(--cx, 50vw) var(--cy, 50vh),
    rgba(255, 218, 0, 0.06) 0%,
    transparent 100%
  );
}

/* ─── Layout Utilities ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--alt {
  background-color: var(--color-surface);
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }

.section__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  display: block;
}

.section__title {
  margin-bottom: var(--space-lg);
}

.section__subtitle {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.text-accent {
  color: var(--color-accent);
}

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245, 196, 0, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn__arrow {
  transition: transform 0.3s var(--ease-out);
}

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

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 100px;
  background: rgba(245, 196, 0, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(245, 196, 0, 0.15);
  white-space: nowrap;
}

.badge--status {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge--status-production {
  background: rgba(76, 217, 100, 0.1);
  color: #4CD964;
  border-color: rgba(76, 217, 100, 0.2);
}

.badge--status-development {
  background: rgba(90, 200, 250, 0.1);
  color: #5AC8FA;
  border-color: rgba(90, 200, 250, 0.2);
}

.badge--status-concept {
  background: rgba(136, 136, 153, 0.1);
  color: var(--color-muted);
  border-color: rgba(136, 136, 153, 0.2);
}

.badge--status-soon {
  background: rgba(175, 130, 255, 0.1);
  color: #AF82FF;
  border-color: rgba(175, 130, 255, 0.2);
}

.badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out);
}

.navbar--scrolled {
  background: rgba(10, 10, 15, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  transition: color 0.3s var(--ease-out);
}

.navbar__logo span {
  color: var(--color-accent);
}

.navbar__logo:hover {
  color: var(--color-accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s var(--ease-out);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--color-text);
}

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

.navbar__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: var(--space-lg);
  padding-left: var(--space-lg);
  border-left: 1px solid var(--color-border);
}

.navbar__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-muted);
  transition: all 0.3s var(--ease-out);
}

.navbar__social-link:hover {
  color: var(--color-accent);
  background: rgba(245, 196, 0, 0.08);
}

.navbar__social-link svg {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}

.navbar__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: rgba(13, 13, 20, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-xl);
  transition: right 0.4s var(--ease-out);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: var(--space-md) 0;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--color-accent);
  padding-left: var(--space-sm);
}

.mobile-menu__social {
  display: flex;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-xl);
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.mobile-menu__overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Increased padding-bottom to prevent overlap with scroll indicator */
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) 120px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated gradient orbs removed in favor of interactive background */

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 42, 58, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 42, 58, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero__headline {
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__headline .text-accent {
  -webkit-text-fill-color: var(--color-accent);
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-muted);
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Scroll indicator ─── */
.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ═══════════════════════════════════════════════ */
.page-header {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Removed page-header__orb in favor of interactive background */

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__title {
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.page-header__desc {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(245, 196, 0, 0.08);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.card__desc {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ─── Project Card ─── */
.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.project-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.project-card__image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
}

.project-card__body {
  padding: var(--space-lg);
}

.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.project-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.project-card__sector {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.project-card__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.project-card__techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ═══════════════════════════════════════════════
   TABBED SERVICES & OPTIONS
   ═══════════════════════════════════════════════ */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: 100%; /* Igualar alturas en grid */
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.is-active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
}

.service-card.is-active::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(245, 196, 0, 0.08);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

/* Options Container */
.options-container {
  margin-top: var(--space-xl);
  position: relative;
  min-height: 100px;
}

.options-row {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  animation: slideUpFade 0.5s ease-out forwards;
}

.options-row.is-active {
  display: flex;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.option-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1 1 200px;
  max-width: 280px;
}

.option-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.option-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 0, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.option-card__icon svg {
  width: 18px;
  height: 18px;
}

.option-card__content {
  display: flex;
  flex-direction: column;
}

.option-card__content strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.option-card__content span {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ═══════════════════════════════════════════════
   MUSIC SECTION
   ═══════════════════════════════════════════════ */
.music-section {
  position: relative;
  overflow: hidden;
}

.music-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.music-section__visual {
  position: relative;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.music-section__visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1020, #0f1525, #131320);
}

/* Sound wave animation */
.music-section__waves {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100px;
}

.music-section__wave-bar {
  width: 4px;
  border-radius: 4px;
  background: var(--color-accent);
  animation: waveBar 1.2s ease-in-out infinite;
}

.music-section__wave-bar:nth-child(1)  { height: 30px; animation-delay: 0s; }
.music-section__wave-bar:nth-child(2)  { height: 50px; animation-delay: 0.1s; }
.music-section__wave-bar:nth-child(3)  { height: 70px; animation-delay: 0.2s; }
.music-section__wave-bar:nth-child(4)  { height: 40px; animation-delay: 0.3s; }
.music-section__wave-bar:nth-child(5)  { height: 85px; animation-delay: 0.15s; }
.music-section__wave-bar:nth-child(6)  { height: 55px; animation-delay: 0.25s; }
.music-section__wave-bar:nth-child(7)  { height: 75px; animation-delay: 0.05s; }
.music-section__wave-bar:nth-child(8)  { height: 35px; animation-delay: 0.35s; }
.music-section__wave-bar:nth-child(9)  { height: 60px; animation-delay: 0.2s; }
.music-section__wave-bar:nth-child(10) { height: 45px; animation-delay: 0.1s; }
.music-section__wave-bar:nth-child(11) { height: 80px; animation-delay: 0.3s; }
.music-section__wave-bar:nth-child(12) { height: 30px; animation-delay: 0.15s; }
.music-section__wave-bar:nth-child(13) { height: 65px; animation-delay: 0.25s; }
.music-section__wave-bar:nth-child(14) { height: 50px; animation-delay: 0.05s; }
.music-section__wave-bar:nth-child(15) { height: 40px; animation-delay: 0.35s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* Violin icon shape */
.music-section__violin {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  opacity: 0.15;
  color: var(--color-accent);
}

.music-section__content-title {
  margin-bottom: var(--space-md);
}

.music-section__content-text {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.music-section__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.music-section__service {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: all 0.3s var(--ease-out);
}

.music-section__service:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.music-section__service-icon {
  color: var(--color-accent);
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__title {
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.cta-section__text {
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */
.about-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3xl);
  align-items: start;
  padding-top: var(--space-xl);
}

.about-hero__avatar {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
}

.about-hero__avatar-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-surface), #1a1525);
}

.about-hero__avatar-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 5rem;
  color: rgba(245, 196, 0, 0.15);
}

.about-hero__info h1 {
  margin-bottom: var(--space-sm);
}

.about-hero__roles {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
}

.about-hero__bio {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
}

.about-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.about-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.about-block__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(245, 196, 0, 0.08);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.about-block__icon svg {
  width: 24px;
  height: 24px;
}

.about-block__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.about-block__text {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Stack section */
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.stack-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.55rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.3s var(--ease-out);
}

.stack-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: start;
}

.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(136, 136, 153, 0.5);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888899' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__submit {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Form success message */
.form__success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form__success--visible {
  display: block;
}

.form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(76, 217, 100, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4CD964;
}

.form__success-icon svg {
  width: 32px;
  height: 32px;
}

.form__success-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.form__success-text {
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(42, 42, 58, 0.4);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(245, 196, 0, 0.08);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 18px;
  height: 18px;
}

.contact-info__label {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info__value a {
  transition: color 0.3s var(--ease-out);
}

.contact-info__value a:hover {
  color: var(--color-accent);
}

/* ═══════════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════════ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer__logo span {
  color: var(--color-accent);
}

.footer__desc {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer__nav-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.footer__nav-link {
  display: block;
  font-size: 0.88rem;
  color: var(--color-muted);
  padding: 4px 0;
  transition: all 0.3s var(--ease-out);
}

.footer__nav-link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all 0.3s var(--ease-out);
}

.footer__social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(245, 196, 0, 0.08);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════
   FADE-IN ANIMATIONS
   ═══════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet (768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 1279px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* Navbar */
  .navbar__links,
  .navbar__social {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-3xl);
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  /* Layout Sections */
  .section {
    padding: var(--space-2xl) 0;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  /* Music section */
  .music-section__layout {
    grid-template-columns: 1fr;
  }

  .music-section__visual {
    height: 250px;
  }

  .music-section__services {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero__avatar {
    width: 200px;
    height: 240px;
    margin: 0 auto;
  }

  .about-hero__bio {
    margin: 0 auto;
  }

  .about-blocks {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Sections */
  .section {
    padding: var(--space-3xl) 0;
  }

  .page-header {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  }
}

@media (prefers-color-scheme: light) {
  .navbar--scrolled {
    background: rgba(255, 255, 255, 0.85);
  }
  .mobile-menu {
    background: rgba(245, 245, 245, 0.97);
  }
  .form__input, .form__select, .form__textarea {
    background: rgba(255, 255, 255, 0.6);
  }
  .bg-grain {
    mix-blend-mode: multiply;
    opacity: 0.035;
  }
  .cursor-glow {
    background: radial-gradient(
      circle 190px at var(--cx, 50vw) var(--cy, 50vh),
      rgba(190, 140, 0, 0.1) 0%,
      transparent 100%
    );
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Small mobile (375px)
   ═══════════════════════════════════════════════ */
@media (max-width: 400px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .service-card {
    padding: var(--space-lg);
  }

  .form {
    padding: var(--space-lg);
  }
}
