:root {
  --red: #b9141b;
  --red-dark: #8c0f14;
  --ink: #161616;
  --text: #454545;
  --muted: #727272;
  --surface: #f5f3f1;
  --white: #fff;
  --line: #dedbd8;
  --shadow: 0 18px 45px rgba(22, 22, 22, 0.12);
  --radius: 18px;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; color: var(--text); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.65; background: var(--white); }
body, button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 7vw, 5.7rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
h3 { font-size: 1.25rem; }

.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.section-padding { padding: clamp(4rem, 8vw, 7rem) 0; }
.bg-light { background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 0.5rem; left: 0.5rem; transform: translateY(-150%); padding: 0.75rem 1rem; color: var(--white); background: var(--ink); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 4px; }
.eyebrow { margin-bottom: 0.8rem; color: var(--red); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.section-title { max-width: 760px; margin-bottom: 2.5rem; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-height); background: rgba(255,255,255,0.97); border-bottom: 1px solid rgba(0,0,0,0.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; }
.logo img { width: 54px; height: 54px; object-fit: contain; }
.logo-copy { display: flex; flex-direction: column; }
.logo-text { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em; }
.logo-text span, .footer-brand span { color: var(--red); }
.logo-slogan { margin-top: 0.3rem; color: var(--red); font-size: 0.72rem; font-weight: 700; font-style: italic; }
.nav-menu ul { display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.nav-menu a { padding: 0.6rem 0; color: var(--ink); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--red); }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: min(800px, 88vh); margin-top: var(--header-height); display: grid; place-items: center; overflow: hidden; color: var(--white); }
.hero-compact { min-height: 540px; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(5,5,5,0.86), rgba(5,5,5,0.32)); }
.hero-content { position: relative; z-index: 1; }
.hero-content > * { max-width: 770px; }
.hero-content h1 { margin-bottom: 1rem; color: var(--white); }
.hero-content p:not(.eyebrow) { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.button-group { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 2rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0.8rem 1.2rem; border: 2px solid transparent; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: transform 0.2s ease, background-color 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--red); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary { color: var(--white); border-color: var(--white); }
.btn-secondary:hover { color: var(--ink); background: var(--white); }
.btn-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.centered-action { margin-top: 2.5rem; text-align: center; }
.text-link { color: var(--red); font-weight: 800; }

.card-grid, .image-card-grid, .blog-grid, .product-grid, .solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card, .blog-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-card { min-height: 260px; }
.card-number { display: block; margin-bottom: 3rem; color: var(--red); font-weight: 800; }
.info-card p, .blog-card p { margin-bottom: 0; }
.image-card { position: relative; min-height: 370px; overflow: hidden; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,0.9)); }
.image-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.image-card:hover img { transform: scale(1.04); }
.image-card span { position: absolute; z-index: 1; inset: auto 1.3rem 1.3rem; }
.image-card strong, .image-card small { display: block; }
.image-card strong { font-size: 1.25rem; }
.image-card small { margin-top: 0.35rem; color: rgba(255,255,255,0.78); }

.partners { text-align: center; background: var(--surface); }
.partners .section-title { margin-inline: auto; }
.partner-logos { display: flex; justify-content: center; align-items: stretch; gap: 1.5rem; flex-wrap: wrap; }
.partner-item { width: min(360px, 100%); margin: 0; padding: 1.5rem; border-radius: var(--radius); background: var(--white); }
.partner-item img { width: 100%; height: 120px; object-fit: contain; }
.partner-item figcaption { margin-top: 1rem; color: var(--ink); font-weight: 700; }

