/*
Theme Name: Tema Gestoria Nerea Sanchez
Theme URL:
Description:  Tema Gestoria Nerea Sanchez
Author: Peslam
Author
Template: twentyseventeen
Version: 1.0.0
Text  Tema Gestoria Nerea Sanchez
*/

#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}

html {
    scroll-behavior: smooth;
    font-family: "Hanken Grotesk", sans-serif;
}

* {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: #121212;
}

@media screen and (max-width: 978px){
    * {
        font-size: 15px;
    }
}
/* Header */

.home header {
    background: transparent;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    padding: 20px 50px;
    border-bottom: 1px solid #FFFFFF33;
    background: #121212;
}

header .container-gestoria {

    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container-gestoria .custom-logo-link {
    width: 200px;
    height: auto;
}

header .container-gestoria .custom-logo-link img {
    width: 100%;
    height: auto;
}

header .container-gestoria #site-navigation {
    display: flex;
    align-items: center;
}

header .container-gestoria .menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
}

header .container-gestoria .menu  li a {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    color: #FFFFFF;
    padding: 0.5em 1em;
}

header .container-gestoria .menu  li a svg {
    fill: #fff;
}

header .container-gestoria .menu  li a:hover {
    color: #dfcacb;
}

header .container-gestoria .menu li.menu-item-has-children {
    position: relative;
}

header .container-gestoria .menu li.menu-item-has-children .sub-menu {
    position: absolute;
    top: 110%;
    left: 0;
    transform: translateY(-10px);
    transition: 0.3s;
    margin: 0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    min-width: 16em;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background-color: #121212;
    padding: 30px 15px;
    list-style: none;
}

header .container-gestoria .menu li.menu-item-has-children:hover > .sub-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

header .container-gestoria .menu li.menu-item-has-children:hover > .sub-menu li {
    margin-bottom: 10px;
}

header .container-gestoria .menu li.menu-item-has-children:hover > .sub-menu li:last-child {
    margin-bottom: 0;
}

header .menu-icon {
    display: none;
}


