/* =========================================================
 * HERA — Base del tema hijo
 * Sustituye a reset.css y theme.css de Hello Elementor (desactivados).
 * Fuentes alojadas en el propio servidor (variables: un archivo cubre todos los pesos).
 * ======================================================= */

/* ---------- Fuentes ---------- */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader.woff2) format('woff2-variations'),url(../fonts/newsreader.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-italic.woff2) format('woff2-variations'),url(../fonts/newsreader-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Work Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/work-sans.woff2) format('woff2-variations'),url(../fonts/work-sans.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Colores de HERA ---------- */
:root{
	--hera-fondo:#FAF8F5;
	--hera-tarjeta:#FFFDFA;
	--hera-campo:#FBF9F6;
	--hera-tinta:#1E1B18;
	--hera-tinta-2:#39332D;
	--hera-texto:#6E675F;
	--hera-tenue:#A0968B;
	--hera-linea:#DDD6CC;
	--hera-linea-2:#E7E1D8;
	--hera-acento:#D08349;
	--hera-acento-2:#AF6633;
	--hera-enlace:#9A5626;
	--hera-error:#A8432E;
}

/* ---------- Reset mínimo ---------- */
*,*::before,*::after{box-sizing:border-box}
html{line-height:1.15;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--hera-fondo);color:var(--hera-tinta-2);font-family:'Work Sans',system-ui,-apple-system,sans-serif;font-size:16px;font-weight:400;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
main{display:block}
h1,h2,h3,h4,h5,h6{margin:0 0 .5em;font-family:'Newsreader',Georgia,serif;font-weight:300;line-height:1.1;color:var(--hera-tinta)}
p{margin:0 0 1em}
b,strong{font-weight:600}
small{font-size:80%}
hr{height:0;margin:24px 0;border:0;border-top:1px solid var(--hera-linea-2)}
ul,ol{margin:0 0 1em;padding-left:1.25em}
img,video{max-width:100%;height:auto;border-style:none}
table{width:100%;margin:0 0 1.5em;border-collapse:collapse;border-spacing:0;font-size:15px}
th,td{padding:12px 16px;border-bottom:1px solid var(--hera-linea-2);text-align:left;vertical-align:top}
th{font-weight:500;color:var(--hera-tinta)}

/* ---------- Enlaces ---------- */
a{color:var(--hera-enlace);text-decoration:none;background-color:transparent;transition:color .2s}
a:hover{color:var(--hera-tinta)}
a:focus-visible,button:focus-visible,[type=button]:focus-visible,[type=submit]:focus-visible{outline:2px solid var(--hera-acento);outline-offset:2px}

/* ---------- Formularios ---------- */
button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:100%;line-height:1.4;color:inherit}
button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}
button:disabled,[type=button]:disabled,[type=submit]:disabled{cursor:not-allowed}
label{display:inline-block;margin-bottom:6px;font-size:14px;line-height:1.3;color:var(--hera-tinta-2)}
input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{width:100%;min-height:48px;padding:12px 16px;border:1px solid var(--hera-linea);border-radius:0;background:var(--hera-campo);font-size:15px;color:var(--hera-tinta-2);transition:border-color .2s,background-color .2s;-webkit-appearance:none;appearance:none}
textarea{min-height:140px;resize:vertical}
select{padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238C837A' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;cursor:pointer}
input:focus,select:focus,textarea:focus{border-color:var(--hera-tinta);background-color:var(--hera-tarjeta);outline:none;box-shadow:none}
::placeholder{color:var(--hera-tenue);opacity:1}
input[type=checkbox],input[type=radio]{width:18px;height:18px;margin:0 8px 0 0;vertical-align:-3px;accent-color:var(--hera-tinta)}
fieldset{margin:0 0 1em;padding:0;border:0}
legend{padding:0}

/* ---------- Accesibilidad (antes venía de Hello) ---------- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);border:0;word-wrap:normal!important}
.screen-reader-text:focus{z-index:100000;top:5px;left:5px;display:block;width:auto;height:auto;padding:15px 23px;clip:auto!important;clip-path:none;background:var(--hera-tarjeta);color:var(--hera-tinta);font-size:14px;text-decoration:none}
.skip-link{z-index:100000}
