/*
Theme Name: Paco Escritor
Theme URI: https://pacoescritorgaditano.com
Author: Paco
Author URI: https://pacoescritorgaditano.com
Description: Tema personal de autor literario inspirado en el diseño de Tim Sullivan. Diseñado para escritores de novela histórica.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paco-escritor
Tags: author, books, blog, literary, dark, elegant
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.7;
    color: #e8e0d0;
    background-color: #0d0d0d;
}

a {
    color: #c9a84c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8c96d;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    line-height: 1.2;
    font-weight: normal;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1.2em;
}

/* ============================================================
   LAYOUT GENERAL
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 80px 0;
}

.section--dark {
    background-color: #111111;
}

.section--darker {
    background-color: #0a0a0a;
}

.section--gold {
    background-color: #1a1507;
    border-top: 1px solid #c9a84c;
    border-bottom: 1px solid #c9a84c;
}

/* ============================================================
   HEADER & NAVEGACIÓN
   ============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid #2a2010;
    transition: all 0.3s ease;
}

#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(201, 168, 76, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo / Nombre del autor */
.site-branding {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-title {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a84c;
    font-weight: normal;
}

.site-title a {
    color: inherit;
}

.site-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7a6a4a;
    margin-top: 3px;
}

/* Navegación principal */
#primary-navigation {
    display: flex;
    align-items: center;
    gap: 0;
}

#primary-navigation ul {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

#primary-navigation ul li {
    position: relative;
}

#primary-navigation ul li a {
    display: block;
    padding: 0.5rem 1.1rem;
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c8bfa8;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item > a {
    color: #c9a84c;
    border-bottom-color: #c9a84c;
}

/* Botón especial "GRATIS" en el nav */
.nav-free-btn {
    display: inline-block;
    padding: 0.4rem 1.2rem !important;
    background-color: #c9a84c;
    color: #0d0d0d !important;
    border-radius: 2px;
    font-size: 0.78rem !important;
    letter-spacing: 0.15em;
    margin-left: 0.5rem;
    border-bottom: none !important;
    transition: background-color 0.3s ease !important;
}

.nav-free-btn:hover {
    background-color: #e8c96d !important;
    color: #0d0d0d !important;
}

/* Menú hamburguesa para móvil */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #c9a84c;
    color: #c9a84c;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 2px;
}

/* ============================================================
   HERO / PORTADA
   ============================================================ */
.hero {
    margin-top: 70px; /* compensa el header fijo */
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

.hero-content {
    z-index: 1;
}

.hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: #f5f0e8;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #a09070;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background-color: #c9a84c;
    color: #0d0d0d;
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.hero-cta:hover {
    background-color: #e8c96d;
    color: #0d0d0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201,168,76,0.4);
}

.hero-cta--secondary {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: 1px solid #c9a84c;
    color: #c9a84c;
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.hero-cta--secondary:hover {
    background-color: rgba(201,168,76,0.1);
    color: #e8c96d;
}

.hero-book-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-book-image img {
    max-height: 500px;
    width: auto;
    border-radius: 4px;
    box-shadow:
        -8px 8px 30px rgba(0,0,0,0.8),
        0 0 60px rgba(201,168,76,0.1);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-book-image img:hover {
    transform: perspective(800px) rotateY(0deg);
}

/* Efecto de libro 3D con placeholder */
.book-placeholder {
    width: 300px;
    height: 420px;
    background: linear-gradient(135deg, #1a1200, #2a1f00, #3a2d05);
    border-radius: 4px 8px 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    box-shadow:
        -8px 8px 30px rgba(0,0,0,0.8),
        inset 3px 0 15px rgba(0,0,0,0.5);
    border-left: 8px solid #0a0a0a;
    position: relative;
}

.book-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 4px 8px 8px 4px;
    pointer-events: none;
}

.book-placeholder-title {
    font-size: 1.3rem;
    color: #c9a84c;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.book-placeholder-author {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7a6a4a;
}

/* ============================================================
   SECCIÓN: LIBROS (grid en portada)
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #f0ead8;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: #c9a84c;
    margin: 1rem auto 0;
}

/* Grid de libros */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.book-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-8px);
}

.book-card__cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #1a1200, #2a1f00);
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
}

