/* ==========================================================================
   PORTAFOLIO V2 - JESÚS GARRIDO (GUÍA TURÍSTICO)
   Sistema de Diseño Corporativo & Paleta Mediterránea Patrimonio
   ========================================================================== */

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

:root {
  /* Paleta Oficial Marca Personal Jesús Garrido */
  --bg-ivory: #F5F1E8;
  --bg-ivory-light: #FAF8F4;
  --bg-white: #FFFFFF;
  
  --navy-primary: #234B5A;      /* Azul Petróleo Elegante */
  --navy-dark: #182F3A;         /* Azul Oscuro Estructural */
  --navy-secondary: #3F7180;    /* Azul Secundario Suave */
  --navy-light-bg: #EAF0F2;     /* Fondo Azul muy claro */

  --gold-primary: #C6A15B;      /* Dorado Champaña / Noble */
  --gold-light: #D8BD7A;        /* Dorado Claro */
  --gold-subtle: rgba(198, 161, 91, 0.15);
  --gold-border: rgba(198, 161, 91, 0.35);

  --text-dark: #18252B;         /* Texto Principal */
  --text-muted: #52656D;        /* Texto Secundario */
  --text-light: #F5F1E8;        /* Texto sobre fondo oscuro */

  /* Tipografías */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Geometría y Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 10px 30px rgba(24, 47, 58, 0.07);
  --shadow-hover: 0 16px 36px rgba(35, 75, 90, 0.14);
  --shadow-gold: 0 4px 20px rgba(198, 161, 91, 0.25);
  --shadow-navy: 0 12px 35px rgba(24, 47, 58, 0.25);

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbars Personalizados Corporativos (Dorado / Azul Petróleo) */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 9999px;
  border: 1.5px solid var(--bg-ivory);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Feedback Táctil Instantáneo (Efecto Tap) */
.btn:active,
.tab-btn:active,
.portfolio-card:active,
.hero-shortcut-badge:active,
.btn-card-action:active,
.btn-review-capture:active,
.whatsapp-float-btn:active,
.mobile-menu-btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease;
}

/* --- BANNER DE CENEFA DECORATIVA --- */
.brand-border-pattern {
  height: 10px;
  background-color: var(--navy-dark);
  background-image: radial-gradient(var(--gold-primary) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  border-bottom: 2px solid var(--gold-primary);
}

/* --- NAVBAR STICKY --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-border);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 20px rgba(24, 47, 58, 0.05);
}

.nav-container {
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--navy-dark);
  transition: var(--transition);
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-icon svg {
  width: 100%;
  height: 100%;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--navy-dark);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  white-space: nowrap;
}

.main-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(35, 75, 90, 0.06);
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid var(--gold-border);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--navy-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn i {
  color: var(--gold-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(35, 75, 90, 0.1);
  color: var(--navy-dark);
}

.tab-btn.active {
  background: var(--navy-primary);
  color: var(--bg-ivory);
  box-shadow: 0 4px 12px rgba(35, 75, 90, 0.25);
}

.tab-btn.active i {
  color: var(--gold-light);
}

.mobile-menu-btn {
  display: none;
  background: var(--navy-primary);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  align-items: center;
  gap: 0.4rem;
}

/* BOTONES CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), #B28E46);
  color: #FFFFFF;
  border: 1px solid var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 161, 91, 0.4);
  background: linear-gradient(135deg, #D8BD7A, var(--gold-primary));
}

.btn-navy {
  background: var(--navy-primary);
  color: var(--bg-ivory);
  border: 1px solid var(--navy-dark);
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-navy);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-primary);
  border: 1.5px solid var(--navy-primary);
}

.btn-outline-navy:hover {
  background: var(--navy-primary);
  color: var(--bg-ivory);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #1EBE57;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* LAYOUT GENERAL */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.tab-view {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.tab-view.active {
  display: block;
}

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

/* LAYOUT REUTILIZABLE 2 COLUMNAS RESPONSIVO */
.responsive-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* ==========================================================================
   SECCIÓN HERO / PRIMERA IMPRESIÓN
   ========================================================================== */
.hero-card {
  background: var(--navy-dark);
  color: var(--bg-ivory);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-navy);
  border: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.hero-left-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  margin: 0.6rem 0 0.3rem;
}

.hero-photo-container {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: var(--radius-md);
  padding: 6px;
  background: linear-gradient(135deg, var(--gold-primary), var(--navy-secondary));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-shortcut-badge {
  width: 100%;
  background: linear-gradient(135deg, rgba(35, 75, 90, 0.6), rgba(24, 47, 58, 0.95));
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  min-height: auto;
}

.hero-shortcut-badge:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.3), rgba(35, 75, 90, 0.9));
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* DESTACADO CON OTRO COLOR PARA EL BADGE DE RESEÑAS 5★ (MARCO CUADRANGULAR) */
.hero-shortcut-badge.badge-reviews-highlight {
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.35), rgba(120, 90, 25, 0.75));
  border: 1.5px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.hero-shortcut-badge.badge-reviews-highlight:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(198, 161, 91, 0.55));
  border-color: #FCD34D;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.shortcut-badge-stars {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  font-size: 0.95rem;
}

