button#boton-menu {
    border: none;
    background: none;
}

figure.wp-block-post-featured-image, figure.wp-block-post-featured-image img {
    max-height: 260px;
    height: 260px;
    object-fit: cover;
    margin: 0;
}

.wp-block-group.tituloentradabloque {
    padding: 10px 0 !important;
}

/* Oculto por defecto */
.menu-desplegable-mobile {
  display: none;
}

/* Cuando está abierto */
.menu-desplegable-mobile.is-open {
  display: flex;
}

/* Animación hamburguesa → cruz */
.boton-menu svg .linea {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.boton-menu.is-open .linea-1 {
  transform: translateY(-6px) rotate(45deg);
}

.boton-menu.is-open .linea-2 {
  opacity: 0;
}

.boton-menu.is-open .linea-3 {
  transform: translateY(6px) rotate(-45deg);
}
section.hero {
    background: url(/wp-content/uploads/2026/02/ipso-facto-home.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    place-content: center;
    text-align: center;
	height: 60vh;}


.hero * {
    z-index: 5;}

.destacado-item img {
    width: 40%;
    align-self: center;}

.imagen img {
    border-radius: 0px 100px 0 100px;}

section.hero .boton1 {
    align-self: center;}

section.destacados * {
    text-align: center;}

section.antiguedad .row {
    align-items: center;}

.row.doflex.mobilecolumn.gap70 .gap20 {
    align-self: center;}

section.contacto {
    align-self: center;
    text-align: center;}

.informacion-contacto img {
    width: 50px;
    height: 50px;
    align-self: center;}

.informacion-contacto {
    padding: 40px;
    border-radius: 20px;}

.informacion-contacto * {
    text-align: left;}

/* Fuerza el layout FLEX solo en este formulario */
#form-reserva.contacto {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px;
}

/* Resetea posibles floats / display anteriores */
#form-reserva.contacto .campo {
  float: none !important;
  display: block !important;
  box-sizing: border-box;
  flex:0 0 calc(50% - 8px) !important;
}

/* El del textarea a 100% */
#form-reserva.contacto .campo.campotextarea {
  flex: 0 0 100% !important;  /* ocupa toda la fila */
}

/* Inputs / textarea a 100% dentro */
#form-reserva.contacto .campo input,
#form-reserva.contacto .campo textarea {
  width: 100% !important;
  display: block;
}


/* Honeypot y recaptcha ocultos */
#form-reserva .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#form-reserva input[name="recaptcha_token"] {
  display: none;
}

/* Móvil: 1 columna */
@media (max-width: 768px) {
  #form-reserva.contacto .campo,
  #form-reserva.contacto .campo.campotextarea {
    flex: 0 0 100% !important;
	}
	p.contacto-dir {
    text-align: left;
}
section.hero.hero-blog h1 {
    line-height: 36px;
}
	
.informacion-contacto {
    gap: 20px;
	padding: 0px;
}}
@media (max-width: 1200px) {
	section.hero, section.hero::before {
    height: 30vh;
}
	.hero h1 {
    font-size: 32px !important;
}
}
.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-touch-device.wpml-ls-legacy-list-horizontal ul {
    display: flex;
    gap: 20px;
}
input, textarea {
    border-radius: 10px !important;
    border: none !important;
    padding: 15px 15px !important;
}

form#form-reserva {
    margin-bottom: 40px;
}

.elemento-somos {
    border-bottom: 1px solid #5FC69A;
    padding-bottom: 10px;}

.exito-item img {
    width: 100px;
    align-self: center;
}
.exito-item {
    text-align: center;
}

section.conseguido {
    text-align-last: center;
}
@media (min-width: 768px) {
.sobre-nosotros h2, .antiguedad h2{
    border-bottom: 3px solid green;
    padding-bottom: 20px;
    margin-bottom: 20px;
	}
.cuerpo-personalizado ul {
    padding: 0 20px !important;
}
}

/* landings */

.texto-hero * {
    z-index: 5;}

.texto-hero * {
    text-align: center;}

.texto-hero h1 {
    color: white;
    font-weight: 300;}

.fondo-cuerpo-personalizado h2 {
    font-weight: 500;}

section.contacto {
    padding-bottom: 40px;}

