/* ==========================================================================
   TOMAS EUGENIN - Sitio Web Oficial (Productor Musical & Músico)
   Framework CSS Responsivo inspirado en Bootstrap + Tema Dark Studio
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Color Palette - Dark Studio Theme */
  --bg-dark: #0a0c10;
  --bg-surface: #12161f;
  --bg-card: #181e2b;
  --bg-card-hover: #1f2737;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 229, 255, 0.4);
  
  /* Accent Colors */
  --primary: #00e5ff;
  --primary-hover: #33ebff;
  --primary-rgb: 0, 229, 255;
  --secondary: #9d4edd;
  --secondary-hover: #b56bf5;
  --accent: #ff007f;
  --success: #00e676;
  
  /* Text */
  --text-main: #f0f3f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #ffffff !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }

/* Grid System (Bootstrap-inspired) */
.container {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.g-3 { margin-top: -1rem; }
.g-3 > * { margin-top: 1rem; }
.g-4 { margin-top: -1.5rem; }
.g-4 > * { margin-top: 1.5rem; }

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
}

/* Flex Utilities */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

/* Spacing Utilities */
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-5 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.py-4 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2.5rem !important; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.badge-secondary {
  background: rgba(157, 78, 221, 0.15);
  color: #c77dff;
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.badge-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 100%);
  color: #040810;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #33ebff 0%, #00c6eb 100%);
  color: #040810;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Section Titles */
.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 620px;
  font-size: 1.05rem;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0 0.6rem 0;
  transition: var(--transition);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(90deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-insta-top {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Horizontal Nav Bar: Aligned with the text of brand */
.header-nav {
  display: block;
}

.header-nav .nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.85rem;
  padding: 0;
  margin: 0;
}

.header-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0 0.45rem 0;
  display: inline-block;
}

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

.header-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }
  
  .header-nav {
    display: none;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
  }
  
  .header-nav.open {
    display: block;
  }
  
  .header-nav .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 135px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-avatar-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-avatar-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s ease;
}

.hero-avatar-box:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(18, 22, 31, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Audio Player Section */
.audio-player-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.track-vinyl {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, #252e3e 20%, #10141c 45%, #252e3e 50%, #10141c 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.track-vinyl.playing {
  animation: spin 3.5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.track-vinyl-center {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--bg-surface);
}

.track-meta h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Simulated Waveform */
.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  margin: 1.5rem 0;
  padding: 0.5rem 0;
}

.waveform-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  height: 20%;
  transition: height 0.15s ease, background-color 0.2s;
}

.waveform-bar.active {
  background: var(--primary);
}

.waveform-bars.playing .waveform-bar {
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}

@keyframes wavePulse {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Player Controls */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
}

.control-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-play-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary);
  color: #040810;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transition: var(--transition);
}

.btn-play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

.btn-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-step:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--primary);
}

/* Timeline & Progress */
.timeline-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.time-label {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-dim);
  min-width: 40px;
}

.progress-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, #00b4d8 100%);
  border-radius: 4px;
  position: relative;
}

