﻿/* =========================
   ESTILO GENERAL
========================= */

body {
	background: #f6f1e8;
	color: #6f4d36;
	overflow-x: hidden;
	font-family: "Lato", sans-serif;
}


	/* =========================
   FONDO ACUARELA
========================= */

	body::before {
		content: "";
		position: fixed;
		inset: 0;
		background: radial-gradient(circle at 15% 20%, rgba(180, 215, 235, 0.45) 0%, transparent 30%), radial-gradient(circle at 80% 15%, rgba(170, 205, 225, 0.35) 0%, transparent 30%), radial-gradient(circle at 40% 70%, rgba(190, 220, 240, 0.25) 0%, transparent 35%), linear-gradient( 180deg, #edf5fa 0%, #eaf2f8 35%, #f6f1e8 100% );
		z-index: -10;
	}


	/* =========================
   TEXTURA PAPEL
========================= */

	body::after {
		content: "";
		position: fixed;
		inset: 0;
		opacity: 0.12;
		background-image: repeating-radial-gradient( circle at 0 0, transparent 0, rgba(0,0,0,0.03) 2px, transparent 4px );
		mix-blend-mode: multiply;
		z-index: -9;
	}


/* =========================
   HEADER
========================= */

.ct-header {
	background: transparent !important;
	box-shadow: none !important;
}

	.ct-header [data-id="menu"] {
		justify-content: center;
	}

	.ct-header .site-title {
		color: #9d6239;
	}


/* =========================
   HERO SECTION
========================= */

.hero-home {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	position: relative;
}


/* CONTENIDO */

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	max-width: 1300px;
	width: 100%;
}


/* TEXTO */

.hero-text h1 {
	font-size: 5rem;
	line-height: 1;
	color: #9b623a;
	font-family: "Cormorant Garamond", serif;
	margin-bottom: 20px;
}

.hero-text p {
	font-size: 1.1rem;
	color: #6f4d36;
	margin-bottom: 30px;
}


/* BOTÓN */

.hero-button a {
	display: inline-block;
	background: #a66032;
	color: white !important;
	padding: 14px 28px;
	border-radius: 2px;
	text-decoration: none;
	letter-spacing: 1px;
	transition: 0.3s;
}

	.hero-button a:hover {
		transform: translateY(-2px);
		background: #8f5129;
	}


/* IMAGEN LIBRO */

.hero-book {
	text-align: center;
}

	.hero-book img {
		width: 100%;
		max-width: 500px;
		filter: drop-shadow(0 25px 35px rgba(0,0,0,0.15));
		transform: rotate(-2deg);
	}


/* =========================
   ICONOS INFERIORES
========================= */

.home-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	padding: 40px;
	max-width: 1200px;
	margin: auto;
}

.feature-item {
	text-align: center;
}

	.feature-item h3 {
		font-size: 1rem;
		color: #9b623a;
		margin-top: 15px;
	}

	.feature-item p {
		font-size: 0.9rem;
	}


/* =========================
   HOJAS DECORATIVAS
========================= */

.hero-home::before,
.hero-home::after {
	content: "";
	position: absolute;
	font-size: 60px;
	color: rgba(184, 136, 73, 0.35);
}

.hero-home::before {
	top: 120px;
	left: 40px;
}

.hero-home::after {
	bottom: 120px;
	right: 60px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

	.hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-text h1 {
		font-size: 3.5rem;
	}

	.home-features {
		grid-template-columns: 1fr 1fr;
	}
}


@media (max-width: 600px) {

	.hero-text h1 {
		font-size: 2.8rem;
	}

	.home-features {
		grid-template-columns: 1fr;
	}

	.hero-home {
		padding: 40px 20px;
	}
}
/* =========================================
   FEATURES EDITORIALES
========================================= */

.home-features-wrapper {
	max-width: 1300px;
	margin: 40px auto 80px;
	padding: 0 30px;
}


.features-title {
	text-align: center;
	font-size: 0.9rem;
	letter-spacing: 3px;
	margin-bottom: 50px;
	color: #4d433d;
	font-weight: 600;
}


/* GRID */

.home-features {
	display: grid;
	grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
	align-items: start;
}


/* ITEMS */

.feature-item {
	text-align: center;
	padding: 10px 25px;
}


/* ICONOS */

.feature-icon {
	width: 55px;
	height: 55px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}


	.feature-icon svg {
		width: 100%;
		height: 100%;
		stroke: #c18a61;
		stroke-width: 1.3;
		fill: none;
		stroke-linecap: round;
		stroke-linejoin: round;
	}


/* TEXTOS */

.feature-item h3 {
	font-size: 1.05rem;
	line-height: 1.5;
	color: #3e342f;
	font-weight: 500;
	max-width: 220px;
	margin: auto;
}


/* LINEAS VERTICALES */