/* Header responsive */
@media screen and (max-width: 978px) {

    header {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    header .container-gestoria {
        width: 100%;
        max-width: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;

        gap: 12px;
    }

    /* Logo */
    header .container-gestoria .custom-logo-link {
        width: 145px;
        height: auto;
        flex-shrink: 0;
    }

    header .container-gestoria .custom-logo-link img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Navegación: idiomas + hamburguesa */
    header .container-gestoria #site-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 12px;
        margin-left: auto;
    }

    /* Icono hamburguesa */
    header .menu-icon {
		position: relative;
		z-index: 1001;

		display: block;

		width: 28px;
		height: 21px;

		margin-left: 8px;
		padding: 0;
		flex-shrink: 0;

		cursor: pointer;
	}

	header .menu-icon span {
		position: absolute;
		left: 0;

		display: block;

		width: 100%;
		height: 2px !important;
		min-height: 2px !important;
		max-height: 2px !important;

		margin: 0 !important;
		padding: 0 !important;

		border: 0 !important;
		border-radius: 0 !important;

		background: #ffffff !important;
		box-shadow: none !important;

		line-height: 0 !important;

		transition:
			top 0.3s ease,
			bottom 0.3s ease,
			transform 0.3s ease,
			opacity 0.3s ease;
	}

	header .menu-icon span:nth-child(1) {
		top: 0;
	}

	header .menu-icon span:nth-child(2) {
		top: 50%;
		transform: translateY(-50%);
	}

	header .menu-icon span:nth-child(3) {
		bottom: 0;
	}

	header .menu-icon.active {
		position: fixed;
		top: 24px;
		right: 22px;
	}

	header .menu-icon.active span:nth-child(1) {
		top: 50%;
		transform: translateY(-50%) rotate(45deg);
	}

	header .menu-icon.active span:nth-child(2) {
		opacity: 0;
	}

	header .menu-icon.active span:nth-child(3) {
		top: 50%;
		bottom: auto;
		transform: translateY(-50%) rotate(-45deg);
	}

    /* Menú móvil cerrado */
    header .container-gestoria .menu {
        position: fixed;
        top: 0;
        left: -110%;

        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;

        margin: 0;
        padding: 130px 24px 55px;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        list-style: none;

        overflow-x: hidden;
        overflow-y: auto;

        box-sizing: border-box;
        background: #000000;

        -webkit-transition: left 0.35s ease;
        transition: left 0.35s ease;

        z-index: 999;
    }

    /* Menú móvil abierto */
    header .container-gestoria .menu.active {
        left: 0;
    }

    /* Elementos principales */
    header .container-gestoria .menu > li {
        width: 100%;
        margin: 0 0 22px;

        text-align: center;
    }

    header .container-gestoria .menu > li > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        max-width: 100%;
        padding: 5px 8px;

        font-size: 27px;
        font-weight: 600;
        line-height: 1.2em;

        color: #ffffff;
        white-space: normal;
        text-align: center;
    }

    /*
     * Submenú Servicios:
     * anulamos el posicionamiento de escritorio
     */
    header .container-gestoria .menu li.menu-item-has-children {
        position: static;
    }

    header .container-gestoria .menu li.menu-item-has-children .sub-menu {
        position: static;

        width: calc(100% - 30px);
        max-width: 310px;
        min-width: 0;

        margin: 12px auto 0;
        padding: 22px 16px;

        transform: none;
        opacity: 1;
        visibility: visible;

        background: #121212;
        box-shadow: none;

        list-style: none;
        box-sizing: border-box;
    }

    header .container-gestoria .menu li.menu-item-has-children .sub-menu li {
        width: 100%;
        margin: 0 0 14px;
        padding: 0;

        text-align: center;
    }

    header .container-gestoria .menu li.menu-item-has-children .sub-menu li:last-child {
        margin-bottom: 0;
    }

    header .container-gestoria .menu li.menu-item-has-children .sub-menu li a {
        display: block;

        width: 100%;
        padding: 2px 5px;

        font-size: 21px;
        font-weight: 500;
        line-height: 1.25em;

        color: #ffffff;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {

    header {
        padding: 13px 18px;
    }

    header .container-gestoria .custom-logo-link {
        width: 135px;
    }

    header .container-gestoria .menu {
        padding-right: 18px;
        padding-left: 18px;
    }

    header .container-gestoria .menu > li > a {
        font-size: 24px;
    }

    header .container-gestoria .menu li.menu-item-has-children .sub-menu li a {
        font-size: 20px;
    }
}
	

.container-gestoria {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

/* Elements */

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
    margin-left: 25px;
}

h1,h2,h3,h4 {
    padding: 0;
}


h2 {
    color: #121212;
    font-size: 50px;
    font-weight: 700;
    line-height: 1em;
}

h3 {
    color: #121212;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.22em;
}

h5 {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    color: #000;
    border-bottom: 0.5px solid #000;
    display: inline-block;
    margin-bottom: 40px;
}


@media screen and (max-width: 978px){
    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 28px;
    }

    h5 {
        font-size: 12px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 3.6px;
        color: #000;
        border-bottom: 0.5px solid #000;
        display: inline-block;
        margin-bottom: 20px;
    }
}

.white-color-text * {
    color: #fff;
}

.button-gestoria-black * {
    color: #fff !important;
}


button, input[type="button"], input[type="submit"] {
    height: 55px;
    margin: 8px 0px 0px 0px;
    gap: 20px;
    color: #FFFFFF;
    fill: #FFFFFF;
    background-color: #121212;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    transition: all .3s;
    padding: 17px 35px;
    border: 1px solid #1c1d20;
}


/* Home */

.home-entry-slider * {
    color: #fff;
}

.home-entry-slider h1 {
    font-size: 80px;
    font-weight: 800;
    line-height: 1em;
    margin: 0 0 20px 0;
}

.home-entry-slider h3 {
    display: inline-block;
    background-color: #FFFFFF1F;
    padding: 5px 12px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px 8px 8px 8px;
}

