html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

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

table {
    width: 100%;
}

/* Layout principal */
.site-container {
    max-width: 1350px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

.site-main {
    margin-top: 95px;
    min-height: calc(100vh - 190px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 18%, #063d7d 70%, #022247 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1350px;
    margin: auto;
    padding: 10px 20px;
}

.site-logo img {
    height: 55px;
    max-width: 220px;
}

.menu-toggle {
    display: none;
    background: #063d7d;
    border: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 12px;
}

.main-menu {
    display: flex;
}

.main-nav {
    display: flex;
    align-items: center;
    margin: 0;
}

.main-nav li {
    list-style: none;
}

.main-nav li a {
    color: #fff !important;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.main-nav li a:hover {
    background: rgba(255,255,255,0.10);
}

/* Footer */
.site-footer {
    background: #022247;
    color: #fff;
    text-align: center !important;
    padding: 30px 15px;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-footer p {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center !important;
    line-height: 1.6;
}

/* Cookies */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111827;
    color: #fff;
    z-index: 99999;
    padding: 15px;
}

.cookie-inner {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.cookie-inner a {
    color: #60a5fa;
    margin: 0 10px;
}

.cookie-inner button {
    margin-left: 15px;
    background: #035cbd;
    border: 0;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}

/* Home */
.home-hero,
.home-features,
.home-features .row-fluid {
    width: 100%;
    box-sizing: border-box;
}

.home-features .span4 {
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 991px) {
    .site-header {
        background: #ffffff;
    }

    .site-header-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .main-menu {
        display: none;
        width: 100%;
        background: #063d7d;
        margin-top: 10px;
        border-radius: 12px;
        overflow: hidden;
    }

    .main-menu.open {
        display: block;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav li a {
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .site-main {
        margin-top: 95px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .site-container {
        padding: 10px;
    }

    .site-logo img {
        height: 48px;
        max-width: 190px;
    }

    .site-main {
        margin-top: 88px;
    }

    h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    h3 {
        font-size: 20px;
        line-height: 1.25;
    }

    .btn,
    button,
    input[type="submit"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .menu-toggle {
        width: auto !important;
        margin-bottom: 0;
    }

    .row-fluid {
        display: block !important;
    }

    [class*="span"] {
        width: 100% !important;
        margin-left: 0 !important;
    }

    table {
        display: block;
        overflow-x: auto;
    }

    .home-hero {
        width: 100%;
        margin: 0;
        padding: 26px 14px !important;
    }

    .home-hero h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .home-features .span4 {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 16px;
    }

    .home-card {
        width: 100%;
        margin: 0 0 16px 0;
        padding: 20px !important;
    }

    .cookie-inner button {
        width: 100%;
        margin: 12px 0 0 0;
    }
	.site-container .btn,
    .site-container button,
    .site-container input[type="submit"] {
     min-height: 44px;
     box-sizing: border-box;
}

@media (min-width: 768px) {
    .site-container .btn {
        min-width: 150px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .site-container .btn,
    .site-container button,
    .site-container input[type="submit"] {
        width: 100% !important;
        display: block;
        margin: 8px 0;
    }
}
}