:root {
    --body-bg: #001c2c;
    --header-bg: #004148;
    --header-border: #ffab49;
    --footer-bg: #004148;
    --footer-border: #002f2f;
    --text: #98ffda;
    --text-white: #ffffff;
    --text-muted: #b0c4d8;
    --primary: #ffab48;
    --primary-hover: #ff9920;
    --secondary: #00d09c;
    --secondary-hover: #00b886;
    --footer-text: #0f727c;
    --footer-nav: #ffab48;
    --footer-nav-hover: #ffffff;
    --banner-overlay: rgba(0, 0, 0, 0.66);
    --banner-bg: #002631;
    --section-alt: #00263a;
    --container-width: 1100px;
    --radius: 5px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--body-bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

/* ========== CONTAINER ========== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */

.header {
    background-color: var(--header-bg);
    border-bottom: 3px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav a {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--header-border);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--header-border);
    transition: width 0.25s;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========== HERO BANNER ========== */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: right center;
    overflow: hidden;
}

.hero--image {
    background-image: url("../images/spinanga.webp");
}

.hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 28, 44, 0.92) 0%,
        rgba(0, 28, 44, 0.7) 40%,
        rgba(0, 65, 72, 0.5) 100%
    );
    z-index: 1;
}

.hero--image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--body-bg), transparent);
    z-index: 2;
}

.hero--solid {
    background-color: var(--banner-bg);
    min-height: 45vh;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 80px 20px 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 171, 72, 0.15);
    border: 1px solid rgba(255, 171, 72, 0.4);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 34px;
    line-height: 1.75;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    padding: 16px 44px;
    font-size: 1.05rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 171, 72, 0.35);
}

.hero .btn:hover {
    box-shadow: 0 6px 28px rgba(255, 171, 72, 0.5);
    transform: translateY(-2px);
}

/* ========== BUTTONS ========== */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.25s, transform 0.15s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: var(--text-white);
}

.btn-block {
    text-align: center;
    margin: 30px 0 10px;
}

/* ========== CONTENT SECTIONS ========== */

.section {
    padding: 50px 0;
}

.section + .section {
    padding-top: 0;
}

.section--accent {
    background: #003a4a;
    padding: 55px 0;
}

.section--accent + .section,
.section--dark + .section,
.section--warm + .section { padding-top: 50px; }

.section--dark {
    background: #00232e;
    padding: 55px 0;
}

.section--warm {
    background: #0a2a3d;
    border-top: 3px solid var(--primary);
    padding: 55px 0;
}

.section--warm h2 {
    color: var(--primary);
}

.highlight-box {
    background: #004a5a;
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 24px 28px;
    margin: 28px 0;
}

.highlight-box p {
    margin-bottom: 8px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 8px;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--text-white);
}

.btn-block .btn + .btn {
    margin-left: 14px;
}

.section-text h2 {
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 16px;
    padding-top: 8px;
    line-height: 1.3;
}

.section-text h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-top: 28px;
    margin-bottom: 10px;
}

.section-text h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-top: 22px;
    margin-bottom: 8px;
}

.section-text p {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.7;
}

.section-text p a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.section-text ol,
.section-text ul {
    padding-left: 24px;
    margin-bottom: 18px;
}

.section-text li {
    margin-bottom: 8px;
    padding-left: 4px;
    line-height: 1.7;
}

/* ========== TABLES ========== */

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    font-size: 0.95rem;
}

.info-table th,
.info-table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}

.info-table th {
    color: var(--text-white);
    font-weight: 700;
    background: rgba(255, 171, 72, 0.15);
    border-bottom: 2px solid var(--primary);
}

.info-table td {
    color: var(--text);
}

.info-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
}

.info-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ========== IMAGES ========== */

.section-image {
    padding: 30px 0;
    text-align: center;
}

.section-image img {
    border-radius: 10px;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ========== FAQ ========== */

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 6px;
    margin-top: 0;
}

.faq-item p {
    color: var(--text);
    margin-bottom: 0;
}

/* ========== FOOTER ========== */

.footer {
    background-color: var(--footer-bg);
    border-top: 3px solid var(--footer-border);
    padding: 40px 0 30px;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    list-style: none;
}

.footer-nav a {
    color: var(--footer-nav);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--footer-nav-hover);
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    align-items: center;
    padding: 10px 0;
}

.payment-logos img {
    height: 28px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.payment-logos img:hover {
    opacity: 1;
}

.copyright {
    color: var(--footer-text);
    font-size: 0.85rem;
    text-align: center;
}

/* ========== FLOAT IMAGE ========== */

.float-right {
    float: right;
    width: 35%;
    margin: 0 0 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 3px solid var(--header-border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .nav.open {
        display: flex;
    }

    .nav li {
        width: 100%;
    }

    .nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
    }

    .nav a::after {
        display: none;
    }

    .nav li:last-child a {
        border-bottom: none;
    }

    .hero {
        min-height: 60vh;
        background-position: 80% center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 50px 16px 70px;
    }

    .hero .btn {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .section {
        padding: 35px 0;
    }

    .section-text h2 {
        font-size: 1.35rem;
    }

    .info-table {
        font-size: 0.85rem;
    }

    .info-table th,
    .info-table td {
        padding: 8px 10px;
    }

    .info-table td:first-child {
        white-space: normal;
    }

    .float-right {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    .btn-block .btn + .btn {
        margin-left: 0;
        margin-top: 12px;
    }

    .btn-block .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .highlight-box {
        padding: 18px 20px;
    }

    .footer-nav {
        gap: 16px;
    }

    .payment-logos {
        gap: 12px;
    }

    .payment-logos img {
        height: 22px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .info-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
