:root {
    --brand: #003366;
    --brand-acc: #FFD700;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Navbar */
.navbar {
    transition: background-color .3s ease, box-shadow .3s ease;
    padding-top: .85rem;
    padding-bottom: .85rem;
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: #fff !important;
}

.navbar .nav-link:hover {
    color: var(--brand-acc) !important;
}

/* Al hacer scroll añadimos .scrolled desde JS */
.navbar.scrolled {
    background-color: var(--brand);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

/* Hero */
header#inicio {
    position: relative;
    min-height: 95vh;
    background-color: #CCE0FF;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
}

header#inicio::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .55));*/
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-cta .btn {
    padding: .9rem 1.4rem;
    font-weight: 600;
}

/* Secciones */
section {
    padding: 90px 0;
}

section:nth-of-type(even) {
    background: #f7f9fc;
}

.icon-xxl {
    font-size: 3rem;
    line-height: 1;
}

/* Tarjetas */
.feature-card {
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    padding: 30px;
    height: 100%;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

/* Screenshots mock */
.screen {
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

/* Footer */
footer {
    background: var(--brand);
    color: #fff;
    padding: 48px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* Pequeños ajustes */
.badge-soft {
    background: rgba(233, 75, 99, .15);
    color: #E94B63;
    border: 1px solid rgba(233, 75, 99, .35);
}

nav img {
    width: 35%;
}

nav.scrolled img {
    width: 20%;
}
nav.scrolled {
    background-color: #fff !important;
}
nav.scrolled #navMain ul li a {
    color: #000 !important;
}
header#inicio,
.navbar .nav-link,
.text-primary,
.text-success {
    color: #003874 !important;
}
.navbar .nav-link:hover,
footer a:hover {
    color: #E94B63 !important; 
}

.btn-warning {
    background-color: #E94B63 !important;
    color: #fff !important;
    border: 0;
}

.btn-warning:hover {
    color: #E94B63 !important;
    background-color: #fff !important;
    border: 0;
}

.btn-outline-light {
    background-color: transparent !important;
    color: #E94B63 !important;
    border: 1px solid #E94B63;
}

.btn-outline-light:hover {
    color: #E94B63 !important;
    background-color: #fff !important;
    border: 0;
}

.text-bg-primary,
.btn-primary {
    background-color: #003874 !important;
}

@media (min-width: 1400px) {
    nav .container {
        max-width: auto !important;
    }
}

form{max-width:480px;margin:auto;background:#fff;padding:20px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
input,textarea,button{width:100%;padding:12px;margin:8px 0;border:1px solid #e5e7eb;border-radius:10px}
    