/* ==========================================================================
   VIAJES SAMSER — DESIGN SYSTEM v3.0 · Boutique SaaS Travel
   ========================================================================== */

:root {
  /* Brand Colors */
  --samser-navy-900: #010d33;
  --samser-navy-800: #011559;
  --samser-navy-700: #021d76;
  --samser-navy-600: #092c99;
  --samser-navy-500: #1240c7;

  --samser-gold-500: #fbb801;
  --samser-gold-600: #dfa200;
  --samser-gold-400: #fcc733;
  --samser-gold-100: #fff8e1;
  --samser-gold-50:  #fffdf5;

  --samser-red-500:  #e53935;
  --samser-green-500: #10b981;

  /* Neutral Palette */
  --neutral-50:  #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;

  /* Surfaces */
  --bg-body:      #f9fafb;
  --bg-surface:   #ffffff;
  --bg-card:      #ffffff;
  --border-light: #e4e7ec;
  --border-subtle: rgba(228, 231, 236, 0.7);
  --border-focus: var(--samser-navy-700);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Text Colors */
  --text-main:  #111827;
  --text-body:  #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Shadows */
  --shadow-xs:         0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm:         0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:         0 6px 20px rgba(2, 29, 118, 0.07);
  --shadow-lg:         0 12px 36px rgba(2, 29, 118, 0.09);
  --shadow-xl:         0 24px 50px rgba(2, 29, 118, 0.12);
  --shadow-widget:     0 24px 64px -12px rgba(2, 29, 118, 0.18), 0 8px 24px -4px rgba(0,0,0,0.06);
  --shadow-card:       0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(2, 29, 118, 0.12);
  --shadow-gold:       0 8px 24px rgba(251, 184, 1, 0.38);
  --shadow-input-focus: 0 0 0 3px rgba(2, 29, 118, 0.10);

  /* Radii */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Motion */
  --ease-spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);

  --duration-fast:   160ms;
  --duration-normal: 260ms;
  --duration-slow:   420ms;
  --duration-spring: 560ms;

  --transition-fast:   var(--duration-fast) var(--ease-in-out);
  --transition-normal: var(--duration-normal) var(--ease-in-out);
  --transition-smooth: var(--duration-spring) var(--ease-spring);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

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

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

button, input, select, textarea { font-family: var(--font-body); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--samser-gold-50);
  color: #92400e;
  border: 1px solid rgba(251, 184, 1, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
}

.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: linear-gradient(145deg, var(--samser-gold-400), var(--samser-gold-500));
  color: var(--samser-navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(251, 184, 1, 0.48);
}

.btn-navy {
  background: var(--samser-navy-700);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 29, 118, 0.22);
}
.btn-navy:hover {
  background: var(--samser-navy-600);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(2, 29, 118, 0.32);
}

.btn-whatsapp {
  background: linear-gradient(145deg, var(--samser-gold-400), var(--samser-gold-500));
  color: var(--samser-navy-900);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(223, 162, 0, 0.25);
}
.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(251, 184, 1, 0.48);
}

.btn-outline-navy {
  background: transparent;
  color: var(--samser-navy-700);
  border: 1.5px solid var(--samser-navy-700);
}
.btn-outline-navy:hover {
  background: var(--samser-navy-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 18px; font-size: 0.83rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 184, 1, 0.45); }
  50%       { box-shadow: 0 0 0 10px rgba(251, 184, 1, 0); }
}
@keyframes pulseNavy {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2, 29, 118, 0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(2, 29, 118, 0); }
}
@keyframes skeletonShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Staggered animations */
.anim-fade-up {
  opacity: 0;
  animation: fadeInUp var(--duration-slow) var(--ease-spring) forwards;
}
.anim-delay-1 { animation-delay: 80ms; }
.anim-delay-2 { animation-delay: 160ms; }
.anim-delay-3 { animation-delay: 240ms; }
.anim-delay-4 { animation-delay: 320ms; }
.anim-delay-5 { animation-delay: 420ms; }
.anim-delay-6 { animation-delay: 520ms; }

/* Skeleton Loaders */
.skeleton-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}
.skeleton-media {
  height: 190px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8ecf1 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s infinite ease-in-out;
}
.skeleton-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.skeleton-line {
  height: 13px; border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8ecf1 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s infinite ease-in-out;
}
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.h-24 { height: 24px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.75rem; }
  .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  .section { padding: 44px 0; }
}
