/* Kontroll - Base Styles */

:root {
    --blue: #1B3A8B;
    --blue-light: #2E5BCC;
    --blue-dark: #0F2259;
    --red: #E31E24;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --text: #1F2937;
    --text-light: #6B7280;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }

/* Texto solo para lectores de pantalla (WordPress y WooCommerce lo usan, por ejemplo en precios de oferta). */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 20px; z-index: 100000; background: var(--white); color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Sections */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: -.02em; }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.bg-light { background: var(--gray-light); }

/* Buttons */
.btn { padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; position: relative; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c9181d; transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(227,30,36,.3); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(27,58,139,.2); }
.btn-blue:active { transform: translateY(-1px) scale(0.98); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px) scale(1.02); }
.btn-outline:active { transform: translateY(-1px) scale(0.98); }

/* Page Hero */
.page-hero { padding: 120px 24px 60px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; text-align: center; }
body:has(#top-banners-rotator) .page-hero { padding-top: 160px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; max-width: 960px; margin: 0 auto 12px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 550px; margin: 0 auto; }
.page-hero-breadcrumb { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.page-hero-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }

/* Typography for generic content (.prose) */
.prose { font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); font-weight: 700; margin-top: 2em; margin-bottom: 1em; }
.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.4rem; margin-top: 0; }
.prose p { margin-bottom: 1.5em; }
.prose ul, .prose ol { margin-bottom: 1.5em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose a:hover { color: var(--blue-light); }
.prose img { border-radius: var(--radius); margin-bottom: 1.5em; }

/* FontAwesome SVG Fallback Alignment */
svg.fas, svg.fab, svg.far, svg.fa-brands, svg.fa-solid, svg.fa-regular {
    vertical-align: -0.125em;
    display: inline-block;
    overflow: visible;
}

/* FontAwesome i wrapper fallback */
i.fas, i.fab, i.far, i.fa-brands, i.fa-solid, i.fa-regular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
}