.home-entry-slider p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25em;
    padding-top: 15px;
    margin: 0 100px 0px 0;
    display: inline-block;
    border-top: 1px solid;
}


.home-entry-slider-box p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4em;
    color: #fff;
}

.home-entry-slider-box h3 {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    color: #fff;
    border-bottom: 0.5px solid #fff;
    display: inline-block;
    margin-bottom: 40px;
}

@media screen and (max-width: 978px) {
    .home-entry-slider h1 {
        font-size: 40px;
        font-weight: 800;
        padding-right: 20px;
    }

    .home-entry-slider h3 {
        font-size: 14px;
    }


    .home-entry-slider p {
        font-size: 15px;
    }

    .home-entry-slider-box p {
        font-size: 16px;
    }

    .home-entry-slider-box h3 {
        margin-bottom: 20px;
    }
}

.number-item-box p {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.14em;
    color: #121212;
    margin: 0;
}

@media screen and (max-width: 978px){
    .number-item-box p {
        font-size: 18px;
    }
}

.number-item-box p:first-child {
    font-size: 14px;
    font-weight: 400;

}

.number-item-big-box p {
    color: #121212;
    font-size: 18px;
    font-weight: 400;
}


.number-item-big-box p:first-child {
    font-size: 50px;
    font-weight: 700;
    line-height: 1em;
    margin-bottom: 20px;
}

/* Lista */

/* Lista de servicios */
.list-gestoria {
    height: 100%;
}

.list-gestoria .elementor-widget-container {
    height: 100%;
}

.list-gestoria ul {
    display: flex;
    flex-direction: column;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-gestoria ul li {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;

    border-bottom: 1px solid #AFBECA;
    margin: 0;
    padding: 28px 38px;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.5em;
    color: #121212;
}

/* Título de cada servicio */
.list-gestoria ul li strong {
    display: block;
    margin: 0 0 10px 0;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.25em;
    color: #121212;
}

/* Último servicio sin línea inferior */
.list-gestoria ul li:last-child {
    border-bottom: 0;
}

/* Tablet y móvil */
@media screen and (max-width: 978px) {
    .list-gestoria,
    .list-gestoria .elementor-widget-container,
    .list-gestoria ul {
        height: auto;
    }

    .list-gestoria ul li {
        flex: initial;
        padding: 24px 20px;
        font-size: 15px;
        line-height: 1.5em;
    }

    .list-gestoria ul li strong {
        margin-bottom: 8px;
        font-size: 18px;
    }
	
	.list-gestoria ul li span {
		display: block;
		margin-top: 10px;
		font-size: 17px;
		font-weight: 400;
		line-height: 1.5em;
		color: #121212;
	}
}

/* ==================================================
   FOOTER
================================================== */


/* Franja superior de contacto */

.footer-landing-subheader {
    margin-top: 100px;
}

.footer-landing-subheader .container-gestoria {
    display: flex;
    justify-content: flex-end;
}

.footer-landing-subheader-green,
.footer-landing-subheader-black {
    min-height: 70px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 16px;
    font-weight: 600;
}

.footer-landing-subheader-green {
    position: relative;
    min-width: 420px;
    padding: 0 60px;

    background: #dfcacb;
    color: #121212;
}

.footer-landing-subheader-green::before {
    content: "";

    position: absolute;
    right: 0;
    bottom: -15px;

    width: 22px;
    height: 15px;

    background-color: #dfcacb;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 1;
}

.footer-landing-subheader-black {
    min-width: 680px;
    padding: 0 80px;

    background: #282828;
    color: #ffffff;
}

.footer-landing-subheader a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none !important;
}

.footer-landing-subheader-green a {
    color: #121212;
}

.footer-landing-subheader-black a {
    color: #ffffff;
}

.footer-landing-subheader a:hover {
    opacity: 0.75;
}


/* Footer principal */

.footer-landing {
    background: #121212;
    padding: 90px 45px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(300px, 1.65fr)
        minmax(165px, 0.9fr)
        minmax(155px, 0.8fr)
        minmax(175px, 0.9fr)
        minmax(250px, 1.25fr);

    gap: 50px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}