.shortcut-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.25rem;
}

.shortcut-badge-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.shortcut-badge-sub {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
  display: block;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-badge-positioning {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(198, 161, 91, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: #E2EAF0;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1rem;
  margin: 0.2rem 0;
}

.hero-bio {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #D1DEE5;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.hero-contact-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.hero-secondary-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

/* ESTILOS MONOCROMÁTICOS UNIFICADOS AZUL PETRÓLEO Y DORADO PARA BOTONES DEL HERO */
.btn-contact-wa,
.btn-contact-tel,
.btn-contact-mail,
.btn-cv,
.btn-vcf {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--gold-border) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  transition: var(--transition) !important;
}

.btn-contact-wa i,
.btn-contact-tel i,
.btn-contact-mail i,
.btn-cv i,
.btn-vcf i {
  color: var(--gold-primary) !important;
}

.btn-contact-wa:hover,
.btn-contact-tel:hover,
.btn-contact-mail:hover,
.btn-cv:hover,
.btn-vcf:hover {
  background: rgba(198, 161, 91, 0.22) !important;
  border-color: var(--gold-primary) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(198, 161, 91, 0.25) !important;
}

.btn-contact-wa:hover i,
.btn-contact-tel:hover i,
.btn-contact-mail:hover i,
.btn-cv:hover i,
.btn-vcf:hover i {
  color: var(--gold-light) !important;
}

/* BANNER DOCUMENTAL BUITRAGO (DEBAJO DE LA PRESENTACIÓN DE HERO) */
.featured-documentary-banner {
  background: var(--bg-white);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.documentary-banner-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy-dark);
  margin: 0.4rem 0;
  line-height: 1.25;
}

.documentary-banner-desc-wrapper {
  margin-top: 0.4rem;
}

.documentary-banner-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.documentary-banner-desc.clamped-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-toggle-desc {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0.3rem 0;
  margin-top: 0.2rem;
  display: inline-block;
}

/* BANDA DE ICONOS TURÍSTICOS */
.tourism-icons-band {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}

.tourism-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.tourism-icon-item i {
  font-size: 1.6rem;
  color: var(--gold-primary);
  transition: var(--transition);
}

.tourism-icon-item:hover i {
  transform: scale(1.18);
  color: var(--navy-primary);
}

/* ENCABEZADOS DE SECCIÓN */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.2rem;
}

.section-badge {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.6rem;
  border: 1px solid var(--gold-border);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* PARRILLA DEL PORTAFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3rem;
}

/* TARJETAS DEL PORTAFOLIO */
.portfolio-card {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy-dark);
  overflow: hidden;
  cursor: pointer;
}

.card-media-wrapper img,
.card-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .card-media-wrapper img {
  transform: scale(1.05);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 47, 58, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.card-media-wrapper:hover .media-overlay {
  opacity: 1;
}

.play-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.media-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(24, 47, 58, 0.88);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.6rem;
}

.card-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-primary);
  background: var(--navy-light-bg);
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  width: fit-content;
  border: 1px solid rgba(35, 75, 90, 0.15);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-tag {
  font-size: 0.73rem;
  color: var(--navy-secondary);
  background: rgba(198, 161, 91, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.card-footer {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(198, 161, 91, 0.2);
  display: flex;
  justify-content: flex-end;
}

.btn-card-action {
  background: transparent;
  border: 1px solid var(--navy-primary);
  color: var(--navy-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-action:hover {
  background: var(--navy-primary);
  color: var(--bg-ivory);
}

/* SOBRE MÍ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-card-box {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.about-card-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

.value-card {
  background: var(--navy-light-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.value-card i {
  font-size: 2rem;
  color: var(--gold-primary);
}

.value-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy-dark);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* TIMELINE EXPERIENCIA */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold-primary);
}

.timeline-item {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.05rem;
  top: 1.8rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 3px solid var(--bg-ivory);
  box-shadow: 0 0 0 2px var(--navy-primary);
}

.timeline-role {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
}

.timeline-company {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}

.timeline-period {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: inline-block;
  background: var(--navy-light-bg);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
}

.timeline-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.timeline-tasks li {
  position: relative;
  padding-left: 1.2rem;
}

.timeline-tasks li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

/* CERTIFICACIONES IA */
.ai-certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.ai-cert-card {
  background: var(--navy-dark);
  color: var(--bg-ivory);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-navy);
}

.ai-cert-card i {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.ai-cert-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.ai-cert-issuer {
  font-size: 0.82rem;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

/* RESEÑAS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-hover);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--gold-light);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.95rem;
}

.review-stars {
  color: #F59E0B;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-style: italic;
}

.btn-review-capture {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--navy-light-bg);
  color: var(--navy-primary);
  border: 1px solid var(--gold-border);
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-review-capture i {
  color: var(--gold-primary);
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-review-capture:hover {
  background: var(--navy-primary);
  color: var(--bg-ivory);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(35, 75, 90, 0.2);
}

.btn-review-capture:hover i {
  color: var(--gold-light);
}

/* CARRUSEL INFERIOR */
.bottom-carousel-section {
  background: var(--navy-dark);
  color: var(--bg-ivory);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--gold-border);
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.carousel-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.carousel-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}
.carousel-track::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 9999px;
}

.carousel-card {
  min-width: 270px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  flex-shrink: 0;
}

/* MODAL LIGHTBOX */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(24, 47, 58, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  background: var(--bg-white);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 2rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--navy-primary);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--gold-primary);
  color: var(--navy-dark);
}

