/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #f5f7fb;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: linear-gradient(90deg, #0d47a1, #1976d2);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.logo-subtitle {
    font-size: 0.78rem;
    opacity: 0.9;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    display: block;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #e3f2fd;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.main-nav a.active {
    background: #e3f2fd;
    color: #0d47a1;
}

/* Hero */
.hero {
    background: radial-gradient(circle at top left, #e3f2fd 0, #f5f7fb 55%, #e8f0ff 100%);
    padding: 3rem 0 2.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 2.6vw, 2.6rem);
    margin-bottom: 1rem;
    color: #102a43;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 36rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.08s ease;
}

.btn-primary {
    background: #1976d2;
    color: #ffffff;
    border-color: #1565c0;
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #1976d2;
    border-color: #1976d2;
}

.btn-outline:hover {
    background: rgba(25, 118, 210, 0.06);
}

/* Hero right */
.hero-highlight {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem 1rem 1.25rem;
    box-shadow: 0 16px 40px 4px rgba(15, 35, 95, 0.12);


}

.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #e3f2fd;
    color: #0d47a1;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.hero-highlight-text {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: #334e68;
}

.hero-cert-image img {
    width: 75%;
    height: auto;
    display: block;
    border-radius: 0.2rem;
    border: 1px solid #e1e7f5;
	margin: 0 auto;
}

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section-light {
    background-color: #ffffff;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #102a43;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.25rem 1.3rem;
    box-shadow: 0 10px 30px rgba(15, 35, 95, 0.08);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    color: #12344d;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Two-column sections */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
}

.two-column h2 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.4rem;
    color: #12344d;
}

.two-column p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Text link */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: #1976d2;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Lists */
.checklist {
    list-style: none;
    padding-left: 0;
    margin-top: 0.4rem;
}

.checklist li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
    color: #2e7d32;
}

.bulleted {
    padding-left: 1.1rem;
    font-size: 0.9rem;
}

.bulleted li {
    margin-bottom: 0.3rem;
}

/* Mini cards */
.cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.7rem;
}

.mini-card {
    background: #f3f6ff;
    border-radius: 0.7rem;
    padding: 0.7rem 0.8rem;
}

.mini-card h3 {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
    color: #12344d;
}

.mini-card p {
    margin: 0;
    font-size: 0.88rem;
}

/* News list */
.news-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
}

.news-list li {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
}

.news-date {
    font-weight: 600;
    color: #1565c0;
    min-width: 3.2rem;
}

.news-text {
    color: #334e68;
}

/* Footer */
.site-footer {
    background: #0b1f3b;
    color: #cfd8e3;
    padding: 1.2rem 0;
    margin-top: 1rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.86rem;
}

.footer-meta {
    text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-highlight {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-nav ul {
        justify-content: flex-start;
    }
}



/* Page utilities */
.page-header h1 {
    margin-bottom: 0.4rem;
    font-size: 1.8rem;
    color: #102a43;
}
.page-intro {
    font-size: 0.98rem;
    max-width: 42rem;
    line-height: 1.7;
    color: #334e68;
}
.text-block {
    max-width: 48rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.text-muted {
    font-size: 0.86rem;
    color: #73819b;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.gallery-item {
    background: #ffffff;
    border-radius: 0.8rem;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(15, 35, 95, 0.08);
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}
.gallery-item figcaption {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #334e68;
}

/* Customers */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

/* Project list */
.project-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.project-list li {
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
    background: #f3f6ff;
    margin-bottom: 0.7rem;
}
.project-list h3 {
    margin: 0 0 0.25rem;
    font-size: 1.02rem;
    color: #12344d;
}
.project-list p {
    margin: 0;
    font-size: 0.9rem;
}

/* News large */
.news-list-large .news-text {
    font-size: 0.92rem;
}

/* Contacts */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
}
.contact-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 12px 30px rgba(15, 35, 95, 0.08);
}
.contact-form .form-row {
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.contact-form label {
    font-size: 0.86rem;
    color: #475a77;
}
.contact-form input,
.contact-form textarea {
    border-radius: 0.6rem;
    border: 1px solid #cbd2e1;
    padding: 0.45rem 0.6rem;
    font-size: 0.9rem;
    font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 1px rgba(25, 118, 210, 0.25);
}
.form-actions {
    margin-top: 0.4rem;
}
.form-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #73819b;
}

/* Mobile navigation (hamburger) */
.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #e3f2fd;
    margin-bottom: 4px;
}

/* Adjust header for small screens */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .customers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .nav-toggle {
        display: block;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .main-nav {
        width: 100%;
        display: none;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.3rem;
        padding-bottom: 0.5rem;
    }
    .site-header.nav-open .main-nav {
        display: block;
    }
}



/* EU & OP logos on News page */
.eu-logos {
    display: flex;
    justify-content: space-between; /* left and right edges */
    align-items: center;
    margin: 1.5rem 0 2.5rem 0;
}

.eu-logos img {
    height: 100px; /* common height for both logos */
    width: auto;
    object-fit: contain;
    display: block;
}


/* Header logo image */
.logo-image {
    height: 40px;
    width: auto;
    display: block;
}


/* Language switcher */
.lang-switch{
  display:flex;
  gap:0.35rem;
  align-items:center;
  margin-left: 0.75rem;
}
.lang-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 2.2rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  text-decoration:none;
  font-size: 0.82rem;
  color:#e3f2fd;
  border:1px solid rgba(255,255,255,0.25);
}
.lang-switch a.active{
  background:#e3f2fd;
  color:#0d47a1;
  border-color:#e3f2fd;
}
