/* =============================
   CONTENEDORES PRINCIPALES
============================= */
.pc-frame-principal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-color: #000;
    font-family: 'Open Sans';
    font-size: 1.1em;
}
.pc-frame-contenido {
    margin-top: 10px;
    max-width: 620px;
    width: 100%;
}
.pc-frame-principal h1 {
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-size: 2.6em;
    text-shadow: 2px 2px 0px rgb(0 0 0 / 37%);
}
.pc-frame-principal h2 {
    font-family: 'Open Sans';
    margin-bottom: 0.2em;
    font-size: 1.6em;
    color: #222;
    text-shadow: 2px 2px 0px rgb(0 0 0 / 37%);
}
.pc-frame-principal p {
    margin-bottom: 1.2em;
    font-size: 1em;
    color: #FFCC00;
    white-space: pre-line;
    text-align: center;
    text-shadow: 1px 1px 0px rgb(0 0 0 / 37%);
}
/* =============================
   IMAGEN DESTACADA Y LOGOTIPO
============================= */
.pc-frame-imagen-destacada {
    position: relative;
    width: 100%;
    margin-bottom: 130px;
}
.pc-frame-imagen-destacada img{
    display: block;
    width: 100%;
    position: relative;
    border-radius: 15px;
}
.pc-frame-logotipo {    
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
}
.pc-frame-logotipo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
/* Título superpuesto sobre imagen destacada */
.pc-imagen-destacada-h2 h2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.53);
    color: #fff;
    text-align: center;
    padding: 0.7em 0;
}
.pc-imagen-destacada-h1 h2 {
    margin: 0;
}
/* Título fijo abajo */
.pc-titulo-imagen {
    position: absolute;
    bottom: 10px;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.pc-imagen-destacada-presentacion {
    background-color: #fff;
    padding: 1em;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/*================
|   PRESENTACIÓN |
================*/
.pc-presentacion {
    background-color: rgb(0 0 0 / 25%); /* fondo negro translúcido */
    color: #ffffff;
    padding: 1.5em;
    border-radius: 12px;
    font-size: 1.1em;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 2em auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/*===========
|   TÍTULOS |
===========*/
.pc-frame-titulos{
    text-align: center;
    margin: 4em 0 1em 0;
}


.pc-frame-titulos h2{
    color:#FFFFFF;
    font-size: 1.8em;
}


/* =============================
   TARJETAS Y CONTENIDO
============================= */
.pc-tarjeta,
.pc-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.pc-card {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



/*===================
|   REDES SOCIALES  |
===================*/
.pc-redes-sociales-contacto {
    width: 100%;
    margin: 2em 0;
}
.pc-redes-sociales-contacto h2 {
    text-align: center;
    color: #1a73e8;
    font-family: 'Open Sans';
}
.pc-rsc-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 3.5em 0;
}
.pc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a73e8; /* Profesionista azul */
    border: 2px solid #ffffff; /* Borde blanco */
    color: #ffffff;
    font-size: 1.4em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.pc-btn:hover {
    background-color: #0f5bcc;
    transform: scale(1.1);
    color: #ffffff;
}
.pc-btn:active,
.pc-btn:focus
{
    color: #ffffff;
}
.pc-btn i{
    font-size: 0.8em;
}







/*===================
|   CONTACTO FINAL  |
===================*/
.pc-contacto-final {
    padding: 1em 0 0 0;
    margin: 2em 0;
}

.pc-contacto-final-btns {    
    max-width: 400px;
    margin: auto;
}

/* Cada línea de contacto (botón o copiable) */
.pc-linea-contacto {
    display: block;
    margin: 1.6em 0;
}
.pc-linea-contacto a,
.pc-linea-contacto button,
.pc-boton-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    background-color: #0573E1;
    color: #fff !important;
    font-weight: 400;
    font-size: 1.2em;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.15s ease; /* transición rápida para regreso */
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;

    /* Suavizar font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pc-linea-contacto a:hover,
.pc-linea-contacto button:hover,
.pc-boton-contacto:hover {
    background-color: #045bb5;
    filter: brightness(0.95);
    transform: scale(1.015);
    color: #fff !important;
    text-decoration: none;

    /* Forzar repintado para que no se vea borroso */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* transición más lenta para crecer */
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}



/* Iconos dentro de los botones */
.pc-linea-contacto a i,
.pc-linea-contacto button i,
.pc-boton-contacto i {
    font-size: 1.2em;
}


/* === MODO COPIAR === */
/*
.pc-copiar-clipboard {
    font-weight: 600;
    color: #1a73e8;
    cursor: pointer;
    display: inline-block;
    transition: color 0.2s;
}
.pc-copiar-clipboard:hover {
    color: #0d47a1;
    text-decoration: underline;
}
.mensaje-copiado {
    display: none;
    margin-left: 8px;
    font-size: 0.9em;
    color: #4caf50;
    font-weight: bold;
}
*/






/*==================================
|   UBICACIÓN O ÁREA DE SERVICIO   |
==================================*/
.pc-ubicacion {
    background-color: #ffffff;
    padding: 2em;
    margin: 2em auto;
    max-width: 620px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
    border-left: 6px solid #0073aa; /* azul WordPress vibes */
}

.pc-ubicacion:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.pc-ubicacion h2 {
    font-size: 1.2em;
    margin-bottom: 0.75em;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-shadow: none;
}

.pc-ubicacion h2 i {
    color: #0073aa;
    font-size: 1.1em;
}

.pc-ubicacion .pc-copiar-clipboard {
    white-space: pre-line;
    color: #444;
    font-size: 1em;
    line-height: 1.6;
}




/* ==========================
|   COPIAR AL PORTAPAPELES  |
===========================*/
.pc-copiar-clipboard {
    position: relative;
    cursor: pointer;
}
.pc-copiar-clipboard::after {
    content: 'Copiado';
    position: absolute;
    top: -1.5em;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}
.pc-copiar-clipboard.copiado::after {
    opacity: 1;
}
/* =======================
|   CONTADOR DE VISITAS  |
========================*/
.pc-contador-visitas-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}
.pc-contador-visitas {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
    background-color: #f4f4f4;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    gap: 6px;
    margin-bottom: 30px;
}
.pc-contador-visitas i {
    color: #3364d6;
    font-size: 1.1rem;
}
.pc-contador-visitas .pc-visitas-texto {
    font-weight: 500;
}

/*COPIAR AL PORTAPAPELES*/
.mensaje-copiado {
    display: none;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.7em;
    font-weight: bold;
    z-index: 999;
}

.pc-copiar-clipboard {
    position: relative;
    cursor: pointer;
}


/* =============================
   OCULTAR ELEMENTOS DEL TEMA
============================= */
header,
.nv-big-title {
    display: none;
}
.container {
    max-width: 100% !important;
    padding: 0 !important;
}


/* =========
|   FOOTER  |
===========*/
#profesionista-footer {
    background-color: #000;
    color: #fff;
    padding: 50px 0px 20px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profesionista-link {
    display: flex;
    flex-direction: column;
    align-items: center;    
    gap: 5px;    
    color: #bdbdbd;
    font-size: 15px;
    font-weight: 700; /* 👈🏼 Más grueso */
    font-family: 'Open Sans', sans-serif;
}

.profesionista-link:hover {
    color: #fff; /* 👈🏼 No cambia al hacer hover */
    text-decoration:underline;
}

.profesionista-logo {
    height: 100px;
}
.profesionista-link a{
    text-decoration: underline;
}






/* =============================
|   MEDIA QUERIES (Responsivo)  |
===============================*/
@media (max-width: 480px) {
    .pc-frame-logotipo img {
        width: 120px;
        height: 120px;
    }
    .pc-imagen-destacada-h1 h1 {
        font-size: 20px;
        padding: 10px;
    }
    .pc-titulo-imagen {
        font-size: 18px;
        padding: 6px 0;
    }
    .pc-botones-contacto a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        margin: 0 4px;
    }
    .pc-card,
    .pc-tarjeta {
        padding: 16px;
    }
    .pc-boton-contacto {
        width: 100%;
        text-align: center;
    }
    /*NUEOV*/
    .pc-frame-contenido {
        padding: 0 15px;
    }
    .pc-frame-imagen-destacada {
        margin-bottom: 60px;
    }
    .pc-frame-logotipo {
        bottom: -60px;
    }
    .pc-frame-logotipo img {
        width: 100px;
        height: 100px;
    }
    .pc-imagen-destacada-h1 {
        padding: 0.5em 0;
    }
    .pc-imagen-destacada-h1 h1 {
        font-size: 1.2em;
    }
    .pc-titulo-imagen {
        font-size: 1em;
        padding: 0.5em;
    }
    .pc-card,
    .pc-tarjeta,
    .pc-contacto-final,
    .pc-ubicacion {
        padding: 1em;
        margin: 1em 0;
    }
    .pc-boton-contacto {
        font-size: 1em;
        padding: 0.8em;
    }
    .pc-rsc-flex {
        gap: 10px;
        margin: 1em 0;
    }
    .pc-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        padding: 15px;
    }
    .pc-botones-compartir .pc-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        padding: 10px;
    }
    .pc-contador-visitas {
        font-size: 0.9em;
    }    
    .pc-boton-contacto i {
        font-size: 1em;
    }
    .pc-lista-guardar-contacto li {
        font-size: 0.9em;
        margin: 0.5em 0;
    }
}