/* HydroBorex saytı — brend palitrası, sistem şriftləri, xarici resurs yoxdur. */
:root {
    --navy: #1E2F47;
    --deep: #12497A;
    --blue: #0A99D3;
    --accent: #DB5F0B;
    --accent-dark: #B94F08;
    --bg: #F2F5F9;
    --surface: #FFFFFF;
    --border: #C3D1DF;
    --muted: #5B6E83;
    --text: #1E2F47;
    --error: #B3261E;
    --ok: #1F7A4D;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(30, 47, 71, .06), 0 6px 20px rgba(30, 47, 71, .06);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--deep); text-underline-offset: 2px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 650; }
.h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* Grid elementləri dar ekranda daralsın (uzun söz / SVG səhifəni enə daşırmasın). */
.hero-grid > *, .two-col > *, .form-layout > *, .pricing-grid > *, .card-grid > *, .footer-grid > *, .cta-grid > * { min-width: 0; }
h1, h2, h3, p, dd, li { overflow-wrap: break-word; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Elan */
.notice { background: var(--accent); color: #fff; font-size: .95rem; padding: 8px 0; text-align: center; }

/* Başlıq */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.wm { font-size: 1.45rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wm-a { color: var(--navy); font-weight: 400; }
.wm-b { color: var(--blue); font-weight: 700; }
.wm-x { color: var(--accent); font-weight: 700; }
.brand-light .wm-a { color: #fff; }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger { display: none; margin-left: auto; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--blue); }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 500; }
.nav-links a:hover { background: var(--bg); color: var(--deep); }
.nav-links a[aria-current="page"] { color: var(--deep); background: #E4EEF7; }
.lang-switch { border: 1px solid var(--border); border-radius: 8px; padding: 2px !important; }
.lang-switch a { display: block; padding: 4px 8px; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--muted); border-radius: 6px; }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }
.lang-switch a:hover { color: var(--deep); }
.lang-switch a[aria-current="true"]:hover { color: #fff; }

@media (max-width: 980px) {
    .nav-burger { display: block; }
    .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0 16px; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-links { flex-direction: column; }
    .lang-switch { align-self: flex-start; }
    .nav-cta { text-align: center; }
}

/* Düymələr */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
    font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.3;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 13px 24px; font-size: 1.03rem; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--deep); color: var(--navy); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg); color: var(--navy); }
.btn-danger { background: #fff; color: var(--error); border-color: var(--error); }
.btn-danger:hover { background: var(--error); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }

/* İkonlar */
.ico { width: 26px; height: 26px; flex: none; }
.ico-sm { width: 18px; height: 18px; vertical-align: -3px; }
.ico-xl { width: 56px; height: 56px; }

/* Hero */
.hero {
    background:
        radial-gradient(1000px 420px at 85% -10%, rgba(10, 153, 211, .16), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    padding: 56px 0 64px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 80px 0 88px; } }
.kicker { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); background: #E4EEF7; padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero-title { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4rem); margin-bottom: 4px; color: var(--navy); }
.hero-sub { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.hero-lead { font-size: 1.12rem; color: #33475E; max-width: 34em; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.hero-art { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 540px; height: auto; filter: drop-shadow(0 18px 30px rgba(30, 47, 71, .14)); }

/* Bölmələr */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-center { padding: 96px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head .lead { margin: 0 auto; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head-left .lead { margin: 0; }
.page-head { background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--border); padding: 48px 0 36px; }
.page-head .lead { margin-bottom: 0; }

.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; padding: 3px 9px; border-radius: 6px; background: var(--navy); color: #fff; margin-right: 6px; }
.tag-blue { background: var(--blue); }

/* Kartlar */
.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-top: 12px; }
.card p { color: #3B4F66; margin: 0; font-size: .97rem; }
.card-plain { box-shadow: none; }
.card-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #E4F4FB; color: var(--deep); }
.card-ico-lg { width: 64px; height: 64px; margin-bottom: 12px; }
.card-ico-lg .ico { width: 34px; height: 34px; }

.section-band { background: var(--navy); color: #DCE6F0; }
.section-band h2 { color: #fff; }
.section-band .muted { color: #A9BBCD; }
.band-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .band-grid { grid-template-columns: 80px 1fr; } }
.band-ico { color: var(--blue); }

.feature-list { display: grid; gap: 18px; }
@media (min-width: 860px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-row { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature-row p { margin: 0; color: #3B4F66; }
.note-box { margin-top: 28px; padding: 16px 20px; border-left: 4px solid var(--blue); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }

/* CTA zolağı */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--deep)); color: #DCE6F0; padding: 52px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1fr auto; } }

/* Panellər, iki sütun */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.panel-soft { background: #F8FAFC; }
.panel-highlight { border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.two-col, .form-layout, .pricing-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) {
    .two-col { grid-template-columns: 1.4fr 1fr; }
    .form-layout { grid-template-columns: 1.6fr 1fr; }
    .pricing-grid { grid-template-columns: 1.5fr 1fr; }
}
.prose p { color: #33475E; }
.legal h2 { margin-top: 1.6em; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { display: flex; gap: 10px; padding: 6px 0; align-items: flex-start; }
.check-list .ico { color: var(--blue); margin-top: 3px; }
.steps { list-style: none; padding: 0; margin: 0 0 1em; }
.steps li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.key-note { display: flex; gap: 10px; margin-top: 20px; padding: 14px; background: #FFF6EF; border: 1px solid #F2C9AA; border-radius: 10px; }
.key-note .ico { color: var(--accent); }

/* Qiymət cədvəli */
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-right: 12px; }
.per-month { color: var(--muted); font-size: .92rem; white-space: nowrap; }

/* Formalar */
.form .field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=url],
.field input[type=password], .field input:not([type]), .field textarea, .field select {
    width: 100%; font: inherit; color: var(--text); background: #fff;
    border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 153, 211, .2); }
.field-grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field-check { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--deep); }
.field-check label { font-weight: 400; flex: 1; margin: 0; }
.field-check .field-error { width: 100%; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-error { background: #FCEDEC; border: 1px solid #F0B7B3; color: #7A1A14; }
.alert-ok { background: #E8F5EE; border: 1px solid #A8D8BD; color: #14532D; }

.contact-info dl { margin: 0 0 16px; }
.contact-info dt { font-weight: 600; color: var(--muted); font-size: .9rem; margin-top: 14px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 2px 0 0; font-size: 1.1rem; }

.error-code { font-size: 4rem; font-weight: 800; color: var(--blue); margin: 0; line-height: 1; }

/* Altlıq */
.site-footer { background: var(--navy); color: #B8C7D6; padding: 52px 0 0; font-size: .95rem; }
.site-footer a { color: #DCE6F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-tag { color: var(--blue); font-weight: 600; margin: 12px 0 6px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ico { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid rgba(195, 209, 223, .2); margin-top: 40px; padding-top: 18px; padding-bottom: 24px; font-size: .85rem; }
.site-footer .brand-mark { background: #fff; border-radius: 8px; padding: 3px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .notice { display: none; } }
