:root {
    --navy: #072352;
    --navy-deep: #041833;
    --teal: #0a7c7e;
    --teal-deep: #066266;
    --ink: #172033;
    --muted: #4d5d6e;
    --line: #d9e1e8;
    --paper: #ffffff;
    --bg: #f3f6f8;
    --error: #8d2b2b;
    --focus: #0a7c7e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--teal-deep); }

a:hover { color: var(--navy); }

h1, h2, h3 { line-height: 1.2; font-weight: 650; }

h1 { margin: 0 0 16px; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.03em; }

h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.02em; }

h3 { margin: 0 0 8px; font-size: 1.2rem; }

p { margin: 0; }

.wrap {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    background: #fff;
    color: var(--navy);
    padding: 8px 12px;
    z-index: 20;
}

.skip:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    min-height: 84px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.brand img {
    display: block;
    height: 54px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

nav a:hover { color: var(--teal-deep); }

.nav-cta {
    background: var(--teal);
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 999px;
}

.nav-cta:hover { background: var(--teal-deep); }

.hero {
    background: var(--navy);
    color: #fff;
    padding: 76px 0 68px;
}

.hero .btn-light,
.hero .btn-light:hover { color: var(--navy); }

.hero .btn-outline,
.hero .btn-outline:hover { color: #fff; }

.eyebrow {
    margin: 0 0 14px;
    color: #7fd4d4;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.lead {
    max-width: 38rem;
    font-size: 1.18rem;
    color: #d7e2ee;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn-light { background: #fff; color: var(--navy); }

.btn-light:hover { background: #e7eef5; color: var(--navy); }

.btn-outline {
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn-primary { background: var(--teal); color: #fff; }

.btn-primary:hover { background: var(--teal-deep); color: #fff; }

.section { padding: 72px 0; }

#szolgaltatasok,
#referenciak,
#ajanlat,
#kapcsolat {
    scroll-margin-top: 96px;
}

.section-alt { background: var(--bg); }

.section-lead {
    max-width: 38rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.cards {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 22px 20px;
}

.section-alt .card { background: #fff; }

.index {
    margin: 0 0 12px;
    color: var(--teal);
    font-weight: 750;
    letter-spacing: 0.08em;
}

.card p:last-child { color: var(--muted); }

.ref {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.ref:hover { border-color: #9ed4d4; }

.domain {
    margin: 0;
    color: var(--teal-deep);
    font-weight: 700;
    font-size: 0.92rem;
}

.ref h3 { color: var(--navy); }

.ref-go {
    margin-top: auto;
    padding-top: 8px;
    color: var(--teal-deep);
    font-weight: 700;
}

.steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.steps li {
    padding-top: 14px;
    border-top: 3px solid var(--teal);
}

.steps p { color: var(--muted); margin-top: 8px; }

.quote-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.fine {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.quote-form, .thanks {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}

.thanks h3 { margin-bottom: 8px; }

.thanks p { color: var(--muted); margin-bottom: 18px; }

.field { margin-bottom: 14px; }

label { display: block; font-weight: 650; margin-bottom: 6px; }

abbr { text-decoration: none; color: var(--teal-deep); }

input, select, textarea {
    width: 100%;
    border: 1px solid #c5d0da;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea { resize: vertical; min-height: 140px; }

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--focus);
    outline-offset: 1px;
    border-color: var(--focus);
}

.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }

.hint, .form-error { color: var(--error); font-size: 0.92rem; margin-top: 6px; }

.form-error { margin-top: 0; margin-bottom: 14px; }

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
}

.check input { width: 18px; height: 18px; margin-top: 3px; }

.hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact .mail {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    background: var(--navy-deep);
    color: #d5e0ea;
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.hero :focus-visible { outline-color: #fff; }

@media (max-width: 860px) {
    .cards-3, .steps, .quote-grid { grid-template-columns: 1fr; }
    .hero { padding: 56px 0 48px; }
    .section { padding: 52px 0; }
    .brand img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
