/* ============================================
   MEDICAL HAIR — Link-in-Bio Stylesheet
   Mobile-First Design System
   ============================================ */

/* --- Google Fonts ---
   Encode Sans cargada desde <link> en el HTML para mejor performance.
   Ver index.html <head> para la referencia de la fuente institucional. --- */

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --color-primary:     #0063af;
  --color-primary-light: #009fe3;
  --color-secondary:   #96B91B;
  --color-whatsapp:    #25D366;
  --color-whatsapp-dark: #128C7E;

  /* Instagram gradient */
  --ig-gradient: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);

  /* Surfaces — DISEÑO NEGRO (Manual de Marca) */
  --color-bg:        #0A0D14;
  --color-surface:   #141824;
  --color-surface-2: #1E2436;
  --color-border:    #262D42;

  /* Text */
  --color-text-primary:   #F0F4F8;
  --color-text-secondary: #94A3B8;
  --color-text-muted:     #64748B;

  /* Escala de grises oficial (Manual de Marca) */
  --color-gray-mid:  #737373;   /* K: 55% */
  --color-gray-dark: #4D4D4D;   /* K: 70% */

  /* Typography — Encode Sans: fuente institucional única (Manual de Marca) */
  --font-heading: 'Encode Sans', sans-serif;
  --font-body:    'Encode Sans', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:   0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   450ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 480px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 400;
}

/* --- Page Wrapper --- */
.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-2xl);
  position: relative;
}

/* ============================================
   BLOQUE 1: HEADER
   ============================================ */
.site-header {
  background: linear-gradient(160deg, #060e18 0%, #0d1e34 50%, #060e18 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * var(--space-md));
  border-bottom: 1px solid var(--color-border);
}

.site-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.22) 0%, transparent 70%);
  border-radius: 50%;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(150, 185, 27, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.header-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.header-logo {
  height: 56px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  /* White presentation preserves contrast against the blue header. */
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}

.header-logo-svg {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.header-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 159, 227, 0.15);
  border: 1px solid rgba(0, 159, 227, 0.35);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.header-profile {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.header-profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.9);
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.profile-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-badge svg {
  width: 11px;
  height: 11px;
  fill: white;
}

.header-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.header-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.2);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   BLOQUE 2: CTA BUTTONS
   ============================================ */
.cta-section {
  margin-top: calc(-1 * var(--space-lg));
  padding: 0 var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  z-index: 10;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  min-height: 60px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
  border-radius: inherit;
}

.btn-cta:hover::after,
.btn-cta:active::after {
  background: rgba(255,255,255,0.12);
}

.btn-cta:active {
  transform: scale(0.97);
}

/* WhatsApp Button */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  animation: pulseShadow 2.5s ease-in-out infinite;
  padding: 10px 12px;
}

.btn-whatsapp .btn-label {
  min-width: 0;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: break-word;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

@keyframes pulseShadow {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40); }
  50%       { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.65); }
}

.btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

@media (max-width: 359px) {
  .btn-whatsapp {
    gap: 6px;
    padding-inline: 10px;
    font-size: 0.9375rem;
  }

  .btn-whatsapp .btn-icon {
    width: 24px;
    height: 24px;
  }
}

/* Instagram Button */
.btn-instagram {
  background: var(--color-surface);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  color: #833ab4;
  box-shadow: var(--shadow-md);
}

.btn-instagram::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-pill);
  background: var(--ig-gradient);
  z-index: -1;
}

.btn-instagram-text {
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: -0.01em;
}

.section-title .title-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title .title-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.section-block {
  margin-top: var(--space-xl);
}

/* ============================================
   BLOQUE 3: LOCATION CARD
   ============================================ */
.location-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.location-info {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.location-pin {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-pin svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.location-text h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.location-text p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.location-hours {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.location-hours span {
  color: var(--color-secondary);
  font-weight: 600;
}

.btn-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  min-height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.btn-maps:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-maps:active {
  transform: scale(0.97);
}

.btn-maps svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ============================================
   BLOQUE 4: CAROUSEL ANTES / DESPUÉS
   ============================================ */
.carousel-wrapper {
  position: relative;
  margin: 0 calc(-1 * var(--space-md));
  padding: 0 var(--space-md);
}

/* ============================================
   VIDEO PLAYER — CÓMO LLEGAR
   ============================================ */
.video-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
  margin-top: var(--space-sm);
}

.how-to-video {
  width: 100%;
  display: block;
  background: #000;
  border-radius: var(--radius-lg);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border: none;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  box-shadow: 0 4px 24px rgba(0, 99, 175, 0.45);
  z-index: 5;
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 3px;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 32px rgba(0, 99, 175, 0.6);
}

.video-play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}


.carousel-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) var(--space-xs) var(--space-md);
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 calc(100% - var(--space-md));
  scroll-snap-align: start;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.before-after-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.carousel-card-body {
  padding: var(--space-md);
}

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface-2);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.card-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

/* Reel embed dentro del carrusel */
.reel-embed-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-md);
  min-height: 200px;
}

.reel-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: linear-gradient(135deg, #0A1A2E 0%, #0063af 100%);
  color: white;
  gap: var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.reel-placeholder:hover {
  opacity: 0.9;
}

.reel-play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition-normal);
}

.reel-placeholder:hover .reel-play-btn {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.reel-play-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 3px;
}

.reel-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.reel-iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: var(--radius-md);
  display: block;
}

/* Dots indicadores */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-sm);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: var(--transition-normal);
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 20px;
  border-radius: 4px;
}

/* ============================================
   BLOQUE 5: FAQ ACORDEÓN
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
  background: var(--color-surface-2);
}

.faq-question-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.faq-question-text {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--color-surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.faq-toggle svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
}

.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
  background: var(--color-primary);
}

.faq-item.is-open .faq-toggle svg {
  fill: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-border);
}

.faq-answer-text {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
}

/* ============================================
   BLOQUE 6: FORMULARIO FAST-TRACK
   ============================================ */
.contact-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.form-subtitle {
  font-size: 0.87rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.25);
  background: var(--color-surface-2);
}

.form-input.error,
.form-textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-textarea {
  resize: none;
  min-height: 90px;
}

.form-error {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.btn-submit {
  width: 100%;
  min-height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:active {
  transform: scale(0.97);
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit-text { transition: opacity var(--transition-fast); }
.btn-submit.loading .btn-submit-text { opacity: 0; }

.btn-spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.6s linear infinite;
  transition: opacity var(--transition-fast);
}

.btn-submit.loading .btn-spinner { opacity: 1; }

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

/* Form Success State */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  gap: var(--space-md);
}

.form-success.visible {
  display: flex;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-secondary), #b5d621);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.success-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  margin-top: var(--space-2xl);
  text-align: center;
  padding: var(--space-lg) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* Footer logo keeps its original brand colors. */
.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-legal {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  opacity: 0.75;
  max-width: 320px;
  line-height: 1.5;
}

/* ============================================
   ANIMATIONS — Fade In on Scroll
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE — Desktop centering view
   ============================================ */
@media (min-width: 520px) {
  body {
    background: linear-gradient(135deg, #05070a 0%, #0a0d14 100%);
  }

  .page-wrapper {
    padding-top: var(--space-lg);
  }

  .site-header {
    border-radius: var(--radius-lg);
    margin: 0;
  }

  .cta-section {
    margin-top: var(--space-lg);
  }
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
