/* ============================================
   KAMI AGENCY - Eventos Exclusivos Influencers
   Versión Premium & Instagram Style
============================================ */

:root {
  /* Paleta de colores premium */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --accent-primary: #ff2e63;
  --accent-secondary: #00d4ff;
  --accent-gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --card-bg: rgba(20, 20, 20, 0.8);
  --card-border: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #ff2e63 0%, #00d4ff 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  --shadow-neon: 0 0 20px rgba(255, 46, 99, 0.4);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
  --radius-large: 24px;
  --radius-medium: 16px;
  --radius-small: 12px;
}

/* ============================================
   RESET Y ESTILOS BASE
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 46, 99, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER Y NAVEGACIÓN
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-primary);
  padding: 2px;
  background: var(--bg-primary);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name span:first-child {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.brand-name span:last-child {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navegación principal */
nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

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

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

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

/* Menú móvil */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding: 30px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-drawer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
  transition: color 0.3s ease;
}

.mobile-drawer a:hover {
  color: var(--accent-primary);
}

/* ============================================
   BOTONES
============================================ */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 46, 99, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--card-border);
}

.btn-secondary:hover {
  border-color: var(--accent-secondary);
  transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  padding-top: 140px; /* Este es el problema - debemos aumentarlo */
  padding-bottom: 80px;
  /* Añade esto para asegurar que el contenido esté visible */
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* Asegurar que el contenido del hero no quede detrás del header */
#top {
  scroll-margin-top: 100px; /* Esto ayuda con los enlaces ancla */
}

/* Desktop: 2 columnas lado a lado */
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-media {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Asegurar que las imágenes se muestren correctamente */
  z-index: 1;
}

.hero-slide.is-visible {
  opacity: 1;
  z-index: 2; /* La imagen visible debe estar encima */
}

/*
.hero-announce {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: var(--radius-medium);
  border: 1px solid var(--card-border);
  z-index: 2;
}

*/

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-announce-title {
  font-size: 24px;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Playfair Display', serif;
}

.hero-announce-sub {
  color: var(--text-secondary);
  font-size: 14px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 46, 99, 0.1);
  border: 1px solid rgba(255, 46, 99, 0.3);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ============================================
   TIPOGRAFÍA
============================================ */
h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.muted {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.7;
}

/* Event Meta en Hero */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-small);
  color: var(--text-secondary);
  font-size: 14px;
}

/* Event Details Grid */
.event-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-small);
}

.detail-item i {
  color: var(--accent-primary);
  font-size: 18px;
  margin-top: 2px;
}

.detail-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.detail-item p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

/* ============================================
   SECCIONES GENERALES
============================================ */
section {
  padding: 80px 0;
}

.kicker {
  display: inline-block;
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.kicker::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

/* ============================================
   CARDS Y GRIDS
============================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-large);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-neon);
}

.card-pad {
  padding: 30px;
}

.card-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Grids */
.grid {
  display: grid;
  gap: 30px;
}

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

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

/* ============================================
   INCLUDES SECTION
============================================ */
.includes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.include {
  text-align: center;
  padding: 30px 25px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-medium);
  transition: all 0.3s ease;
}

.include:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.include h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.include p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Note styling */
.note {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 46, 99, 0.05);
  border: 1px solid rgba(255, 46, 99, 0.1);
  border-radius: var(--radius-small);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.note i {
  color: var(--accent-primary);
  margin-top: 2px;
}

/* ============================================
   INFLUENCERS
============================================ */
.influencer-card {
  cursor: pointer;
  position: relative;
  height: 400px;
  overflow: hidden;
}

.creator {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.avatar {
  flex: 1;
  overflow: hidden;
  position: relative;
}

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

.influencer-card:hover .avatar img {
  transform: scale(1.05);
}

.avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
}

.creator > div:last-child {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  z-index: 1;
}

.creator h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.handle {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 14px;
}

.links {
  display: flex;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.chip:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.tiktok-dot {
  width: 8px;
  height: 8px;
  background: #ff2e63;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================
   TRUST SECTION
============================================ */
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 40px 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-medium);
}

.check {
  color: var(--accent-gold);
  font-size: 18px;
  line-height: 1;
}

.section-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ============================================
   FORMULARIO DE CONTACTO
============================================ */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

input, select {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-small);
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.1);
}

::placeholder {
  color: var(--text-secondary);
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius-small);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent-secondary);
  font-size: 14px;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.event-info {
  margin-top: 25px;
  padding: 20px;
  border-radius: var(--radius-medium);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-small);
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.1);
}

.form-group input:invalid,
.form-group select:invalid {
  border-color: rgba(255, 46, 99, 0.5);
}

.form-group input:valid,
.form-group select:valid {
  border-color: rgba(0, 212, 255, 0.3);
}

/* Placeholder styling */
::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ============================================
   FOOTER
============================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.fineprint {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-top: 15px;
}

/* ============================================
   MODAL
============================================ */
.ib-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ib-modal.open {
  display: flex;
}

.ib-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
}

.ib-panel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: var(--bg-secondary);
  border-radius: var(--radius-large);
  overflow: hidden;
  z-index: 1;
  border: 1px solid var(--card-border);
}

.ib-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ib-close:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.ib-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.ib-photo {
  position: relative;
  overflow: hidden;
}

.ib-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ib-name {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0 5px;
  font-family: 'Playfair Display', serif;
}

