/* Röntgen brand style — spalvos ir tipografija paimtos iš rontgen.lt */

:root {
    --ron-dark: #2f3039;
    --ron-cyan: #38d7f4;
    --ron-red: #f04a4a;
    --ron-white: #ffffff;
    --ron-grey: #b9bbc4;
}

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

html,
body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background-color: var(--ron-dark);
    color: var(--ron-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Viršutinė juosta --- */

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 28px 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    display: block;
}

.footer-logo {
    height: 30px;
    display: block;
}

.top-nav a {
    color: var(--ron-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-left: 34px;
    transition: color 0.2s ease;
}

.top-nav a:hover {
    color: var(--ron-cyan);
}

/* --- Hero --- */

.hero {
    flex: 1;
    display: flex;
    background-color: var(--ron-dark);
    background-image: url('../img/header.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: cover;
    padding: 170px 0 90px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1 1 0;
    max-width: 640px;
}

.hero-form {
    flex: 0 0 auto;
    width: 100%;
    max-width: 460px;
}

.hero-title {
    font-weight: 500;
    font-size: 42px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ron-white);
}

.hero-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 35px 0 25px;
}

.hero-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.hero-bullets li {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.hero-bullets li::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ron-red);
    margin-right: 10px;
    flex-shrink: 0;
}

/* --- Mygtukai --- */

.ron-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ron-dark);
    background: var(--ron-cyan);
    border: none;
    border-radius: 30px;
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.ron-btn:hover {
    background: #5fe0f8;
}

.ron-btn:active {
    transform: scale(0.98);
}

.ron-btn-block {
    display: block;
    width: 100%;
}

/* --- Poraštė --- */

.footer {
    background: #26272f;
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-text {
    font-size: 13px;
    color: var(--ron-grey);
}

/* --- Mailchimp įterpta forma --- */

.signup-card {
    background: var(--ron-white);
    color: var(--ron-dark);
    border-radius: 6px;
    max-width: 520px;
    padding: 36px 34px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.signup-title {
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.indicates-required {
    font-size: 12px;
    color: #7d7f89;
    margin-bottom: 18px;
}

.asterisk {
    color: var(--ron-red);
}

.mc-field-group {
    margin-bottom: 18px;
}

.mc-field-group > label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mc-field-group input.email {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 10px 14px;
    border: 1px solid #d4d5da;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease;
}

.mc-field-group input.email:focus {
    border-color: var(--ron-cyan);
}

/* GDPR blokas */

.gdpr-heading {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mc_fieldset {
    border: none;
}

.mc-field-group > label.checkbox.subfield,
label.checkbox.subfield {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 12px;
    cursor: pointer;
}

label.checkbox.subfield input.gdpr {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--ron-cyan);
    cursor: pointer;
}

.gdpr-note {
    font-size: 12px;
    font-weight: 300;
    color: #7d7f89;
    line-height: 1.5;
    margin-top: 14px;
}

.content__gdprLegal p {
    font-size: 11px;
    font-weight: 300;
    color: #9a9ca6;
    line-height: 1.5;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ececf0;
}

.content__gdprLegal a {
    color: #23aac4;
}

/* Mailchimp atsakymų pranešimai */

#mce-responses .response {
    font-size: 13px;
    line-height: 1.5;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

#mce-error-response {
    background: #fdeaea;
    color: #c0392b;
}

#mce-success-response {
    background: #e6f9f0;
    color: #1e8e5a;
}

/* --- Planšetė ir mažiau: forma po tekstu --- */

@media (max-width: 991px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-form {
        max-width: 520px;
    }
}

/* --- Mobilus --- */

@media (max-width: 600px) {
    .hero {
        padding-top: 130px;
    }

    .hero-title {
        font-size: 30px;
    }

    .top-nav {
        display: none;
    }

    .signup-card {
        padding: 28px 20px 24px;
    }
}
