body {
    background-color: #f9f9f9;
    color: #333;
}

/* ######### HOME ########## */

.profile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.profile-img img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100px;
}

.btn-reservar {
    background-color: #007BFF;
    border: none;
}

.btn-reservar:hover {
    background-color: #0056b3;
}

.hour {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hour:hover {
    background-color: #0056b3;
}

.date-label {
    font-weight: 600;
}

.d-none {
    display: none !important;
}

@media screen and (max-width: 576px) {

    .btn {
        font-size: 0.7rem;
        padding: 0.3rem;
    }
}



/* ######### PERFIL NEGOCIO CUSTOM ########## */

/* GENERAL */
:root {
    --fondo: #ffffff;
    --fondo2: #f2fbfc;
    --principal: #007bff;
    --secundario: #c2e3ff;
    --font1: #fff;
    --font2: #000;
    --perfil-primary-rgb: 0, 123, 255;
}

/* === PELUQUERÍA === */
.theme-peluqueria {
    --fondo: #ffffff;
    --fondo2: #fafaec;
    --principal: goldenrod;
    --principal-light: #faf8ef;
    --secundario: rgba(247, 245, 133, 0.9);
    --font1: #fff;
    --font2: #000;
    --perfil-primary-rgb: 218, 165, 32;
}

/* === CANCHA DE FÚTBOL === */
.theme-cancha {
    --fondo: #ffffff;
    --fondo2: #ecfaec;
    --principal: #2e7d32;
    --secundario: #66bb6a;
    --font1: #fff;
    --font2: #000;
    --perfil-primary-rgb: 46, 125, 50;
}

/* === ESTETICA === */
.theme-estetica {
    --fondo: #ffffff;
    --fondo2: #ecfaec;
    --principal: #500631;
    --principal-light: #faf2f7;
    --secundario: #cc6aa3;
    --font1: #fff;
    --font2: #000;
    --perfil-primary-rgb: 80, 6, 49;
}

/* === PADEL === */
.theme-padel {
    --fondo: #ffffff;
    --fondo2: #ecfaec;
    --principal: #281388;
    --secundario: #5d4ac5;
    --font1: #fff;
    --font2: #000;
    --perfil-primary-rgb: 40, 19, 136;
}

/* === MANICURA === */
.theme-manicura {
    --fondo: #ffffff;
    --fondo2: #ecfaec;
    --principal: #851c85;
    --secundario: #cc6aa3;
    --font1: #fff;
    --font2: #460d43;
    --perfil-primary-rgb: 133, 28, 133;
}

/* === PALETAS CONFIGURABLES DEL PERFIL === */
.profile-palette-azul {
    --fondo: #ffffff;
    --fondo2: #eff6ff;
    --principal: #1d4ed8;
    --principal-light: #eff6ff;
    --secundario: #c2410c;
    --font1: #ffffff;
    --font2: #172033;
    --perfil-primary-rgb: 29, 78, 216;
}

.profile-palette-esmeralda {
    --fondo: #ffffff;
    --fondo2: #ecfdf5;
    --principal: #047857;
    --principal-light: #ecfdf5;
    --secundario: #92400e;
    --font1: #ffffff;
    --font2: #172033;
    --perfil-primary-rgb: 4, 120, 87;
}

.profile-palette-violeta {
    --fondo: #ffffff;
    --fondo2: #f5f3ff;
    --principal: #6d28d9;
    --principal-light: #f5f3ff;
    --secundario: #be185d;
    --font1: #ffffff;
    --font2: #172033;
    --perfil-primary-rgb: 109, 40, 217;
}

.profile-palette-borgona {
    --fondo: #ffffff;
    --fondo2: #fff1f2;
    --principal: #9f1239;
    --principal-light: #fff1f2;
    --secundario: #9d174d;
    --font1: #ffffff;
    --font2: #172033;
    --perfil-primary-rgb: 159, 18, 57;
}

.profile-palette-dorada {
    --fondo: #ffffff;
    --fondo2: #fffbeb;
    --principal: #92400e;
    --principal-light: #fffbeb;
    --secundario: #b45309;
    --font1: #ffffff;
    --font2: #172033;
    --perfil-primary-rgb: 146, 64, 14;
}

.profile-palette-terracota {
    --fondo: #ffffff;
    --fondo2: #fff7ed;
    --principal: #9a3412;
    --principal-light: #fff7ed;
    --secundario: #c2410c;
    --font1: #ffffff;
    --font2: #172033;
    --perfil-primary-rgb: 154, 52, 18;
}


/* /////////  PERFIL ////////////  */

body {
    background-color: var(--fondo);
    color: var(--font2);
}


h1, h2, h3, h4 {
    color: var(--principal);
    font-size: 2.5rem;
}

h5, h6 {
    color: var(--principal);
}

@media (max-width: 567px) {
    body {
        font-size: 0.9rem;
    }
    
    h1, h2, h3, h4 {
        font-size: 2rem;
    }


}

.text-custom {
    color: var(--principal);
}

.color-principal {
    color: var(--principal);
}

.color-secundario {
    color: var(--secundario);
}

.bg-custom{
    background-color: var(--fondo2);
}

.bg-custom-light{
    background-color: var(--principal-light);
}

/* Botones(filtros)*/
.btn-custom {
    background-color: var(--principal);
    color:var(--font1);
}

.btn-custom:hover {
    background-color: var(--secundario);
    color:var(--font1);
}

.btn-outline-custom {
    border-color: var(--principal);
    color:var(--principal);
}

.btn-outline-custom:hover {
    background-color: var(--principal);
    color:var(--font1);
}

.btn-outline-custom.active {
    background-color: var(--secundario);
    color:var(--font1);
}

section {
    padding: 2rem 0;
}

.small2 {
    font-size: 0.7rem;
}

/* SECCIÓN TITULOS */
.section-title {
    font-weight: 700;
    color: var(--principal);
    text-align: center;
    font-size: 1rem;
}

.navbar {
    background-color: var(--principal);
    color: var(--font1);
}

.navbar-brand {
    color: var(--font1);
}

.nav-link{
    color: var(--font1);
}

.navbar-brand {
    color: var(--font1);
    font-size: 1rem;
}

/* CONTENEDOR GENERAL */
.perfil-section {
  padding: 3rem 0;
  padding-bottom: 1rem;
}

/* HERO CENTRADO */
.perfil-hero {
  position: relative;
  width: 80%;
  height: 50vh;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: center;
}

/* IMAGEN REAL */
.perfil-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.perfil-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTENIDO ENCIMA */
.perfil-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

/* LOGO */
.perfil-logo {
  max-width: 140px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
}

/* LOGO */
.perfil-logo-lite {
  max-width: 50px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .perfil-hero {
    width: 95%;
    height: 35vh;
  }
}

@media (max-width: 567px) {
  .perfil-hero {
    height: 28vh;
  }

  .perfil-logo {
    max-width: 80px;
  }

  .perfil-hero-content h1 {
    font-size: 1.8rem;
  }
}

/* SERVICIOS CARD PERFIL */

/* Botón acordeón limpio */
.accordion-button-clean {
  background: transparent;
  box-shadow: none;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

/* Quitar flecha */
.accordion-button-clean::after {
  display: none;
}

/* Quitar fondo al estar abierto */
.accordion-button-clean:not(.collapsed) {
  background: transparent;
  color: inherit;
}

.servicio-card-perfil {
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.servicio-card-perfil:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* Imagen arriba */
.servicio-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.servicio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Texto compacto mobile */
.servicio-card-perfil h6 {
  font-size: 0.95rem;
}

.servicio-card-perfil .card-body {
  flex-grow: 1;
}




/* GALERIA */
.gallery-img {
    border-radius: 15px;
    object-fit: cover;
    width: 100%;
    height: 180px;
}

/* REDES*/

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    height: 110px;
    transition: all 0.3s ease;
}

.social-card i {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Colores por red */
.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook {
    background-color: #1877f2;
}

.twitter {
    background-color: #14171a;
}

.whatsapp {
    background-color: #25d366;
}

@media (max-width: 576px) {
    .social-card {
        height: 90px;
        font-size: 0.9rem;
    }
}

/* ////////// RESERVA ///////////// */
#navegador-dias h5 {
    font-size: 1.5rem;
}

.day-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 5px;
  scroll-snap-type: x mandatory;
}

.day-scroller::-webkit-scrollbar {
  display: none;
}

.day-item {
  flex: 0 0 auto;
  width: 70px;
  border-radius: 12px;
  background: #f8f9fa;
  text-align: center;
  padding: 8px 6px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.day-item:hover {
  background: #eef3ff;
}

.day-item.active {
  background: var(--principal);
  color: #fff;
  border-color: var(--principal);
}

.day-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.day-number {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.day-month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.cont-elegir {
    background-color: var(--principal);
    padding: 0.3rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    #navegador-dias h5 {
        font-size: 0.9rem;
    }
}


/* Horarios chip */
.turno-chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #212529;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.turno-chip:hover {
  background-color: var(--secundario);
  color: #fff;
  border-color: var(--secundario);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
    .turno-chip {
        padding: 15px 30px;
        border-radius: 999px;
        font-weight: 500;
        font-size: 1.1rem;
        }

}

/* ////////  SERVICIOS CARD PERFIL//////////// */

.servicio-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
    height: auto;
}

.servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
}

.servicio-img-reserva {
    height: 50%;
    max-height: 200px;
    overflow: hidden;
}

.servicio-img-reserva img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cuerpo */
.servicio-card .card-body {
    flex: 1;
}



/* /////////  CHECKOUT /////////  */

#custom-peluqueria .alert {
    background-color: var(--secundario);
    border: var(--principal);
    color: var(--font2);
}

.progress-stepper{
  position: sticky;
  top: 50px;   /* altura del navbar */
  z-index: 999;
  background: white;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  flex: 1;
  position: relative;
}

.circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background: white;
  transition: all .25s ease;
}

.step.active .circle {
  border-color: var(--principal);
  background: var(--principal);
  color: white;
}

.step.completed .circle {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

.line {
  height: 2px;
  background: #dee2e6;
  flex: 1;
}

.label {
  margin-top: 6px;
  font-size: 11px;
  text-align: center;
}

/* ===== Perfil público renovado ===== */
.ry-shell-profile {
  --perfil-canvas: #f6f7fb;
  --perfil-text: #172033;
  --perfil-muted: #64748b;
  background: var(--perfil-canvas);
  color: var(--perfil-text);
}

.ry-shell-profile h1,
.ry-shell-profile h2,
.ry-shell-profile h3,
.ry-shell-profile h4 {
  font-size: inherit;
}

.perfil-navbar {
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: color-mix(in srgb, var(--principal) 92%, #10213b 8%);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.14);
}

.perfil-navbar .navbar-brand {
  min-width: 0;
  max-width: min(50vw, 360px);
  color: #fff;
}

.perfil-navbar-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.perfil-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  filter: invert(1);
}

.perfil-navbar .nav-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 550;
}