.feature-divider {
	width: 1px;
	height: 120px;
	background: linear-gradient( to bottom, transparent, rgba(180,150,120,0.35), transparent );
	justify-self: center;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

	.home-features {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.feature-divider {
		display: none;
	}

	.feature-item h3 {
		max-width: 180px;
	}
}


@media (max-width: 600px) {

	.home-features {
		grid-template-columns: 1fr;
	}

	.feature-item {
		padding: 0;
	}

	.features-title {
		margin-bottom: 35px;
	}

	.feature-icon {
		width: 48px;
		height: 48px;
	}

	.feature-item h3 {
		font-size: 1rem;
	}
}

/* =========================================
   RAMILLAS DECORATIVAS
========================================= */
/* 

body {
	position: relative;
}


	/* RAMA IZQUIERDA */

/* 	body::after {
		content: "";
		position: fixed;
		left: -30px;
		top: 220px;
		width: 180px;
		height: 260px;
		opacity: 0.28;
		pointer-events: none;
		background-repeat: no-repeat;
		background-size: contain;
		z-index: -1;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300'%3E%3Cg fill='none' stroke='%23b89a5f' stroke-width='2'%3E%3Cpath d='M100 300 C100 220 100 120 100 0'/%3E%3Cpath d='M100 220 C70 200 60 180 40 160'/%3E%3Cpath d='M100 170 C130 150 145 130 160 110'/%3E%3Cpath d='M100 120 C70 100 55 80 35 60'/%3E%3Cellipse cx='40' cy='160' rx='18' ry='8' transform='rotate(-30 40 160)' fill='%23c4a26d'/%3E%3Cellipse cx='160' cy='110' rx='18' ry='8' transform='rotate(30 160 110)' fill='%23c4a26d'/%3E%3Cellipse cx='35' cy='60' rx='18' ry='8' transform='rotate(-30 35 60)' fill='%23c4a26d'/%3E%3C/g%3E%3C/svg%3E");
	}



/* RAMA DERECHA */

/* .hero-home::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: 80px;
	width: 220px;
	height: 260px;
	opacity: 0.25;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300'%3E%3Cg fill='none' stroke='%23c49052' stroke-width='2'%3E%3Cpath d='M100 300 C100 220 100 120 100 0'/%3E%3Cpath d='M100 240 C130 220 150 200 175 180'/%3E%3Cpath d='M100 180 C70 160 55 140 35 120'/%3E%3Cpath d='M100 120 C130 100 145 80 165 60'/%3E%3Cellipse cx='175' cy='180' rx='18' ry='8' transform='rotate(30 175 180)' fill='%23d39a52'/%3E%3Cellipse cx='35' cy='120' rx='18' ry='8' transform='rotate(-30 35 120)' fill='%23d39a52'/%3E%3Cellipse cx='165' cy='60' rx='18' ry='8' transform='rotate(30 165 60)' fill='%23d39a52'/%3E%3C/g%3E%3C/svg%3E");
}



/* RESPONSIVE */

@media (max-width: 900px) {

	body::after,
	.hero-home::after {
		opacity: 0.12;
		width: 120px;
	}
}


@media (max-width: 600px) {

	body::after,
	.hero-home::after {
		display: none;
	}
}

/* =========================================
   LOGO NEREA TEJADA
========================================= */

.site-title {
	font-family: 'Parisienne', cursive !important;
	font-size: 2rem !important;
	font-weight: 400 !important;
	color: #b06d43 !important;
	letter-spacing: 0.5px;
	line-height: 1;
}


	/* LINK LOGO */

	.site-title a {
		color: inherit !important;
	}


		/* HOVER */

		.site-title a:hover {
			opacity: 0.85;
		}


/* HEADER */

.ct-header {
	padding-top: 18px;
}
/* =========================================
   GRID EDITORIAL
========================================= */

.editorial-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 80px;
}


/* TARJETAS */

.editorial-card {
	position: relative;
	min-height: 420px;
	overflow: hidden;
}


/* IMAGEN */

.editorial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* PAPEL */

.editorial-paper {
	position: absolute;
	top: 39%;
	left: 57%;
	transform: translate(-50%, -50%) rotate(2deg);	 
	padding: 50px;
	width: 60%;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
 }


	/* TEXTO PAPEL */

	.editorial-paper h3 {
		font-size: 1rem;
		line-height: 1.4;
		color: #5b4436;
		font-family: "Cormorant Garamond", serif;
		margin-bottom: 25px;
	}


	/* LINK */

	.editorial-paper a {
		color: #b06d43;
		font-weight: 600;
		letter-spacing: 1px;
		text-decoration: none;
		font-size: 0.95rem;
	}

	@media (max-width: 600px) {
		.editorial-paper h3 {
			font-size: 0.8rem !important;
			padding-left: 27px;
		}
		.editorial-paper a {
			color: #b06d43;
			font-weight: 600;
			letter-spacing: 1px;
			text-decoration: none;
			font-size: 0.95rem;
			padding-left: 26px;
		}
	}
/* QUOTE */

.editorial-quote {
	background: linear-gradient( rgba(160,175,130,0.88), rgba(160,175,130,0.88) ), url('/wp-content/uploads/papel-textura.jpg');
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px;
}


/* CONTENIDO */

