:root {
  --ink: #333333;
  --grey: #6c6c6c;
  --deep-grey: #4c4c4c;
  --soft-grey: #b8b8b8;
  --line: #d8d8d8;
  --paper: #f4f4f2;
  --white: #ffffff;
  --shadow: rgba(30, 30, 30, .14);
  --max: 1020px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #e8e8e6; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 20; top: -60px; left: 18px; padding: 8px 14px; color: var(--white); background: var(--deep-grey); }
.skip-link:focus { top: 18px; }

.site-shell { width: min(100%, 1200px); margin: 0 auto; overflow: hidden; background: var(--white); box-shadow: 0 0 12px var(--shadow); }
.header-topline { height: 5px; background: var(--grey); }
.header-main { display: flex; min-height: 135px; align-items: center; justify-content: space-between; position: relative; }
.brand { display: flex; align-items: center; gap: 26px; text-decoration: none; }
.brand img { width: 62px; height: 89px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; border-left: 1px dotted var(--soft-grey); padding-left: 20px; }
.brand-kicker { color: var(--soft-grey); font-size: 18px; letter-spacing: .03em; }
.brand-name { color: var(--grey); font-family: Georgia, 'Times New Roman', serif; font-size: 19px; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; color: var(--grey); font-size: 14px; }
.header-contact a { text-decoration: none; font-weight: 700; }
.header-contact a:hover, .header-contact a:focus { color: var(--ink); text-decoration: underline; }
.menu-toggle { display: none; border: 1px solid var(--grey); padding: 7px 12px; background: var(--white); color: var(--ink); font: inherit; }
.site-nav { background: var(--deep-grey); }
.nav-inner { display: flex; align-items: stretch; }
.site-nav a { padding: 11px 17px; color: var(--white); border-right: 1px solid #707070; text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a:focus, .site-nav a.active { background: var(--grey); }

.hero { position: relative; min-height: 370px; overflow: hidden; color: var(--white); background: var(--deep-grey); }
.hero-slides, .hero-slide, .hero-slide img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(34,34,34,.82), rgba(34,34,34,.28) 68%, rgba(34,34,34,.18)); }
.hero-content { position: relative; z-index: 1; display: flex; min-height: 370px; max-width: var(--max); flex-direction: column; justify-content: center; align-items: flex-start; padding-right: 42%; }
.eyebrow { margin: 0 0 9px; color: var(--grey); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #dddddd; }
h1, h2, h3 { margin-top: 0; line-height: 1.15; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; }
h1 { margin-bottom: 15px; font-size: clamp(39px, 5.5vw, 68px); letter-spacing: -.04em; }
.hero-text { max-width: 520px; margin: 0; font-size: 19px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button { display: inline-block; border: 1px solid transparent; padding: 9px 16px; cursor: pointer; font: inherit; font-size: 14px; text-decoration: none; }
.button-light { color: var(--deep-grey); background: var(--white); }
.button-light:hover, .button-light:focus { color: var(--white); background: var(--grey); }
.button-quiet { border-color: rgba(255,255,255,.68); color: var(--white); background: transparent; }
.button-quiet:hover, .button-quiet:focus { color: var(--deep-grey); background: var(--white); }
.button-dark { color: var(--white); background: var(--deep-grey); }
.button-dark:hover, .button-dark:focus { background: var(--grey); }
.slider-dots { position: absolute; z-index: 2; right: 24px; bottom: 22px; display: flex; gap: 7px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid var(--white); border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.is-active { background: var(--white); }

.benefits { border-bottom: 1px solid var(--line); background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; padding: 32px 0 28px; }
.benefits article { display: flex; gap: 14px; }
.benefit-mark { flex: 0 0 auto; color: var(--soft-grey); font-family: Georgia, 'Times New Roman', serif; font-size: 28px; line-height: 1; }
.benefits h2 { margin: 0 0 6px; color: var(--grey); font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: 700; }
.benefits p { margin: 0; color: #666666; font-size: 14px; line-height: 1.45; }

.section { padding: 86px 0; }
.section-paper { background: var(--paper); }
.section-dark { color: var(--white); background: var(--deep-grey); }
.two-column, .reference-layout, .faq-layout { display: grid; grid-template-columns: 33% 1fr; gap: 68px; }
.section-heading h2 { margin: 0; color: var(--deep-grey); font-size: clamp(38px, 5vw, 58px); letter-spacing: -.045em; }
.section-dark .section-heading h2 { color: var(--white); }
.heading-rule { display: block; width: 46px; height: 3px; margin-top: 20px; background: var(--grey); }
.section-dark .heading-rule { background: var(--soft-grey); }
.section-copy { max-width: 610px; }
.section-copy p { margin: 0 0 18px; color: #5c5c5c; font-size: 16px; }
.section-copy .lead, .reference-box .lead { color: var(--deep-grey); font-family: Georgia, 'Times New Roman', serif; font-size: 26px; line-height: 1.35; }
.section-dark .section-copy p, .section-dark .section-copy .lead { color: #eeeeee; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.service-list article { min-height: 200px; padding: 22px; border-top: 3px solid var(--grey); background: var(--white); box-shadow: 0 1px 2px var(--shadow); }
.service-list span { color: var(--soft-grey); font-family: Georgia, 'Times New Roman', serif; font-size: 28px; }
.service-list h3 { margin: 15px 0 8px; color: var(--deep-grey); font-size: 19px; }
.service-list p { margin: 0; color: #666666; font-size: 14px; }
.reference-box { border-left: 1px solid var(--line); padding-left: 34px; }
.reference-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 26px; }
.reference-items span { padding: 11px 0; border-bottom: 1px dotted #a9a9a9; color: var(--grey); font-size: 15px; }
.faq-section { background: var(--white); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 35px 19px 0; color: var(--deep-grey); cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; top: 14px; color: var(--grey); content: '+'; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: normal; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: -3px 35px 19px 0; color: #666666; font-size: 15px; }
.faq-list a { color: var(--grey); }

.contact-section { padding: 74px 0; color: var(--white); background: #5a5a5a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; }
.contact-section .eyebrow { color: #d8d8d8; }
.contact-section h2 { margin: 0 0 16px; color: var(--white); font-size: clamp(39px, 5vw, 60px); letter-spacing: -.045em; }
.contact-intro { max-width: 380px; margin: 0; color: #eeeeee; font-size: 17px; }
.contact-card { margin: 0; padding: 3px 0; font-style: normal; }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.contact-row:last-child { border-bottom: 0; }
.contact-label { color: #cfcfcf; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.contact-row a { color: var(--white); text-decoration: none; }
.contact-row a:hover, .contact-row a:focus { text-decoration: underline; }

.site-footer { color: #dddddd; background: var(--deep-grey); }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding: 38px 0; }
.footer-main > div { display: flex; align-items: center; gap: 22px; }
.footer-main img { width: 42px; height: 60px; object-fit: contain; }
.footer-main p { margin: 0; color: #c5c5c5; font-family: Georgia, 'Times New Roman', serif; font-size: 15px; line-height: 1.45; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-main nav a { color: #d7d7d7; font-size: 13px; text-decoration: none; }
.footer-main nav a:hover, .footer-main nav a:focus { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #686868; }
.footer-bottom .container { display: flex; justify-content: space-between; padding: 13px 0; color: #bcbcbc; font-size: 12px; }

.cookie-banner { position: fixed; z-index: 10; right: 18px; bottom: 18px; left: 18px; display: flex; max-width: 760px; align-items: center; justify-content: space-between; gap: 24px; margin: auto; padding: 15px 18px; border: 1px solid #bebebe; background: var(--white); box-shadow: 0 4px 18px var(--shadow); }
.cookie-banner[hidden]{display:none !important}
.cookie-banner strong { color: var(--deep-grey); font-size: 14px; }
.cookie-banner p { margin: 2px 0 0; color: #5c5c5c; font-size: 12px; line-height: 1.4; }
.cookie-banner .button { flex: 0 0 auto; }

.legal-main { min-height: 560px; padding: 72px 0 100px; background: var(--paper); }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 { margin-bottom: 18px; color: var(--deep-grey); font-size: clamp(39px, 5vw, 58px); }
.legal-wrap h2 { margin: 38px 0 11px; color: var(--deep-grey); font-size: 26px; }
.legal-wrap p, .legal-wrap li { color: #555555; font-size: 16px; }
.legal-wrap ul { padding-left: 23px; }
.legal-wrap a { color: var(--grey); }
.legal-back { display: inline-block; margin-bottom: 32px; color: var(--grey); font-size: 14px; text-decoration: none; }
.legal-back:hover, .legal-back:focus { text-decoration: underline; }
.not-found { text-align: center; }
.not-found .legal-wrap { margin: auto; }
.not-found .button { margin-top: 14px; }

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .header-main { min-height: 112px; gap: 14px; }
  .brand { gap: 13px; }
  .brand img { width: 47px; height: 68px; }
  .brand-copy { padding-left: 13px; }
  .brand-kicker { font-size: 13px; }
  .brand-name { font-size: 15px; }
  .header-contact { display: none; }
  .menu-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-inner { display: flex; flex-direction: column; width: 100%; }
  .site-nav a { padding: 10px 16px; border-right: 0; border-bottom: 1px solid #666666; }
  .hero, .hero-content { min-height: 430px; }
  .hero-content { padding: 64px 16px 52px; justify-content: flex-end; }
  .hero-text { font-size: 17px; }
  .benefits-grid, .service-list { grid-template-columns: 1fr; gap: 0; }
  .benefits article { padding: 17px 0; border-bottom: 1px solid var(--line); }
  .benefits article:last-child { border-bottom: 0; }
  .section { padding: 58px 0; }
  .two-column, .reference-layout, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-copy .lead, .reference-box .lead { font-size: 22px; }
  .service-list { margin-top: 35px; gap: 12px; }
  .service-list article { min-height: auto; }
  .reference-box { padding-left: 18px; }
  .contact-grid { gap: 38px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 27px; }
  .footer-main nav { gap: 10px 16px; }
  .cookie-banner { align-items: flex-start; flex-direction: column; gap: 11px; }
  .cookie-banner .button { align-self: flex-end; }
  .legal-main { padding: 48px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}
