/*

 Theme Name:   GeneratePress Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/


/* FUENTE */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Kapakana:wght@300..400&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
/* VARIABLES POR DEFECTO */

:root {

    --c-negro: #171219;
    --c-blanco: #FFFFFF;

    --c-primario-dark: #22392C;
    --c-primario: #2e4d3b;

    --c-secundario: #e4d28b;

    --c-fondo: #f7f4f0;

    --c-grisclaro: #EFEFEF;
    --c-gris: #f9f9f9;
}

/* OUTLINE */


*:focus { 
  outline: 0px solid orange;
 }

::selection {
  background-color: #22392c17; 
  color: var(--c-primario-dark); 
}

html {
  scroll-behavior: smooth;
}

.zindex0 {
  color: var(--c-negro);
}

.zindex1 {
  z-index:1;
}

/* ESTILOS COMUNES */

body {
  font-family: 'Raleway', sans-serif;
  color: var(--c-primario-dark);
  font-size: 1.125rem;
  line-height: 1.6875rem;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 2vw;
}


h1.tit-subpage {
  font-size: 60px;
}

h3.interior {
  font-size: 29px;
}
/* 
Subtitulo con línea

Ejemplo de uso: 

<span class="subtitulo-decorativo">Esto e sun título</span>

*/

.subtitulo-decorativo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;  
  position: relative;
  display: inline-block;
}

.subtitulo-decorativo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 15px);
  transform: translateY(-50%);
  width: 150px;
  height: 1px;
  background: transparent; /* valor por defecto */
}

/* Línea blanca */
.subtitulo-decorativo.line-white::after {
  background: var(--c-fondo);
}

/* Línea negra */
.subtitulo-decorativo.line-black::after {
  background: var(--c-primario-dark);
}

@media (max-width: 500px) {

  .subtitulo-decorativo::after {
    display: none;
  }
}

/* Animación de enlaces destacados con linea por debajo */
.a-destacado {
  display: inline-block;
  position: relative;
}

.a-destacado::after {
    content: "";
    position: absolute;
    width: 30px;
    background-color: var(--c-primario-dark);
    height: 6%;
    transform-origin: left bottom;
    bottom: -8px;
    left: 0;
    transition: all 0.5s ease-in-out;
}

.a-destacado:hover::after {
    width: 100%;
}



/* OTROS ESTILOS DE TEXTO */

p {
  margin-bottom: 1.1em;
}

.caligrafico {
  font-family: 'Kapakana';
  font-size: 23px;
}

.cita {
  font-size: 35px;
  line-height: 3rem;
}

.text-light {
  color: var(--c-fondo);
}

.alinear-centro {
  text-align: center;
}

.sombra-bloques>.vce-col-inner {
  box-shadow: 0 20px 30px 0 rgba(65, 69, 55, 0.1);
}

/* ENLACES */

a {
  opacity: 1;
  text-decoration: none;
  transition: all 0.4s ease !important;
  color: inherit !important;
}

a:hover {
  opacity: 0.8;
  
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--c-primario-dark);
  font-weight: 700;
}

/* Responsive estilos generales */

@media (max-width: 768px) {

   h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  
  .cita {
    font-size: 25px;
    line-height: 1.8rem;
  }


  h1.tit-subpage {
  font-size: 35px;
}

h3.interior {
  font-size: 22px;
}

.movil-centro {
  text-align: center !important;
}
}

/* HOME */

.logo-home {
    max-width: 300px !important;
    margin-inline: auto;
}

@media (max-width: 1080px) {

  .logo-home {
    max-width: 250px !important;
}
}

@media (max-width: 780px) {
  .logo-home {
    max-width: 150px !important;
 
}
}
/* CLICKABLE */
.vce-col.clickable a:after {
  content: "";
  display: block; 
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2; 
  height: 300%;
        top: -200% !important;
}

.clickable a, .clickable p {
  position: relative;
}

.servicios-home {
  .vce-col.clickable a:after {
        height: 300%;
        top: -200% !important;
      
  }
}

.clickable .vce-col-content, .clickable .vce-col-inner {
  position: static;
}

.clickable {
  .vce-asset-background-simple-item.vcv-lozad {
  transition: transform 0.5s ease-in-out;
  transform: scale(1);
}
}

.clickable:hover {
  .vce-asset-background-simple-item.vcv-lozad {
  transform: scale(1.05);
}
}

/* MARGEN PANTALLAS PANORÁMICAS */

@media (min-width: 1800px) {
  .entry-content > .vce-row-container > .vce-row:not(.full-width)  {
    padding-inline: 25% !important;
  }
  .textwidget.custom-html-widget  {
    padding-inline: 10% !important;
  }

}


/* CAPTCHA */

.grecaptcha-badge {
  display: none;
}

.hito {
  position: relative;
 
}

.hito::before {
  content: '';
  position: absolute;
  top: 40%;
  left: -74px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--c-primario-dark); /* color del borde del círculo */
  border-radius: 50%;
  background-color: var(--c-fondo);
  
  transition: background-color 0.3s;
}

.hito.activo::before {
  background-color: var(--c-primario-dark); /* el relleno al estar activo */
}

.timeline {
    position: absolute;
    top: 40%;
    bottom: 0;
    left: 100%;
    width: 1px;
    height: 404vw;
    background-color: var(--c-primario-dark);
}

@media (max-width: 1200px) {

}

@media (max-width: 780px) {
  .hito::before, .timeline {
    display: none;
  }

}


/* CONTACTO */

.mapa {
  filter: grayscale(100%) sepia(4%) brightness(0.95) contrast(1.07); 
  cursor: pointer;
}

 
.vce-google-maps-inner iframe {
  opacity: 0.6;
  transition: opacity 0.8s ease;
}

.vce-google-maps-inner:hover iframe {
  opacity: 1;
}

.video-joyeria {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  video {
    width: 900px;  /* ajusta este valor según el tamaño deseado */
  height: auto;
  max-width: 100%;
 
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); /* opcional: efecto visual */
  }

}

ul.lista-especial {
  list-style: none; /* Quitar los puntos por defecto */
  padding-left: 0 !important; /* Eliminar sangría predeterminada */
  margin-left: 0;
}

ul.lista-especial li {
  position: relative;
  padding-left: 2em; /* Espacio para el icono */
  margin-bottom: 0.25em; /* Espacio entre elementos */
}

ul.lista-especial li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1em;
  height: 1em;
  background-image: url("/wp-content/uploads/2025/07/item-lista-1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.pie-de-pagina {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5em;
  position: relative;
  padding-left: 1.2em;
}

.pie-de-pagina.flecha-izda::before {
  content: "<";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #888;
}

.pie-de-pagina.flecha-der::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #888;
}