/* Estilos para la landing page */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    padding-top: 2rem;
    background-color: #FFF;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../img/fondo_sexologia.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(1.4);
    opacity: 0.32;
    z-index: -1;
    transform: scale(1.05); /* evita bordes blancos por el blur */
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    color: #521f02;
    font-weight: 700;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
    height: 100%;
    overflow: hidden;
}

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

body.page-contact .card {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

body.page-contact .card .card-body {
    background: transparent;
}

.card-img-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 0;
}

.card-img-top,
.card-img-center {
    position: relative;
    height: 400px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: #521f02;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #521f02;
    border-color: #521f02;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #661d00;
    border-color: #661d00;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.btn-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    color: #666;
}

.footer a {
    color: #521f02;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Ejemplo de cómo incluir una fuente TTF personalizada */
@font-face {
  font-family: "ssFont";
  src: url("../fonts/bnhrdfan.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Clase para usar la fuente personalizada */
.ssFont {
  font-family: "ssFont", sans-serif;
}
.ssFont-h1 {
  font-family: "ssFont", sans-serif;
  font-weight: bold;
  font-size: 72px;
}
.ssFont-h3 {
  font-family: "ssFont", sans-serif;
  font-weight: bold;
  font-size: 36px;
}
.ssFont-h5 {
  font-family: "ssFont", sans-serif;
  font-weight: bold;
  font-size: 30px;
}
.ssFont-text {
  font-family: "ssFont", sans-serif;
  font-weight: 700;
  font-size: 24px;
}