/*
Theme Name:   ViveCali Child
Theme URI:    https://www.planescali.com
Description:  Tema hijo de Hello Elementor para ViveCali
Author:       ViveCali
Template:     hello-elementor
Version:      1.0.0
Text Domain:  vivecali-child
*/

/* =============================================
   VARIABLES Y RESET
   ============================================= */
:root {
  --vc-teal:        #00B5B8;
  --vc-teal-dark:   #008B8D;
  --vc-teal-light:  #E0F7F7;
  --vc-navy:        #2C3E6B;
  --vc-coral:       #E8523A;
  --vc-green:       #27AE60;
  --vc-pastel-blue: #B3EBF2;
  --vc-gray-bg:     #F7F8FC;
  --vc-gray-text:   #6B7280;
  --vc-gray-border: #E5E7EB;
  --vc-white:       #FFFFFF;
  --vc-font-display: 'Syne', sans-serif;
  --vc-font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--vc-font-body) !important;
  color: var(--vc-navy) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

/* =============================================
   OCULTAR ELEMENTOS NO DESEADOS
   ============================================= */
/* Titulo de pagina */
.entry-title,
.page-title,
.site-main > article > header,
.elementor-page-title,
.page-header { display: none !important; }

/* Migas de pan */
.breadcrumbs,
.woocommerce-breadcrumb,
.tribe-events-breadcrumbs,
.yoast-breadcrumb,
.rank-math-breadcrumb,
.breadcrumb,
nav[aria-label="breadcrumb"],
.ast-breadcrumbs-wrap,
[class*="breadcrumb"] { display: none !important; }

/* Header y footer nativos de Hello Elementor */
.site-header,
.site-footer,
header.entry-header { display: none !important; }

/* Padding/margin del main que deja espacio al header nativo */
#page, .site, .site-content, #content, .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* =============================================
   TIPOGRAFIA - Reemplazar rojos/colores feos
   ============================================= */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title {
  font-family: var(--vc-font-display) !important;
  color: var(--vc-navy) !important;
}

/* Titulos de The Events Calendar y otros que salen en rojo */
.tribe-events-single-event-title,
.tribe-events-calendar th,
.tribe-events-pro-summary__event-title,
.tribe-event-url,
.tribe-events-list-event-title a,
.tribe-events-calendar td.tribe-events-thismonth.tribe-events-present div[id*="tribe-events-daynum"],
.tribe-events-calendar td a,
.tribe-events-calendar .tribe-events-calendar__day-cell--current,
.tribe-events a,
a { color: var(--vc-navy) !important; }

a:hover { color: var(--vc-teal) !important; }

/* Encabezados de secciones con color pastel azul sobre fondo navy */
.vc-section-title span,
.vc-hero-title em,
.vc-event-cat,
.vc-lugar-cat,
.vc-hero-badge {
  color: var(--vc-pastel-blue) !important;
}

/* =============================================
   NAVBAR GLOBAL
   ============================================= */
.vc-navbar {
  background: var(--vc-white);
  border-bottom: 1px solid var(--vc-gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 1px 8px rgba(44,62,107,.07);
  width: 100%;
}
.vc-navbar .vc-logo { display: flex; align-items: center; }
.vc-navbar .vc-logo img { height: 52px; width: auto; display: block; }
.vc-nav-links { display: flex; align-items: center; gap: 0; }
.vc-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--vc-navy) !important;
  padding: 8px 13px; border-radius: 8px;
  text-decoration: none !important; transition: background .2s;
  display: flex; align-items: center; gap: 5px;
}
.vc-nav-links a:hover { background: var(--vc-teal-light); color: var(--vc-teal-dark) !important; }
.vc-nav-links a.active { color: var(--vc-teal) !important; font-weight: 600; }
.vc-nav-actions { display: flex; gap: 8px; align-items: center; }
.vc-nav-actions .vc-btn-outline {
  font-size: 13px; font-weight: 500; color: var(--vc-navy);
  border: 1.5px solid var(--vc-gray-border); padding: 7px 16px;
  border-radius: 8px; background: none; text-decoration: none;
  transition: all .2s; cursor: pointer;
}
.vc-nav-actions .vc-btn-outline:hover { border-color: var(--vc-teal); color: var(--vc-teal) !important; }
.vc-nav-actions .vc-btn-primary {
  font-size: 13px; font-weight: 500; color: white !important;
  border: none; padding: 8px 18px; border-radius: 8px;
  background: var(--vc-teal); text-decoration: none;
  transition: background .2s; cursor: pointer;
}
.vc-nav-actions .vc-btn-primary:hover { background: var(--vc-teal-dark); }

