
:root {
  --primary-color: #024896;
  --secondary-color: #6aa3e9;
  --tertiary-color: #252767;
  --dark-bg: #121619;
  --light-gray-bg: #f8f9fa;
  --card-bg: #f3f4f6;
  --text-dark: #212529;
}

@font-face {
  font-family: 'VAG-Rounded-Bold';
  src: url('../../fonts/VAG-Rounded-Bold.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VAG-Rounded-Light';
  src: url('../../fonts/VAG-Rounded-Light.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VAG-Rounded-Black';
  src: url('../../fonts/VAG-Rounded-Black.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VAG-Rounded-Thin';
  src: url('../../fonts/VAG-Rounded-Thin.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VAG-Rounded-Regular';
  src: url('../../fonts/VAG-Rounded-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VAG-Rounded-Medium';
  src: url('../../fonts/VAG-Rounded-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'VAG-Rounded-Regular';
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: normal;
  font-family: 'VAG-Rounded-Regular';
  color: #545454;
}

.banner {
  height: 600px;
  background-image: url(../../assets/img/banner_medio.webp);
  background-size: cover;
  background-position: center;
}

/* Grid contenedor responsive */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

/* Estructura de cada tarjeta */
.card-price {
  position: relative;
  width: 300px;
  height: 250px;
  flex-shrink: 0;
}

/* Botón/Icono circular en la muesca */
.card-price .icon-button {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 3;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.card-price .icon-button:hover {
  transform: scale(1.05);
  background-color: #f0f0f0;
}

.card-price .icon-button svg {
  width: 22px;
  height: 22px;
  stroke: #000000;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(265deg);
}

/* Trazado SVG exacto para el fondo recortado con esquinas suaves */
.card-price .card-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.03));
}

/* Contenido sobre la tarjeta */
.card-price .card-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.card-price .card-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111111;
  padding: 10px 0 0 70px;
  letter-spacing: -0.2px;
  font-family: 'VAG-Rounded-Regular';
}


a.glightbox img {
    border-radius: 30px;
}

.card-price .price-container {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.card-price .price {
  font-size: 5rem;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -2.5px;
  color: var(--primary-color);
  font-family: 'VAG-Rounded-Bold';
}

.card-price .unit {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  font-family: 'VAG-Rounded-Bold';
}

/* Adaptación pantalla pequeña */
@media (max-width: 360px) {
  .card-price {
    width: 100%;
    max-width: 300px;
  }
}

.card {
  position: relative;
  height: 475px;
  background: #EFEFEF;
  border-radius: 32px;
  overflow: hidden;
  border: unset;
}


.card hr {
  border-top: 1px solid;
  border-color: #cecece;
  opacity: unset;
  margin: 10px 0;
  padding: 0;
}


.card h5 {
  font-size: 1.5em;
  font-family: 'VAG-Rounded-Bold';
}


.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 272px;
  height: 232px;
}

.card-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card-image image {
  width: 100%;
  height: 100%;
}

.card-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 232px;
  bottom: 0;
  padding: 26px 31px 20px;
}

.card-title {
  margin: 0 0 14px;
  color: #333333;
  font-size: 22px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.card-description {
  margin: 0;
  color: #222222;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.2px;
}


@media (max-width: 400px) {



  .card-image {
    width: 100%;
    height: calc(90vw * 232 / 272);
  }

  .card-content {
    top: calc(90vw * 232 / 272);
    padding: 9.5% 11.4% 7%;
  }

  .card-title {
    font-size: 7.9vw;
  }

  .card-description {
    font-size: 5.9vw;
  }
}


.btn-congresos {
  border-radius: 18px;
  font-size: 1.3em;
  font-family: 'VAG-Rounded-bold';
  background-color: var(--primary-color);
  border: unset !important;
  line-height: 0;
  margin: 0;
  padding: 6px 26px;
  width: 240px;
  text-wrap: nowrap;
}

.btn-congresos.btn-nav {
  padding: 26px;
  color: #fff;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-wrap: nowrap;
}



.btn-congresos.w-auto {
  width: auto !important;
  text-wrap: nowrap;
}

.btn-congresos.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-congresos:hover, .btn-congresos.active, .btn-congresos.show, .btn-congresos:first-child:active, :not(.btn-check)+.btn-congresos:active {
  background-color: var(--secondary-color);
  color: #fff;
}




.btn-congresos.btn-secondary:hover {
  background-color: #000;
  color: #fff;
}



hr {
  border-top: 2px solid;
  border-color: #fff;
  opacity: unset;
}


#cronograma .container {
  background-color: #F7F7F7;
  border-radius: 30px;
  padding: 50px;
}



.--regfooter h1 {
  font-size: 2em;
  line-height: 1;
  font-family: 'VAG-Rounded-Bold';
  color: #fff;
  margin-bottom: 20px;
}


.--regfooter h2 {
  font-family: 'VAG-Rounded-Regular';
  font-size: 1.5em;
  line-height: 1;
  color: #fff;
}

.--regfooter p {
  font-family: 'VAG-Rounded-Bold';
  font-size: 1.2em;
  line-height: 1;
  color: #fff;
}



.--regfooter a {
  font-family: 'VAG-Rounded-Regular';
  font-size: 1.2em;
  text-decoration: unset;
  color: #fff;
}


.bottom {
  padding: 4vh 0;
}


.bottom p {
  font-family: 'VAG-Rounded-Regular';
  font-size: 1.2em;
  text-decoration: unset;
  color: #000;
  margin: 0;
}

.navbar {
  -webkit-transition: background-color 0.2s ease-out;
  -moz-transition: background-color 0.2s ease-out;
  -o-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
}


.navbar.navShadow {
  background-color: var(--primary-color);
  position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar.navShadow.toggler{
  background-color: #fff;
}

.navbar.navShadow .btn-congresos{
  border: 1px solid #fff !important;
}


.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--secondary-color);
}

.vr {
  background-color: black;
}

p.small {
  font-size: 1.1rem;
  line-height: 1.4;
}

p.small.--light {
  font-family: 'VAG-Rounded-Thin';
}

/* Navbar */
.navbar {
  padding: 25px 0;
}

.navbar-nav,
.navbar-brand {
  z-index: 500;
}

.navbar-nav .nav-link {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  margin-right: 15px;
}

.navbar-nav.navbar-black .nav-link{
  color: #000;
}

/* Hero Section */
.hero-section {
  background: url('../../assets/img/bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 0 !important;
  position: relative;
  height: 850px;
}

.hero-section::before {
  content: "";
  object-fit: cover;
  width: 100vw;
  height: 80vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 400;
  /* filter: opacity(0.5); */
  -moz-box-shadow: inset 0 -8px 0 0 #6ea516;
  /* background: rgb(0, 0, 0); */
  background: -moz-linear-gradient(90deg, rgba(0, 0, 0, 0.6699054621848739) 36%, rgba(114, 89, 59, 0) 100%);
  /* background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.6699054621848739) 36%, rgba(114, 89, 59, 0) 100%); */
  /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.6699054621848739) 36%, rgba(114, 89, 59, 0) 100%); */
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#72593b", GradientType=1);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}


.hero-section p {
  font-size: 1.3em;
  line-height: 1;
}

.hero-section p.small {
  font-size: 1em;
  line-height: 1;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: -2px;
  font-family: 'VAG-Rounded-Black';
  color: #2877ce;
}

.hero-title span {
  font-family: 'VAG-Rounded-Thin';
  font-size: 2.5rem;
  color: #fff;
}

.badge-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  background: var(--primary-color);
  backdrop-filter: blur(40px);
  width: auto;
  justify-content: center;
}