.hero-personalizado {    background: url(/wp-content/uploads/2026/02/ipso-facto-home.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    height: 60vh;
	    align-items: center;
    place-content: center;
}

input.inputgrande, textarea.inputgrande {
    width: 60%;
}

input.inputgrande, textarea.inputgrande {
    width: 100%;
    background-color: white !important;
    border-radius: 10px;
    border: none;
}

.fondo-cuerpo-personalizado {
    background: url(https://www.ipsofacto-bcn.com/wp-content/uploads/2025/11/fondo-ipso-facto2.svg);
    background-position-x: 110%;
    background-position-y: -150px;
    background-repeat: no-repeat;
    background-size: 60%;
}

.texto-hero p {
    font-size: 20px;
    text-transform: uppercase;
    color: white;
}

.texto-hero button, button.enviar {
    align-self: center;
    background-color: #5fc69a !important;
    color: white !important;
    font-size: 24px;
    border-radius: 10px;
    font-weight: 500;
	padding: 10px 20px;
}

.cuerpo-personalizado  h3 {
    font-weight: 400;
}

.cuerpo-personalizado	ol {
    margin-left: 20px;
}

.cuerpo-personalizado img {
    border-radius: 5px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
	.texto-hero {
    gap: 20px !important;
}
	
	.cuerpo-personalizado * {
    margin: 0;
    padding: 0;
}
	
	.texto-hero h1 {
    line-height: 32px;
}
.cuerpo-personalizado h3 {
 FONT-WEIGHT: 600;
    font-size: 21px;
    line-height: 24px;
}
	
.cuerpo-personalizado h2 {
    font-size: 26px;
    line-height: 30px;
    margin-top: 10px;
}
	
.texto-hero h1 {
  
    color: white !important;
    padding: 0 20px;
	
}

.cuerpo-personalizado h2 {
    font-weight: 500;
    color: #555;
    font-size: 34px;
	    line-height: 34px;
}

.cuerpo-personalizado ul {
    list-style: initial !important;
    padding-left: 20px;
    padding-bottom: 0px;
}

.cuerpo-personalizado li {
    padding-bottom: 10px;
}

.texto-hero button:hover, button.enviar:hover  {
    background-color: white !important;
    color: black !important;
}
section.contacto {
    background-color: #eee;
    padding: 60px 0;}
.hero-personalizado * {
  position: relative;
  z-index: 2;
	}}
@media (max-width: 1220px) {
.contacto-main, .cuerpo-personalizado, .texto-hero {
    width: 100% !important;
}
	.header-contenedor.doflex.dospace.negro {
    width: 100% !important;
    padding: 0 20px;
}

	
.contacto-main {
    flex-direction: column;
}
	section.contacto {
    padding: 30px 0px !important;
}
	.cuerpo-personalizado {
    padding: 30px 20px !important;
    box-sizing: border-box;
}
.texto-hero p {
	font-size: 14px;}
	.texto-hero {
    gap: 0px !important;
}
	.hero-personalizado {
		height: 30vh; 		
		padding-top: 0px !important;}
	.hero-personalizado::before {
    height: 30vh;
    top: 80px;
	}

.cuerpo-personalizado p, .cuerpo-personalizado li {
    font-size: 18px !important;
    line-height: 24px;
}
	.fondo-cuerpo-personalizado {
    background-position-x: 10%;
    background-position-y: 107%;
    background-size: 150%;
}
}


.texto-hero {
    width: 780px;
    margin: auto;
    text-align: center;
	    z-index: 2;
    position: relative;
}

.cuerpo-personalizado {
    padding: 60px 0;
}
.texto-hero h1 {
    font-weight: 400 !important;
    color: white !important;
}
	
/* Solo escritorio */
@media (min-width: 1024px) {

  /* Bloque escritorio */
  .desktop-nav {
    position: relative;
  }

  /* Lista principal: puedes mantener flex, pero acotamos */
  .desktop-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* Submenús NO deben ser flex */
  .desktop-nav-dropdown,
  .desktop-nav-subdropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    background: #fff;
    z-index: 1000;
    min-width: 220px; /* para que se vean bien */
  }

  /* Ítems base */
  .desktop-nav-item,
  .desktop-nav-subitem {
    position: relative; /* referencia para los hijos absolute */
  }

  /* Primer nivel de dropdown (Servicios) */
  .desktop-nav-item--has-dropdown > .desktop-nav-dropdown {
    top: 100%;
    left: 0;
  }

  /* Segundo nivel: abre a la derecha */
  .desktop-nav-subitem--has-dropdown > .desktop-nav-subdropdown {
    top: 0;
    left: 100%;
  }

  /* Mostrar en hover (solo desktop) */
  .desktop-nav-item--has-dropdown:hover > .desktop-nav-dropdown {
    display: block;
  }

  .desktop-nav-subitem--has-dropdown:hover > .desktop-nav-subdropdown {
    display: block;
  }

  /* Links dentro de submenús */
  .desktop-nav-dropdown a,
  .desktop-nav-subdropdown a {
    display: block;
    padding: 8px 12px;
    white-space: nowrap;
    color: #000;
    text-decoration: none;
  }

  .desktop-nav-dropdown a:hover,
  .desktop-nav-subdropdown a:hover {
    background: #eee;
  }
}

	.post-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
	@media (min-width: 1024px) {
.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal {
    padding-left: 20px !important;
}
  /* Asegura que el UL principal sí puede mostrar dropdowns */
  .desktop-nav-list {
    position: relative;
  }

  /* Forzar que los submenús NO se comporten como listas normales */
  .desktop-nav-dropdown,
  .desktop-nav-subdropdown {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
    position: absolute !important;
    background: #fff !important;
    z-index: 1000 !important;
    min-width: 260px;
  }

  /* Ítems padres ancla para los absolute */
  .desktop-nav-item,
  .desktop-nav-subitem {
    position: relative !important;
  }

  /* Colocación del primer nivel */
  .desktop-nav-item--has-dropdown > .desktop-nav-dropdown {
    top: 100%;
    left: 0;
  }

  /* Colocación del segundo nivel */
  .desktop-nav-subitem--has-dropdown > .desktop-nav-subdropdown {
    top: 0;
    left: 100%;
  }

  /* Mostrar en hover */
  .desktop-nav-item--has-dropdown:hover > .desktop-nav-dropdown {
    display: block !important;
  }

  .desktop-nav-subitem--has-dropdown:hover > .desktop-nav-subdropdown {
    display: block !important;
  }

  /* Estilo enlaces */
  .desktop-nav-dropdown a,
  .desktop-nav-subdropdown a {
    display: block;
    padding: 6px 12px;
    white-space: nowrap;
    color: #000;
    text-decoration: none;
  }

  .desktop-nav-dropdown a:hover,
  .desktop-nav-subdropdown a:hover {
    background: #eee;
  }
}
.header-general, .menu-mobile {
    height: 80px;
    background-color: #5fc69a;
}

.header-contenedor {
    height: 80px;
    align-items: center;
    width: 1196px;
    margin: 0 auto;
}

.header-logo img {
    width: 209px;
}

.logo-mobile img {
    width: 200px;
}

a:visited {
    color: inherit !important;
}

.menu-mobile.mobile {
    padding: 0 15px 0 20px;
    align-items: center;
}

.menu-desplegable-mobile {
    position: absolute;
    background-color: white;
    z-index: 99;
    height: calc(100vh - 80px);
    width: 100%;
    padding: 30px 20px !important;
}

.desktop-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-desplegable-mobile nav {
    width: 100%;
}

.menu-desplegable-mobile a.header-link {
    font-size: 24px;
    text-transform: uppercase;
    color: inherit;
    font-weight: 500;
}


  #menu-mobile {
    display: none;
  }

  #menu-mobile.is-open {
    display: flex;
  }

  /* Ocultamos la cruz al inicio */
  .icono-menu--cerrar {
    display: none;
  }

  /* Cuando el botón está abierto, mostramos cruz y ocultamos hamburguesa */
  .boton-menu.is-open .icono-menu--hamburguesa {
    display: none;
  }

  .boton-menu.is-open .icono-menu--cerrar {
    display: inline-block;
  }

