/* ============================================
   LORENZO VARGAS - Design System / Sistema de Diseño
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables / Variables CSS --- */
:root {
  /* Backgrounds */
  --color-bg-primary: #f7fbff;
  --color-bg-secondary: #edf4fb;
  --color-bg-white: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.8);
  --color-bg-glass: rgba(255, 255, 255, 0.6);
  --color-border: rgba(14, 116, 144, 0.1);
  --color-border-light: rgba(0, 0, 0, 0.06);

  /* Accent Colors — Celeste & Teal */
  --color-accent: #0ea5e9;
  --color-accent-light: #38bdf8;
  --color-accent-lighter: #7dd3fc;
  --color-accent-dark: #0284c7;
  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-teal-dark: #0f766e;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 40%, #14b8a6 100%);
  --gradient-accent: linear-gradient(135deg, #0ea5e9, #14b8a6);
  --gradient-soft: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
  --gradient-header: linear-gradient(135deg, #0c4a6e 0%, #0e7490 40%, #0d9488 100%);

  /* Text */
  --color-text-dark: #0c2340;
  --color-text-body: #334155;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;
  --color-text-white: #ffffff;

  /* Utility */
  --color-whatsapp: #25d366;
  --color-facebook: #1877f2;
  --color-instagram: #e4405f;
  --color-tiktok: #000000;
  --color-youtube: #ff0000;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 4px 20px rgba(14, 165, 233, 0.2);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* --- Typography / Tipografía --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

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

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

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

.section-white {
  background-color: var(--color-bg-white);
}

/* --- Section Headers / Encabezados de Sección --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.section-header.centered .divider {
  margin-left: auto;
  margin-right: auto;
}

/* --- Divider / Divisor --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
  margin-bottom: var(--space-xl);
}

/* --- Navbar / Navegación --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-base);
  background: rgba(247, 251, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--color-border-light);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  z-index: 1001;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
  transition: all var(--transition-base) !important;
  box-shadow: var(--shadow-accent);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.35) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text-dark);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
}

/* --- Hero Section / Sección Principal --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--gradient-soft);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(247, 251, 255, 0.92) 0%,
    rgba(237, 244, 251, 0.8) 40%,
    rgba(247, 251, 255, 0.7) 100%
  );
}

/* Decorative blobs / Formas flotantes */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--color-accent-lighter);
  top: -10%;
  right: -5%;
  animation: float-blob 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 350px;
  height: 350px;
  background: var(--color-teal-light);
  bottom: -5%;
  left: -5%;
  animation: float-blob 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
  width: 250px;
  height: 250px;
  background: #bfdbfe;
  top: 40%;
  left: 40%;
  animation: float-blob 12s ease-in-out infinite;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-xl);
  color: var(--color-text-dark);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-images {
  position: relative;
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  opacity: 0;
  animation: fadeInRight 1s ease forwards 0.6s;
}

.hero-img-main {
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-img-secondary {
  width: 42%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-4xl);
}

.hero-img-secondary img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Floating stats badge / Estadísticas flotantes */
.hero-stat {
  position: absolute;
  background: var(--color-bg-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 2;
  animation: float-stat 4s ease-in-out infinite;
}

.hero-stat-1 {
  bottom: 15%;
  left: -5%;
}

.hero-stat-2 {
  top: 20%;
  right: -5%;
  animation-delay: 1s;
}

@keyframes float-stat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
  border-radius: var(--radius-sm);
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
}

.hero-stat-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.hero-stat-text span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* --- Buttons / Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--color-border);
  color: var(--color-text-dark);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  background: rgba(14, 165, 233, 0.04);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--color-accent-dark);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Cards / Tarjetas --- */
.card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.15);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(20, 184, 166, 0.08));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-accent);
}

.card-icon .emoji {
  font-size: 1.6rem;
}

.card h4 {
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}

.card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition-base);
}

.card-link:hover {
  gap: var(--space-md);
}

.card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Grid / Cuadrícula --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Testimonial Cards --- */
.testimonial-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--color-accent-lighter);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author-info h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--color-accent);
}

/* --- Page Header (Internal Pages) --- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-header);
  color: #fff;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-header .section-label {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
}

.page-header .section-label::before {
  background: rgba(255, 255, 255, 0.5);
}

.page-header p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Wave bottom decoration */
.page-header-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
}

.page-header-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- About Split Section --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(14, 165, 233, 0.1);
  pointer-events: none;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  margin-bottom: var(--space-lg);
}

/* --- Service Features --- */
.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

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

.service-feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.08));
  border-radius: var(--radius-sm);
}

.service-feature-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.service-feature span {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* --- Timeline (Biography) --- */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-teal), var(--color-border-light));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-3xl);
  padding-left: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--color-bg-white);
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.timeline-year {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.timeline-item h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.timeline-item p {
  font-size: 0.95rem;
}

/* --- Certification Grid --- */
.cert-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
}

.cert-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.08));
  border-radius: var(--radius-full);
}

.cert-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-accent);
}

.cert-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.cert-badge {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: var(--radius-xl);
}