/* Hamburguesa movil */
.vc-nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--vc-navy);
  font-size: 24px;
}
.vc-mobile-menu {
  display: none; flex-direction: column;
  background: white; border-bottom: 1px solid var(--vc-gray-border);
  padding: 1rem 1.5rem; gap: 4px;
}
.vc-mobile-menu a {
  font-size: 15px; font-weight: 500; color: var(--vc-navy) !important;
  padding: 10px 0; text-decoration: none !important;
  border-bottom: 1px solid var(--vc-gray-border);
  display: flex; align-items: center; gap: 8px;
}
.vc-mobile-menu a:last-child { border-bottom: none; }
.vc-mobile-menu.open { display: flex; }

/* =============================================
   HERO - Logo como marca de agua full ancho
   ============================================= */
.vc-hero {
  position: relative; overflow: hidden;
  background: var(--vc-navy); min-height: 460px;
  display: flex; align-items: flex-end;
  width: 100%;
}
.vc-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#1a2a4a 0%,#2C3E6B 60%,#1a3a4a 100%);
  background-size: cover; background-position: center;
}
.vc-hero-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(45deg,white 0,white 1px,transparent 0,transparent 50%);
  background-size: 20px 20px;
}
.vc-hero-accent {
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: var(--vc-teal); opacity: .1; border-radius: 50%;
}
.vc-hero-watermark {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 5%;
  pointer-events: none;
}
.vc-hero-watermark img {
  height: 75%; max-height: 340px; width: auto;
  opacity: .08; object-fit: contain;
}
.vc-hero-content {
  position: relative; z-index: 2;
  padding: 2.5rem 3rem; max-width: 60%;
}
.vc-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vc-teal); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 1rem;
}
.vc-hero-badge .pulse {
  width: 6px; height: 6px; background: white;
  border-radius: 50%; animation: vc-pulse 1.5s infinite;
}
@keyframes vc-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.vc-hero-title {
  font-family: var(--vc-font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: white !important;
  line-height: 1.15; margin-bottom: .8rem;
}
.vc-hero-title em { color: var(--vc-pastel-blue) !important; font-style: normal; }
.vc-hero-meta {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.vc-hero-meta-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.8); font-size: 13px;
}
.vc-hero-actions { display: flex; gap: 10px; padding-bottom: 2rem; }
.vc-hero-btn {
  font-size: 14px; font-weight: 500;
  padding: 11px 24px; border-radius: 9px; border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.vc-hero-btn-main { background: var(--vc-teal); color: white !important; }
.vc-hero-btn-main:hover { background: var(--vc-teal-dark); }
.vc-hero-btn-sec { background: rgba(255,255,255,.12); color: white !important; border: 1px solid rgba(255,255,255,.25); }
.vc-hero-dots {
  position: absolute; bottom: 1.5rem; left: 3rem;
  display: flex; gap: 6px; z-index: 2;
}
.vc-dot { width: 24px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; }
.vc-dot.active { background: var(--vc-teal); width: 40px; }

/* =============================================
   FILTROS
   ============================================= */
.vc-filters {
  background: white; border-bottom: 1px solid var(--vc-gray-border);
  padding: .85rem 2rem; display: flex;
  align-items: center; gap: 8px;
  overflow-x: auto; width: 100%;
  -webkit-overflow-scrolling: touch;
}
.vc-filter-label {
  font-size: 11px; font-weight: 700; color: var(--vc-gray-text);
  white-space: nowrap; text-transform: uppercase;
  letter-spacing: .07em; margin-right: 4px; flex-shrink: 0;
}
.vc-filter-chip {
  font-size: 13px; font-weight: 500; padding: 6px 14px;
  border-radius: 20px; border: 1.5px solid var(--vc-gray-border);
  background: white; color: var(--vc-navy) !important;
  cursor: pointer; white-space: nowrap; transition: all .2s;
  text-decoration: none !important; display: inline-block;
  flex-shrink: 0;
}
.vc-filter-chip:hover { border-color: var(--vc-teal); color: var(--vc-teal) !important; }
.vc-filter-chip.active { background: var(--vc-teal); border-color: var(--vc-teal); color: white !important; }

/* =============================================
   SECCIONES
   ============================================= */
.vc-section { padding: 2.5rem 2rem; }
.vc-section-alt { background: var(--vc-gray-bg); }
.vc-section-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 1.5rem;
}
.vc-section-title {
  font-family: var(--vc-font-display);
  font-size: 1.35rem; font-weight: 700; color: var(--vc-navy);
  display: flex; align-items: center; gap: 8px;
}
.vc-section-title span { color: var(--vc-teal); }
.vc-title-line { width: 4px; height: 22px; background: var(--vc-teal); border-radius: 2px; }
.vc-section-link {
  font-size: 13px; font-weight: 500; color: var(--vc-teal) !important;
  text-decoration: none; display: flex; align-items: center; gap: 4px;
}