/* Stats Banner */
.stats-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

#info .img-fluid {
  border-radius: 0 50px 50px 0;
}

.stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  gap: 13px;
  flex: none;
  order: 0;
  flex-grow: 0;
  justify-content: center;
  text-decoration: unset;

  transition: transform 0.3s ease; 
}

.stat-item:hover{
  transform: scale(1.1);
}

.stat-item:last-child {
  border-right: none;
}


.stats-banner p {
  font-size: 1.4em;
  line-height: 1;
  font-family: 'VAG-Rounded-Regular';
  color: #fff;
}

.stat-item:hover p, .stat-item:hover h3, .stat-item:hover svg path{
  color: #a1b34b;
  stroke:#a1b34b;
}



.stats-banner h3 {
  font-size: 2.4em;
  font-family: 'VAG-Rounded-Bold';
  padding: 0 5px;
  color: #fff;
}

.boxView {
    width: 80%;
}



.feature-box h6 {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'VAG-Rounded-Bold';
  color: var(--primary-color);
}

.feature-box h6 span {
  display: block;
  font-family: 'VAG-Rounded-Thin';
  color: #000;
}



section {
  padding: 10vh 0;
}



/* General Typography */

.section-tag {
  display: flex;
  align-items: center;
  gap: 16px;
}