.cta { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; text-align: center; color: var(--white); }
.cta > img, .cta-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta > img { object-fit: cover; }
.cta-overlay { background: rgba(0,0,0,0.76); }
.cta-content { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta p { max-width: 680px; margin-inline: auto; }

.catalogues { margin-bottom: 2.5rem; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: var(--radius); background: var(--surface); }
.catalogues h2 { margin-bottom: 0; font-size: 1.5rem; }
.catalogues .button-group { margin-top: 0; }
.product-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn { padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-weight: 700; }
.filter-btn[aria-pressed="true"], .filter-btn:hover { color: var(--white); background: var(--red); border-color: var(--red); }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-card[hidden] { display: none; }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-card div { padding: 1.5rem; }
.product-card h2 { font-size: 1.45rem; }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.split-feature img { width: 100%; min-height: 440px; object-fit: cover; border-radius: var(--radius); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--red); font-weight: 800; }
.service-list h3 { margin-bottom: 0.4rem; font-size: 1.5rem; }
.service-list p { margin: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; list-style: none; }
.process-grid li { padding: 1.5rem; border-left: 3px solid var(--red); background: var(--surface); }
.process-grid span { color: var(--red); font-size: 2rem; font-weight: 800; }

.solution-grid article { overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.solution-grid img { width: 100%; height: 240px; object-fit: cover; }
.solution-grid div { padding: 1.5rem; }
.solution-grid h3 { color: var(--white); }
.solution-grid p { margin: 0; color: rgba(255,255,255,0.75); }
.statement { max-width: 850px; text-align: center; }
.statement .eyebrow { margin-inline: auto; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list > div { padding: 1.2rem; border-left: 3px solid var(--line); background: var(--surface); }
.contact-list .emergency { border-left-color: var(--red); }
.contact-list h3 { margin-bottom: 0.35rem; font-size: 1rem; }
.contact-list p { margin: 0; }
.contact-list a { color: var(--red); font-weight: 700; }
.contact-form { padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: var(--radius); background: var(--surface); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; color: var(--ink); font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.85rem; border: 1px solid #b8b5b2; border-radius: 8px; color: var(--ink); background: var(--white); }
.form-group textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: 0.88rem; }
.hidden-field { display: none; }
.map-section { height: 430px; }
.map-section iframe { width: 100%; height: 100%; border: 0; }

.blog-card { min-height: 250px; }
.blog-card h2, .blog-card h3 { font-size: 1.5rem; }
.blog-card h2 a, .blog-card h3 a { text-decoration: none; }
.post-date { color: var(--red); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }
.empty-state { max-width: 760px; margin-inline: auto; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius); text-align: center; background: var(--surface); }
.article-header, .simple-page { margin-top: var(--header-height); padding: clamp(5rem, 10vw, 9rem) 0; background: var(--surface); }
.article-narrow { max-width: 760px; }
.article-header h1, .simple-page h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
.article-intro { font-size: 1.25rem; }
.article-body { padding-top: 4rem; padding-bottom: 6rem; font-size: 1.08rem; }
.article-body h2, .article-body h3 { margin-top: 2.5rem; }
.article-body blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--red); color: var(--ink); font-size: 1.25rem; }
.article-cta { margin-top: 4rem; padding: 2rem; border-radius: var(--radius); background: var(--surface); }

.site-footer { color: rgba(255,255,255,0.76); background: var(--ink); }
.footer-content { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: 3rem; padding: 4rem 0; }
.footer-brand { margin-bottom: 1rem; color: var(--white); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.06em; }
.site-footer h2 { color: var(--white); font-size: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.site-footer a { color: inherit; }
.site-footer address { display: flex; flex-direction: column; gap: 0.4rem; font-style: normal; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.footer-bottom { padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; inset: var(--header-height) 0 auto; display: none; padding: 1rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-menu.is-open { display: block; }
  .nav-menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu a { display: block; padding: 0.9rem; }
  .card-grid, .image-card-grid, .product-grid, .solution-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid, .split-feature { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --header-height: 78px; }
  .logo img { width: 44px; height: 44px; }
  .logo-slogan { display: none; }
  .hero, .hero-compact { min-height: 560px; }
  .hero-overlay { background: rgba(5,5,5,0.7); }
  .button-group .btn { width: 100%; }
  .card-grid, .image-card-grid, .product-grid, .solution-grid, .blog-grid, .process-grid { grid-template-columns: 1fr; }
  .catalogues { align-items: stretch; flex-direction: column; }
  .catalogues .button-group { width: 100%; }
  .service-list article { grid-template-columns: 46px 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