/* =============================================
   TARJETAS EVENTOS
   ============================================= */
.vc-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.vc-event-card {
  background: white; border: 1px solid var(--vc-gray-border);
  border-radius: 14px; overflow: hidden;
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.vc-event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(44,62,107,.12); }
.vc-event-img { height: 140px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vc-event-img img { width: 100%; height: 100%; object-fit: cover; }
.vc-event-date-badge {
  position: absolute; top: 10px; left: 10px;
  background: white; border-radius: 8px; padding: 4px 8px;
  text-align: center; min-width: 42px; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.vc-event-date-badge .day {
  font-family: var(--vc-font-display); font-weight: 800;
  font-size: 17px; color: var(--vc-navy); line-height: 1;
}
.vc-event-date-badge .month {
  font-size: 9px; font-weight: 700; color: var(--vc-teal);
  text-transform: uppercase; line-height: 1.5;
}
.vc-event-sponsored {
  position: absolute; top: 10px; right: 10px;
  background: var(--vc-coral); color: white;
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 12px; text-transform: uppercase;
}
.vc-event-body { padding: 12px 14px; }
.vc-event-cat {
  font-size: 11px; font-weight: 700; color: var(--vc-teal) !important;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px;
}
.vc-event-name {
  font-family: var(--vc-font-display); font-weight: 700;
  font-size: 13px; color: var(--vc-navy) !important;
  line-height: 1.3; margin-bottom: 6px;
}
.vc-event-place { font-size: 12px; color: var(--vc-gray-text); display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.vc-event-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--vc-gray-border); padding-top: 8px; }
.vc-event-price { font-size: 13px; font-weight: 700; color: var(--vc-navy); }
.vc-event-price.gratis { color: var(--vc-green); }
.vc-event-actions { display: flex; gap: 5px; }
.vc-action-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--vc-gray-border); background: none;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: var(--vc-gray-text); font-size: 14px; transition: all .2s;
}
.vc-action-btn:hover { border-color: var(--vc-teal); color: var(--vc-teal); background: var(--vc-teal-light); }

/* =============================================
   BANNER PATROCINADORES
   ============================================= */
.vc-banner-strip {
  background: var(--vc-gray-bg);
  border-top: 1px solid var(--vc-gray-border);
  border-bottom: 1px solid var(--vc-gray-border);
  padding: 1rem 2rem; display: flex;
  align-items: center; gap: 1.5rem; overflow-x: auto;
}
.vc-banner-label {
  font-size: 11px; font-weight: 700; color: var(--vc-gray-text);
  text-transform: uppercase; letter-spacing: .1em;
  white-space: nowrap; padding-right: .75rem;
  border-right: 1px solid var(--vc-gray-border); flex-shrink: 0;
}
.vc-banner-item {
  background: white; border: 1px solid var(--vc-gray-border);
  border-radius: 10px; padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: all .2s; white-space: nowrap; text-decoration: none;
}
.vc-banner-item:hover { border-color: var(--vc-teal); box-shadow: 0 2px 10px rgba(0,181,184,.15); }
.vc-banner-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.vc-banner-name { font-size: 13px; font-weight: 600; color: var(--vc-navy); }

