/*
Theme Name: NOKKO Theme
Author: SD
Version: 1.0
*/


* {
  margin:0;
  padding: 0;
  box-sizing: border-box;
}


/* ============ FONTS ============ */
@font-face {
    font-family: 'Apfel Grotezk';
    src: url('assets/fonts/ApfelGrotezk-Fett.woff2') format('woff2'),
        url('assets/fonts/ApfelGrotezk-Fett.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apfel Grotezk Mittel';
    src: url('assets/fonts/ApfelGrotezk-Mittel.woff2') format('woff2'),
        url('assets/fonts/ApfelGrotezk-Mittel.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apfel Grotezk';
    src: url('assets/fonts/ApfelGrotezk-Regular.woff2') format('woff2'),
        url('assets/fonts/ApfelGrotezk-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/* ============ VARIABLES ============ */
:root {
  --color-arcilla: #982918;
  --color-lienzo: #F2EAE0;
  --color-lavanda: #D6C3C9;
  --transition-dur: 0.4s;
}



/* ============ GENERAL ============ */
html {
	overflow-x: hidden;
}

body {
	font-family: 'Apfel Grotezk';
}

h1 { font-size: 52px; line-height: 0.8; font-weight: 400; }
h2 { font-size:40px; line-height: 1.1; font-weight: normal; }
h3 { font-size:30px; line-height: 1.1; font-weight: normal; }
h4 { font-size:28px; line-height: 1.1; font-weight: normal; }
h5 { font-size:20px; line-height: 1.1; font-weight: normal; }
h6 { 
	font-size: 16px;
    line-height: 1.1;
    letter-spacing: 4px;
    font-weight: 500; 
}
p { 
	font-size:16px; 
	line-height: 1.1; 
	font-weight: 500; 
	margin-bottom: 16px; 
}

p:last-child { 
	margin-bottom: 0; 
}

ul {
    list-style-position: inside;
}


/* Link a */
a {
	color: var(--color-arcilla);
	position: relative; 
}

a:hover {
	color:#B46155;
}

a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 4px;
    background-color: var(--color-arcilla);
    bottom: 0;
    left: 0;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform .3s ease-in-out;
}

a:hover::before {
    transform-origin: right;
    transform: scaleX(0);
}

#wpadminbar a::before {
    content: none !important;
}


.img-wrapper img {
  width: 100%;
  height: 100% !important ;
  object-fit: cover;
}

.section6.img-wrapper {
	max-height: 400px;
}


/* HEADER */
header a::before, aside a::before, #contacto a::before { 
	height: 0px; 
}

/* ASIDE / NAV */
aside {
    position: fixed !important;
	width: fit-content !important;
}

aside#navmenu .col .elementor-widget-heading, aside#navmenu .elementor-widget-text-editor p {
    font-size: .9em;
}

aside a:hover {
	color: var(--color-arcilla) !important;
}

aside nav a.active {
    color: var(--color-arcilla) !important; 
}


/* PINCELADAS */
#nosotros::before {
    content: '';
    background-image: url('/wp-content/uploads/2026/05/pincelada-header.avif');
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: unset;
    right: 18%;
    width: 800px;
    background-size: contain;
    height: 130px;
    background-position: right;
}


.encargos .img-wrapper::before {
    content: '';
    background-image: url('/wp-content/uploads/2026/05/pinceladas-section9.avif');
    background-repeat: no-repeat;
    position: absolute;
    top: 4%;
    left: -18%;
    background-size: contain;
    height: 700px;
}


.equipo .img-wrapper .item {
    min-width: 24%;
}


