/* MIXED CSS PACK */
/* Template: andreaalvarezcoach.com/index.html */
/* Template mtime: 2025-10-01 12:50:43 */

/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css */

/* ===== INLINE <style> BLOCK #1 ===== */
:root {
      --brand-primary: #e5706f;
      --brand-secondary: #edb590;
      --brand-gradient: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
      --dark: #12131a;
      --dark-light: #1f2937;
      --muted: #6b7280;
      --light: #f8fafc;
      --light-gray: #f1f5f9;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      background: #fff;
      color: var(--dark-light);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      line-height: 1.6;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .section-title {
      font-size: 2.5rem;
      letter-spacing: -0.5px;
      position: relative;
      display: inline-block;
      margin-bottom: 2rem;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--brand-gradient);
      border-radius: 2px;
    }

    .text-center .section-title::after {
      left: 50%;
      transform: translateX(-50%);
    }

    /* Navbar */
    .navbar {
      --bs-navbar-padding-y: 0.75rem;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: saturate(180%) blur(10px);
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .navbar-brand {
      font-weight: 700;
      letter-spacing: 0.2px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .brand-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--brand-primary);
      display: inline-block;
      position: relative;
    }

    .brand-dot::after {
      content: '';
      position: absolute;
      top: -3px;
      left: -3px;
      right: -3px;
      bottom: -3px;
      border-radius: 50%;
      background: rgba(111, 82, 237, 0.2);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.5); opacity: 0.5; }
      100% { transform: scale(1); opacity: 1; }
    }

    .nav-link {
      font-weight: 500;
      position: relative;
      padding: 0.5rem 1rem !important;
      transition: var(--transition);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--brand-gradient);
      transition: var(--transition);
      transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 70%;
    }

    .btn {
      border-radius: var(--radius-md);
      font-weight: 500;
      padding: 0.625rem 1.5rem;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .btn-brand {
      background: var(--brand-gradient);
      border: none;
      color: white;
      box-shadow: var(--shadow-md);
    }

    .btn-brand:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
      color: white;
    }

    .btn-ghost {
      border: 1px solid rgba(17, 17, 17, 0.12);
      background: transparent;
    }

    .btn-ghost:hover {
      background: rgba(111, 82, 237, 0.05);
      border-color: var(--brand-primary);
    }

    /* Hero Section */
    .hero {
      padding: 150px 0 100px;
      background: 
        radial-gradient(1200px 600px at 120% -20%, rgba(0, 176, 166, 0.15), transparent 60%),
        radial-gradient(1000px 500px at -20% -30%, rgba(111, 82, 237, 0.15), transparent 60%),
        linear-gradient(180deg, #fff 0%, #fafbff 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: rgba(111, 82, 237, 0.05);
      z-index: 0;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: -100px;
      left: -100px;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: rgba(0, 176, 166, 0.05);
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 3.8rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.5rem;
      background: linear-gradient(120deg, var(--dark) 0%, var(--brand-primary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p.lead {
      font-size: clamp(1.1rem, 2.5vw, 1.3rem);
      color: var(--dark-light);
      margin-bottom: 2rem;
    }

    .badge-soft {
      background: rgba(111, 82, 237, 0.1);
      color: var(--brand-primary);
      padding: 0.5rem 1rem;
      border-radius: 100px;
      font-weight: 500;
      font-size: 0.85rem;
      border: 1px solid rgba(111, 82, 237, 0.2);
      display: inline-block;
      margin-bottom: 1.5rem;
    }

    .feature-item {
      border: 1px solid rgba(17, 17, 17, 0.06);
      border-radius: var(--radius-xl);
      padding: 1.5rem;
      background: #fff;
      box-shadow: var(--shadow-md);
      transition: var(--transition);
      height: 100%;
    }

    .feature-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .icon-bullet {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #f4f5ff;
      color: var(--brand-primary);
      border: 1px solid rgba(111, 82, 237, 0.25);
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    /* Sections */
    .section {
      padding: 5rem 0;
      position: relative;
    }

    .bg-light-subtle {
      background: var(--light-gray) !important;
    }

    .small-muted {
      color: var(--muted);
      font-size: 0.95rem;
    }

    /* About Section */
    .about-img {
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      transition: var(--transition);
    }

    .about-img:hover {
      transform: scale(1.02);
    }

    .about-img img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Services */
    .service-card {
      border: 1px solid rgba(17, 17, 17, 0.08);
      border-radius: var(--radius-xl);
      padding: 2rem;
      background: #fff;
      box-shadow: var(--shadow-md);
      transition: var(--transition);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .service-card .title {
      font-weight: 700;
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }

    .list-check {
      list-style: none;
      margin: 0;
      padding: 0;
      margin-bottom: 1.5rem;
    }

    .list-check li {
      padding-left: 2rem;
      position: relative;
      margin: 0.5rem 0;
    }

    .list-check li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--brand-primary);
      font-weight: bold;
      background: rgba(111, 82, 237, 0.1);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* Ticker */
    .ticker-container {
      position: relative;
      padding: 1rem 0;
    }

    .ticker-track {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      padding: 1rem 0;
      margin: 0 -1rem;
    }

    .ticker-track::-webkit-scrollbar {
      display: none;
    }

    .tile {
      scroll-snap-align: start;
      flex: 0 0 300px;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      transition: var(--transition);
      position: relative;
    }

    .tile:hover {
      transform: scale(1.03);
    }

    .tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      aspect-ratio: 4/3;
    }

    .ticker-controls {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
      margin-top: 2rem;
    }

    .ticker-btn {
      width: 50px;
      height: 50px;
      border-radius: var(--radius-md);
      border: 1px solid rgba(17, 17, 17, 0.1);
      background: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-md);
      transition: var(--transition);
    }

    .ticker-btn:hover {
      background: var(--brand-primary);
      color: white;
      border-color: var(--brand-primary);
    }

    /* Accordion */
    .accordion-button {
      font-weight: 600;
      padding: 1.25rem;
      border-radius: var(--radius-md) !important;
    }

    .accordion-button:not(.collapsed) {
      background: rgba(111, 82, 237, 0.05);
      color: var(--brand-primary);
      box-shadow: none;
    }

    .accordion-button:focus {
      box-shadow: none;
      border-color: rgba(111, 82, 237, 0.25);
    }

    .accordion-body {
      padding: 1rem 1.25rem 1.5rem;
    }

    /* Contact */
    .contact-card {
      border: 1px solid rgba(17, 17, 17, 0.08);
      border-radius: var(--radius-xl);
      background: #fff;
      box-shadow: var(--shadow-md);
      padding: 2rem;
      height: 100%;
    }

    .form-control, .form-select {
      border-radius: var(--radius-md);
      border: 1px solid rgba(17, 17, 17, 0.12);
      padding: 0.75rem 1rem;
      transition: var(--transition);
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--brand-primary);
      box-shadow: 0 0 0 0.25rem rgba(111, 82, 237, 0.15);
    }

    /* Footer */
    footer {
      background: var(--dark);
      color: #cfd3dc;
      padding: 4rem 0 2rem;
    }

    footer a {
      color: #cfd3dc;
      text-decoration: none;
      transition: var(--transition);
    }

    footer a:hover {
      color: #fff;
      text-decoration: underline;
    }

    footer h6 {
      color: #fff;
      margin-bottom: 1.25rem;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
    }

    /* Helpers */
    .rounded-xl {
      border-radius: var(--radius-xl);
    }

    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .fade-in {
      animation: fadeIn 1s ease forwards;
    }

    .delay-1 { animation-delay: 0.2s; }
    .delay-2 { animation-delay: 0.4s; }
    .delay-3 { animation-delay: 0.6s; }

    /* Responsive */
    @media (max-width: 992px) {
      .hero {
        padding: 120px 0 80px;
      }
      
      .section {
        padding: 4rem 0;
      }
      
      .section-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }
      
      .section {
        padding: 3rem 0;
      }
      
      .tile {
        flex: 0 0 250px;
      }
    }

    /* Offset para anclas (sticky navbar) */
    section[id] {
      scroll-margin-top: 90px;
    }

    /* Toast */
    .top-alert {
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      top: 90px;
      z-index: 1080;
      animation: slideDown 0.5s ease forwards;
    }

    @keyframes slideDown {
      from { top: -100px; opacity: 0; }
      to { top: 90px; opacity: 1; }
    }

/* ===== INLINE <style> BLOCK #2 ===== */
/* Keep brand inline and tidy */
  .navbar-brand, .brand-title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-family: inherit;
  }
  .brand-logo { height: 52px; width: auto; }

  /* Prevent brand text from pushing layout */
  .navbar-brand .brand-title span,
  .brand-title span {
    display: inline-block;
    max-width: 60vw;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* Tighter default paddings */
  .navbar { padding-left: .5rem; padding-right: .5rem; }

  /* Mobile-specific adjustments */
  @media (max-width: 576px) {
    .brand-logo { height: 42px; }
    .brand-title { font-size: .98rem; gap: .45rem; }
    .brand-dot { display: none; } /* ahorra un poco de ancho */

    /* Make sure toggler is tappable and spaced */
    .navbar-toggler { padding: .35rem .5rem; }

    /* Add breathing room below a fixed-top navbar (if used) */
    .navbar.fixed-top + main,
    .navbar.fixed-top + .container,
    .navbar.sticky-top + main,
    .navbar.sticky-top + .container,
    .navbar.fixed-top + section,
    .navbar.sticky-top + section {
      margin-top: 72px;
    }
  }

/* ===== INLINE <style> BLOCK #3 ===== */
.brand-title {
            display: flex;
            align-items: center;
            gap: .8rem;             /* más espacio entre logo y texto */
            font-size: 1.1rem;      /* texto más chico */
            font-weight: 500;       /* menos pesado para que no compita con el logo */
            font-family: inherit;   /* mantiene la tipografía del resto del sitio */
            margin: 0;
          }
          .brand-logo {
            height: 60px;           /* logo más grande */
            width: auto;
            border-radius: 0%;     /* opcional: redondo */
          }

/* ===== INLINE <style> BLOCK #4 ===== */
.img-btn{
        padding:0; border:0; background:transparent; display:block; width:100%;
        cursor:pointer; line-height:0; border-radius: var(--radius-xl, 18px); overflow:hidden;
      }
      .gallery-card{ position:relative; z-index:1; border-radius: var(--radius-xl, 18px); overflow:hidden; box-shadow: var(--shadow-md, 0 10px 26px rgba(15,23,42,.10)); background:#fff; }
      .gallery-card img{ width:100%; height:auto; display:block; }
  
      .flyer-col{ position: relative; }
      .flyer-col.is-active::after{
        content:""; position:absolute; inset:-10px; border-radius:26px;
        background: conic-gradient(from 0deg,#ff6b6b,#f7b267,#ffd166,#06d6a0,#4cc9f0,#a78bfa,#ff6b6b);
        filter: blur(14px); opacity:.45; animation: spin 2.2s linear infinite, pulseGlow 1.6s ease-in-out infinite;
        z-index:0; pointer-events:none;
      }
      @keyframes spin{ to{ transform: rotate(360deg);} }
      @keyframes pulseGlow{ 0%,100%{opacity:.30} 50%{opacity:.55} }
  
      .flyer-panel{
        position:relative; z-index:2; margin-top:.6rem;
        border:1px solid #e9ecef; border-radius:.9rem; padding:1rem;
        background: linear-gradient(135deg,#ffffff 0%,#ffffff 55%,#f8fafc 100%);
        box-shadow:0 10px 28px rgba(15,23,42,.12);
        animation: gradientShift .8s ease-in-out;
      }
      .flyer-panel::before{
        content:""; position:absolute; left:0; top:0; right:0; height:4px;
        border-top-left-radius:.9rem; border-top-right-radius:.9rem;
        background: linear-gradient(90deg,#ff6b6b,#f7b267,#ffd166,#06d6a0,#4cc9f0,#a78bfa);
        background-size:200% 100%; animation: barFlow 2.8s linear infinite;
      }
      @keyframes barFlow{ to{ background-position:200% 0; } }
      @keyframes gradientShift{ from{ opacity:0; transform: translateY(-4px);} to{ opacity:1; transform:none;} }
  
      .flyer-panel .close-btn{
        position:absolute; top:6px; right:10px; border:none; background:transparent;
        font-size:1.35rem; line-height:1; cursor:pointer; color:#94a3b8;
      }
      .flyer-panel .close-btn:hover{ color:#0f172a; }
  
      .btn-whatsapp{
        background-color:#25D366; border:none;
        display:inline-flex; align-items:center; justify-content:center;
        width:46px; min-width:46px; height:38px; border-radius:.6rem;
      }
      .btn-whatsapp i{ color:#fff; font-size:1.25rem; }
  
      .d-none{ display:none !important; }

/* ===== INLINE <style> BLOCK #5 ===== */
/* grid interno: no toca la grilla de Bootstrap ni el footer */
        #ebook .ebook-wrap{
          display: grid;
          grid-template-columns: 1fr min(35%, 300px);
          align-items: center;
          gap: 1rem 1.25rem;
        }
        @media (max-width: 992px){
          #ebook .ebook-wrap{
            grid-template-columns: 1fr; /* apilado en mobile/tablet */
          }
        }

/* ===== INLINE <style> BLOCK #6 ===== */
/* Contenedor de botones flotantes */
.social-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  align-items: flex-end;
}

/* Estilos base para todos los botones sociales */
.social-float {
  position: relative;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.social-float:hover {
  transform: translateY(-5px) rotate(5deg) scale(1.1);
}

.social-button {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
  color: white;
  text-decoration: none;
}

.social-button:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.social-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
}

.social-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s infinite;
}

.social-pulse-delayed {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s infinite 0.5s;
}

.social-tooltip {
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #333;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 200px;
  text-align: center;
}

.social-tooltip small {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: normal;
  margin-top: 3px;
}

.tooltip-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}

.social-float:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

/* Estilos específicos para cada botón */
.whatsapp-button {
  background: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
  background: #128C7E;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse, .social-pulse.whatsapp-pulse {
  background: rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-delayed, .social-pulse-delayed.whatsapp-pulse-delayed {
  background: rgba(37, 211, 102, 0.4);
}

.instagram-button {
  background: #E1306C;
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
}

.instagram-button:hover {
  background: #C13584;
  box-shadow: 0 15px 30px rgba(193, 53, 132, 0.4);
}

.instagram-pulse, .social-pulse.instagram-pulse {
  background: rgba(225, 48, 108, 0.6);
}

.instagram-pulse-delayed, .social-pulse-delayed.instagram-pulse-delayed {
  background: rgba(193, 53, 132, 0.4);
}

.facebook-button {
  background: #1877F2;
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.facebook-button:hover {
  background: #166FE5;
  box-shadow: 0 15px 30px rgba(22, 111, 229, 0.4);
}

.facebook-pulse, .social-pulse.facebook-pulse {
  background: rgba(24, 119, 242, 0.6);
}

.facebook-pulse-delayed, .social-pulse-delayed.facebook-pulse-delayed {
  background: rgba(22, 111, 229, 0.4);
}

.linkedin-button {
  background: #0077B5;
  box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3);
}

.linkedin-button:hover {
  background: #005582;
  box-shadow: 0 15px 30px rgba(0, 85, 130, 0.4);
}

.linkedin-pulse, .social-pulse.linkedin-pulse {
  background: rgba(0, 119, 181, 0.6);
}

.linkedin-pulse-delayed, .social-pulse-delayed.linkedin-pulse-delayed {
  background: rgba(0, 85, 130, 0.4);
}

/* Animaciones */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0; }
  70% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Efecto de latido al cargar */
@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Animación inicial para los botones */
.social-button {
  animation: heartbeat 1.5s ease 2s 2, float 3s ease-in-out infinite 3s;
}

/* Mostrar botones con un pequeño retraso entre ellos */
.linkedin-float { animation: fadeInUp 0.5s ease 0.1s both; }
.instagram-float { animation: fadeInUp 0.5s ease 0.3s both; }
.facebook-float { animation: fadeInUp 0.5s ease 0.5s both; }
.whatsapp-float { animation: fadeInUp 0.5s ease 0.7s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .social-float-container {
    bottom: 20px;
    right: 20px;
  }
  
  .social-button {
    width: 60px;
    height: 60px;
  }
  
  .social-icon {
    font-size: 25px;
  }
  
  .social-tooltip {
    display: none;
  }
}

