/* Ajustes de estilo que index.php y ginecologia-estetica.php traen en su <style> al final
   de la página, copiados tal cual (solo cambian las rutas de imágenes a absolutas). */
.about-images .img-2 {
    border: 8px solid #fffdf800;
    box-shadow: none;
}

#waTooltip h4 {
    font-family: "Inter", sans-serif !important;
}

.wa-wrapper {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
}

/* BOTÓN */
.wa-button {
    position: relative;

    width: 60px;
    height: 60px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #fff;

    background: linear-gradient(145deg, #039545, #039545);

    box-shadow:
        0 10px 30px rgba(37, 211, 102, .22),
        0 4px 12px rgba(0, 0, 0, .10);

    overflow: hidden;

    transition:
        transform .28s ease,
        border-radius .28s ease,
        box-shadow .28s ease;
}

/* Hover */
.wa-button:hover {
    transform: translateY(-4px);

    border-radius: 18px;

    box-shadow:
        0 18px 38px rgba(37, 211, 102, .30),
        0 8px 18px rgba(0, 0, 0, .14);

    color: #fff;
}

/* Glow interno */
.wa-glow {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top left,
            rgba(255, 255, 255, .35),
            transparent 45%);
}

/* Icono */
.wa-button i {
    position: relative;
    z-index: 2;

    font-size: 30px;
}

/* Indicador online */
.wa-online {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #fff;
    border: 2px solid #bebebe;

    z-index: 3;
}

/* Tooltip */
.wa-tooltip {
    position: absolute;

    left: 78px;
    bottom: 4px;

    width: 220px;

    background:
        rgba(18, 18, 18, .94);

    backdrop-filter: blur(14px);

    border-radius: 18px;

    padding: 16px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .18);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-10px) scale(.96);

    transition:
        all .28s ease;

    pointer-events: none;
}

/* Tooltip activo */
.wa-tooltip.active {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(0) scale(1);
}

/* Status */
.wa-tooltip-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 600;

    color: rgba(255, 255, 255, .72);

    background:
        rgba(255, 255, 255, .06);

    padding: 6px 10px;

    border-radius: 30px;
}

.wa-tooltip-status .dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #25D366;
}

/* Título */
.wa-tooltip h4 {
    margin: 0 0 6px;

    font-size: 15px;
    font-weight: 600;

    color: #fff;
}

/* Texto */
.wa-tooltip p {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: rgba(255, 255, 255, .68);
}

/* Pulse minimal */
.wa-button::after {
    content: "";

    position: absolute;
    inset: -2px;

    border-radius: inherit;

    border: 1px solid rgba(255, 255, 255, .10);

    animation: waPulse 3s infinite;
}

@keyframes waPulse {

    0% {
        transform: scale(1);
        opacity: .6;
    }

    70% {
        transform: scale(1.08);
        opacity: 0;
    }

    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

/* MOBILE */
@media(max-width:768px) {

    .wa-wrapper {
        left: 16px;
        bottom: 16px;
    }

    .wa-button {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .wa-button i {
        font-size: 28px;
    }
}

.pc {
    display: inherit;
}

.movil {
    display: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #fffdf8;
    border-color: #ab8500;
    color: #ab8500;
}

.service-card:hover .service-icon {
    background: #ffffff;
}

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


    .pc {
        display: none !important;
    }

    .movil {
        display: inherit !important;
    }

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-right: calc(var(--bs-gutter-x) * 1) !important;
    }

    .page-header .page-title {
        font-size: 39px !important;
    }

    .hero-tag {
        font-size: 8px !important;
    }

    .page-header .container .text-cream {
        font-size: 12px !important;
    }

    .btn-outline-light {
        margin-top: 20px;
    }

    .team-card {
        margin-top: 50px;
    }

    .site-footer {
        background-size: cover !important;
    }
}

.topbar-info span {
    color: #6a6a6a;
}

.topbar .topbar-social a {
    color: rgb(106 106 106);
}

.topbar {
    background: #FFEAE7;
}

.bg-sand {
    background: #FAF3EF !important;
}

.contador {
    background: #f2f2f2 !important;
}

.section-title em {
    color: #AB8500;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .footer-about .footer-logo img {
    height: 98px;
}

.team-photo .team-social p {
    color: white;
    font-size: 14px;
    line-height: 19px;
    font-weight: bold;
    margin-top: 20px;
}

