 @font-face {
    font-family: "Open Sans";
    src: local ("Open Sans"), local ("OpenSans"), url("../fonts/OpenSans-VariableFont.ttf") format("truetype");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Open Sans";
    src: local ("Open Sans Italic"), local ("OpenSans-Italic"), url("../fonts/OpenSans-Italic-VariableFont.ttf") format("truetype");
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
  }

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family:  "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #222;
    background: #f5f5f5;
    line-height: 1.6;
}

a {
    color: #245777;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Open Sans", Verdana, Times, serif;
    font-weight: normal;
    color:#222;
    margin: 1rem 0 0.5rem 0;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  h1 {
    font-size: 1.8rem;
    color: rgb(36, 87, 119);
    font-weight: 600;
  }
  h2 { font-size: 1.25rem; }                       /* 24px */


p {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

strong {
    font-weight: 700;
    display: inline;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(23, 48, 84);
    line-height: 1.6;
    font-weight: 600;
}


/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ===========================
   HEADER & LOGO
   =========================== */
.site-header {
    background: #f5f5f5;
}

.header-wrapper {
    background: #f5f5f5;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #245777;
}

.logo {
    width: min(760px, 90vw);
    height: auto;
    flex-shrink: 0;
}

/* ===========================
   NAVIGATION
   =========================== */
.site-navigation {
    background: #245777;
    padding: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 1.5rem;
    margin-right: auto;
}

.menu-icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.site-navigation ul {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-navigation li {
    flex: 0 1 auto;
}

.site-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: background 0.3s ease;
    font-size: 1.05rem;
    line-height: 1.6;
    display: block;
    padding: 15px 30px;
}

.site-navigation a:hover {
    background: #1a3a52;
    text-decoration: none;
}

/* ===========================
   MAIN CONTENT
   =========================== */
main {
    min-height: calc(100vh - 300px);
    background: #fff;
    padding-bottom: 4rem;

}

.content-section {
    padding: 0 50px;
    padding-top: 1.5rem;
    background: #fff;
}

.content-section .container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ===========================
   HERO / INTRO SECTION
   =========================== */
.hero-section {
    background: #fff;
    padding: 30px 50px 0;
    margin-top: 0;
}


/* ===========================
   CONTACT CARDS (Text only)
   =========================== */
.contacts-grid {
    display: block;
    margin-bottom: 24px;
}

.contact-card {
    background: transparent;
    padding: 0;
    border: none;
    border-left: none;
    margin-bottom: 0.5rem;
}

.contact-card a {
    text-decoration: underline;
}

.contact-card a:hover {
    text-decoration: none;
}

/* ===========================
   FORMS SECTION
   =========================== */
.forms-section {
    background: #fff;
    padding: 0 50px;
    margin: 0;
}

.forms-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.forms-list p {
    margin-bottom: 15px;
}

.forms-list a {
    display: inline-block;
    padding: 12px 24px;
    background: #245777;
    color: #fff;
    text-decoration: none;
    border: 1px solid #245777;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.forms-list a:hover {
    background: #1a3a52;
    border-color: #1a3a52;
    text-decoration: none;
}

/* ===========================
   QUALITY SECTION
   =========================== */
.quality-section {
    background: #fff;
    padding: 0;
}

.quality-section h3:first-of-type {
    margin-top: 0;
}

.quality-grid {
    display: block;
}

.quality-grid dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 30px;
    margin-bottom: 1.5rem;
    max-width: 40rem;
    margin-top: 1rem;
}

.quality-grid dt {
    font-weight: normal;
    text-align: left;
}

.quality-grid dd {
    margin-bottom: 0;
    text-align: right;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #245777;
    color: #fff;
    padding: 50px;
}

footer strong {
    color: #fff;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-address {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-address strong {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    text-align: right;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #c8e0f4;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* ===========================
   FORMS
   =========================== */

.wbv-form {
    margin-top: 24px;
    max-width: 800px;
}

.form-fieldset {
    border: 1px solid #dde3e8;
    border-radius: 4px;
    padding: 20px 24px 24px;
    margin-bottom: 24px;
}

.form-fieldset legend {
    font-size: 0.95rem;
    font-weight: 700;
    color: #245777;
    padding: 0 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.4;
}

.form-group small {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.4;
    display: block;
    min-height: 1.4em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea {
    border: 1px solid #b0bec5;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #245777;
    box-shadow: 0 0 0 2px rgba(36, 87, 119, 0.15);
}

.form-group input.field-invalid,
.form-group textarea.field-invalid {
    border-color: #c0392b;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.form-row .form-group {
    display: flex;
    flex-direction: column;
}

.form-group--checkbox {
    flex-direction: column;
}

.form-group--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
}

.form-group--checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #245777;
}

.field-error {
    display: none;
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 4px;
}

.required-star {
    color: #c0392b;
    font-weight: 700;
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.btn-submit {
    background: #245777;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #1a3a52;
}

.required-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.form-message {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message--success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.form-message--error {
    background: #fdecea;
    border: 1px solid #ef9a9a;
    color: #c0392b;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .header-wrapper .container {
        padding: 0 30px;
    }

    .content-section {
        padding: 0 30px;
        margin-top: 16px;
    }

    .hero-section {
        padding: 64px 30px 0;
    }

    .logo {
        width: min(620px, 92vw);
    }

    .site-navigation a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contacts-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .forms-list {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 30px;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        padding-right: 0;
    }

    .header-wrapper .container {
        padding: 0 20px;
    }

    .header-logo {
        max-width: 100%;
        padding: 0 10px;
        flex: 1;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: #245777;
        padding: 10px 15px;
        margin-right: 0;
    }

    .content-section {
        padding: 0 20px;
        margin-top: 16px;
    }

    .hero-section {
        padding: 56px 20px 0;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .logo-link {
        gap: 15px;
    }

    .logo {
        width: min(460px, 94vw);
    }

    h1 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1rem;
    }

    .site-navigation {
        background: #245777;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        order: 3;
        width: 100%;
    }

    .site-navigation.active {
        max-height: 500px;
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .site-navigation a {
        padding: 10px 15px;
        font-size: 0.85rem;
        text-align: left;
        border-bottom: 1px solid #1a3a52;
    }

    .site-navigation a:last-child {
        border-bottom: none;
    }

    footer {
        padding: 20px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-links {
        gap: 15px;
    }
}