/* Logo y presentación */

.footer-main-logo {
    margin-bottom: 30px;
}

.footer-main-logo .custom-logo-link {
    display: block;
    width: 230px;
    height: auto;

    box-shadow: none !important;
}

.footer-main-logo .custom-logo-link img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-description,
.footer-location {
    max-width: 450px;
    margin: 0 0 15px;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.65em;
    color: #d4d4d4;
}

.footer-collegiate {
    display: inline-block;

    margin: 8px 0 0;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.18);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5em;
    color: #ffffff;
}


/* Encabezados */

.footer-column h2 {
    margin: 4px 0 25px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3em;

    text-transform: uppercase;
    letter-spacing: 2.5px;

    color: #ffffff;
}


/* Menús */

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0 0 13px;
    padding: 0;

    border: 0;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    position: relative;
    display: inline-block;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.45em;

    color: #ffffff;
    text-decoration: none;

    box-shadow: none !important;
    transition: color 0.3s ease;
}

.footer-menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -3px;

    width: 0;
    height: 1px;

    background: #dfcacb;
    transition: width 0.3s ease;
}

.footer-menu a:hover {
    color: #dfcacb;
}

.footer-menu a:hover::after {
    width: 100%;
}


/* Logos europeos */

.footer-funding-logos {
    display: grid;
    grid-template-columns: 95px minmax(150px, 1fr);

    gap: 18px;
    align-items: center;
}

.footer-funding-logos img {
    display: block;

    width: 100%;
    height: auto;
    max-height: 70px;

    object-fit: contain;
    object-position: left center;
}

.footer-funding-logos img:last-child {
    grid-column: 1 / -1;

    width: 100%;
    max-width: 300px;
    max-height: 64px;

    margin-top: 5px;
}


/* Parte inferior */

.footer-bottom {
    margin-top: 75px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom .container-gestoria {
    min-height: 74px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
}

.footer-bottom p {
    margin: 0;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.5em;

    color: #999999;
}


/* Pantallas intermedias */

@media screen and (max-width: 1300px) {

    .footer-grid {
        grid-template-columns:
            minmax(300px, 1.5fr)
            repeat(3, minmax(160px, 1fr));

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }

    .footer-funding {
        grid-column: 3 / 5;
    }

    .footer-description,
    .footer-location {
        max-width: 600px;
    }
}


/* Tablet */

@media screen and (max-width: 978px) {

    .footer-landing-subheader {
        margin-top: 0;
    }

    .footer-landing-subheader .container-gestoria {
        flex-wrap: wrap;
    }

    .footer-landing-subheader-green,
    .footer-landing-subheader-black {
        width: 100%;
        min-width: 0;
        min-height: 56px;

        padding: 12px 25px;
    }

    .footer-landing-subheader-green::before {
        display: none;
    }

    .footer-landing {
        padding: 70px 35px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 40px;
    }

    .footer-brand,
    .footer-funding {
        grid-column: 1 / -1;
    }

    .footer-funding-logos {
        max-width: 500px;
    }
}


/* Móvil */

@media screen and (max-width: 768px) {

    .footer-landing-subheader-green,
    .footer-landing-subheader-black {
        flex-wrap: wrap;
        gap: 4px 8px;

        font-size: 15px;
        text-align: center;
    }

    .footer-landing-subheader a {
        font-size: 15px;
    }

    .footer-landing {
        padding: 60px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-brand,
    .footer-funding {
        grid-column: auto;
    }

    .footer-main-logo .custom-logo-link {
        width: 200px;
    }

    .footer-description,
    .footer-location {
        max-width: 360px;
        font-size: 15px;
    }

    .footer-column h2 {
        margin-bottom: 18px;
    }

    .footer-menu li {
        margin-bottom: 11px;
    }

    .footer-funding-logos {
        max-width: 430px;
    }

    .footer-bottom {
        margin-top: 55px;
    }

    .footer-bottom .container-gestoria {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        gap: 6px;
        padding: 24px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

#page,
.site-content-contain {
    overflow-x: hidden;
}