/* HERO PINCELADA */
.hero .img-wrapper::after {
    content: '';
    background-image: url('/wp-content/uploads/2026/05/pincelada-header2.avif');
    width: 30%;
    aspect-ratio: 5/3;
    position: absolute;
    top: -50%;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero .img-wrapper .elementor-widget-image {
    position: relative;
    z-index: 1;
}


/* ACORDEON */
.manifiesto-acordeon details {
    flex-direction: row !important;
    align-items: flex-start;
}

.manifiesto-acordeon details summary {
    width: 48%;
}

.manifiesto-acordeon details .content {
    /* width: 100%; */
    padding-top: 0;
}


/* COOKIES */
.cky-btn-accept {
    background: #982918 !important;
    border: 2px solid #982918 !important;
}

.cky-btn-reject, .cky-btn-preferences {
    color: #982918 !important;
    border: 2px solid #982918 !important;
}

.cky-btn-customize {
    color: #982918 !important;
    border-color: #982918 !important;
}

.cky-preference-content-wrapper .cky-show-desc-btn {
    color: #982918 !important;
}




/* ============ LEGAL TEMPLATE ============ */
.page-template-page-legal {
    background-color: var(--color-lienzo);
    color: var(--color-arcilla);
}

.page-template-page-legal main {
    padding: 10% 1em 4em 16%;
	width: 80%;
}

.page-template-page-legal h1 {
    margin-bottom: 14%;
	letter-spacing: 10px;
	text-transform: uppercase;
}

.page-template-page-legal h2 {
    font-size: 20px;
    margin-block-end: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-template-page-legal p {
    margin-block-end: 4rem;
}





/* ============ FORMULARIO CONTACTO ============ */
.formulario-contenedor {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    max-width: 100%;
	font-family: inherit; 
    font-size: inherit;
	color: var(--color-arcilla);
}

.formulario-contenedor input[type="text"],
.formulario-contenedor input[type="email"],
.formulario-contenedor textarea {
    width: 100%;
    box-sizing: border-box;
	padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-arcilla);
	color: var(--color-arcilla);
}


/* Placeholder */
.formulario-contenedor input::placeholder,
.formulario-contenedor textarea::placeholder {
    color: #B46155 !important;
    opacity: 1 !important;
}

.formulario-contenedor input::-webkit-input-placeholder { color: #B46155 !important; }
.formulario-contenedor textarea::-webkit-input-placeholder { color: #B46155 !important; }

.formulario-contenedor input::-moz-placeholder { color: #B46155 !important; opacity: 1 !important; }
.formulario-contenedor textarea::-moz-placeholder { color: #B46155 !important; opacity: 1 !important; }

.formulario-contenedor input:-ms-input-placeholder { color: #B46155 !important; }
.formulario-contenedor textarea:-ms-input-placeholder { color: #B46155 !important; }

.fila-doble p {
    display: flex;
    gap: 12px; 
}

.fila-doble .wpcf7-form-control-wrap {
    flex: 1;
}

.wpcf7-radio {
    display: flex;
    gap: 20px;
    padding: 12px 0;
}

.wpcf7-list-item {
	margin: 0;
}

textarea {
    font-family: inherit;
}

input[type="submit"] {
    background-color: transparent;
    border: 1px solid var(--color-arcilla);
    padding: 8px 40px;
    color: var(--color-arcilla);
}


input[type="submit"]:hover {
	background-color: var(--color-arcilla);
	color: var(--color-lienzo);
}



@media (max-width: 600px) {
    .fila-doble {
        flex-direction: column;
    }
}


.checkbox-privacidad {
    display: flex;
    align-items: center;
}

.checkbox-privacidad input[type="checkbox"] {
    margin-top: 0;
    margin-right: 10px;
}

.formulario-contenedor input[type="radio"],
.formulario-contenedor input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;   
    background-color: transparent !important; 
    border: 1px solid #B46155 !important; 
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.formulario-contenedor input[type="radio"]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--color-arcilla); 
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.formulario-contenedor input[type="checkbox"]:checked {
    background-color: var(--color-arcilla) !important; 
}

.formulario-contenedor input[type="checkbox"]:checked::before {
    content: "✓"; 
    color: #ffffff; 
    font-size: 13px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.formulario-contenedor input[type="radio"]:focus,
.formulario-contenedor input[type="checkbox"]:focus {
    outline: none;
}



/* Cambiar el estilo del foco (focus) en inputs y textarea */
.formulario-contenedor input[type="text"]:focus,
.formulario-contenedor input[type="email"]:focus,
.formulario-contenedor textarea:focus {
    outline: none; 
    border-color: #B46155 !important; 
	/* background-color: #ffffff73; */
	background-color: #f2eae099; 
    padding: 12px;
	transition: all 0.2s ease-in-out;
}

.wpcf7-not-valid-tip {
    font-size: .75em;
    margin-top: 6px;
}

.formulario-contenedor .aedp {
	font-size: 12px; 
}



/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
	aside#navmenu {
		min-height: fit-content;
		bottom: 0;
		gap: 12px;
		width: 100% !important;
		justify-content: space-around;
		background: #f5efe866;
        /* background: linear-gradient(360deg, #f5efe8c7 66%, transparent);*/
		backdrop-filter: blur(6px);
	}
	
	aside#navmenu .col {
		width: 48%;
	}
	
	/*  SLIDER/CAROUSEL  */
	.equipo .img-wrapper {
		flex-wrap: nowrap;
		overflow-y: hidden;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
	}

	.equipo .img-wrapper .item { min-width: 74%; }
	
	/*  ACORDEON  */
	.manifiesto-acordeon details { flex-direction: column !important;}
	.manifiesto-acordeon details summary { width: 100%; }
	.manifiesto-acordeon details .content { padding-top: 24px; }
	
	/* HERO PINCELADA */
	.hero .img-wrapper::after { display: none; }
	
	/* LEGAL */
	.page-template-page-legal main {
		padding: 10em 1em 4em 1em;
		width: 100%;
	}
	
	.page-template-page-legal h1 {
		font-size: 32px;
    	line-height: 0.9;
	}
	
	
	
	
}




