/*
Theme Name: Locutarte
Theme URI: https://locutarte.com
Author: Locutarte
Description: Tema de bloques de Locutarte, Escuela de Locución & Doblaje de Cádiz y Málaga.
Version: 0.1.5
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: locutarte
*/

:root{--lc-menta:#57E398;--lc-ciruela:#503558;--lc-profundo:#412749;--lc-lavanda:#F5E8FA;--lc-tinta:#21191D}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{-webkit-font-smoothing:antialiased}
img{height:auto}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--lc-menta);outline-offset:3px}

/* Títulos: contraste Light / Black como en los carteles */
.wp-block-heading strong,h1 strong,h2 strong{font-weight:900}
.lc-eyebrow{font-weight:700;font-size:.875rem;letter-spacing:.16em;text-transform:uppercase;color:var(--lc-menta);margin:0 0 1rem}
.lc-section--clara .lc-eyebrow{color:var(--lc-ciruela)}
.lc-divisor{height:8px;max-width:520px;margin:0 0 2rem;background:linear-gradient(90deg,#57E398,#B761DB 55%,#F28DEB)}

/* Secciones */
.lc-section{padding:clamp(3rem,6vw,5.5rem) 1.25rem}
.lc-section>*{max-width:1200px;margin-left:auto;margin-right:auto}
.lc-section--profunda{background:var(--lc-profundo)}
.lc-section--clara{background:var(--lc-lavanda);color:var(--lc-tinta)}
.lc-section--clara a{color:var(--lc-ciruela)}
.lc-section--clara :where(h1,h2,h3){color:var(--lc-ciruela)}
.lc-section--clara .wp-block-button__link{background:var(--lc-ciruela);color:#fff}

/* Cabecera */
.lc-header{background:var(--lc-profundo);padding:.75rem clamp(1rem,3vw,2.5rem);gap:.75rem 2rem}
.lc-marca{display:flex;align-items:center;gap:.9rem;text-decoration:none;color:#fff}
.lc-marca img.lc-logo{width:76px;height:76px;display:block}
@media (max-width:600px){.lc-marca img.lc-logo{width:60px;height:60px}}
.lc-marca .lc-nombre{display:flex;flex-direction:column;gap:3px}
.lc-marca .lc-wordmark{height:25px;width:auto;display:block;align-self:flex-start}
.lc-marca .lc-lema{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;line-height:1.3;font-weight:400}
.lc-lema .lc-linea{display:block;white-space:nowrap}
.lc-nowrap{white-space:nowrap}
.lc-header .wp-block-navigation a{text-decoration:none;color:#fff}
.lc-header .wp-block-navigation a:hover{color:var(--lc-menta)}
.lc-header .lc-nav-cta>a{background:var(--lc-menta);color:var(--lc-tinta)!important;border-radius:999px;padding:.6rem 1.35rem;font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.lc-header .lc-nav-cta>a:hover{background:#7DEBB2}

/* Portada */
.lc-hero{position:relative;overflow:hidden}
.lc-hero h1{max-width:14ch}
.lc-hero .lc-lead{max-width:540px;font-size:1.25rem;color:#ECDDF2}

/* Rejillas */
.lc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.5rem}
.lc-tarjeta{background:#fff;color:var(--lc-tinta);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(80,53,88,.12)}
.lc-tarjeta::before{content:"";display:block;height:6px;background:linear-gradient(90deg,#57E398,#B761DB 55%,#F28DEB)}
.lc-tarjeta>*{margin-left:1.5rem;margin-right:1.5rem}
.lc-tarjeta h3{margin-top:1.25rem;color:var(--lc-ciruela)}
.lc-persona{text-align:left}
.lc-persona img{width:148px;height:148px;border-radius:50%;object-fit:cover;border:5px solid var(--lc-menta);display:block;margin:0 auto 1rem}
.lc-persona p{margin-top:.5rem}

/* Pie */
.lc-footer{background:var(--lc-tinta);padding:clamp(2.5rem,5vw,4.5rem) clamp(1rem,3vw,2.5rem) 2rem;font-size:1rem}
.lc-footer a{color:#fff}
.lc-footer h3{font-size:1rem!important;letter-spacing:.1em;text-transform:uppercase!important;color:var(--lc-menta)}
.lc-redes{display:flex;flex-wrap:wrap;gap:.6rem;margin:.75rem 0 0}
.lc-redes a{display:inline-flex;width:44px;height:44px;border-radius:50%}
.lc-redes a:hover{opacity:.82}
.lc-redes img{width:44px;height:44px;display:block}
.lc-legal{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;font-size:.875rem;color:#D9C8E0}
.lc-legal a{color:#D9C8E0}

/* Contenido genérico */
.lc-contenido{padding:clamp(2.5rem,5vw,4.5rem) 1.25rem}
.wp-block-post-title{text-wrap:balance}
@media (max-width:781px){.lc-header .wp-block-navigation__responsive-container-content{gap:1rem}}
