:root {
    --darkbg: #078293;
    --vatera_orange: #f15d21;
    --warning_red: #e31e24;
    --success_green: #22c55e;
    --gutter: 60px;
    --corner: 30px;
    --text_dark: #333;
}

img {
    max-width: 100%;
}

html, body {
    /* clip (not hidden) so it doesn't create a scroll container that breaks sticky */
    overflow-x: clip;
}

/* vateraBase grid is content-box; force border-box so side padding doesn't widen
   the element past the viewport (only visible on mobile where .container is 100%) */
.container,
.container-fluid,
.row,
[class*="col-"],
.text-card,
.info-box,
.bigblock,
.fake-mail {
    box-sizing: border-box;
}

/* guarantee horizontal gutters (vateraBase .container ships with 0 side padding) */
.container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 570px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

dl, ol, p, ul {
    margin-top: 0;
    margin-bottom: 0;
}

a {
    color: var(--vatera_orange);
    text-decoration: underline;
}

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

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.4rem, 1.5vw + 0.5rem, 1.8rem);
    padding-bottom: 0;
    text-align: center;
    margin-bottom: calc(var(--gutter) / 2);
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 800;
}

/* centred section titles get an accent bar; left-aligned ones carry a style attr */
h2:not([style])::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--vatera_orange);
    margin: 16px auto 0;
}

h2[style]::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--vatera_orange);
    margin: 14px 0 0;
}

h3 {
    padding-bottom: 0;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 700;
}

body {
    background-color: #fff !important;
    color: var(--text_dark);
    background-size: 100%;
    background-repeat: no-repeat;
    line-height: 140%;
    font-size: 0.9rem;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* custombutton */
.custombutton {
    font-weight: 600 !important;
    background: var(--vatera_orange);
    color: #fff;
    padding: 15px 25px;
    border-radius: 100px;
    box-shadow: 10px 10px 21px -14px rgba(0, 0, 0, 0.43);
    line-height: 1.4;
    text-align: center;
    font-size: clamp(12px, 1.1vw, 14px);
    position: relative;
    transition: background-color 0.5s ease;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    text-decoration: none;
    display: inline-block;
}

.custombutton span {
    display: inline-block;
    max-width: 100%;
}

.custombutton span::after {
    content: "";
    display: inline-block;
    margin-left: 10px;
    width: 16px;
    height: 11px;
    background-image: url("images/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.custombutton.secondary {
    background: var(--darkbg);
}

.custombutton:hover {
    background: #ffab35;
    color: #fff;
}

ul {
    padding-left: 18px;
}

/* sections */
.text {
    padding-top: var(--gutter);
    padding-bottom: var(--gutter);
}

@media (max-width: 992px) {
    .text {
        padding-top: calc(var(--gutter) / 1.5);
        padding-bottom: calc(var(--gutter) / 1.5);
    }
}

/* two white sections in a row: collapse the doubled gap (not after a grey one) */
.text:not(.another_bg) + .text:not(.another_bg) {
    padding-top: 0;
}

/* tighten the last section above the footer */
.text.before-footer {
    padding-bottom: calc(var(--gutter) / 2);
}

.another_bg {
    background-color: #f8f6f2;
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto calc(var(--gutter) / 2);
}

/* hero + nav */
.header .social {
    display: flex;
    gap: 12px;
}

.header .social a {
    display: inline-flex;
    transition: opacity 0.2s ease;
}

.header .social a:hover {
    opacity: 0.85;
}

.sc_block {
    position: relative;
}

.logo {
    height: 25px;
    width: auto;
}

@media (max-width: 992px) {
    .logo {
        height: 20px;
    }
}


.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.navbar-expand-lg {
    background: #fff !important;
}

.navbar-expand-lg .container {
    position: relative;
    z-index: 100000;
    padding: 5px;
}

.sc {
    padding: var(--gutter) 0;
    color: var(--text_dark);
    background-color: #f8f6f2;
    font-size: 18px;
    margin-top: 0;
}

@media (max-width: 992px) {
    .sc {
        padding: calc(var(--gutter) / 2) 0;
    }
}

.heroinfo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.75rem;
}

.sc h1 {
    color: var(--vatera_orange);
    text-transform: uppercase;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    margin: 0;
}

.sc p {
    font-weight: 500;
    font-size: 16px;
}

.badge {
    display: inline-block;
    background: #ffe8ea;
    color: var(--warning_red);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-illustration {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .hero-illustration {
        max-width: 360px;
        margin-top: calc(var(--gutter) / 2);
    }
}

/* fake mail visual */
.fake-mail {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 460px;
    margin: 24px auto;
}

.fake-mail .mail-header {
    background: #f3f4f6;
    padding: 18px 22px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    word-break: break-word;
}

.fake-mail .mail-body {
    padding: 24px;
}

.fake-mail .mail-body p {
    margin-bottom: 18px;
}

.fake-mail .mail-button {
    display: inline-block;
    background: var(--warning_red);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.fake-mail .mail-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    .hero-visual {
        margin-top: calc(var(--gutter) / 2);
    }
}

/* modern notice callouts (info / success / danger / warning) */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f7f8fa;
    border: 1px solid #eceef1;
    border-radius: 16px;
    padding: 20px 22px;
    margin: 24px 0;
}

.alert__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e6f5f7;
    color: var(--darkbg);
}

