/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */





/* CONTENEDOR */
.servicios-galeria {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* TITULO */
.servicios-galeria__titulo {
  /*font-family: 'Playfair Display', serif;*/
  font-size: 36px;
  text-align: center;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* INTRO */
.servicios-galeria__intro {
  text-align: center;
  font-size: 18px;
 /* color: #555;*/
  margin-bottom: 2rem;
  color: #ffffff;
}

/* GRID */
.servicios-galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* CARD */
.servicios-galeria__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.servicios-galeria__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* LINK */
.servicios-galeria__card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

/* IMAGEN */
.servicios-galeria__card img {
  width: 100%;
  display: block;
}

/* CONTENIDO */
.servicios-galeria__contenido {
  background: #24417C;
  padding: 1.2rem;
  text-align: center;
  flex: 1;
}

/* TITULO */
.servicios-galeria__contenido h3 {
  /*font-family: 'Playfair Display', serif;*/
  font-size: 20px;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* TEXTO */
.servicios-galeria__contenido p {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.5;
  min-height: 60px;
}


.servicios-galeria__header{
  background: #24417c; /* color de fondo */
  padding: 40px;
  border-radius: 16px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .servicios-galeria__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .servicios-galeria__grid {
    grid-template-columns: 1fr;
  }

  .servicios-galeria__titulo {
    font-size: 28px;
  }
}



/* bodoni-moda-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/bodoni-moda-v28-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* bodoni-moda-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/bodoni-moda-v28-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* bodoni-moda-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/bodoni-moda-v28-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* bodoni-moda-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/bodoni-moda-v28-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans-v44-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/raleway-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/raleway-v37-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/raleway-v37-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/raleway-v37-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* Aplica Bodoni Moda al H1 DEL HERO */
body h1 {
  font-family: "Bodoni Moda", serif;
    text-transform: uppercase;
    
}


/* Aplica Raleway  h2,h3,h4,h5,h6 */
body h2,h3,h4,h5,h6 {
    font-family: 'Raleway', Arial, sans-serif !important;

}



/* Aplica Open Sans a varios elementos del sitio */
/* p parrafos*/
/* .contact-text informacion de contacto en el pie depagina*/
/*.stk-block-icon-list-item__text, los icon list los black dots y green checks*/
/*.stk-button alos botones */
body p,
.contact-text,
.stk-block-icon-list-item__text,
.stk-button{
    font-family: 'Open Sans', Arial, sans-serif;
}
/* Open Sans en el menú del header */
#header-menu-1 .ct-menu-link {
    font-family: 'Open Sans', Arial, sans-serif;
}

.fila-fondo {

    background:
        linear-gradient(
            to bottom,
            rgba(19, 23, 63, 0.85) 0px,
            rgba(19, 23, 63, 0.4) 80px,
            transparent 160px
        );

    background-repeat: no-repeat;

    padding-top: 160px; 
   padding-bottom: 120px;
}





/* =========================
   HERO PREMIUM REVEAL
========================= */

/* Estado inicial común */
.hero-reveal-title,
.hero-reveal-text,
.hero-reveal-button {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

/* =========================
   DELAYS ESCALONADOS (AJUSTADOS)
========================= */

/* Título */
.hero-reveal-title {
  animation-delay: 0.2s;
}

/* Texto */
.hero-reveal-text {
  animation-delay: 0.35s;
}

/* Botón */
.hero-reveal-button {
  animation-delay: 0.5s;
}

/* Si tienes un 2º botón o extra (opcional) */
.hero-reveal-button.extra {
  animation-delay: 0.65s;
}

/* =========================
   ANIMACIÓN
========================= */

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   BOTÓN CTA HERO (SOLO ESTE)
========================= */

#cta-hero.stk-button {
    background-color: #13173f !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 999px !important;
    padding: 10px 36px !important;
    transform: translateY(0);
    transition: all 0.3s ease !important;

    box-shadow: 0 6px 16px rgba(19, 23, 63, 0.18) !important;
}

/* TEXTO */
#cta-hero .stk-button__inner-text {
    color: #ffffff !important;
}

/* HOVER */
#cta-hero.stk-button:hover {
    background-color: #1a1f52 !important;
    transform: translateY(-2px) !important;

    box-shadow: 0 14px 30px rgba(19, 23, 63, 0.28) !important;
}

/* ACTIVE */
#cta-hero.stk-button:active {
    transform: translateY(0px) scale(0.98) !important;
    box-shadow: 0 6px 16px rgba(19, 23, 63, 0.18) !important;
}





/* =========================================
   INNER COLUMN - EFECTO CARD ELEVADA
========================================= */

.card-elevada{
    background: #ffffff;
    
    padding: 24px;

    border-radius: 18px;

    border: 1px solid rgba(19,23,63,0.06);

    /* SOMBRA BASE */
    box-shadow: 0 12px 40px rgba(19,23,63,0.08);

    /* TRANSICIÓN SUAVE */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}



/* ==========================================================================
   INICIO: SECCIÓN DE IMPLANTES DENTALES CON FONDO FIJO
   ========================================================================== */
/* ==========================================================================
   SISTEMA DE FONDOS FIJOS REUTILIZABLES
   ========================================================================== */

/* 1. CLASE MAESTRA: Activa el fondo congelado en PC y lo corrige en móvil */
.bg-fijo-seccion {
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .bg-fijo-seccion {
    background-attachment: scroll; 
    background-size: cover;
    background-repeat: no-repeat;
  }
}

/* 2. DIRECCIONES EN MÓVIL: Elige hacia dónde se mueve la foto en teléfonos */
@media (max-width: 768px) {
  .movil-izquierda-implantes { background-position: left 20% center !important; }
  .movil-derecha-ortododoncia   { background-position: right 40% center !important; }
  .movil-centro    { background-position: center center !important; }
}

/* 3. IMÁGENES DE TRATAMIENTOS: Añade aquí las fotos de tus páginas */
.img-implantes {
  background-image: url('http://dentalmultiestetik.com/wp-content/uploads/2026/05/doctora-explicando-tratamiento-implantes-dentales.webp');
}

.img-ortodoncia { background-image: url('http://dentalmultiestetik.com/wp-content/uploads/2026/05/alineadores-dentales-invisibles-multiestetik.webp'); }

.img-ortodoncia1 { background-image: url('http://dentalmultiestetik.com/wp-content/uploads/2026/05/paciente-siendo-atendida-ortodoncista.webp'); }

@media (max-width: 768px) {
  .img-ortodoncia1 {
    background-image: none !important;
  }
}
/* Puedes añadir más tratamientos aquí abajo siguiendo el mismo ejemplo: */
/*
.img-ortodoncia { background-image: url('http://dentalmultiestetik.com/wp-content/uploads/2026/05/alineadores-dentales-invisibles-multiestetik.webp'); }
*/
/* ==========================================================================
   FIN: SECCIÓN DE IMPLANTES DENTALES CON FONDO FIJO
   ========================================================================== */




.card {
  background: rgba(255, 255, 255, 0.1); /* fondo transparente */
  backdrop-filter: blur(10px); /* efecto cristal */
  -webkit-backdrop-filter: blur(10px); /* Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
}

@media (max-width: 768px) {
  .card {
    background: rgba(19, 23, 63, 0.55); /* tu azul con transparencia */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
