:root {
    --navy: #0B2A4A;
    --navy-700: #12365b;
    --blue: #185FA5;
    --azure: #2E9BFF;
    --azure-soft: #e8f3ff;
    --ink: #15263a;
    --muted: #5a6b7b;
    --line: #e4e9f0;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --radius: 14px;
    --radius-sm: 10px;
    --maxw: 1160px;
    --shadow: 0 10px 30px rgba(11, 42, 74, .08);
    --shadow-lg: 0 24px 60px rgba(11, 42, 74, .14);
    font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--azure); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}

.btn {
    display: inline-flex; align-items: center; gap: .5em; cursor: pointer;
    padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
    border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--azure); color: #fff; box-shadow: 0 8px 22px rgba(46, 155, 255, .35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46, 155, 255, .45); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { color: var(--navy); border-color: var(--azure); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; color: var(--navy); font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { color: var(--navy); }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; }
.brand b { font-weight: 800; }
.brand span { color: var(--muted); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--azure); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang a { padding: 6px 12px; color: var(--muted); }
.lang a.active { background: var(--navy); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 600px at 80% -10%, #163e69 0%, var(--navy) 55%); color: #fff; }
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background: radial-gradient(560px 360px at 12% 110%, rgba(46, 155, 255, .35), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 96px 0 104px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #7fc0ff; }
.hero .lead { font-size: 1.18rem; color: #c7d6e6; max-width: 33ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; list-style: none; padding: 0; color: #aebfd2; font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--azure); }

.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 26px; backdrop-filter: blur(4px); }
.hero-card .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .k { color: #c7d6e6; font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; }
.hero-card .v { color: #fff; font-weight: 700; }
.hero-card .dot { width: 9px; height: 9px; border-radius: 50%; background: #36d39a; box-shadow: 0 0 0 4px rgba(54, 211, 154, .2); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--azure-soft); color: var(--blue); margin-bottom: 20px; }
.service .ico svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); margin-bottom: 18px; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.service li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink); }
.service li::before {
    content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--azure-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px; background-position: center; background-repeat: no-repeat;
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { text-align: left; }
.why-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; margin-bottom: 16px; }
.why-card .ico svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Featured (Boat Electronics) ---------- */
.featured { background: radial-gradient(900px 520px at 88% -20%, #163e69 0%, var(--navy) 60%); color: #fff; }
.featured h2 { color: #fff; }
.featured .lead { color: #c7d6e6; font-size: 1.08rem; margin: 0; }
.featured-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.featured-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.featured-head h2 { margin: 0; }
.featured-ico { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: rgba(46, 155, 255, .16); color: var(--azure); }
.featured-ico svg { width: 24px; height: 24px; }
.badge-new {
    display: inline-block; margin-bottom: 18px; padding: 5px 14px; border-radius: 999px;
    background: rgba(46, 155, 255, .14); color: #7fc0ff; border: 1px solid rgba(46, 155, 255, .4);
    font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.featured ul.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.featured ul.points li { position: relative; padding-left: 28px; color: #c7d6e6; }
.featured ul.points li::before {
    content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
    background: rgba(46, 155, 255, .18);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fc0ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.hero-card .panel-title {
    display: flex; align-items: center; gap: 10px; color: #c7d6e6; font-size: .82rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* ---------- Contact ---------- */
.contact-card {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff;
    border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
    box-shadow: var(--shadow-lg);
}
.contact-card h2 { color: #fff; }
.contact-card p { color: #c7d6e6; margin-bottom: 0; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; }
.contact-actions .big { font-size: 1.35rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.contact-actions .big:hover { color: var(--azure); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb2c8; padding: 54px 0 30px; font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: #9fb2c8; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #c7d6e6; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #7f93ab; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 72px 0 80px; }
    .hero .lead { max-width: none; }
    .featured-grid { grid-template-columns: 1fr; gap: 36px; }
    .services { grid-template-columns: 1fr; }
    .why { grid-template-columns: repeat(2, 1fr); }
    .contact-card { grid-template-columns: 1fr; padding: 40px 30px; text-align: center; }
    .contact-actions { align-items: center; }
    .nav-links, .nav-right .lang { display: none; }
    .nav-toggle { display: block; }
    .nav.open .nav-links {
        display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
        gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    }
    .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav.open .nav-right .lang { display: inline-flex; }
}
@media (max-width: 560px) {
    .why { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
}