.section-tag h6 {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000000;
  margin: 0;
}


.section-tag .dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  ;
  border-radius: 50%;
  display: inline-block;
}


.section-symbol {
  font-family: 'VAG-Rounded-Thin';
  text-transform: uppercase;
  font-size: 8rem;
  line-height: 0;
  letter-spacing: 1px;
}

.section-symbol.small {
  font-size: 5rem;
  color: var(--primary-color);
}

section.section-title {
  display: flex;
  align-items: center;
  padding: 18vh 0 4vh;
}


.section-title {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'VAG-Rounded-Thin';
}

.section-title span {
  font-size: 3.5rem;
  font-family: 'VAG-Rounded-Bold';
  font-style: italic;
  color: var(--secondary-color);
}

/* Round Cards */
.feature-card {
  background: var(--bs-gray-300);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  border: none;
}

/* Fields Section */
.field-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: none;
  height: 100%;
}

.field-card img {
  height: 160px;
  object-fit: cover;
  width: 100%;
}

/* Tabs Agenda */
.nav-pills-custom .nav-link {
  background-color: #e5e7eb;
  color: #4b5563;
  border-radius: 50px 50px 0 50px;
  padding: 14px 45px;
  font-weight: 700;
  margin-right: 10px;
  font-size: 1.5em;
}


.nav-pills-custom .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Speakers Cards */
.speaker-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

.speaker-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Pricing Cards */
.price-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: none;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
}

/* Footer */
.footer-section {
  background-color: var(--tertiary-color);
  color: white;
  padding: 80px 0;
}

.footer-title {
  font-size: 4rem;
  line-height: 1.1;
  color: #fff;
  font-family: 'VAG-Rounded-Black';
}

.footer-title span {
  color: #bbf0ff;
}

.footer-section p {
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  font-family: 'VAG-Rounded-Medium';
}

.--regfooter path{
    fill: #fff;
}

.vl {
  border-left: 1px solid #FFFFFF;
  height: 40px;
}

.owl-theme .owl-nav.disabled+.owl-dots {
  margin-top: 40px;
}

.owl-theme .owl-dots .owl-dot span {
  width: 20px;
  height: 20px;
}


.footer-section .logo-ccar {
  width: 300px;
}


video {
  object-fit: cover;
  width: 100vw;
  height: 80vh;
  position: absolute;
  top: 0;
  left: 0;
}


.text-hero {
  position: relative;
  z-index: 500;
}



