:root {
  --mp-navy: #0C0B3F;
  --mp-navy-deep: #000034;
  --mp-navy-soft: #2F2E5D;
  --mp-orange: #D64820;
  --mp-orange-dark: #9B4320;
  --mp-orange-mid: #E2472E;
  --mp-orange-warm: #E17E3F;
  --mp-orange-soft: #E08B65;
  --mp-off-white: #F8F7F4;
  --mp-mist: #E2E7E4;
  --mp-white: #FFFFFF;
  --mp-black: #000000;
  --mp-header: #12233F;
  --mp-footer: var(--mp-navy-deep);
  --mp-border: var(--mp-mist);
  --mp-text: var(--mp-black);
  --mp-shell: 1120px;
  --mp-gutter: clamp(20px, 4vw, 40px);
  --mp-section: clamp(56px, 8vw, 96px);
  --mp-section-tight: clamp(36px, 5vw, 60px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--mp-text); background: var(--mp-off-white); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.75em; color: var(--mp-navy); font-family: Tahoma, Verdana, sans-serif; font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
p { margin: 0 0 1.25em; }

.site-shell { width: min(100% - (var(--mp-gutter) * 2), var(--mp-shell)); margin-inline: auto; }
.content-shell { max-width: 860px; padding-block: var(--mp-section); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { left: 8px; }

.site-header { position: relative; z-index: 100; background: var(--mp-header); color: #fff; }
.site-header__inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 76px; }
.site-branding__text { color: #fff; text-decoration: none; font-family: Tahoma, Verdana, sans-serif; font-size: 1.2rem; }
.primary-navigation { display: flex; align-items: center; gap: 30px; }
.primary-menu, .footer-menu, .legal-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 24px; }
.primary-menu a { color: #fff; text-decoration: none; font-size: 0.95rem; }
.primary-menu a:hover, .primary-menu a:focus-visible { color: var(--mp-orange-soft); }
.header-actions { display: none; align-items: center; gap: 16px; }
.header-phone { color: #fff; text-decoration: none; white-space: nowrap; }
.header-contact-bar { background: var(--mp-mist); color: var(--mp-black); }
.header-contact-bar__inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-contact-bar__details { display: flex; align-items: center; gap: 30px; font-weight: 700; }
.header-contact-bar__details a { position: relative; padding-left: 22px; text-decoration: none; }
.header-contact-bar__details a::before { position: absolute; left: 0; color: var(--mp-orange-dark); font-size: 1rem; }
.header-contact-bar__details a[href^="tel"]::before { content: "●"; }
.header-contact-bar__details a[href^="mailto"]::before { content: "■"; font-size: .72rem; top: .18em; }
.header-contact-bar__cta { min-height: 42px; }
.menu-toggle { display: none; border: 0; padding: 10px; background: transparent; color: #fff; }
.menu-toggle__label { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.menu-toggle__icon { display: grid; gap: 5px; }
.menu-toggle__icon span { display: block; width: 26px; height: 2px; background: currentColor; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.86rem; font-weight: 700; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.button--accent { background: var(--mp-orange-dark); color: #fff; }
.button--accent:hover, .button--accent:focus-visible { background: var(--mp-navy); }
.button--ghost { border-color: currentColor; color: #fff; background: transparent; }
.button--ghost:hover, .button--ghost:focus-visible { background: #fff; color: var(--mp-navy); }
.button--outline { border-color: rgba(12,11,63,.25); background: #fff; color: var(--mp-navy); }
.button--outline:hover, .button--outline:focus-visible { border-color: var(--mp-navy); background: var(--mp-navy); color: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.home-hero { position: relative; min-height: 700px; overflow: hidden; background: var(--mp-navy) url('../images/14-scaled.webp') center / cover no-repeat; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,52,.35), rgba(0,0,52,.04)); }
.home-hero__inner { position: relative; min-height: 700px; display: flex; align-items: center; }
.home-hero__content { position: relative; z-index: 2; width: min(610px, 58%); padding: clamp(34px, 5vw, 54px); background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.2); }
.home-hero h1 { max-width: 18ch; margin-bottom: 16px; color: var(--mp-navy); font-size: clamp(2.25rem, 3.5vw, 3.25rem); font-weight: 700; text-transform: uppercase; }
.hero-rule { width: 220px; max-width: 55%; height: 5px; margin-bottom: 22px; background: repeating-linear-gradient(135deg, var(--mp-orange-dark) 0 3px, transparent 3px 6px); }
.hero-lede { max-width: 590px; color: #28272f; font-size: 1rem; font-weight: 400; line-height: 1.65; }
.home-hero__machine { position: absolute; z-index: 1; right: -2%; bottom: -11%; width: min(55vw, 680px); height: auto; }

.home-benefits { position: relative; z-index: 3; margin-top: -58px; padding-bottom: 48px; background: linear-gradient(to bottom, transparent 58px, var(--mp-navy) 58px); }
.home-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 16px 36px rgba(0,0,0,.16); }
.home-benefits article { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; padding: 42px 28px 32px; border-right: 1px solid var(--mp-border); }
.home-benefits article:last-child { border-right: 0; }
.home-benefits h2 { min-height: 3.2em; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; }
.home-benefits h2::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 16px; background: var(--mp-orange-dark); }
.home-benefits p { color: #46454d; font-size: .9rem; font-weight: 400; }
.home-benefits a { margin-top: auto; color: var(--mp-navy); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.page-hero--simple { padding-block: clamp(62px, 8vw, 100px); background: var(--mp-navy); color: #fff; }
.page-hero--simple h1 { color: #fff; max-width: 15ch; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }

.site-footer { padding-top: 68px; background: var(--mp-footer); color: #fff; }
.site-footer a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: clamp(36px, 6vw, 80px); padding-bottom: 54px; }
.site-footer__brand { max-width: 480px; }
.site-footer__brand .custom-logo { margin-bottom: 24px; }
.site-footer__name { display: block; margin-bottom: 18px; font-family: Tahoma, Verdana, sans-serif; font-size: 1.5rem; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: .82rem; font-weight: 700; }
.site-footer__heading { margin-bottom: 18px; color: #fff; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-menu li + li { margin-top: 9px; }
.site-footer__bottom { padding-block: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.manufacturer-disclaimer { max-width: 970px; color: rgba(255,255,255,.68); font-size: .76rem; font-weight: 400; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.72); font-size: .8rem; }
.legal-menu { display: flex; gap: 18px; }
.mobile-contact-bar { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-contact-bar { display: none; }
  .primary-navigation { display: none; position: absolute; inset: 104px 0 auto 0; min-height: calc(100vh - 104px); padding: 28px var(--mp-gutter) 42px; background: var(--mp-header); align-items: stretch; flex-direction: column; }
  .primary-navigation.is-open { display: flex; }
  .primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-menu li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .primary-menu a { display: block; padding: 15px 0; font-size: 1.1rem; }
  .header-actions { display: flex; margin-top: auto; align-items: stretch; flex-direction: column; }
  .header-phone { font-size: 1.15rem; }
  .home-hero, .home-hero__inner { min-height: 640px; }
  .home-hero__content { width: 62%; }
  .home-hero__machine { right: -12%; width: min(66vw, 620px); }
  .home-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .home-benefits article:nth-child(2) { border-right: 0; }
  .home-benefits article:nth-child(-n+2) { border-bottom: 1px solid var(--mp-border); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --mp-gutter: 20px; --mp-section: 58px; }
  .site-header__inner { min-height: 70px; }
  .primary-navigation { inset-block-start: 70px; min-height: calc(100vh - 70px); }
  .custom-logo { max-height: 52px; }
  .home-hero { min-height: 700px; background-position: 62% center; }
  .home-hero__inner { min-height: 700px; display: block; padding-block: 36px 0; }
  .home-hero__content { width: 100%; padding: 28px 24px; }
  .home-hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero-lede { font-size: .95rem; }
  .home-hero__machine { right: -8%; bottom: -5%; width: 96%; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 50px; }
  .home-benefits { margin-top: 0; padding-block: 0 36px; background: var(--mp-navy); }
  .home-benefits__grid { grid-template-columns: 1fr; }
  .home-benefits article { min-height: auto; padding: 28px 24px; border-right: 0; border-bottom: 1px solid var(--mp-border); }
  .home-benefits article:last-child { border-bottom: 0; }
  .home-benefits h2 { min-height: 0; }
  .home-benefits a { margin-top: 8px; }
  .site-footer { padding-bottom: 60px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__legal { display: grid; }
  .mobile-contact-bar { position: fixed; z-index: 150; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 58px; box-shadow: 0 -5px 16px rgba(0,0,0,.18); }
  .mobile-contact-bar a { display: grid; place-items: center; background: var(--mp-navy); color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .84rem; font-weight: 700; }
  .mobile-contact-bar a:last-child { background: var(--mp-orange-dark); }
}