.team-card:hover .team-social {
    inset: auto 0 0px 0px !important;
}

.team-card .team-photo .team-social {
    inset: auto 0 -140px 0;

}

.mt-50 {
    margin-top: 50px;
}

.header-inner {
    padding: 0.5rem 0;
}

.site-logo img {
    height: auto;
    width: 174px;
}

.service-photo-card .service-body .price {

    font-size: 12px;
    color: #ffeaca;
    letter-spacing: 0.15em;
    line-height: 17px;
    text-transform: inherit;

}

.cta-banner {
    padding: 8rem 0;
}

.header-inner {
    padding: 0.5rem 0;
}

.site-footer {
    background-size: 100%;
}

.nosotros-inicio {
    background-image: url(/imagenes/favicon-alana-gyn-estetica-femenina-06.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.servicios-bg {
    background-image: url(/imagenes/background-silueta-serrvicios.png) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.bg-ginecologia {
    background-image: url(/imagenes/background-ginecologia-servicios.png);
    background-repeat: no-repeat;
    background-position: right;
    background-attachment: fixed;
}

.bg-galeria {
    background-image: url(/imagenes/background-galeria.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.back-to-top {
    background: #b9945f;
}

.site-header.has-topbar {
    top: 0px;
}

.site-logo .logo-sticky {
    display: none;
}

.site-logo .logo-default {
    display: block;
}

.site-header.is-sticky .site-logo .logo-default {
    display: none;
}

.site-header.is-sticky .site-logo .logo-sticky {
    display: block;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.site-header.is-sticky {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
}

.btn-primary {
    background: #b9945f;
    color: #FFFDF8;
    border-color: #fffdf8;
}

.page-header {
    padding: 0rem 0px 0rem;
}

/* ==========================================================
   Páginas de servicio (plantillas/servicio.php)
   Solo lo que el sitio no tenía: hero con CTA, texto largo,
   pasos numerados, tabla y acordeón de preguntas frecuentes.
   ========================================================== */
.page-servicio .page-header.has-image {
    padding-top: 150px;
    padding-bottom: 90px;
}

.page-servicio .page-header .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.page-servicio .page-header .hero-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: #fffdf8;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-cta .btn {
    margin: 0;
}

.cta-intermedio .lead {
    max-width: 680px;
}

.contenido-servicio a:not(.btn) {
    color: #AB8500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contenido-servicio a:not(.btn):hover {
    color: #5C6B52;
}

.contenido-servicio h3 {
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 2rem;
}

.contenido-servicio ul,
.contenido-servicio ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.contenido-servicio li {
    margin-bottom: 0.5rem;
}

.contenido-servicio li::marker {
    color: #AB8500;
}

.contenido-servicio .aviso-medico {
    font-size: 0.85rem;
    color: #8A8A82;
    margin-top: 1.5rem;
}

.imagen-servicio {
    width: 100%;
}

.tabla-servicio {
    font-size: 0.95rem;
    color: #5A5A52;
    border-color: #E5DFD3;
    margin: 1.5rem 0;
}

.tabla-servicio th {
    background: #F4ECE0;
    color: #1F2620;
    font-weight: 500;
}

.tabla-servicio td,
.tabla-servicio th {
    padding: 0.85rem 1rem;
}

.pasos-servicio {
    margin-top: 2rem;
}

.pasos-servicio .feature-icon {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 1.6rem;
    color: #AB8500;
}

.pasos-servicio .feature-item h3 {
    margin-top: 0;
}

a.tarjeta-servicio {
    display: block;
    height: 100%;
}

a.tarjeta-servicio:hover .service-link {
    color: #AB8500;
    border-color: #AB8500;
}

.faq-servicio .accordion-item {
    background: #FFFDF8;
    border: 1px solid #E5DFD3;
    border-radius: 0;
    margin-bottom: 0.75rem;
}

.faq-servicio .accordion-header {
    margin: 0;
}

.faq-servicio .accordion-button {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #1F2620;
    background: transparent;
    border-radius: 0 !important;
    box-shadow: none;
}

.faq-servicio .accordion-button:not(.collapsed) {
    color: #AB8500;
    background: #FBF7F1;
}

.faq-servicio .accordion-button:focus {
    border-color: #AB8500;
    box-shadow: none;
}

.faq-servicio .accordion-body p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .page-servicio .page-header .hero-intro {
        font-size: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

.pasos-servicio + p {
    margin-top: 2rem;
}
