/*
Theme Name: SeguroWP
Theme URI: https://segurowp.com
Author: SeguroWP
Author URI: https://segurowp.com
Description: Theme propio e independiente para SeguroWP. Minimalista, tipográfico, dinámico vía filtros. Sin ACF, sin constructores.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0+
Text Domain: segurowp
*/

/* ==========================================================================
   Tokens — única fuente de verdad
   ========================================================================== */
:root {
    --swp-ink:        #111111;
    --swp-body:       #444444;
    --swp-muted:      #8a8a8a;
    --swp-line:       #ececec;
    --swp-bg:         #ffffff;
    --swp-bg-soft:    #fafafa;
    --swp-accent:     #c8472a;
    --swp-accent-hover:#b03e23;
    --swp-accent-ink: #ffffff;

    --swp-font-display:"Archivo","Helvetica Neue",Arial,sans-serif;
    --swp-font-body:   "Inter","Helvetica Neue",Arial,sans-serif;

    --swp-hero:   clamp(2.6rem,8vw,5.5rem);
    --swp-h1:     clamp(2rem,5vw,3.5rem);
    --swp-h2:     clamp(1.6rem,3.5vw,2.6rem);
    --swp-h3:     1.25rem;
    --swp-lead:   1.125rem;
    --swp-base:   1rem;
    --swp-small:  0.85rem;

    --swp-maxw:      1120px;
    --swp-maxw-text: 680px;
    --swp-gap:       24px;
    --swp-section:   clamp(48px,9vw,110px);
    --swp-radius:    12px;
    --swp-radius-sm: 7px;
    --swp-shadow:    0 1px 3px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.05);
    --swp-trans:     .18s ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--swp-font-body);font-size:var(--swp-base);line-height:1.65;color:var(--swp-body);background:var(--swp-bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,h4{font-family:var(--swp-font-display);color:var(--swp-ink);line-height:1.05;margin:0;letter-spacing:-0.01em}
p{margin:0 0 1.2em}
p:last-child{margin-bottom:0}
ul,ol{margin:0;padding-left:1.4em}
li{margin-bottom:.4em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--swp-accent);outline-offset:2px}
