:root {
    --primary: #1a3a5c;
    --secondary: #2c6fad;
    --accent: #e8a000;
    --light: #f4f7fb;
    --dark: #111827;
    --text: #333;
    --border: #dde3ed;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.65;
}

/* ── Header ── */
header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-badge {
    width: 46px;
    height: 46px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 19px;
    color: var(--primary);
    letter-spacing: -1px;
    flex-shrink: 0;
}
.logo-name  { font-size: 20px; font-weight: 700; line-height: 1.2; }
.logo-eood  { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 2px; text-transform: uppercase; }

nav ul { list-style: none; display: flex; gap: 4px; }
nav a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 8px 17px;
    border-radius: 5px;
    font-size: 15px;
    transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
    background: var(--secondary);
    color: #fff;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(140deg, var(--primary) 0%, #1e5799 55%, var(--secondary) 100%);
    color: #fff;
    padding: 90px 24px;
    text-align: center;
}
.hero h1 { font-size: 44px; font-weight: 700; margin-bottom: 16px; }
.hero p  { font-size: 18px; max-width: 620px; margin: 0 auto 34px; opacity: 0.88; }
.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.18s, box-shadow 0.18s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }

/* ── Page header (inner pages) ── */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 56px 24px;
    text-align: center;
}
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p  { font-size: 16px; opacity: 0.8; max-width: 520px; margin: 0 auto; }

/* ── Main wrapper ── */
main { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }

/* ── Section titles ── */
.section-title {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}
.section-intro { color: #666; font-size: 16px; margin: 12px 0 42px; max-width: 720px; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: var(--light);
    border-radius: 8px;
    padding: 30px 26px;
    border-left: 4px solid var(--secondary);
    transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.09); }
.card-icon  { font-size: 38px; margin-bottom: 14px; display: block; }
.card h3    { color: var(--primary); font-size: 18px; margin-bottom: 9px; }
.card p     { color: #666; font-size: 14px; line-height: 1.75; }

/* ── Services grid ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.srv {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 24px;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.srv:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0,0,0,0.09); border-color: var(--secondary); }
.srv-icon { font-size: 40px; display: block; margin-bottom: 14px; }
.srv h3   { color: var(--primary); font-size: 17px; margin-bottom: 9px; }
.srv p    { color: #666; font-size: 14px; line-height: 1.75; }

/* ── About page ── */
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.about-text h2 { color: var(--primary); font-size: 22px; margin: 28px 0 12px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p  { color: #555; font-size: 15px; margin-bottom: 14px; line-height: 1.8; }

.reg-card {
    background: var(--light);
    border-radius: 8px;
    padding: 26px 22px;
    border-top: 4px solid var(--accent);
    position: sticky;
    top: 90px;
}
.reg-card h3 { color: var(--primary); font-size: 17px; margin-bottom: 18px; font-weight: 700; }
.reg-row {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}
.reg-row:last-child { border-bottom: none; padding-bottom: 0; }
.reg-label { color: #888; font-weight: 600; margin-bottom: 3px; }
.reg-value { color: var(--dark); font-weight: 500; line-height: 1.5; }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

.contact-info h3 { color: var(--primary); font-size: 20px; margin-bottom: 22px; }
.ci-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.ci-icon { font-size: 24px; min-width: 34px; text-align: center; }
.ci-text strong { display: block; color: var(--primary); font-size: 14px; margin-bottom: 3px; }
.ci-text span   { color: #555; font-size: 14px; line-height: 1.6; }
.ci-text a      { color: var(--secondary); text-decoration: none; }
.ci-text a:hover { text-decoration: underline; }

.contact-form h3 { color: var(--primary); font-size: 20px; margin-bottom: 22px; }
.form-note { font-size: 13px; color: #888; margin-bottom: 20px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 14px; color: #555; margin-bottom: 5px; font-weight: 600; }
.fg input, .fg textarea, .fg select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(44,111,173,0.13);
}
.fg textarea { height: 130px; resize: vertical; }
.btn-send {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.18s;
}
.btn-send:hover { background: var(--secondary); }

/* ── CTA strip (home) ── */
.cta-strip {
    background: var(--primary);
    color: #fff;
    padding: 54px 24px;
    text-align: center;
    margin-top: 70px;
}
.cta-strip h2 { font-size: 28px; margin-bottom: 10px; }
.cta-strip p  { font-size: 16px; opacity: 0.8; margin-bottom: 26px; }
.cta-strip a  {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 13px 34px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

/* ── Footer ── */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 50px 24px 0;
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.footer-col p, .footer-col a {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255,255,255,0.58);
    text-decoration: none;
    display: block;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .header-inner { height: auto; padding: 14px 20px; flex-direction: column; gap: 12px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    nav a  { padding: 6px 12px; font-size: 14px; }
    .hero h1 { font-size: 28px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .reg-card { position: static; }
}
