@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=Inter:wght@400;500;600&display=swap');

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

:root {
    --blue-900: #0a3d62;
    --blue-800: #0e4d7a;
    --blue-700: #1565a0;
    --blue-600: #1976b8;
    --blue-100: #e8f4fc;
    --blue-50: #f5fafd;
    --sand: #f8f6f3;
    --sand-dark: #eeebe6;
    --text: #1a2a3a;
    --text-light: #5a6a7a;
    --white: #ffffff;
    --border: #e0e4e8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--blue-900);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; font-weight: 600; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--blue-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-900);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-900);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.nav-menu > li > a:hover {
    color: var(--blue-700);
}

.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--text);
    transition: background 0.15s;
}

.dropdown li a:hover {
    background: var(--blue-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.88) 0%, rgba(14, 77, 122, 0.82) 100%);
}

.hero-content {
    position: relative;
    max-width: 600px;
    color: var(--white);
}

.hero-location {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.section {
    padding: 5rem 0;
}

.section-sand {
    background: var(--sand);
}

.section-header {
    max-width: 600px;
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-700);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 1.0625rem;
}

.product-category {
    margin-bottom: 4rem;
    scroll-margin-top: 90px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--blue-700);
}

.category-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: var(--blue-600);
    box-shadow: 0 8px 30px rgba(10, 61, 98, 0.1);
    transform: translateY(-2px);
}

.product-card h4 {
    color: var(--blue-900);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.product-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--blue-700);
    background: var(--blue-100);
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.75rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

.about-list {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.about-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-list-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue-700);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.about-list-item span {
    color: var(--text);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 800px;
}

.cert-image {
    background: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.cert-image img {
    width: 100%;
}

.cert-content h3 {
    margin-bottom: 1rem;
}

.cert-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.cert-id {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--blue-100);
    color: var(--blue-800);
    font-weight: 600;
    font-size: 0.875rem;
}

.env-section {
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
}

.env-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.env-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.env-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.9) 0%, rgba(14, 77, 122, 0.85) 100%);
}

.env-content {
    position: relative;
}

.env-label {
    color: rgba(255,255,255,0.7);
}

.env-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.env-section p {
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

a.contact-item:hover {
    border-color: var(--blue-600);
}

.contact-item-label {
    display: block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item-value {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    font-weight: 500;
}

.contact-form {
    background: var(--blue-900);
    padding: 2rem;
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    outline: none;
    transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(255,255,255,0.5);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.footer {
    background: var(--blue-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 36px;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-nav h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-nav a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    padding: 0.375rem 0;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.7);
}

.footer-bottom-clean {
    border: none;
    padding-top: 0;
}

.policy-page {
    padding: 8rem 0 5rem;
    min-height: 100vh;
}

.policy-header {
    margin-bottom: 3rem;
}

.policy-content {
    max-width: 700px;
}

.policy-content h3 {
    font-size: 1.25rem;
    margin: 2.5rem 0 1rem;
    color: var(--blue-900);
}

.policy-content h3:first-of-type {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.policy-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.policy-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--blue-700);
    border-radius: 50%;
}

.policy-content a {
    color: var(--blue-700);
}

.policy-content a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--blue-700);
    font-weight: 500;
}

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

.lang-switcher {
    position: relative;
    margin-left: 0.5rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s;
}

.lang-current:hover {
    border-color: var(--blue-600);
}

.lang-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 3.5px solid currentColor;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 140px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.25rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 110;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.15s;
}

.lang-option:hover {
    background: var(--sand);
}

.lang-option.active {
    color: var(--blue-700);
    font-weight: 600;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--blue-900);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-text p {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: rgba(255,255,255,0.7);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--white);
    color: var(--blue-900);
}

.cookie-btn-accept:hover {
    background: var(--sand);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

section[id] {
    scroll-margin-top: 70px;
}

@media (max-width: 900px) {
    .about-grid,
    .contact-grid,
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu > li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .has-dropdown > a::after {
        float: right;
        margin-top: 0.35rem;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        padding: 0;
        display: none;
        background: var(--sand);
    }

    .dropdown.active {
        display: block;
    }

    .dropdown li a {
        padding: 0.75rem 2rem;
        color: var(--text-light);
        font-size: 0.9375rem;
    }

    .dropdown li a:hover {
        background: var(--blue-50);
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 0.75rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 101;
    }

    .nav-toggle.active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    section, section > div, section > div > div, section > div > div > div {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .contact-grid > div, .grid > div {
        min-width: 0;
        max-width: 100%;
    }
}

#contact-form {
    max-width: 100%;
    overflow: hidden;
}

#contact-form .g-recaptcha {
    transform-origin: left center;
    max-width: 100%;
}

@media (max-width: 400px) {
    #contact-form .g-recaptcha {
        transform: scale(0.85);
    }
}

@media (max-width: 340px) {
    #contact-form .g-recaptcha {
        transform: scale(0.75);
    }
}