/* =============================================
   TARJETAS LUGARES
   ============================================= */
.vc-lugares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.vc-lugar-card {
  background: white; border: 1px solid var(--vc-gray-border);
  border-radius: 12px; overflow: hidden;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  text-decoration: none !important; display: block;
}
.vc-lugar-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(44,62,107,.1); }
.vc-lugar-img { height: 100px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vc-lugar-img img { width: 100%; height: 100%; object-fit: cover; }
.vc-lugar-body { padding: 10px 12px; }
.vc-lugar-cat { font-size: 10px; font-weight: 700; color: var(--vc-teal) !important; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
.vc-lugar-name { font-family: var(--vc-font-display); font-weight: 700; font-size: 12px; color: var(--vc-navy) !important; margin-bottom: 4px; line-height: 1.3; }
.vc-lugar-barrio { font-size: 11px; color: var(--vc-gray-text); display: flex; align-items: center; gap: 3px; }

/* =============================================
   FOOTER
   ============================================= */
.vc-footer { background: var(--vc-navy); color: white; padding: 2.5rem 2rem 1.5rem; }
.vc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.vc-footer-logo img { height: 52px; width: auto; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.vc-footer-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 1rem; }
.vc-footer-social { display: flex; gap: 8px; }
.vc-social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8) !important;
  text-decoration: none;
}
.vc-social-btn:hover { background: var(--vc-teal); color: white !important; }
.vc-footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: .9rem; font-family: var(--vc-font-display); }
.vc-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65) !important; text-decoration: none !important; margin-bottom: .45rem; transition: color .2s; }
.vc-footer-col a:hover { color: var(--vc-teal) !important; }
.vc-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.vc-footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }

/* =============================================
   BUSCADOR DE LUGARES
   ============================================= */
.vc-lugares-search {
  background: white; border-bottom: 1px solid var(--vc-gray-border);
  padding: 1.25rem 2rem; display: flex;
  align-items: center; gap: 10px; flex-wrap: wrap;
}
.vc-search-box {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 8px;
  background: var(--vc-gray-bg); border: 1.5px solid var(--vc-gray-border);
  border-radius: 10px; padding: 9px 14px;
  transition: border-color .2s;
}
.vc-search-box:focus-within { border-color: var(--vc-teal); }
.vc-search-box input {
  border: none; background: none; font-size: 14px;
  color: var(--vc-navy); outline: none; width: 100%;
  font-family: var(--vc-font-body);
}
.vc-search-select {
  padding: 9px 14px; border-radius: 10px;
  border: 1.5px solid var(--vc-gray-border);
  background: var(--vc-gray-bg); font-size: 13px;
  color: var(--vc-navy); cursor: pointer; outline: none;
  font-family: var(--vc-font-body); min-width: 160px;
  transition: border-color .2s;
}
.vc-search-select:focus { border-color: var(--vc-teal); }
.vc-search-btn {
  padding: 10px 20px; background: var(--vc-teal);
  color: white; border: none; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: var(--vc-font-body); transition: background .2s;
  white-space: nowrap;
}
.vc-search-btn:hover { background: var(--vc-teal-dark); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .vc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .vc-navbar { padding: 0 1rem; height: 60px; }
  .vc-nav-links, .vc-nav-actions { display: none; }
  .vc-nav-toggle { display: block; }
  .vc-navbar .vc-logo img { height: 44px; }
  .vc-hero-content { padding: 1.5rem; max-width: 100%; }
  .vc-hero-watermark { display: none; }
  .vc-hero-actions { flex-wrap: wrap; }
  .vc-section, .vc-filters, .vc-lugares-search { padding: .85rem 1rem; }
  .vc-events-grid { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }
  .vc-lugares-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }
  .vc-footer { padding: 2rem 1rem 1rem; }
  .vc-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .vc-banner-strip { padding: .75rem 1rem; }
  .vc-hero-dots { left: 1.5rem; }
}

@media (max-width: 480px) {
  .vc-events-grid { grid-template-columns: 1fr 1fr; }
  .vc-lugares-grid { grid-template-columns: 1fr 1fr; }
  .vc-search-select { min-width: 100%; }
  .vc-search-box { min-width: 100%; }
  .vc-lugares-search { flex-direction: column; }
}