.alert__icon svg {
    width: 22px;
    height: 22px;
}

.alert__body {
    flex: 1;
    align-self: center;
}

.alert strong {
    display: block;
    color: var(--text_dark);
    margin-bottom: 4px;
}

.alert.danger {
    background: #fff5f5;
    border-color: #ffe0e0;
}

.alert.danger .alert__icon {
    background: #ffe8ea;
    color: var(--warning_red);
}

/* flag cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: calc(var(--gutter) / 2);
}

/* "Erre figyelj" cards reuse the same notice format as the alerts */
.info-grid .alert {
    margin: 0;
}

/* checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 14px;
}

.checklist li::before {
    content: "\2715";
    position: absolute;
    left: 0;
    top: -1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffe8ea;
    color: var(--warning_red);
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    line-height: 24px;
}

/* visual step cards */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: calc(var(--gutter) * 1.3);
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 46px 22px 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.step-icon {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--vatera_orange);
    color: #fff;
    box-shadow: 0 8px 16px rgba(241, 93, 33, 0.35);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-card p {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 600;
    color: var(--text_dark);
}

/* emphasised action list */
.action-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
    margin-top: 10px;
    list-style: none;
    padding: 0;
}

.action-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #f4e2e2;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.92rem;
}

.action-list__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #ffe8ea;
    color: var(--warning_red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-list__icon svg {
    width: 20px;
    height: 20px;
}

/* code chips */
code {
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* faq */
.faq-item {
    border-top: 1px solid #e5e7eb;
    padding: 22px 0;
}

.faq-item:first-child {
    border-top: none;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text_dark);
    font-size: 1.05rem;
}

/* resource cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: calc(var(--gutter) / 2);
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text_dark);
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    color: var(--text_dark);
    text-decoration: none;
}

.resource-card__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #e6f5f7;
    color: var(--darkbg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resource-card__icon svg {
    width: 24px;
    height: 24px;
}

.resource-card__arrow {
    margin-left: auto;
    color: var(--vatera_orange);
    font-weight: 800;
    font-size: 1.2rem;
}

/* card wrapper */
.bigblock {
    border-radius: var(--corner);
    padding: calc(var(--gutter) / 1.5) var(--gutter);
    margin-top: 0;
}

@media (max-width: 992px) {
    .bigblock {
        padding: calc(var(--gutter) / 2);
    }
}

.text-card {
    background: #fff;
    border-radius: var(--corner);
    padding: 38px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    height: 100%;
}

@media (max-width: 992px) {
    .text-card {
        padding: 28px;
    }
}


.center {
    text-align: center;
}

.cta-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #e6f5f7;
    color: var(--darkbg);
    margin-bottom: 22px;
}

.cta-shield svg {
    width: 40px;
    height: 40px;
}

/* footer */
.footer {
    margin-top: 0;
    text-align: center;
    padding-top: calc(var(--gutter) / 1.5);
    padding-bottom: calc(var(--gutter) / 1.5);
    background: #1f2937;
}

@media (max-width: 992px) {
    .footer {
        padding-top: calc(var(--gutter) / 2);
        padding-bottom: calc(var(--gutter) / 2);
    }
}

.footer p {
    color: #cbd2dc;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

/* easter egg modal */
.ah-egg {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
}

.ah-egg.is-open {
    display: block;
}

.ah-egg__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.ah-egg__card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 440px;
    background: #fff;
    border-radius: var(--corner);
    border-top: 6px solid var(--vatera_orange);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 34px 30px 30px;
    text-align: center;
}

.ah-egg__close {
    position: absolute;
    top: 10px;
    right: 16px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

.ah-egg__close:hover {
    color: var(--text_dark);
}

.ah-egg__emoji {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 16px;
}

.ah-egg__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text_dark);
    margin: 0 0 12px;
    text-transform: none;
    text-align: center;
}

.ah-egg__title::after {
    content: none;
}

.ah-egg__text {
    font-size: 1rem;
    color: var(--text_dark);
    margin: 0 0 24px;
    line-height: 1.5;
}

.ah-egg__card .custombutton {
    cursor: pointer;
    border: none;
}

/* scam type cards */
.scam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: calc(var(--gutter) / 1.5);
}

.scam-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.scam-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #ffe8ea;
    color: var(--warning_red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.scam-card__icon svg {
    width: 26px;
    height: 26px;
}

.scam-card h3 {
    font-size: 1.05rem;
    text-transform: none;
    color: var(--text_dark);
    margin-bottom: 8px;
}

.scam-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* visible keyboard focus for interactive triggers */
.mail-button:focus-visible,
.ah-egg__close:focus-visible,
.vtr-ah-popup__close:focus-visible {
    outline: 3px solid rgba(241, 93, 33, 0.55);
    outline-offset: 2px;
}