button#boton-menu {
    border: none;
    background: none;
	    padding: 0;
}

img.wpml-ls-flag {
    height: 30px;
}
a.wpml-ls-link {
    display: flex;
    height: 40px;
    gap: 5px;
    font-size: 21px;
    align-items: center;
	padding: 0;
}
.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-touch-device.wpml-ls-legacy-list-horizontal {
    padding: 0;
}
nav.rank-math-breadcrumb * {
    color: white !important;
}
.entry-content ul {
    margin: 0 !important;
}
.avisolegal div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cuerpo-personalizado {
    gap: 20px;
}

.contacto-main img {
    width: 330px !important;
}

div.contacto-main input, div.contacto-main textarea {
    border: 2px solid #ddd !important;
}

.hero-personalizado .texto-hero button {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 21px;
}

li.desktop-nav-subitem.desktop-nav-subitem--has-dropdown a {
    background-color: #eee;
    padding: 7px 15px;
}
ul.desktop-nav-dropdown, ul.desktop-nav-subdropdown {
    padding: 20px 0 20px 20px !important;
    background-color: #eee !important;
}

ul.desktop-nav-dropdown a.header-link.desktop-nav-link:hover {
    background-color: #5fc69a;
	border-radius: 20px 0 0 20px;
}

ul.desktop-nav-subdropdown li {
    background-color: #eee;
    padding-left: 20px;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul {
    gap: 20px;
    display: flex;
}

.envios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.envio-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 1rem;
}

.envio-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Móvil: 1 columna */
@media (max-width: 768px) {
    .envios-grid {
        grid-template-columns: 1fr;
    }
}
li.text18-21.desktop-nav-item {
    border-right: 1px solid #888;
    padding-right: 20px;
}
.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal * {
    font-size: 14px !important;
}
img.wpml-ls-flag {
    width: 24px;
}
nav.desktop-nav.doflex {
    align-items: center;
}

.contacto-flotante.mobile.text18-21.bgverde {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5fC69A;
	border: 1px solid #eee;
	color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
}

.page-id-1644 .contacto-flotante.mobile.text18-21.bgverde {
	display: none !important;}

.texto-hero button {
    cursor: pointer;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}