/*
 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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Permanent+Marker&display=swap');


/* VARIABLES POR DEFECTO */



:root {
    --c-negro: #000;
    --c-blanco: #FFFFFF;

    --c-primario: #EA3877;
    --c-primario-dark: #EA3877;
    --c-secundario: blue;

    --c-fondo: #faf8f8;

    --c-grisclaro: #EFEFEF;
    --c-gris: #f9f9f9;

    --font-main: 'Inter', sans-serif;
    --font-deco: 'Permanent Marker', sans-serif;
}

html {
  scroll-behavior: smooth;
}


/* OUTLINE */


*:focus { outline: 0px solid orange; }


/* ESTILOS COMUNES */

.zindex0 {
  z-index:0;
}

.zindex1 {
  z-index:1;
}

h1 {
  font-size: 80px;
  color: var(--c-negro);
  font-weight: 500;
  line-height: 1em;
  margin-bottom: 50px;
}

h2 {
  font-size: 42px;
  color: var(--c-negro);
  font-weight: 800;
  margin-bottom: 0.8em;

}

h3 {
  font-size: 25px;
  color: var(--c-negro);
  font-weight: 800;
  margin-bottom: 1.1em;
}

body {
  font-family: var(--font-main);
  color: var(--c-negro);
  font-size: 1.125rem;
  line-height: 1.6875rem ;
  font-weight: 300;
}

a {
  color: var(--c-primario);
  text-decoration: none;
}

a, a:hover {
  transition: all 0.4s ease !important;
}

a.normal {
  color: var(--c-negro);
}

/* Animación de enlaces destacados con linea por debajo */
.a-destacado {
  display: inline-block;
  position: relative;
}

.a-destacado::after {
    content: "";
    position: absolute;
    width: 0px;
    background-color: var(--c-negro);
    height: 6%;
    transform-origin: left bottom;
    bottom: -8px;
    left: 0;
    transition: all 0.5s ease-in-out;
}

.a-destacado:hover::after {
    width: 100%;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--c-primario);
  font-weight: 700;
}

.deco {
  font-family: var(--font-deco);
  color: var(--c-primario);
}

.subtit-home {
  font-size: 28px;
}

p.letra-pequeña {
    opacity: 0.6;
    font-size: 14px;
    margin-top: -18px;
}

.text-light {
  color: var(--c-blanco);
}

h2.cta {
  font-size: 70px;
  margin-bottom: 0.6em;
  text-wrap-style: balance;
}

p.cta {
    font-size: 25px;
    text-wrap-style: balance;
}

li.cta {
    font-size: 22px;

}

p.apartado {
  font-size: 22px;
  margin-bottom: 0.8em;
}

p.destacado {
    margin-bottom: 0px;
    font-size: 21px;
    text-transform: uppercase;
    padding-left: 10px;
}

.alinear-centro {
  text-align: center;
}

.sombra-bloques>.vce-col-inner {
  box-shadow: 0 20px 30px 0 rgba(65, 69, 55, 0.1);
}

@media (max-width: 768px) {
  h1 {
    font-size: 55px;
    color: var(--c-negro);
    font-weight: 200;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
    
  }

  h3.servicio {
    font-size: 1.2em;
  }

  p.cita {
    font-size: 20px;
    line-height: 1.4em;
    max-width: 90%;
  }

  p.subtitle {
  font-size: 18px;
}

}


/* SPAN PALABRA RESALTADA */

.palabra-resaltada {
  position: relative;
  display: inline-block;
  z-index: 0;
  overflow: visible; 
}

.palabra-resaltada::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  background: linear-gradient(135deg, transparent 0%, var(--color-fondo, var(--c-primario)) 100%);
  opacity: 0.8;
  filter: blur(15px);
  pointer-events: none;
}



/* CAPTCHA */



.grecaptcha-badge {

  display: none;

}

/* 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;
  }

}

/* CONTACTO */

.dato-contacto p:first-child {
  text-transform: uppercase;
  opacity: 0.65;
  font-size: 14px;
  
}

.dato-contacto p:not(:first-child) {
  display: inline-block;
  font-size: 25px;
  position: relative;
  margin-top: 5px;
}

.dato-contacto p:not(:first-child)::after {
  content: "";
  position: absolute;
  width: 70px;
  background-color: var(--c-primario);
  height: 6%;
  transform-origin: left bottom;
  bottom: -8px;
  left: 0;
  transition: all 0.5s ease-in-out;
}

.dato-contacto:hover p:not(:first-child)::after {
  width: 100%;
}


