/* ============================================================
   SIPR 2026 - Main CSS
   Design tokens, reset, typography, base layout
   ============================================================ */

/* -----------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ----------------------------------------------------------- */
:root {
    /* Colors */
    --sipr-primary: #C41E3A;
    --sipr-primary-dark: #9B1830;
    --sipr-primary-light: #E8385A;
    --sipr-gold: #D4A843;
    --sipr-gold-light: #E8C973;
    --sipr-dark: #0F1419;
    --sipr-dark-800: #1A202C;
    --sipr-dark-700: #2D3748;
    --sipr-gray-600: #718096;
    --sipr-gray-400: #2D3748;
    --sipr-gray-200: #E2E8F0;
    --sipr-gray-50: #F7FAFC;
    --sipr-white: #FFFFFF;

    /* Border Radius */
    --sipr-radius: 16px;
    --sipr-radius-sm: 8px;
    --sipr-radius-full: 9999px;

    /* Shadows */
    --sipr-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --sipr-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --sipr-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --sipr-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Transitions */
    --sipr-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index scale */
    --sipr-z-header: 9999;
    --sipr-z-mega: 9998;
    --sipr-z-mobile-nav: 9998;
    --sipr-z-fab: 9999;
}

/* -----------------------------------------------------------
   2. Reset / Base
   ----------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: var(--sipr-gray-600);
    background: var(--sipr-white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--sipr-transition);
}

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* -----------------------------------------------------------
   3. Typography
   ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--sipr-dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.85;
}

strong {
    color: var(--sipr-dark);
    font-weight: 600;
}

/* -----------------------------------------------------------
   4. Layout
   ----------------------------------------------------------- */
.container {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sipr-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sipr-primary);
    border-radius: 1px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--sipr-gray-400);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}

/* -----------------------------------------------------------
   5. Skip Link (Accessibility)
   ----------------------------------------------------------- */
.sipr-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--sipr-primary);
    color: var(--sipr-white);
    padding: 12px 24px;
    z-index: 99999;
    font-weight: 600;
    transition: top 0.3s;
}

.sipr-skip-link:focus {
    top: 0;
}

/* -----------------------------------------------------------
   6. Screen Reader Only
   ----------------------------------------------------------- */
.sipr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -----------------------------------------------------------
   7. Buttons
   ----------------------------------------------------------- */
.sipr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--sipr-radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--sipr-transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.sipr-btn-primary {
    background: var(--sipr-gold);
    color: var(--sipr-dark) !important;
    box-shadow: 0 4px 20px rgba(212,168,67,0.4);
}

.sipr-btn-primary:hover {
    background: var(--sipr-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212,168,67,0.5);
}

.sipr-btn-outline {
    background: transparent;
    color: var(--sipr-white) !important;
    border: 2px solid rgba(255,255,255,0.35);
}

.sipr-btn-outline:hover {
    border-color: var(--sipr-white);
    background: rgba(255,255,255,0.1);
}

.sipr-btn-whatsapp {
    background: var(--sipr-primary);
    color: var(--sipr-white) !important;
}

.sipr-btn-whatsapp:hover {
    background: var(--sipr-primary-dark);
    transform: translateY(-1px);
}

.sipr-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--sipr-primary);
    background: none;
    border: none;
    padding: 0;
}

.sipr-btn-link i {
    font-size: 12px;
    transition: transform 0.3s;
}

.sipr-btn-link:hover i {
    transform: translateX(4px);
}

/* -----------------------------------------------------------
   8. Animations
   ----------------------------------------------------------- */
.sipr-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: siprFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.sipr-fade-up.sipr-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes siprFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sipr-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: siprFadeLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.sipr-fade-left.sipr-visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes siprFadeLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.sipr-fade-right {
    opacity: 0;
    transform: translateX(40px);
    animation: siprFadeRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.sipr-fade-right.sipr-visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes siprFadeRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