.lightbox-desc-wrapper {
  margin-top: 0.5rem;
}

.lightbox-desc-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  transition: all 0.3s ease;
}

.lightbox-desc-text.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-toggle-desc {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  transition: var(--transition);
}

.btn-toggle-desc:hover {
  color: var(--navy-primary);
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float-btn {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 99;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 0.8rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  border: 2px solid #FFFFFF;
}

.whatsapp-float-btn i {
  font-size: 1.4rem;
}

.whatsapp-float-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* FOOTER */
.footer {
  background: var(--navy-dark);
  color: var(--bg-ivory);
  border-top: 2px solid var(--gold-primary);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  border: 1px solid var(--gold-border);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold-primary);
  color: var(--navy-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN (OPTIMIZACIÓN MÓVIL Y TABLET PERFECCIONADA)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .hero-left-column {
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-photo-container {
    width: 100%;
    margin: 0 auto;
  }
  .hero-badge-positioning,
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .featured-documentary-banner {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    z-index: 1000;
    padding: 0.5rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-container {
    width: 100%;
    max-width: 100%;
    gap: 0.4rem;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }
  .brand-logo {
    gap: 0.4rem;
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .brand-logo-icon img {
    height: 36px !important;
    width: auto !important;
  }
  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .container {
    padding: 1.2rem 0.85rem;
  }
  .mobile-menu-btn {
    display: inline-flex;
    flex-shrink: 0;
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    margin-left: auto;
    white-space: nowrap;
  }
  .main-tabs-nav {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    width: 100vw;
    max-height: calc(85vh - 58px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    background: rgba(24, 47, 58, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.85rem 1rem;
    gap: 0.45rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    z-index: 999;
  }
  .main-tabs-nav.active {
    display: flex;
  }
  .tab-btn {
    width: 100%;
    justify-content: flex-start;
    color: #F5F1E8;
    padding: 0.75rem 1.1rem;
    font-size: 0.92rem;
    border: 1px solid rgba(198, 161, 91, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
  }
  .tab-btn.active {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 700;
    border-color: var(--gold-light);
  }
  .tab-btn.active i {
    color: var(--navy-dark);
  }
  /* HERO SECTION COMPACTO Y EQUILIBRADO EN MÓVIL Y PC */
  .hero-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0.95rem;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    text-align: center;
    align-items: center;
  }
  .hero-left-column {
    display: contents;
  }
  .hero-content {
    display: contents;
  }
  .hero-photo-container {
    order: 1;
    width: 165px;
    height: 165px;
    max-width: 165px;
    padding: 5px;
    border-radius: 50%;
    margin: 0 auto 0.3rem;
  }
  .hero-photo {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-info-text {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-top: 0.1rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  .hero-tagline {
    font-size: 0.88rem;
    border-left: none;
    border-bottom: 2px solid var(--gold-primary);
    padding: 0 0 0.25rem 0;
    margin: 0.2rem auto 0.4rem;
    display: inline-block;
  }
  .hero-bio {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #D1DEE5;
    text-align: center;
  }
  /* SHORTCUTS (VÍDEO PRESENTACIÓN & 100% 5 ESTRELLAS) SOBRE EL CONTACTO */
  .hero-shortcuts-grid {
    order: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
  }
  .hero-shortcut-badge {
    min-height: auto;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    gap: 0.2rem;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(135deg, rgba(35, 75, 90, 0.7), rgba(24, 47, 58, 0.95));
    border: 1.5px solid var(--gold-primary);
  }

  .documentary-banner-title {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin: 0.3rem 0 !important;
  }
  .shortcut-badge-title {
    font-size: 0.76rem;
    color: #FFFFFF;
  }
  .shortcut-badge-sub {
    font-size: 0.65rem;
    color: var(--gold-light);
  }
  .shortcut-badge-stars {
    font-size: 0.72rem;
    gap: 0.15rem;
  }
  .shortcut-badge-icon {
    font-size: 1.05rem;
    color: var(--gold-primary);
  }
  /* FILA DE CONTACTO (WHATSAPP, LLAMAR, EMAIL) Y BOTONES CV AL FINAL */
  .hero-actions {
    order: 4;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.55rem;
    margin-top: 0.2rem;
  }
  .hero-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
  }
  .hero-contact-row .btn {
    padding: 0.6rem 0.2rem;
    font-size: 0.78rem;
    gap: 0.35rem;
    justify-content: center;
    width: 100%;
    border-radius: 9999px;
  }
  .hero-contact-row .btn i {
    font-size: 0.95rem;
  }
  .hero-secondary-row {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
  }
  .hero-secondary-row .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
    border-radius: 9999px;
  }
  .section-title {
    font-size: 1.55rem;
  }
  /* LIGHTBOX MODAL EN MÓVIL */
  .lightbox-modal {
    padding: 0.75rem;
  }
  .lightbox-content {
    padding: 1.2rem 0.95rem;
    border-radius: var(--radius-md);
    max-height: 92vh;
  }
  .lightbox-close {
    top: 0.6rem;
    right: 0.6rem;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .lightbox-content h3 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.4rem !important;
  }
  /* TARJETAS DE CONTENIDO MÓVIL: RECURSO DESTACADO Y TEXTO COMPACTO */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .portfolio-card {
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(24, 47, 58, 0.08);
  }
  .card-media-wrapper {
    aspect-ratio: 16/10;
    width: 100%;
  }
  .play-badge {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
  .card-body {
    padding: 0.95rem 1.05rem;
    gap: 0.45rem;
  }
  .card-category-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.6rem;
  }
  .card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
  }
  .card-desc {
    font-size: 0.85rem;
    line-height: 1.48;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-tags {
    gap: 0.25rem;
    padding-top: 0.35rem;
  }
  .card-tag {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
  }
  .card-footer {
    padding-top: 0.6rem;
    margin-top: 0.3rem;
  }
  .btn-card-action {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .responsive-two-col {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .about-card-box {
    padding: 1.25rem;
  }
  .tourism-icons-band {
    padding: 1rem 0.8rem;
    gap: 1rem;
  }
  .tourism-icon-item span {
    font-size: 0.75rem;
  }
  .whatsapp-float-btn span {
    display: none;
  }
  .whatsapp-float-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* ==========================================================================
   SMART VIDEO PLAYER & REPRODUCTOR MULTIMEDIA ULTRA-PROFESIONAL
   ========================================================================== */
.smart-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-dark);
  border: 1px solid var(--gold-border);
  box-shadow: 0 12px 35px rgba(24, 47, 58, 0.3);
}

.smart-video-element {
  width: 100%;
  display: block;
  max-height: 58vh;
  object-fit: contain;
  background: #000;
  outline: none;
}

/* Spinner de Carga de Vídeo HD */
.video-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 47, 58, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 5;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(198, 161, 91, 0.2);
  border-top: 4px solid var(--gold-primary);
  border-right: 4px solid var(--gold-light);
  border-radius: 50%;
  animation: spinVideo 0.8s linear infinite;
  box-shadow: 0 0 15px rgba(198, 161, 91, 0.4);
}

@keyframes spinVideo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.video-loading-text {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Barra de Controles y Herramientas del Reproductor */
.video-player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #102129;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--gold-border);
  gap: 0.8rem;
  flex-wrap: wrap;
}

.video-badge-tag {
  background: rgba(198, 161, 91, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.video-speed-selector {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.video-speed-label {
  font-size: 0.75rem;
  color: #A0B4BE;
  font-weight: 600;
  margin-right: 0.2rem;
}

.video-speed-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #D1DEE5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.video-speed-btn:hover,
.video-speed-btn.active {
  background: var(--gold-primary);
  color: var(--navy-dark);
  border-color: var(--gold-primary);
}

.video-error-container {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--navy-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* EFECTOS Y HOVERS DE TARJETAS Y HERO MEJORADOS */
.hero-shortcut-badge {
  position: relative;
  overflow: hidden;
}

.hero-shortcut-badge.badge-video::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.15) 0%, transparent 70%);
  animation: pulseGlow 4s infinite linear;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