.tabla-precios {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font: inherit;
  color: var(--c-negro, #222);
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  table-layout: fixed;
}
.tabla-precios thead th {
  text-align: left;
  font-weight: 600;
  background: #fafafa;
  color: var(--c-negro, #222);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.tabla-precios td {
  padding: 14px 16px;
  vertical-align: top;
  border-top: 1px solid rgba(0,0,0,.1);
}
.tabla-precios tr:first-of-type td {
  border-top: none;
}
.tabla-precios .precio {
  font-weight: 600;
  color: var(--c-primario-dark, #d81b60);
}

/* Mantener alineación de columnas en escritorio */
.tabla-precios th:nth-child(2),
.tabla-precios td:nth-child(2) {
  width: 190px;
  text-align: right;
  white-space: nowrap;
}
.tabla-precios th:nth-child(1),
.tabla-precios td:nth-child(1) {
  width: calc(100% - 190px);
  word-break: break-word;
}

/* Responsive */
@media (max-width: 640px) {
  .tabla-precios thead {
    display: none;
  }
  .tabla-precios tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .tabla-precios td {
    display: block;
    border: 0;
    padding: 6px 16px;
  }
  .tabla-precios td[data-label]::before {
    display: none; /* quitamos el label duplicado */
  }

  /* Servicio arriba */
  .tabla-precios td.col-servicio {
    font-weight: 500;
    margin-bottom: 6px;
  }

  /* Precio como una línea compacta */
  .tabla-precios td.col-precio {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-primario-dark, #d81b60);
  }
  .tabla-precios td.col-precio::after {
    content: " (sin IVA)";
    font-weight: 400;
    opacity: .8;
    margin-left: 4px;
    color: var(--c-negro, #222);
  }

  .tabla-precios th:nth-child(2),
.tabla-precios td:nth-child(2) {

  text-align: left;

}

.tabla-precios td:nth-child(1) {
    width: calc(100% - 0px);
    word-break: break-word;
}
}

ul.lista-especial {
  list-style: none; /* quitamos los bullets por defecto */
  margin: 1em 0;
  padding-left: 0;
}

ul.lista-especial li {
  position: relative;
  padding-left: 28px; /* espacio para el cuadrado */
  margin-bottom: 10px;
  line-height: 1.5;
}

/* el cuadradito rosa */
ul.lista-especial li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em; /* centrado vertical */
  width: 12px;
  height: 12px;
  background-color: var(--c-primario, #e91e63); /* tu rosa corporativo */
 
}

ul.flechita {
  list-style: none; /* quitamos el bullet estándar */
  margin: 1em 0;
  padding-left: 0;
  border-top: 1px solid #fff;
  padding-top: 30px;
}

ul.flechita li {
  position: relative;
  padding-left: 50px; 
  margin-bottom: 10px;
  line-height: 1.5;
}

ul.flechita li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em; /* centrado vertical aproximado */
  width: 30px;   /* ajusta según tamaño que quieras */
  height: 30px;
  background-image: url("https://tumarcasalvaje.rildev03.eu/wp-content/uploads/2025/10/Recurso-19@2x.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.num {
  color: var(--c-primario);
  font-size: 70px;
  opacity: 0.4;
  font-weight: 800;
  margin-bottom: 50px;
  margin-top: 20px;
}

/* BLOG */

h1.entry-title {
  font-size: 70px;
  padding-bottom: 50px;
  margin-top: 50px;
}

body.post-template-default .site-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 100px;
    max-width: 80%;
    margin-inline: auto;
}

.wp-show-posts-image.wpsp-image-center {
    border: 1px solid #423c3c38;
}

h2.wp-show-posts-entry-title {
    line-height: 0.7em;

    a {
      font-size: 28px;
      color: #000;
  }
}

.comments-area {
    display: none;
}

.btn.volver-blog {
    padding-top: 40px;

    a {
      padding: 10px 30px;
    }
}

.page-header-image-single {
  border: 1px solid #423c3c38;
}


.single-post {
  .inside-article {
            padding: 0px !important
  }
}

@media (max-width: 640px) {
  .single-post {
    h1 {
      font-size: 35px;
    }
  }
}

@media (max-width: 768px) {
  h2.cta {
    font-size: 30px !important;
  }

  p.cta {
    font-size: 20px;
  
}

.columna:last-child {
    margin-right: auto;
}
}


.btn-contacto {
    background-color: var(--c-primario) !important;
    display: block !important;
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    padding: 10px !important;
    border-radius: 50%;
    width: 75px !important;
    height: 75px !important;
    transition: all 0.4s ease;
    z-index: 100 !important;
    box-shadow: 0 20px 30px 0 rgba(65, 69, 55, 0.18);
}

.btn-contacto img {
    transform: scale(0.7);
}

.btn-contacto:hover {
    bottom: 50px !important;
    transition: all 0.4s ease;
}