/* ===== NAVBAR TRANSPARENTE INICIAL ===== */
.navbar-transparent {
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Links en estado inicial */
.navbar-transparent .nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

/* ===== NAVBAR SCROLLEADA ===== */
.navbar-scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Mantener texto blanco */
.navbar-scrolled .nav-link {
  color: #263D65 !important;
}

/* Logo transición */
.navbar-logo {
  transition: opacity 0.3s ease;
}

/* ===== Toggler (burger) coherente ===== */
.navbar-transparent .custom-toggler span {
  background-color: #ffffff;
}

.navbar-scrolled .custom-toggler span {
  background-color: #263D65;
}


.wrapper{
max-height: 600px;
display: flex;
overflow: auto;

}

.wrapper ::-webkit-scrollbar{
    width: 0px;
}
.map-responsive{

    overflow:hidden;

    padding-bottom:50%;

    position:relative;

    height:0;

}

.map-responsive iframe{

    left:0;

    top:0;

    height:100%;

    width:100%;

    position:absolute;
}


.card{

    background: white;
}
.card-border{
    border: solid 5px #263D65;
    border-radius: 20px;
    overflow: hidden;
    transition: all ease-out 0.2s;
}
.card-border:hover{
    transform: scale(1.05);

}

.info{

    background: #263D65;
}
.info-border{
    border: solid 2px #263D65; 
    border-radius: 10px;
    overflow: hidden;
    transition: all ease-out 0.2s;
}
.info-border:hover{
    transform: scale(1.05);

}


.btn{

    background-color: #263D65;
    font-family: quicksand;
    color: #FFFF;
    border-color: white;
}

.btn-border{
    transition: all ease-out 0.2s;
}

.btn-border:hover{
    transform: scale(1.5);
}
.bg-form{

    background-color: #263D65;
    color: white;
    
}


.bg-catarpsi{

    background: #263D65;
    font-family: quicksand;

}
.bg-citas{
    background-color: white;
}

body{
    background:url(../img/BGMAIN.png);
    overflow-x: hidden;
}


@font-face {
    font-family: quicksand;
    src: url(../fonts/static/Quicksand-Light.ttf);
}


h1{
    font-family: quicksand;
}


h2 {

font-family: quicksand;
color: white;

}
h3 {

    font-family: quicksand;
    color: #263D65;
}
h4{
    font-family: quicksand;
    color: #263D65;
}

h5{

    font-family: quicksand;
    color: #263D65;
    text-align: center;
}


h6{

    font-family: quicksand;
    color: #263D65;
}

p {
    font-family: quicksand;
    color: #FFFF;
}

hr{

    color: #263D65;

}

.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 100px;
  height: 100px;
  background-color: #F6777C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  animation: whatsapp-pulse 2.5s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 100px;
  height: 100px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


@media (max-width: 576px) {
  .whatsapp-float {
    width: 100px;
    height: 100px;
    bottom: 14px;
    right: 14px;
  }

  .whatsapp-float img {
    width: 100px;
    height: 100px;
  }
}


/* ===== BURGER BUTTON ANIMADO ===== */

.custom-toggler {
  border: none;
  background: transparent;
  width: 40px;
  height: 30px;
  position: relative;
  padding: 0;
  z-index: 1051;
}

.custom-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.35s ease;
  left: 0;
}

.custom-toggler span:nth-child(1) {
  top: 0;
}

.custom-toggler span:nth-child(2) {
  top: 13px;
}

.custom-toggler span:nth-child(3) {
  bottom: 0;
}

/* Quitar borde/focus del burger */
.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ESTADO ABIERTO → X */
.custom-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}

.custom-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 13px;
}

@media (max-width: 991px) {
  .navbar-collapse {
    transition: all 0.35s ease;
  }
}

@media (max-width: 991px) {

  /* MENÚ CUANDO NAVBAR ES TRANSPARENTE */
  .navbar-transparent .navbar-collapse {
    background: #ffffff00;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px;
    border-radius: 16px;
    margin-top: 12px;
    animation: fadeDown 0.35s ease;
  }

  /* MENÚ CUANDO NAVBAR ESTÁ SCROLLEADA */
  .navbar-scrolled .navbar-collapse {
    background: #ffffff;
    color: #263D65;
    padding: 16px;
    border-radius: 16px;
    margin-top: 12px;
    animation: fadeDown 0.35s ease;
  }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1040;
  }

}


@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HERO CAROUSEL ===== */
#carouselExample {
  min-height: 100vh;
  scroll-margin-top: 80px;
}

#carouselExample .carousel-inner,
#carouselExample .carousel-item,
.hero-slide {
  min-height: 100vh;
}

#carouselExample img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Desktop grande */
@media (min-width: 992px) {
  #carouselExample {
    min-height: 85vh;
  }
}

.carousel-item {
  transition: transform 1.1s cubic-bezier(.4,0,.2,1);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-item.active .hero-card {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  #carouselExample,
  #carouselExample .carousel-inner,
  #carouselExample .carousel-item,
  .hero-slide {
    min-height: 100svh;
    height: 100svh;
  }

  #carouselExample {
    position: relative;
    z-index: 1;
  }

    body {
    background:url(../img/BGMAIN.png);
  }
}