.book-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card__title {
    font-size: 0.9rem;
    color: #e8e0d0;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.book-card__meta {
    font-size: 0.75rem;
    color: #7a6a4a;
    letter-spacing: 0.1em;
}

.book-card__link {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.book-card__link:hover {
    border-bottom-color: #c9a84c;
}

/* ============================================================
   SECCIÓN: SOBRE EL AUTOR
   ============================================================ */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7);
    filter: sepia(15%) contrast(1.05);
}

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, #1a1507, #0d0d0d);
    border-radius: 4px;
    border: 1px solid #2a2010;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4030;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #c9a84c;
    border-left: 3px solid #c9a84c;
    padding-left: 1.5rem;
    margin: 1.5rem 0 2rem;
    line-height: 1.5;
}

.about-content p {
    color: #b0a898;
    line-height: 1.8;
}

.about-bio-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2010;
}

.bio-detail {
    display: flex;
    flex-direction: column;
}

.bio-detail__label {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #5a5040;
    margin-bottom: 0.3rem;
}

.bio-detail__value {
    font-size: 0.95rem;
    color: #c9a84c;
}

/* ============================================================
   SECCIÓN: NEWSLETTER / GRATIS
   ============================================================ */
.newsletter-section {
    text-align: center;
    padding: 80px 0;
}

.newsletter-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a84c, #a07030);
    color: #0d0d0d;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0.35rem 1.2rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.newsletter-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #f0ead8;
    margin-bottom: 0.8rem;
}

.newsletter-tagline {
    font-style: italic;
    color: #7a6a4a;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.2rem;
    border: 1px solid #2a2010;
    background-color: #1a1507;
    color: #e8e0d0;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    outline: none;
    border-right: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: #5a5040;
}

.newsletter-form input[type="email"]:focus {
    border-color: #c9a84c;
}

.newsletter-form button {
    padding: 1rem 1.8rem;
    background-color: #c9a84c;
    color: #0d0d0d;
    border: none;
    font-family: 'Georgia', serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e8c96d;
}

.newsletter-note {
    font-size: 0.75rem;
    color: #5a5040;
    margin-top: 1rem;
}

/* ============================================================
   SECCIÓN: BLOG
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.blog-card {
    background: #151515;
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: #2a2010;
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1200, #0d0d0d);
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 1.5rem;
}

.blog-card__meta {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 0.7rem;
}

.blog-card__title {
    font-size: 1.1rem;
    color: #e8e0d0;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 0.88rem;
    color: #7a7060;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card__read-more {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-card__read-more:hover {
    border-bottom-color: #c9a84c;
}

/* ============================================================
   PÁGINA DE LIBRO INDIVIDUAL
   ============================================================ */
.single-book {
    margin-top: 70px;
    padding: 80px 0;
}

.single-book__inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.single-book__cover {
    position: sticky;
    top: 90px;
}

.single-book__cover img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7);
}

.single-book__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2a2010;
}

.book-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.book-meta-item__label {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #5a5040;
}

.book-meta-item__value {
    font-size: 0.95rem;
    color: #c9a84c;
}

.single-book__synopsis {
    color: #b0a898;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background-color: #c9a84c;
    color: #0d0d0d;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background-color: #e8c96d;
    color: #0d0d0d;
    transform: translateY(-2px);
}