/* --- Contact Info --- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.15);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.08));
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
}

.contact-info-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

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

/* --- Social Links Grid --- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.social-link-card:hover {
  transform: translateY(-3px);
  border-color: currentColor;
  box-shadow: var(--shadow-md);
}

.social-link-card svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-link-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.social-link-card.facebook { color: var(--color-facebook); }
.social-link-card.instagram { color: var(--color-instagram); }
.social-link-card.tiktok { color: var(--color-tiktok); }
.social-link-card.whatsapp { color: var(--color-whatsapp); }
.social-link-card.youtube { color: var(--color-youtube); }

/* --- Artists Grid (Biography) --- */
.artists-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.artist-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.artist-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(14, 165, 233, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
  background: var(--gradient-header);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Wave top for CTA */
.cta-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
}

.cta-wave-top svg {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(180deg);
}

/* --- Footer / Pie de Página --- */
.footer {
  background: var(--color-text-dark);
  color: #fff;
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .nav-logo-text {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 300px;
  margin-top: var(--space-md);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent-light);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* --- WhatsApp CTA Button --- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.btn-whatsapp svg {
  fill: #fff;
}

/* --- Animations / Animaciones --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.8s; }
.stagger-children .reveal:nth-child(9) { transition-delay: 0.9s; }
.stagger-children .reveal:nth-child(10) { transition-delay: 1.0s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { gap: var(--space-2xl); }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-images { justify-content: center; }
  .hero-label { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-stat { display: none; }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

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

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    transition: right var(--transition-base);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-overlay {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .hero-images {
    flex-direction: row;
    gap: var(--space-md);
  }

  .hero-img-main img,
  .hero-img-secondary img {
    height: 280px;
  }

  .hero-img-secondary {
    margin-top: var(--space-2xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

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

  .about-image img { height: 350px; }

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

  .service-features {
    grid-template-columns: 1fr;
  }

  .timeline { padding-left: 35px; }
  .timeline::before { left: 12px; }
  .timeline-item::before { left: -30px; width: 14px; height: 14px; }

  .social-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 200px; }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
  .social-grid { grid-template-columns: 1fr; }
  .hero-images { flex-direction: column; }
  .hero-img-main,
  .hero-img-secondary { width: 100%; }
  .hero-img-secondary { margin-top: var(--space-md); }
}

/* ============================================
   CREATOR MODAL / Ventana del Creador
   ============================================ */
.creator-credits {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  position: relative;
  display: inline-block;
}

.creator-credits::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  opacity: 0.5;
}

.creator-credits a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  position: relative;
}

.creator-credits a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.creator-credits a:hover::after {
  width: 100%;
}

.creator-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 35, 64, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-modal-content {
  background: rgba(255, 255, 255, 0.96);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 420px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(14, 165, 233, 0.1);
  transform: scale(0.95) translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

/* Glass reflective shine / Brillo reflectante de cristal */
.creator-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 6s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.creator-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.creator-modal.active .creator-modal-content {
  transform: scale(1) translateY(0);
}

.creator-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  background: var(--color-bg-secondary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.creator-modal-close:hover {
  background: #fecdd3;
  color: #e11d48;
  transform: rotate(90deg) scale(1.1);
}

/* Profile emoji / Emoji animado de perfil */
.creator-emoji {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 15px;
  display: inline-block;
  animation: float-emoji 3s ease-in-out infinite;
}

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

.creator-modal h3 {
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
  background: var(--gradient-header);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.creator-badge {
  display: inline-block;
  background: var(--color-bg-primary);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
}

.creator-modal p {
  color: var(--color-text-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.creator-hook {
  font-size: 0.95rem !important;
  color: var(--color-text-body);
  background: linear-gradient(to right, rgba(14,165,233,0.05), rgba(20,184,166,0.05));
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 25px !important;
  border-left: 3px solid var(--color-accent);
  position: relative;
  text-align: left;
}

.creator-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creator-contact-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  color: var(--color-text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  z-index: 1;
  overflow: hidden;
}

/* Gradient hover fill / Relleno de degradado iterativo */
.creator-contact-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.creator-contact-item:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.creator-contact-item:hover::before {
  opacity: 1;
}

/* Animated entry / Entrada animada de elementos */
.creator-modal.active .creator-emoji {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.1s, float-emoji 3s ease-in-out infinite 0.7s;
  opacity: 0;
}

.creator-modal.active h3 {
  animation: fadeInUp 0.5s ease forwards 0.2s;
  opacity: 0;
}
.creator-modal.active p:not(.creator-hook) {
  animation: fadeInUp 0.5s ease forwards 0.3s;
  opacity: 0;
}
.creator-modal.active .creator-hook {
  animation: fadeInUp 0.5s ease forwards 0.4s;
  opacity: 0;
}
.creator-modal.active .creator-contact-item:nth-child(1) {
  animation: fadeInUp 0.5s ease forwards 0.5s;
  opacity: 0;
}
.creator-modal.active .creator-contact-item:nth-child(2) {
  animation: fadeInUp 0.5s ease forwards 0.6s;
  opacity: 0;
}

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