:root {
          --primary-burgundy: #7A0C1E;
          --primary-dark-burgundy: #520512;
          --accent-gold: #D4AF37;
          --bg-cream: #FAF7F2;
          --bg-white: #FFFFFF;
          --text-dark: #2B2B2B;
          --text-muted: #666666;
          --border-light: #E8E2D9;

          --primary: #800020; /* Rojo Vino */
            --primary-dark: #5c0017;
            --accent-red: #d90429;
            --bg-cream: #fbf9f5; /* Beige/Crema base */
            --card-cream: #f4efe6; /* Crema de contraste */
            --membership-gold: #b38600; /* Dorado para membresía */
            --membership-bg: #fffbf0;
            --text-dark: #2b2b2b;
            --text-muted: #555555;
            --white: #ffffff;
            --shadow: 0 4px 15px rgba(0,0,0,0.05);
            --radius: 12px;
      }

      * {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          font-family: 'Inter', sans-serif;
      }

      body {
          background-color: var(--bg-cream);
          color: var(--text-dark);
          line-height: 1.6;
      }

      /* Header */
      header {
          background-color: var(--bg-white);
          border-bottom: 2px solid var(--border-light);
          column-gap: 20px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 5px 10px 5px 5px;
          max-width: 1200px;
          margin: 0 auto;
      }

      header span {
        text-align: center;
        font-size: 0.9rem; 
        font-weight: 600; 
        color: var(--text-muted);"
      }


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

        .btn-outline {
            border: 2px solid var(--primary-burgundy);
            color: var(--primary-burgundy);
            padding: 8px 18px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .btn-outline:hover {
            background-color: var(--primary-burgundy);
            color: #fff;
        }

.logo {
          display: flex;
          align-items: center;
          position: relative;
          top: 3px;
          background: var(--bg-beige-card);
          border-radius: 10px;
          max-width: 282px;
          padding: 0px;
          border: 1px solid var(--border-cream);
          box-shadow: 0 4px 12px rgba(0,0,0,0.04);
          text-align: center;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
        }


      .logo img {
          max-width: 280px;
          height: auto;
          margin-left: -3px;
          padding: 0px;
        }

      /* Hero Section */
      .hero {
          background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-dark-burgundy));
          color: white;
          padding: 1rem;
          text-align: center;
      }

      .hero-container {
          max-width: 900px;
          margin: 0 auto;
      }

      .badge {
          background-color: rgba(255, 255, 255, 0.15);
            color: var(--white);
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            display: inline-block;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
      }

      .hero h1 {
          font-size: 2.2rem;
          font-weight: 700;
          margin-bottom: 0.5rem;
          line-height: 1.3;
      }

      .hero p {
          font-size: 1.1rem;
          opacity: 0.9;
          margin-bottom: 1.5rem;
      }

      .meta-info {
          display: flex;
          justify-content: center;
          grid-column-gap: 2rem;
          grid-row-gap: 1rem;
          flex-wrap: wrap;
          background: rgba(255, 255, 255, 0.1);
          padding: 0.5rem;
          border-radius: 8px;
          backdrop-filter: blur(5px);
      }

      .meta-item {
          font-size: 0.95rem;
      }

      /* Main Content Grid */
      .container {
          max-width: 1200px;
          margin: 1.5rem auto;
          padding: 0 1.5rem;
          display: grid;
          grid-template-columns: 2fr 1fr;
          gap: 2rem;
      }

      /* Banner Promocional de Membresía */
        .membership-banner {
            background: var(--membership-bg);
            
            border-radius: var(--radius);
            padding: 0.6rem;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            max-width: 75%;

            position: relative;
            left: 50%; transform: translateX(-50%);
            text-align: left;
        }

        .membership-text h3 {
            color: var(--membership-gold);
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        .membership-text p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0px;
        }

        .badge-tag {
            background: var(--membership-gold);
            color: var(--white);
            font-weight: 600;
            padding: 0.5rem 0.8rem;
            border-radius: 6px;
            font-size: 0.85rem;
            white-space: nowrap;
        }

      @media (max-width: 900px) {
          .container {
              grid-template-columns: 1fr;
          }
      }

      @media (max-width: 768px) {
            .membership-banner {
                flex-direction: column;
                text-align: center;
                min-width: 332px;
            }
            .logo img {
              max-width: 230px;
            }
            header span {
              font-size: 0.8rem; 
            }
        }

      /* Card Styles */
      .card {
          background: var(--bg-white);
          border-radius: 12px;
          padding: 2rem;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
          margin-bottom: 2rem;
          border: 1px solid var(--border-light);
      }

      .card h2 {
          color: var(--primary-burgundy);
          font-size: 1.4rem;
          margin-bottom: 1rem;
          border-bottom: 2px solid var(--bg-cream);
          padding-bottom: 0.5rem;
      }

      /* Speaker Section */
      .speaker-box {
          display: flex;
          align-items: center;
          gap: 1.5rem;
          background-color: var(--bg-cream);
          padding: 1.2rem;
          border-radius: 8px;
          margin-bottom: 0rem;
      }

      .speaker-avatar {
          width: 100px;
          height: 100px;

          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          font-weight: bold;
          font-size: 1.4rem;
          flex-shrink: 0;
      }

      .speaker-avatar img {
            border-radius: 5px;
        }

      .speaker-info h3 {
          font-size: 1.1rem;
          color: var(--text-dark);
      }

      .speaker-info a {
         text-decoration-color: #800020;
      }

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

      .topic-list {
            list-style: none;
        }

        .topic-list > li {
            margin-bottom: 1rem;
        }

        .topic-title {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.3rem;
        }

        .topic-sublist {
            list-style: circle;
            padding-left: 1.5rem;
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .topic-sublist ul {
           padding-left: 1.5rem;
        }

      /* Pricing & Registration Sidebar */
      /* Tarjeta Lateral de Compra */
        .pricing-card {
            background: var(--white);
            border: 2px solid var(--primary);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
            position: sticky;
            top: 1.5rem;
        }

        .promo-tag {
            background: var(--accent-red);
            color: var(--white);
            font-weight: 700;
            font-size: 0.8rem;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            display: block;
            margin-bottom: 1rem;
            text-align: center;
        }

        .payment-option {
          border: 1px solid #E2DED8;
          border-radius: 8px;
          padding: 1rem;
          margin-bottom: 0.8rem;
          justify-content: space-between;
          align-items: center;
          transition: all 0.2s ease;
        }

        .payment-option .txtTitle {
          color: var(--primary-burgundy);
          font-size: 1.4rem;
          border-bottom: 2px solid var(--bg-cream);
          text-align: center;
        }

        .price-option {
            background: var(--card-cream);
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .price-option h4 {
            font-size: 0.95rem;
            color: var(--text-dark);
        }

        .price-amount {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
        }

        .price-old {
            text-decoration: line-through;
            color: #888;
            font-size: 0.85rem;
            margin-left: 0.3rem;
        }

        .discount-tag {
            background-color: #E74C3C;
            color: white;
            font-size: 0.75rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            margin-left: 0.5rem;
        }

        .membership-sidebar-card {
            background: linear-gradient(135deg, #fffbf0 0%, #f7edd0 100%);
            border: 1px solid var(--membership-gold);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .membership-sidebar-card h4 {
            color: var(--membership-gold);
            font-size: 0.95rem;
            margin-bottom: 0.3rem;
        }

        .membership-sidebar-card p {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.8rem;
        }

        .btn-membership {
            display: inline-block;
            width: 100%;
            background-color: var(--membership-gold);
            color: var(--white);
            text-decoration: none;
            padding: 0.5rem;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .bank-details {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 1rem;
            border-top: 1px solid var(--card-cream);
            padding-top: 1rem;
        }

        /* Contact Section */
        .contact-section {
          text-align: center;
          background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-dark-burgundy));
          padding: 15px 15px 5px 15px;
          font-size: 1rem;
          box-shadow: 0 12px 30px rgba(107, 21, 38, 0.12);
          color: #FAF5EF;
        }

        .contact-section h3 {
            color: #FAF5EF;
        }

        .contact-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .contact-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 22px;
            border-radius: 8px;
            background: #F5EFE6;
            color: #4A0E17;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .contact-btn:hover {
            background: #800020;
            color: white;
        }

        .contact-btn i {
            color: #B22222;
        }

        .contact-btn:hover i {
            color: white;
        }

        /* Footer */
        footer {
          text-align: center;
          padding: 10px;
          color: var(--text-muted);
          font-size: 0.85rem;
          border-top: 1px solid var(--border-cream);
        }

        footer .copyR{
          text-align: center;
          color: #FFF;
          margin-top: 20px;
          padding-top: 5px;
          font-size: 0.85rem;
          opacity: 0.7;
          border-top: 1px solid #eee5d8;
        }