.buy-btn--amazon { background-color: #ff9900; }
.buy-btn--amazon:hover { background-color: #ffad33; color: #0d0d0d; }

.buy-btn--muestra {
	background-color: transparent;
	border: 2px solid #c9a84c;
	color: #c9a84c;
}
.buy-btn--muestra:hover {
	background-color: rgba(201,168,76,0.12);
	color: #e8c96d;
	transform: translateY(-2px);
}

/* ============================================================
   PÁGINA DE CONTACTO
   ============================================================ */
.contact-page {
    margin-top: 70px;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h3 {
    color: #c9a84c;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    color: #8a8070;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid #2a2010;
    color: #c9a84c;
    border-radius: 3px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(201,168,76,0.1);
    border-color: #c9a84c;
    color: #e8c96d;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7a6a4a;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background-color: #151515;
    border: 1px solid #2a2010;
    color: #e8e0d0;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c9a84c;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    padding: 1rem 2.5rem;
    background-color: #c9a84c;
    color: #0d0d0d;
    border: none;
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #e8c96d;
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background-color: #050505;
    border-top: 1px solid #1a1507;
    padding: 60px 0 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1a1507;
}

.footer-brand .site-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    display: block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #c8b898;
    line-height: 1.7;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: center;
}

.footer-nav ul li a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c8b898;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #c9a84c;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.footer-social-title {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #a09080;
}

.footer-social-icons {
    display: flex;
    gap: 0.8rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #2a2010;
    border-radius: 50%;
    color: #7a6a4a;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    border-color: #c9a84c;
    color: #c9a84c;
    background-color: rgba(201,168,76,0.08);
}

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: #a09080;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.78rem;
    color: #a09080;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #7a6a4a;
}

/* ============================================================
   PÁGINA INTERIOR GENÉRICA
   ============================================================ */
.page-hero {
    margin-top: 70px;
    padding: 80px 0 50px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    border-bottom: 1px solid #1a1507;
    text-align: center;
}

.page-hero h1 {
    color: #f0ead8;
    margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
    font-size: 0.78rem;
    color: #5a5040;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-hero .breadcrumb a {
    color: #7a6a4a;
}

.page-content {
    padding: 60px 0;
}

.entry-content {
    color: #b0a898;
    line-height: 1.9;
    font-size: 1.02rem;
}

.entry-content h2 {
    color: #e8e0d0;
    margin: 2rem 0 1rem;
}

.entry-content h3 {
    color: #c9a84c;
    margin: 1.5rem 0 0.8rem;
}

/* ============================================================
   BARRA DE CITAS / TESTIMONIALES
   ============================================================ */
.testimonials {
    padding: 60px 0;
    text-align: center;
}

.testimonial-single {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-style: italic;
    color: #a09070;
    line-height: 1.7;
    position: relative;
}

.testimonial-single::before {
    content: '\201C';
    font-size: 5rem;
    color: #c9a84c;
    opacity: 0.3;
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-source {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5a5040;
    font-style: normal;
}

/* ============================================================
   CONTADORES / DATOS DESTACADOS
   ============================================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #111111;
    border-top: 1px solid #1a1507;
    border-bottom: 1px solid #1a1507;
}

.stat-item {
    padding: 2.5rem;
    text-align: center;
    border-right: 1px solid #1a1507;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    color: #c9a84c;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5a5040;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 2.5rem;
    }

    .about-section {
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-social {
        align-items: flex-start;
        grid-column: 1 / -1;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-top: 1px solid #1a1507;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #primary-navigation {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #0a0a0a;
        border-bottom: 1px solid #2a2010;
        padding: 1rem 0;
    }

    #primary-navigation.is-open {
        display: block;
    }

    #primary-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    #primary-navigation ul li a {
        padding: 0.8rem 2rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    #primary-navigation ul li a:hover {
        border-left-color: #c9a84c;
        border-bottom: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-book-image {
        order: -1;
    }

    .book-placeholder {
        width: 220px;
        height: 310px;
        margin: 0 auto;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-photo {
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .single-book__inner {
        grid-template-columns: 1fr;
    }

    .single-book__cover {
        position: static;
        max-width: 250px;
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-social {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        border-right: 1px solid #2a2010;
        border-bottom: none;
        border-radius: 3px 3px 0 0;
    }

    .newsletter-form button {
        border-radius: 0 0 3px 3px;
    }

    .hero-cta--secondary {
        display: block;
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

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

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   FORMULARIO DE CONTACTO (CF7)
   ============================================================ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2a2010;
    color: #e8e0d0;
    padding: 0.8rem 1rem;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #c9a84c;
    box-shadow: 0 0 0 1px rgba(201,168,76,0.3);
}

.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

.wpcf7 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=8%3E%3Cpath d=M1