.ib-handle {
  color: var(--accent-primary);
  font-size: 16px;
  margin-bottom: 20px;
}

.ib-role {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 46, 99, 0.1);
  border: 1px solid rgba(255, 46, 99, 0.3);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 25px;
}

.ib-bio {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.ib-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.ib-note {
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ib-note i {
  color: var(--accent-primary);
  margin-top: 2px;
}

/* ============================================
   ANIMACIONES
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* ============================================
   EFECTOS ESPECÍFICOS PARA MÓVIL
============================================ */
.mobile-mode .hero-slide {
  animation: none !important;
}

.mobile-mode .influencer-card:hover .avatar img {
  transform: none !important;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablet (1024px y menos) */
@media (max-width: 1024px) {
  .includes {
    grid-template-columns: repeat(2, 1fr);
  }
  

  .hero-wrap {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .event-details {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Orden específico para móvil: fotos arriba, texto abajo */
  .hero-media {
    order: 1; /* Fotos primero */
  }
  
  .hero-copy {
    order: 2; /* Texto después */
  }

  .hero {
    padding-top: 120px; /* Reducir un poco en tablet */
  }
  
  .hero-media {
    height: 400px;
  }
  
  .ib-panel {
    width: 95%;
    max-width: 500px;
  }
  
  .ib-grid {
    grid-template-columns: 1fr;
  }
}

/* Móvil (768px y menos) */
@media (max-width: 768px) {
  /* Header fijo - ajustar el hero para que no quede oculto */
  .hero {
    padding-top: 100px; /* Aumentar para móvil */
    min-height: calc(100vh - 80px); /* Asegurar que ocupe altura mínima */
  }
  
  /* Asegurar que el contenido sea visible en móvil */
  #top {
    scroll-margin-top: 80px;
  }
  
  .hero-media {
    height: 300px !important; /* Aumentar altura en móvil */
    margin-bottom: 20px;
  }
  
  /* Mostrar el event-meta en móvil */
  .event-meta {
    display: flex !important; /* Forzar a mostrar */
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: var(--radius-medium);
    border: 1px solid var(--card-border);
  }
  
  .event-meta span {
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
  }
  
  .pill {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  /* 4. Simplificar el grid de influencers */
  .influencer-card {
    height: auto !important;
    min-height: 200px;
  }
  
  .avatar {
    height: 180px;
  }
  
  /* 5. Ajustar el grid de "qué incluye" */
  .includes {
    gap: 15px;
  }
  
  .include {
    padding: 20px 15px;
  }
  
  .icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  /* 6. Simplificar tarjetas de contacto */
  .grid.grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* 7. Reducir márgenes y paddings */
  section {
    padding: 40px 0 !important;
  }
  
  .card-pad {
    padding: 20px;
  }
  
  /* 8. Ajustar botones para mejor táctil */
  .btn {
    padding: 14px 20px;
    min-height: 48px;
    font-size: 14px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  /* 9. Ajustar textos para mejor lectura */
  h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  .muted {
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* 10. Ocultar elementos decorativos que consumen espacio */
  .kicker::after {
    display: none;
  }
  
  /* 11. Ajustar formulario */
  form input,
  form textarea {
    font-size: 16px; /* Evita zoom en iOS */
  }
  
  /* 12. Ajustar footer */
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .footer-actions .btn {
    width: 100%;
  }
  
  /* 13. Mostrar menú hamburguesa */
  .hamburger {
    display: flex;
  }
  
  /* 14. Ajustar modal para móvil */
  .ib-panel {
    width: 95% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  
  .ib-grid {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  
  .ib-photo {
    height: 250px !important;
  }
  
  /* 15. Problemas específicos de navegadores */
  /* Safari en iOS con inputs */
  @supports (-webkit-touch-callout: none) {
    input,
    textarea {
      font-size: 16px !important; /* Evita zoom automático */
    }
  }
  
  /* Chrome en Android con botones */
  button,
  .btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  /* Mejorar áreas táctiles */
  .btn,
  .influencer-card,
  .mobile-drawer a {
    min-height: 44px; /* Mínimo recomendado por Apple */
  }
  
  /* Aumentar padding para mejor táctil */
  input,
  textarea,
  select {
    padding: 16px 20px !important;
  }
  
  /* Mejorar scroll en iOS */
  .mobile-drawer {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }
  
  /* Desactivar hover effects en móvil */
  .card:hover {
    transform: none !important;
  }
  
  .btn:hover::before {
    animation: none;
  }
  
  /* Animaciones optimizadas para móvil */
  .reveal {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  /* Reducir carga de animaciones */
  .hero-slide {
    transition: opacity 1s ease-in-out;
  }
}

/* Móvil pequeño (480px y menos) */
@media (max-width: 480px) {
  .hero {
    padding-top: 90px; /* Ajustar para pantallas muy pequeñas */
  }
  
  .hero-media {
    height: 250px !important;
  }
  
  h1 {
    font-size: 28px;
  }
  
  .brand-name span:first-child {
    font-size: 16px;
  }
  
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  
  /* Ocultar el tagline en móvil */
  .brand-name span:last-child {
    display: none;
  }
  
  /* Simplificar includes aún más */
  .includes {
    grid-template-columns: 1fr;
  }
  
  /* Ajustar contact buttons */
  .contact-buttons {
    flex-direction: column;
  }
  
  .contact-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
}