@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #13233f;
  --ink-soft: #53657b;
  --cream: #f3f5f8;
  --paper: #ffffff;
  --line: #d9dee8;
  --accent: #0b4aa2;
  --accent-dark: #002f8d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(19, 35, 63, .10);
  --radius: 18px;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .75em; font-family: 'Space Grotesk', sans-serif; line-height: 1.15; letter-spacing: -.03em; }
p { margin: 0 0 1.15em; }
ul { margin: 0; padding: 0; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed; z-index: 1000; top: 1rem; left: 1rem; width: auto; height: auto; margin: 0; padding: .75rem 1rem; clip: auto; background: var(--accent); color: var(--ink); }
.container { width: min(var(--max-width), calc(100% - 3rem)); margin-inline: auto; }
.main-container { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* Header and navigation */
.site-header { position: relative; z-index: 20; background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(19, 35, 63, .09); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 92px; display: flex; align-items: center; gap: 2rem; }
.logo-container { flex: 0 0 auto; max-width: 220px; }
.logo-container a, .logo-container img { display: block; }
.logo-container img { max-height: 56px; width: auto; }
.logo-container .custom-logo { max-height: 56px; width: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.header-note { color: var(--ink-soft); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.main-navigation ul { display: flex; align-items: center; gap: .35rem; list-style: none; }
.main-navigation a { display: block; padding: .55rem .8rem; color: var(--ink); font-size: .94rem; font-weight: 600; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { background: var(--ink); color: var(--white); }
.mobile-menu-toggle { display: none; border: 0; background: var(--ink); color: var(--white); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; }

/* Hero */
.header-image, .page-hero { position: relative; min-height: 330px; display: flex; align-items: flex-end; overflow: hidden; padding: 4rem 0; color: var(--white); background: var(--ink) url('../images/header-image.png') center / cover no-repeat; }
.header-image::before, .page-hero::before { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(19,35,63,.92), rgba(19,35,63,.3)); }
.header-image > *, .page-hero > * { position: relative; z-index: 1; }
.header-image h1, .header-image h2, .page-hero h1 { width: min(var(--max-width), calc(100% - 3rem)); margin: 0 auto; color: var(--white); font-size: clamp(2.5rem, 6vw, 5.5rem); }
.hero-content { width: min(var(--max-width), calc(100% - 3rem)); margin: 0 auto; }
.page-hero h1 { width: auto; margin: 0; text-align: left; }
.hero-content h1 { max-width: 760px; }
.hero-content p { max-width: 570px; color: var(--ink-soft); font-size: 1.1rem; }
.header-image .hero-content p, .page-hero .hero-content p { color: rgba(255,255,255,.82); }
.eyebrow { margin: 0 0 .75rem; color: var(--accent-dark); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-content .eyebrow { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Buttons and content */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease; }
.button:hover { color: inherit; transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-dark); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--ink); }
.button-link { min-height: 0; padding: 0; color: var(--accent-dark); }
.grid { display: flex; flex-wrap: wrap; }
.grid .column { padding: 0 1rem; }
.grid .column:first-child { padding-left: 0; }
.grid .column:last-child { padding-right: 0; }
.column-full { width: 100%; }.column-1\/2 { width: 50%; }.column-2\/3 { width: 66.666%; }.column-1\/3 { width: 33.333%; }.column-3\/5 { width: 60%; }.column-2\/5 { width: 40%; }
.block-element { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(19,35,63,.04); }
.block-element-home { padding: clamp(1.5rem, 4vw, 3rem); }
.block-element-home h1, .block-element-home h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.block-element-home h2, .block-element-home h3 { color: var(--ink); }
.block-element-home p:last-child { margin-bottom: 0; }
.block-element-home a:not(.button), .wp-block-post-content a, .block-element-intro a { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.block-element-menu { padding: 1.6rem; background: var(--ink); color: var(--white); border: 0; }
.block-element-menu h3 { color: var(--white); font-size: 1.2rem; }
.block-element-menu .menu { list-style: none; }
.block-element-menu .menu a { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--white); transition: padding .2s ease, background .2s ease, color .2s ease; }
.block-element-menu .menu a::after { content: '↗'; color: var(--accent); transition: transform .2s ease, color .2s ease; }
.block-element-menu .menu a:hover { padding-inline: .75rem; background: var(--white); color: var(--ink); border-radius: 8px; text-decoration: none; }
.block-element-menu .menu a:hover::after { color: var(--accent-dark); transform: translate(3px, -3px); }
.home-container { margin-top: -3rem; position: relative; z-index: 2; padding-bottom: 3rem; }
.centered { display: flex; justify-content: center; padding: 1.5rem; }
.page-content { padding: clamp(2rem, 5vw, 5rem) 0; }
.page-content .block-element { padding: clamp(1.5rem, 4vw, 3rem); }

/* Product cards and product detail */
.home-products { padding: 2.5rem 0 4rem; }
.home-products > h2, .home-products > h3 { margin-bottom: 1.5rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.products.home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.products li { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border .2s ease; }
.products li:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.products li a { display: flex; height: 100%; flex-direction: column; }
.products li img { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; background: #e8ece7; }
.products li h2 { display: flex; flex-direction: column; gap: .45rem; margin: 0; padding: 1.1rem 1.1rem .25rem; color: var(--ink); font-size: 1.1rem; }
.products li h3 { margin: 0; padding: 0 1.1rem 1.25rem; color: var(--ink-soft); font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 500; }
.products .price { color: var(--accent-dark); font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 700; }
.product-layout { align-items: flex-start; padding: 3rem 0 5rem; }
.block-element-product-images { display: grid; gap: 1rem; }
.featured-image, .technical-image { padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.featured-image img, .technical-image img { display: block; width: 100%; border-radius: 10px; }
.technical-image h3 { padding: .5rem .25rem 1rem; margin: 0; font-size: 1rem; }
.block-element-product-specs { position: sticky; top: 1.5rem; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-content { padding: clamp(1.5rem, 3vw, 2.5rem); }
.product-title { max-width: 390px; font-size: clamp(2rem, 4vw, 3.2rem); }
.product-content h2 { color: var(--ink-soft); font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.price-container { margin: 2rem 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block-element-product-specs .price { color: var(--accent-dark); font-family: 'Space Grotesk', sans-serif; font-size: 1.55rem; font-weight: 700; }
.product-desc .spec { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.product-desc .spec:last-child { border-bottom: 0; }
.product-desc, .product-desc * { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; }
.product-desc { color: var(--ink); font-size: 1rem; line-height: 1.6; }
.product-desc .spec-label { display: block; margin: 0 0 .35rem; color: var(--ink-soft); font-family: 'Space Grotesk', sans-serif !important; font-size: .78rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.product-desc p { margin: 0; }
.product-desc table { width: 100%; margin: .25rem 0 0; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.product-desc th, .product-desc td { padding: .55rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-desc th { color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-desc tr:last-child td { border-bottom: 0; }
.product-desc td:last-child, .product-desc th:last-child { text-align: right; font-weight: 600; }
.order-button-container { padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.order-button-container .button { width: 100%; }

/* Contact, forms and modal */
#map { width: 100%; min-height: 380px; background: #dce6e0; }
.contact-content { padding: 3rem 0 5rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], select, textarea { width: 100%; max-width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(230,163,77,.35); border-color: var(--accent-dark); }
textarea { min-height: 140px; resize: vertical; }
label { font-size: .82rem; font-weight: 600; }
form.wpcf7-form p { margin: 0 0 1rem; }
form.wpcf7-form input[type=submit] { padding: .8rem 1.2rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; cursor: pointer; }
.offerte-modal { position: fixed; z-index: 30; inset: auto 50% 0; width: min(720px, 100%); max-height: 92vh; overflow: auto; padding: 0; background: var(--paper); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 80px rgba(19,35,63,.25); transform: translate(-50%, 110%); transition: transform .25s ease; }
.offerte-modal.active { transform: translate(-50%, 0); }
.modal-overlay { position: fixed; z-index: 29; inset: 0; background: rgba(19,35,63,.65); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-header { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin-bottom: .35rem; font-size: 1.8rem; }
.modal-header p:last-child { margin: 0; color: var(--ink-soft); }
.close-modal { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.modal-content { padding: 2rem; }

/* Call to action and footer */
.cta-bar { overflow: hidden; background: #eef1f5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-bar__inner { display: flex; min-height: 320px; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-bar__copy { max-width: 590px; padding: 3rem 0; }
.cta-bar h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-bar .eyebrow { color: var(--accent-dark); }
.cta-bar p:not(.eyebrow) { max-width: 460px; color: var(--ink-soft); }
.cta-bar .button-primary { background: var(--accent); color: var(--white); }
.cta-bar .button-primary:hover { background: var(--accent-dark); color: var(--white); }
.cta-bar__person { align-self: flex-end; width: 320px; margin-right: 4%; }
.cta-bar__person img { display: block; width: 100%; }
.site-footer { background: #e9edf2; color: var(--ink); border-top: 1px solid #d2d9e3; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 3rem; align-items: start; padding: 2.75rem 0 2.25rem; }
.footer-brand { display: inline-block; margin-bottom: .5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; }
.site-footer p { max-width: 260px; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.site-footer .footer-company { margin-top: .7rem; }
.site-footer .footer-company a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-company a:hover { color: var(--accent); }
.footer-navigation ul { display: grid; gap: .4rem; list-style: none; }
.footer-navigation a { color: var(--ink-soft); font-size: .9rem; }
.footer-navigation a:hover { color: var(--accent); }
.social-links { display: flex; gap: .6rem; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #b9c4d2; border-radius: 50%; color: var(--ink); }
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.site-footer__bottom { display: flex; justify-content: space-between; padding: 1rem 0 1.4rem; border-top: 1px solid #cbd3df; color: var(--ink-soft); font-size: .76rem; }

@media (max-width: 992px) {
  .header-note { display: none; }
  .products.home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .social-links { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .container, .hero-content, .header-image h1, .header-image h2 { width: min(100% - 2rem, var(--max-width)); }
  .site-header__inner { min-height: 74px; gap: 1rem; }
  .logo-container { max-width: 175px; }
  .logo-container img, .logo-container .custom-logo { max-height: 43px; }
  .header-actions { margin-left: auto; }
  .mobile-menu-toggle { display: block; position: relative; z-index: 22; }
  .main-navigation { display: none; }
  .main-navigation.is-open { position: fixed; z-index: 21; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--paper); }
  .main-navigation.is-open ul { flex-direction: column; gap: .5rem; }
  .main-navigation.is-open a { padding: .75rem 1.4rem; font-size: 1.35rem; }
  .header-image, .page-hero { min-height: 270px; padding: 3rem 0; }
  .grid .column, .column-1\/2, .column-2\/3, .column-1\/3, .column-3\/5, .column-2\/5 { width: 100%; padding-inline: 0; }
  .home-container { margin-top: -2rem; }
  .home-container .column + .column { margin-top: 1rem; }
  .products { grid-template-columns: 1fr; }
  .product-layout { padding-top: 1.5rem; }
  .block-element-product-specs { position: static; margin-top: 1rem; }
  .cta-bar__inner { min-height: 0; align-items: flex-end; }
  .cta-bar__copy { padding: 2.5rem 0; }
  .cta-bar__person { width: 185px; margin-right: -1rem; }
  .site-footer__top { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .social-links { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; gap: .35rem; }
  .offerte-modal { max-height: 95vh; }
  .modal-header, .modal-content { padding: 1.35rem; }
}