.hero-slide {
  position: relative;
  height: 100%;
}

/* ===== CARD BLANCA ===== */
.hero-card {
  position: absolute;
  left: 6%;
  bottom: 15%;
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 24px;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: fadeUp 0.8s ease both;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

/* Texto */
.hero-card h2 {
  color: #263D65;
  font-size: 30px;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-card p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .hero-card {
    padding: 22px;
    border-radius: 20px;
  }

  .hero-card h2 {
    font-size: 22px;
  }

  .hero-card p {
    font-size: 14px;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 14px;
  }
}


.btn-hero {
  background: linear-gradient(135deg, #5B7CFA, #6C8CFF);
  border: none;
  border-radius: 14px;
  padding: .75rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Hover */
.btn-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(91, 124, 250, 0.3);
}


/* Active (click) */
.btn-hero:active {
  transform: scale(0.97);
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Informacion page */

.bento-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.page-hero {
  background: linear-gradient(
    rgba(38,61,101,0.75),
    rgba(38,61,101,0.75)
  );
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #fff;
  scroll-margin-top: 80px;
}

.page-hero-info {
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #fff;
  scroll-margin-top: 80px;
  background: linear-gradient(
    rgba(38,61,101,0.75),
    rgba(38,61,101,0.75)
  );
}


/* ===== SERVICIOS ===== */

.service-item {
  border: 0;
  border-radius: 18px;
  margin-bottom: 1.2rem;
  background: #fff;
  box-shadow:
    0 8px 24px rgba(38, 61, 101, 0.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(38, 61, 101, 0.10);
}


.service-header {
  padding: 1.25rem 1.5rem;
  background: transparent;
}


.service-header:hover {
  transform: translateY(-3px);
}

.service-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.service-header h5 {
  margin: .25rem 0 0;
  font-weight: 600;
  color: #263D65;
}


.service-price {
  font-weight: 700;
  color: #263D65;
  background: #F3F6FB;
  padding: .4rem .8rem;
  border-radius: 12px;
  font-size: .9rem;
  white-space: nowrap;
}


/* BADGES */
.service-badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3px;
}

.badge-student { background:#E8F0FE; color:#1A4ED8; }
.badge-prime { background:#FFF2E5; color:#B45309; }
.badge-wellness { background:#E6F4EA; color:#137333; }
.badge-free { background:#EEF2FF; color:#4338CA; }
.badge-special { background:#FCE7F3; color:#9D174D; }

/* BODY */
.service-body {
  background: #fff;
  border-radius: 0 0 18px 18px;
  padding: 26px;
}

.service-body {
  padding: 1.5rem;
  background: #FAFBFF;
}

.service-body p {
  color: #4A5D73;
  line-height: 1.6;
  margin-bottom: 1rem;
}


.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}


.service-features li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: .4rem;
  color: #263D65;
  font-size: .9rem;
}

.service-features li::before {
  position: absolute;
  left: 0;
  color: #5B7CFA;
}

@media (max-width: 768px) {
  .service-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-price {
    margin-top: .5rem;
  }
}



/* lOGIN/REGISTER */
.auth-visual {
  position: relative;
  overflow: hidden;
}

.auth-slide {
  height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 60px;
}

.auth-message {
  background: rgba(255,255,255,0.92);
  padding: 28px 32px;
  border-radius: 22px;
  max-width: 420px;
  animation: fadeUp 0.8s ease both;
}

.auth-message h2 {
  color: #263D65;
  margin-bottom: 8px;
}

.auth-message p {
  color: #555;
}

.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}


/* ===== AUTH LAYOUT FIX DEFINITIVO ===== */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-layout-full {
  min-height: calc(100vh - 80px);
  margin-top: 80px; /* altura navbar */
}


@media (max-width: 768px) {
  .auth-layout {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .auth-layout-full {
    margin-top: 70px;
  }

  .auth-visual {
    display: none;
  }

  .auth-form {
    padding: 20px;
  }

  .auth-box {
    padding: 28px 22px;
    border-radius: 20px;
  }
}


/* ===== INFO PAGE BACKGROUND OVERLAY ===== */
body.page-info {
  position: relative;
  background:
    url('../img/ROSA@4x.png') center / cover no-repeat;
}

.services-section {
  max-width: 900px;
}

/* ===== CARD ERROR BLANCA ===== */
.error-card {
  left: 50%;
  bottom: 50%;
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 24px;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: fadeUp 0.8s ease both;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

/* Texto */
.error-card h2 {
  color: #263D65;
  font-size: 64px;
  margin-bottom: 12px;
  font-weight: 600;
}

.error-card p {
  color: #555;
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .error-card {
    padding: 22px;
    border-radius: 20px;
  }

  .error-card h2 {
    font-size: 22px;
  }

  .error-card p {
    font-size: 14px;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 14px;
  }
}