.internal {
  background: #ffd382;
  background: radial-gradient(circle, #a5a5a5  0%, #fff 100%);
  padding: 6vh 0;
}

.internal .section-title {
  font-size: 2.8rem;
    line-height: 1;
    color: #000;
    margin-bottom: 0;
}


.internal .section-title span {
    color: #074f3a;
    font-size: 3rem;
    font-style: unset;
}

.card-price:hover .card-svg-bg path {
  fill: var(--primary-color);
  cursor: pointer;
}

.card-price:hover .card-content .card-title,
.card-price:hover .card-content .price,
.card-price:hover .card-content .unit {
  color: white;
}

.profile-card {
  width: 189px;
  height: 297px;
  position: relative;
}

.profile-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* 2. MEDIA QUERIES (Breakpoints) */

/* Tablet (pantallas >= 768px) */
@media (max-width: 768px) {


  .navbar-toggler {
    background-color: var(--primary-color);
  }

  .hero-section p {
    margin-bottom: 0 !important;
  }


  .hero-section::before {
    content: "";
    width: 100vw;
    height: 100vh;
  }


  video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
  }


  .text-hero {
    position: relative;
    z-index: 500;
  }


  iframe {
    border: 0;
    width: 100%;
  }


  .group-btn {
    flex-direction: column;
    margin-top: 60px;
  }

  .group-btn .btn-congresos {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }


  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    color: var(--light-gray-bg);
    text-align: center;
  }

  .navbar-nav .dropdown-menu {
    position: static;
    background-color: transparent;
    border-radius: unset;
    text-align: center;
    border: solid #000;
    border-top-width: 1px;
    border-right-width: 0;
    border-bottom-width: 1px;
    border-left-width: 0;
  }




  .dropdown-item {
    color: #ffffff;
  }

  ul.navbar-nav.ms-auto.align-items-center {
    background-color: var(--secondary-color);
    border-radius: 0 0 16px 16px;
    padding: 40px 0;
    margin-top: 20px;
  }

  .hero-section p.small {
    font-size: 0.8em;
    line-height: 1;
    letter-spacing: 1px;
  }

  .section-tag h6 {
    font-size: 1rem;
    letter-spacing: 0;
  }

  .badge-pill svg {
    display: none;
  }

  .card {
    margin: 0 auto;
  }

  .footer-section .logo-ccar {
    width: 200px;
  }

  .footer-section {
    color: white;
    padding: 60px 30px;
  }

  ul#pills-tab {
    justify-content: left;
    gap: 20px !important;
  }

  .nav-pills-custom .nav-link {
    padding: 14px 25px;
    margin-right: 0;
    font-size: 1.2em;
  }

  .navbar {
    padding: 10px 30px;
  }



  button.btn.btn-dark.btn-congresos {
    display: none;
  }

  #info .img-fluid {
    border-radius: 50px;
  }



  .bottom {
    padding: 4vh 20px !important;
  }

  .stats-banner {
    padding: 25px 0;
  }

  .owl-cronograma .item svg {
    display: none;
  }

  .stat-item {
    padding: 20px;
    background-color: #ffffff52;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    width: 170px;
    min-height: 230px;
  }

  .stats-banner p {
    text-align: center !important;
    font-size: 1.2em;
  }

  .stats-banner h3 {
    font-size: 1.8em;
  }

  .--regfooter .oficial a {
    font-size: 0.9em;
  }

  .stat-item svg {
    width: 30px;
    height: 30px;
  }

  .tematicos-block {
    flex-direction: column;
    gap: 40px;
  }

  .stats-banner-block {
    flex-wrap: wrap;
  }

  .vr {
    display: none;
  }

  section.section-title {
    display: flex;
    align-items: center;
    padding: 12vh 30px;
    font-size: 3rem;
  }

  .row,
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding: 0;
    margin: 0;
  }

  .hero-section .vl {
    height: 20px;
  }

  .lead {
    margin-bottom: 20% !important;
  }

  .hero-section .badge-pill {
    margin: 0 auto;
        text-align: center;
        flex-direction: column;
                width: auto;
        padding: 30px 50px;
  }

  .section-title,
  .section-title span {
    font-size: 2.5rem !important;
  }

  section,
  .container-fluid {
    padding: 60px 30px;
  }

  .p-5 {
    padding: 0 !important;
  }

  #info {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1;
    padding-top: 140px;
  }

  .hero-section p span {
    font-size: 1em;
    line-height: 1;
  }

  .badge-pill {
    padding: 25px 15px;
  }


  .hero-section {
            background-position: inherit;
        padding: 80px 15px !important;
        margin: 0 auto;
        text-align: center;
        height: auto;
        min-height: auto !important;
  }

  .section-symbol.small {
    margin: 0;
  }

  .footer-title {
    font-size: 3.2rem;
    line-height: 1;
  }

  .internal {
    padding: 5vh 30px !important;
  }

}

/* Desktop (pantallas >= 1024px) */
@media (min-width: 1024px) {}

/* Pantallas Grandes / Monitores (>= 1200px) */
@media (min-width: 1200px) {}