.quote-content {
	max-width: 420px;
}


	/* FRASE */

	.quote-content p {
		color: #f7f1e7;
		font-size: 2rem;
		line-height: 1.7;
		font-family: 'Cormorant Garamond', serif;
		font-style: italic;
		position: relative;
	}


		/* COMILLAS */

		.quote-content p::before {
			content: "“";
			position: absolute;
			left: -30px;
			top: -40px;
			font-size: 6rem;
			opacity: 0.2;
		}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

	.editorial-grid {
		grid-template-columns: 1fr;
	}

	.editorial-card {
		min-height: 360px;
	}

	.editorial-paper {
		width: 85%;
		padding: 35px;
	}
}


@media (max-width: 600px) {

	.editorial-paper h3 {
		font-size: 1.5rem;
	}

	.quote-content p {
		font-size: 1.5rem;
	}

	.editorial-paper {
		padding: 25px;
	}
}

/* =========================================
   LA NOVELA
========================================= */

.novela-section {

    max-width: 1300px;

    margin: auto;

    padding:
        100px 40px
        60px;
}


/* GRID */

.novela-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}


/* PORTADA */

.novela-cover {

    text-align: center;
}

.novela-cover img {

    width: 100%;
    max-width: 480px;

    filter:
        drop-shadow(0 25px 35px rgba(0,0,0,0.18));
}


/* LABEL */

.novela-label {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #b38a5d;

    letter-spacing: 2px;

    font-weight: 600;

    margin-bottom: 25px;
}


/* ICONO */

.leaf-icon {

    font-size: 1.3rem;
}


/* TITULO */

.novela-content h1 {

    font-size: 4.5rem;

    line-height: 1;

    color: #332822;

    font-family:
        "Cormorant Garamond",
        serif;

    margin-bottom: 25px;
}


/* LINEA */

.novela-line {

    width: 80px;
    height: 2px;

    background: #b06d43;

    margin-bottom: 30px;
}


/* SUBTITULO */

.novela-content h3 {

    font-size: 0.95rem;

    letter-spacing: 2px;

    margin-bottom: 30px;

    color: #40352f;
}


/* TEXTO */

.novela-content p {

    font-size: 1.15rem;

    line-height: 2;

    color: #4d433d;

    margin-bottom: 24px;

    max-width: 600px;
}


/* BOTONES */

.novela-buttons {

    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-top: 45px;

    max-width: 340px;
}


/* BOTON */

.btn-primary,
.btn-secondary {

    text-align: center;

    padding: 18px 30px;

    text-decoration: none;

    letter-spacing: 1px;

    font-weight: 600;

    transition: 0.3s;
}


/* PRIMARY */

.btn-primary {

    background: #b06d43;

    color: white;
}


/* SECONDARY */

.btn-secondary {

    border: 2px solid #b06d43;

    color: #7a563f;
}


/* HOVER */

.btn-primary:hover,
.btn-secondary:hover {

    transform: translateY(-2px);
}


/* META */

.novela-meta {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 80px;

    padding-top: 35px;

    border-top:
        1px solid rgba(120,100,80,0.2);
}


/* ITEMS */

.novela-meta div {

    text-align: center;
}


/* LABEL */

.novela-meta span {

    display: block;

    font-size: 0.8rem;

    letter-spacing: 1px;

    margin-bottom: 12px;

    color: #7b6a5d;
}


/* VALUE */

.novela-meta strong {

    font-size: 1rem;

    color: #3d312a;
}


/* =========================================
   FRASE
========================================= */

.quote-banner {

    position: relative;

    overflow: hidden;
}


.quote-banner img {

    width: 100%;

    display: block;

    min-height: 500px;

    object-fit: cover;
}


/* PAPEL */

.quote-paper {

    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%)
        rotate(-2deg);

    background: #f8f1e8;

    padding: 60px;

    width: 90%;
    max-width: 600px;

    text-align: center;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.18);
}


/* TITULO */

.quote-paper h2 {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 2.5rem;

    margin-bottom: 25px;

    color: #7c5439;
}


/* FRASE */

.quote-paper p {

    font-size: 2rem;

    line-height: 1.7;

    color: #40352f;

    font-family:
        "Cormorant Garamond",
        serif;
}


/* DOTS */

.quote-dots {

    margin-top: 30px;

    color: #b06d43;

    font-size: 2rem;

    letter-spacing: 8px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .novela-grid {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .novela-buttons {

        margin-inline: auto;
    }

    .novela-line {

        margin-inline: auto;
    }

    .novela-label {

        justify-content: center;
    }
}


@media (max-width: 700px) {

    .novela-content h1 {

        font-size: 3rem;
    }

    .novela-meta {

        grid-template-columns:
            1fr 1fr;

        gap: 30px;
    }

    .quote-paper {

        padding: 35px;
    }

    .quote-paper p {

        font-size: 1.4rem;
    }
}


@media (max-width: 500px) {

    .novela-section {

        padding:
            70px 20px
            40px;
    }

    .novela-meta {

        grid-template-columns: 1fr;
    }

    .novela-content p {

        font-size: 1rem;
    }

    .quote-paper h2 {

        font-size: 2rem;
    }
}