.perfil-navbar .nav-link:hover,
.perfil-navbar .nav-link:focus-visible {
  color: #fff;
}

.perfil-nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  border-color: #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--principal);
  font-weight: 700;
}

.perfil-nav-cta:hover {
  border-color: var(--fondo2);
  background: var(--fondo2);
  color: var(--principal);
}

.perfil-navbar-spacer {
  height: 68px;
}

.perfil-hero-shell {
  padding: 1.5rem max(1rem, calc((100vw - 1320px) / 2));
}

.perfil-hero {
  width: 100%;
  max-width: 1320px;
  height: min(620px, 68vh);
  min-height: 430px;
  align-items: flex-end;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.perfil-hero-lite {
  height: auto;
  min-height: 360px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.2px, transparent 1.4px),
    linear-gradient(135deg, color-mix(in srgb, var(--principal) 82%, #10213b 18%), var(--principal));
  background-size: 22px 22px, cover;
}

.perfil-overlay {
  background:
    linear-gradient(90deg, rgba(8, 15, 28, 0.82) 0%, rgba(8, 15, 28, 0.46) 52%, rgba(8, 15, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 15, 28, 0.58), transparent 55%);
}

.perfil-hero-content {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1.25rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  text-align: left;
}

.perfil-logo {
  width: clamp(88px, 11vw, 132px);
  height: clamp(88px, 11vw, 132px);
  max-width: none;
  border: 4px solid rgba(255, 255, 255, 0.9);
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.perfil-hero-eyebrow {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.perfil-hero-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.perfil-hero-lead {
  max-width: 55ch;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
}

.perfil-rating {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  color: #fff;
  font-size: 0.88rem;
}

.perfil-rating i {
  color: #fbbf24;
}

.perfil-rating span {
  color: rgba(255, 255, 255, 0.72);
}

.perfil-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.btn-perfil-primary,
.btn-perfil-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 0.75rem;
  font-weight: 700;
}

.btn-perfil-primary {
  border-color: #fff;
  background: #fff;
  color: var(--principal);
}

.btn-perfil-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-perfil-primary:hover,
.btn-perfil-secondary:hover {
  border-color: var(--fondo2);
  background: var(--fondo2);
  color: var(--principal);
}

#servicios {
  scroll-margin-top: 88px;
  padding-top: 3.5rem;
}

.perfil-section-heading {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.perfil-section-heading > span {
  color: var(--principal);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.perfil-section-heading h2 {
  margin: 0.35rem 0;
  color: var(--perfil-text);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 750;
}

.perfil-section-heading p {
  margin: 0;
  color: var(--perfil-muted);
}

.perfil-category-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.perfil-category-chip {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #fff;
  color: var(--perfil-muted);
  font-weight: 650;
}

.perfil-category-chip:hover,
.perfil-category-chip.active {
  border-color: var(--principal);
  background: var(--principal);
  color: #fff;
}

.perfil-services-group {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem !important;
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.perfil-services-group .accordion-button-clean {
  justify-content: space-between;
  padding: 1rem 1.25rem;
  color: var(--perfil-text);
  text-align: left;
}

.perfil-services-group .accordion-button-clean::after {
  display: block;
}

.perfil-services-group .accordion-button-clean small {
  margin-left: auto;
  margin-right: 0.75rem;
  color: var(--perfil-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.servicio-card-perfil {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.servicio-card-media {
  display: block;
}

.servicio-img-wrapper {
  aspect-ratio: 16 / 10;
}

.servicio-card-title {
  margin: 0;
  color: var(--perfil-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.servicio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: var(--perfil-muted);
  font-size: 0.8rem;
}

.servicio-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.servicio-card-price {
  color: var(--perfil-text);
  font-size: 1.05rem;
}

.perfil-about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.perfil-about-eyebrow {
  color: var(--principal);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.perfil-about-card h2 {
  margin: 0.4rem 0 0.75rem;
  color: var(--perfil-text);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 750;
}

.perfil-about-card p {
  max-width: 70ch;
  margin: 0;
  color: var(--perfil-muted);
  line-height: 1.7;
}

.perfil-review-summary {
  min-width: 140px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--principal) 8%, #fff 92%);
}

.perfil-review-summary > span {
  color: #f59e0b;
  font-size: 1.25rem;
}

.perfil-review-summary strong {
  color: var(--perfil-text);
  font-size: 2rem;
  line-height: 1.1;
}

.perfil-review-summary small {
  color: var(--perfil-muted);
}

.perfil-gallery-section .row {
  align-items: stretch;
}

.perfil-gallery-section .gallery-img {
  height: clamp(180px, 24vw, 280px);
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.perfil-gallery-section .gallery-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.perfil-info-section {
  margin-bottom: 3rem;
  border-block: 1px solid #e2e8f0;
  background: #eef2f7;
}

.perfil-info-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.perfil-info-card h6 {
  color: var(--perfil-text);
  font-size: 1rem;
}

.perfil-info-card iframe {
  border: 0;
}

.perfil-info-card li {
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef2f7;
}

.perfil-info-card li:last-child {
  border-bottom: 0;
}

.perfil-social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.perfil-social-links a {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dbe2ea;
  border-radius: 50%;
  background: #fff;
  color: var(--perfil-text);
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.perfil-social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--principal);
  color: var(--principal);
}

.perfil-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.2px, transparent 1.4px),
    linear-gradient(135deg, color-mix(in srgb, var(--principal) 82%, #10213b 18%), var(--principal));
  background-size: 22px 22px, cover;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.perfil-final-cta > span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.perfil-final-cta h2 {
  margin: 0.35rem 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 750;
}

.perfil-final-cta p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

.perfil-mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
}

.perfil-mobile-contact {
  width: 46px;
  flex: 0 0 46px;
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #15803d;
}

@media (max-width: 991.98px) {
  .perfil-navbar .navbar-collapse {
    padding: 0.75rem 0 1rem;
  }

  .perfil-nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .ry-shell-profile {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .ry-shell-profile .btn {
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .perfil-hero-shell {
    padding: 0.75rem;
  }

  .perfil-hero {
    min-height: 500px;
    height: 68vh;
    border-radius: 1.25rem;
  }

  .perfil-hero-lite {
    min-height: 420px;
    height: auto;
  }

  .perfil-overlay {
    background: linear-gradient(0deg, rgba(8, 15, 28, 0.86) 0%, rgba(8, 15, 28, 0.35) 75%, rgba(8, 15, 28, 0.2) 100%);
  }

  .perfil-hero-content {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }

  .perfil-logo {
    width: 78px;
    height: 78px;
  }

  .perfil-hero-actions,
  .perfil-hero-actions .btn {
    width: 100%;
  }

  .perfil-category-nav {
    justify-content: flex-start;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
  }

  .perfil-services-group .accordion-body {
    padding: 0.75rem;
  }

  .perfil-about-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .perfil-review-summary {
    min-width: 0;
    grid-template-columns: auto auto 1fr;
    justify-content: start;
    gap: 0.5rem;
  }

  .perfil-review-summary strong {
    font-size: 1.35rem;
  }

  .perfil-gallery-section .gallery-img {
    height: 180px;
  }

  .perfil-info-card .card-body {
    padding: 1rem !important;
  }
}

/* ===== Identidad visual generada cuando faltan imagenes ===== */
.perfil-brand-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.32) 0 5%, transparent 6%),
    linear-gradient(145deg, color-mix(in srgb, var(--principal) 72%, #ffffff 28%), color-mix(in srgb, var(--principal) 84%, #10213b 16%));
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.perfil-navbar-logo.perfil-brand-avatar {
  background-color: var(--principal);
  color: #fff;
  font-size: 0.78rem;
}

.perfil-logo.perfil-brand-avatar {
  background-color: var(--principal);
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.75rem);
}

.perfil-cover-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  background-color: var(--principal);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.2px, transparent 1.4px),
    radial-gradient(circle at 82% 24%, color-mix(in srgb, var(--secundario) 62%, transparent) 0 13%, transparent 13.3%),
    linear-gradient(125deg, color-mix(in srgb, var(--principal) 86%, #10213b 14%), color-mix(in srgb, var(--principal) 68%, var(--secundario) 32%));
  background-size: 22px 22px, auto, auto;
  color: #fff;
  text-align: right;
}

.perfil-cover-monogram {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(-2.5rem, -4vw, -1rem);
  color: rgba(255, 255, 255, 0.1);
  font-size: clamp(10rem, 30vw, 28rem);
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 0.8;
  white-space: nowrap;
}

.perfil-cover-name,
.perfil-cover-rubro {
  position: relative;
  z-index: 1;
  max-width: min(50%, 560px);
  text-wrap: balance;
}

.perfil-cover-name {
  color: rgba(255, 255, 255, 0.34);
  font-size: clamp(1.4rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.perfil-cover-rubro {
  margin-top: 0.65rem;
  padding: 0.32rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.servicio-media-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--principal) 10%, #f8fafc 90%);
  background-image:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--principal) 24%, transparent) 0 10%, transparent 10.5%),
    linear-gradient(145deg, color-mix(in srgb, var(--principal) 7%, #fff 93%), color-mix(in srgb, var(--principal) 21%, #fff 79%));
  color: var(--principal);
}

.servicio-media-pattern {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  right: -26%;
  bottom: -62%;
  border: 1px solid color-mix(in srgb, var(--principal) 20%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px color-mix(in srgb, var(--principal) 5%, transparent),
    0 0 0 44px color-mix(in srgb, var(--principal) 4%, transparent);
}

.servicio-media-initials {
  position: relative;
  z-index: 1;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1;
}

.servicio-media-label {
  position: relative;
  z-index: 1;
  max-width: 75%;
  overflow: hidden;
  color: color-mix(in srgb, var(--principal) 70%, #334155 30%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.perfil-demo-location {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--principal) 22%, #dbe2ea 78%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--principal) 7%, #fff 93%);
  color: color-mix(in srgb, var(--principal) 78%, #334155 22%);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .perfil-cover-fallback {
    align-items: flex-start;
    padding: 1.25rem;
    text-align: left;
  }

  .perfil-cover-name,
  .perfil-cover-rubro {
    max-width: 82%;
  }

  .perfil-cover-name {
    font-size: clamp(1.35rem, 8vw, 2.2rem);
  }

  .perfil-cover-monogram {
    right: -0.25rem;
    bottom: 8%;
    font-size: clamp(9rem, 52vw, 15rem);
  }
}
