@font-face {
    font-family: VAGRoundedBT;
    src: url("../includes/fonts/VAGRoundedBT.ttf");
}

@font-face {
    font-family: VAGRoundedStd-Bold;
    src: url("../includes/fonts/VAGRoundedStd-Bold.otf");
}

@font-face {
    font-family: VAGRoundedStd-Light;
    src: url("../includes/fonts/VAGRoundedStd-Light.otf");
}

body {
    font-family: VAGRoundedStd-Light;
  /*font-family: 'Segoe UI', sans-serif;*/
  background-color: #f8f9fc;
  color: #333;
}

.hero {
  background: linear-gradient(#6977FF, #00E0DB);
  color: white;
  padding-top: 80px;
  /*padding: 60px 0;*/
 /* border-radius: 15px;*/
}
.hero-decoraciones {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* para que no molesten al hacer clic */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.decor {
  position: absolute;
  opacity: 0.6;
  z-index: 1;
}

.decor-1 {
  top: 61px;
  left: 228px;
  width: 524px;
  opacity: 0.6;
  position: absolute;
}

@media (max-width: 991.98px) { /* Bootstrap breakpoint para <lg */
  .decor-1 {
    display: none;
  }
}

/*linear-gradient(to right, #6977FF, #00E0DB);*/
.gradient-text { background: linear-gradient(to right,#6977FF, #00E0DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
/*
.card {
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: scale(1.05);
}
*/
.flip-card {
  background-color: transparent;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 200px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.flip-card-front {
  background-color: #ffffff;
  color: #6977FF;
}
.flip-card-back {
  background: linear-gradient(to bottom right, #6977FF, #00E0DB);
  color: white;
  transform: rotateY(180deg);
  font-size: 0.95rem;
  line-height: 1.5;
}
/*
.benefit-icon {
  width: 80px;
  height: auto;
}*/
.benefit-icon {
  width: 60px;
  margin-bottom: 0.75rem;
}

.navbar-light .navbar-nav .nav-link {
  color: #6977FF; /* Violeta Ubicua */
  font-weight: 600;
  transition: color 0.3s ease;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #00E0DB; /* Turquesa de la marca */
}
/*
.navbar-light .navbar-nav .nav-link {
  color: var(--color-secondary);
  font-weight: 600;
  transition: color 0.3s ease;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--color-primary);
}*/
.navbar-altura {
  min-height: 70px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand img {
  height: 50px;
  object-fit: contain;
}


.btn-info {
  background-color: var(--color-primary);
  border: none;
  font-weight: 700;
  border-radius: 30px;
  padding: 0.4rem 1.2rem;
  transition: background-color 0.3s ease;
  color: white;
}
.btn-info:hover {
  background-color: var(--color-secondary);
}
.wave-top {
  margin-bottom: -1px;
  overflow: hidden;
  line-height: 0;
}
.wave-separator {
  margin-top: -1px;
  overflow: hidden;
  line-height: 0;
}

/******************************************/
.perfil-acceso-section {
  background: linear-gradient(to right, #f0f7fc, #ffffff);
  padding: 60px 0;
}

.acceso-card {
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.acceso-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.acceso-card img {
  width: 96px;        /* antes 64px, ahora más grande */
  height: 96px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.acceso-card h5 {
  color: #6977FF;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

/* Bordes colores para diferenciar */
.acceso-paciente {
  border-top: 5px solid #6977FF;
}

.acceso-profesional {
  border-top: 5px solid #00E0DB;
}

/* El botón más grande y ancho */
.acceso-card .btn {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 0;
  border-radius: 30px;
  width: 100%;
}

/* Responsive: en móviles que la tarjeta tenga menos padding */
@media (max-width: 576px) {
  .acceso-card {
    padding: 25px 15px;
  }

  .acceso-card img {
    width: 80px;
    height: 80px;
  }

  .acceso-card h5 {
    font-size: 1.1rem;
  }
}

/* Botón PACIENTE (violeta sólido) */
/*.acceso-card .btn.btn-paciente {
  background-color: #6977FF;
  border: none;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.acceso-card .btn.btn-paciente:hover {
  background-color: #505edb;
}
*/
/* Botón PROFESIONAL (verde agua outline) */
/*.acceso-card .btn.btn-profesional {
  background-color: #00E0DB;
  border: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.acceso-card .btn.btn-profesional:hover {
  background-color: #00E0DB;
  color: #fff;
}
*/
h5.text-paciente, h4.text-paciente  {
    color: #6977FF;
}


#link-validar-receta, h5.text-profesional {
    color: #00E0DB !important;
}

.btn-paciente {
  background-color: #6977FF;
  border: none;
  color: white;
 /* font-weight: 600;*/
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-paciente:hover {
  background-color: #505edb;
  color: #F8F9FA;
}

.btn-profesional {
  background-color: #00E0DB;
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-profesional:hover {
  background-color: #00bcb8;
  color: #F8F9FA;
}

/*----------------------------------------*/
.perfil-acceso-beneficios ul {
  padding-left: 1.2rem;
}
.perfil-acceso-beneficios ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.perfil-acceso-beneficios .btn {
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 30px;
}

.perfil-acceso-beneficios img {
  height: 96px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}
.seccion-institucional {
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/*
.icon-wrapper {
  width: 80px;
  height: 80px;
  background: #e9f1ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}*/

.gradient-text {
  background: linear-gradient(to right, #6977FF, #00E0DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section.seccion-institucional svg {
  display: block;
  margin-bottom: -1px;
}
/*------------------------------------------*/
footer {
  background: linear-gradient(to right, #6977FF, #00E0DB);
  /*background: linear-gradient(#00E0DB, #6977FF);*/
}
/* --------------------------------------- */
.card {
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* sombra suave */
  border-radius: 15px;
  border:0 !important;
}

.card:hover {
 /* transform: scale(1.05);*/
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important; 
}

/*
lip-card-front {
    background-color: #ffffff;
    color: #6977FF;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    */
    /* ---------------------------------*/
.icono-seccion {
  width: 64px;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

@media (max-width: 576px) {
  .icono-seccion {
    width: 40px; /* más pequeño en móviles */
  }
}

/* */
.icono-plan {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 100px;
  max-height: 80px;
  object-fit: contain;
}

.btn-tarifas {
  background-color: #00E0DB;
   color: white;
 font-size: 1.3rem;
  padding: 1rem 2rem;
  border-radius: 0.6rem;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-tarifas:hover,
.btn-tarifas:focus {
  background-color: #00c8c5;
  color: white;
  transform: scale(1.03);
}

.btn-paciente2 {
  background-color: #6977FF;
  border: none;
  color: white;
 /* font-weight: 600;*/
 
  /*padding: 0.6rem 1.5rem;*/
  transition: background-color 0.3s ease;
}

.btn-paciente2:hover,.btn-paciente2:focus {
  background-color: #505edb;
  color: #F8F9FA;
  transform: scale(1.03);
}

/*-----------------------------------*/
.card-receta {
  /*position: relative;*/
  background-image: url('../includes/icons/LOGOcolor_gris.png'); /* asegurate de tener esta imagen */
  background-repeat: no-repeat;
  background-position: center;
  /*background-size: 300px auto; 
  opacity: 1;  */
}

.card-receta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6); /* capa blanca translúcida arriba del fondo */
  z-index: 0;
}

.card-receta > * {
  position: relative;
  z-index: 1;
}