.progress-bar-thumb {
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  right: -7px;
  top: -4px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Volume Slider */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 80px;
  height: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Playlist Items */
.playlist-table {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.5rem;
}

.playlist-item:hover {
  background: var(--bg-card-hover);
}

.playlist-item.active {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.playlist-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.playlist-num {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: monospace;
  width: 24px;
}

.playlist-item.active .playlist-num {
  color: var(--primary);
  font-weight: 700;
}

.playlist-item-title {
  font-weight: 600;
  color: #ffffff;
}

.playlist-item-genre {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Cards (Services, Biography, etc.) */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-box.purple {
  background: rgba(157, 78, 221, 0.12);
  color: #c77dff;
}

.service-icon-box.pink {
  background: rgba(255, 0, 127, 0.12);
  color: #ff3399;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 290px;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.85;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.15) 0%, rgba(10, 12, 16, 0.95) 100%);
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-desc {
  font-size: 0.82rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

/* Lightbox Modal with Navigation Arrows */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.95);
  backdrop-filter: blur(18px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content-wrap {
  position: relative;
  max-width: 950px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-img-container {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Modal Navigation Arrows */
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18, 22, 31, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.modal-arrow:hover {
  background: var(--primary);
  color: #040810;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.6);
}

.modal-prev {
  left: -26px;
}

.modal-next {
  right: -26px;
}

@media (max-width: 768px) {
  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
  .modal-arrow { width: 44px; height: 44px; }
}

.modal-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 0, 80, 0.85);
  border-color: rgba(255, 0, 80, 1);
  color: #ffffff;
  transform: scale(1.1);
}

.modal-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  padding: 0 0.5rem;
  gap: 1rem;
}

.modal-caption {
  color: var(--text-main);
  font-size: 1.02rem;
  font-weight: 600;
}

.modal-counter {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Streaming Platforms Section */
.streaming-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: #ffffff;
  transition: var(--transition);
  text-decoration: none;
}

.streaming-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: #ffffff;
}

.streaming-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.streaming-icon.spotify { background: #1db954; color: #000000; }
.streaming-icon.apple { background: #fa243c; color: #ffffff; }
.streaming-icon.ytmusic { background: #ff0000; color: #ffffff; }
.streaming-icon.youtube { background: #ff0000; color: #ffffff; }
.streaming-icon.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #ffffff; }

/* Contact Section */
.contact-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(18, 22, 31, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.contact-info-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
  background: rgba(10, 12, 16, 0.9);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Captcha & Anti-Spam Styles (like itlinux.cl) */
.captcha-container {
  background: rgba(10, 12, 16, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
}

.captcha-badge {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.captcha-input {
  max-width: 140px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-honeypot {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  background: #07090c;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .player-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .timeline-container {
    width: 100%;
  }
  
  .hero-avatar-box img {
    height: 380px;
  }
  
  .contact-card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   Form Feedback Alerts (Safe DOM & CSP Trusted Types Compliant)
   ========================================================================== */
.form-feedback-alert {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.feedback-error {
  background: rgba(255, 51, 102, 0.12);
  border: 1px solid #ff3366;
  color: #ff3366;
  font-weight: 500;
}

.feedback-success {
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid var(--success);
  color: var(--success);
  font-weight: 600;
}

.feedback-info {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #cbd5e1;
}

.feedback-fallback {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--primary);
  color: #f1f5f9;
}

.feedback-fallback .fallback-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feedback-fallback .fallback-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   Services Page & Brochure Specific Styles
   ========================================================================== */
.services-hero-section {
  position: relative;
  padding: 7rem 0 4rem;
  background: radial-gradient(circle at 50% 10%, rgba(0, 229, 255, 0.12) 0%, rgba(10, 12, 16, 0.98) 70%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.services-tagline {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.services-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.services-subheadline {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.soundwave-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 50px;
  margin: 2rem auto 1.5rem;
  max-width: 320px;
}

.soundwave-bar {
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, #0077b6 100%);
  border-radius: 4px;
  animation: soundwavePulse 1.4s ease-in-out infinite alternate;
}

@keyframes soundwavePulse {
  0% { transform: scaleY(0.25); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.slogan-handwriting {
  font-style: italic;
  font-size: 1.4rem;
  color: #ffffff;
  font-family: 'Inter', Georgia, serif;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.workflow-steps-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.workflow-steps-strip span.highlight {
  color: var(--primary);
}

.service-card-expanded {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card-expanded:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.12);
}

.service-card-expanded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-card-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-card-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.service-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.service-card-list li span.check-icon {
  color: var(--primary);
  font-weight: bold;
}

.brochure-preview-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  text-align: center;
  transition: var(--transition);
}

.brochure-preview-box:hover {
  border-color: rgba(0, 229, 255, 0.4);
}

.brochure-preview-box img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: inline-block;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
}

.workflow-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.workflow-step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
