/* ProntoNube public marketing pages (LandingLayout: landing at "/" and /aviso-de-privacidad) - global part.

   What lives here is what Blazor CSS isolation cannot reach: the self-hosted @font-face rules, the
   document-level smooth scrolling, and the small design system shared by more than one component
   (LandingLayout, LandingPage, PrivacyNoticePage) - brand tokens, base text, links, buttons, sections
   and headings. A scoped .razor.css only styles its own component's elements, so a class used by two
   components must be defined here or it silently renders unstyled in one of them.
   Header/footer styles live in LandingLayout.razor.css; each page keeps its own in its .razor.css.

   Light theme only by design: App.razor never puts theme-dark on these routes, so the brand colors
   below are fixed on purpose and do not follow the app's theme variables.

   Static file: changes take effect on a plain browser refresh, no rebuild. Breakpoint: 760px. */

/* Nunito: headings (700-900). Google Fonts latin subset, variable weight axis. */
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/nunito-latin-variable.woff2') format('woff2');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

/* Inter: body text (400-700). Google Fonts latin subset, variable weight axis. */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-latin-variable.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.lp) {
        scroll-behavior: smooth;
    }
}

/* Root: brand tokens (spec «Marca») and base text */

.lp {
    --lp-navy: #03195A;
    --lp-blue: #137FE1;          /* accents and large text (>= 24px) only */
    --lp-blue-btn: #0F6AC0;      /* buttons and small-text links (5.5:1 on white) */
    --lp-cyan-soft: #7FE3F3;     /* only on navy */
    --lp-whatsapp: #0B7A4B;
    --lp-text: #2A3757;
    --lp-text-2: #3A4A6B;
    --lp-muted: #5B6B8A;
    --lp-on-navy: #C9D6EE;
    --lp-bg-tint: #EEF7FE;
    --lp-bg-soft: #F5F8FC;
    --lp-line: #E3ECF7;
    --lp-line-strong: #B9D3EE;
    --lp-font-head: 'Nunito', 'Inter', system-ui, sans-serif;

    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
    /* The design uses the browser default, not Bootstrap's inherited 1.5. */
    line-height: normal;
    color: var(--lp-text);
    background: #ffffff;
    width: 100%;
    color-scheme: light;
}

.lp p,
.lp h1,
.lp h2,
.lp h3,
.lp ol,
.lp ul {
    margin: 0;
}

.lp a {
    color: var(--lp-blue-btn);
}

.lp a:hover {
    color: var(--lp-navy);
}

.lp a:focus-visible {
    outline: 3px solid var(--lp-blue);
    outline-offset: 3px;
}

.lp-accent {
    color: var(--lp-blue);
}

/* Buttons */

.lp .lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.lp .lp-btn-primary {
    background: var(--lp-blue-btn);
    color: #ffffff;
}

.lp .lp-btn-primary:hover {
    background: var(--lp-navy);
    color: #ffffff;
}

.lp .lp-btn-outline {
    background: #ffffff;
    color: var(--lp-navy);
    border: 1.5px solid var(--lp-line-strong);
}

.lp .lp-btn-outline:hover {
    border-color: var(--lp-blue-btn);
    color: var(--lp-navy);
}

.lp .lp-btn-whatsapp {
    background: var(--lp-whatsapp);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 122, 75, 0.28);
}

.lp .lp-btn-whatsapp:hover {
    background: #08603B;
    color: #ffffff;
}

.lp-btn-sm {
    font-weight: 600;
    font-size: 15px;
    padding: 12px 20px;
    min-height: 44px;
}

.lp-btn-md {
    font-size: 16px;
    padding: 14px 24px;
    min-height: 48px;
}

.lp-btn-lg {
    font-size: 17px;
    padding: 16px 28px;
    min-height: 52px;
}

.lp-btn-lg.lp-btn-outline {
    padding: 16px 26px;
}

.lp-btn-lg.lp-btn-primary {
    box-shadow: 0 8px 20px rgba(15, 106, 192, 0.25);
}

.lp-btn-xl {
    font-size: 18px;
    padding: 18px 32px;
    min-height: 56px;
}

.lp-btn-xl.lp-btn-outline {
    padding: 18px 30px;
}

/* Sections. Pages that change a section's vertical padding set padding-top/-bottom only, so the
   mobile side padding below keeps applying. */

.lp-section {
    padding: 96px 24px;
    background: #ffffff;
    /* Keeps anchored sections clear of the sticky header. */
    scroll-margin-top: 72px;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Headings */

.lp-eyebrow {
    color: var(--lp-blue-btn);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-h1 {
    font-family: var(--lp-font-head);
    font-weight: 900;
    font-size: 64px;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--lp-navy);
}

.lp-h2 {
    font-family: var(--lp-font-head);
    font-weight: 900;
    font-size: 44px;
    line-height: 1.1;
    color: var(--lp-navy);
}

.lp-h3 {
    font-family: var(--lp-font-head);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.25;
    color: var(--lp-navy);
}

@media (max-width: 760px) {
    .lp-h1 { font-size: 40px; }
    .lp-h2 { font-size: 32px; }

    .lp-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}
