/* Irremar v4: integrated branding, contact hierarchy and accessible navigation. */
:root { --header-height: 106px; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
.header {
  height: var(--header-height); gap: 30px; background: var(--paper);
  border-bottom: 1px solid var(--line); isolation: isolate;
}
.header .wordmark { min-width: 0; flex: 0 0 auto; padding: 7px 0; }
.header .brand-logo {
  width: 172px; height: auto; max-height: 96px; display: block;
  object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.12) contrast(1.07);
}
.header .nav { gap: clamp(18px, 2vw, 30px); }
.header .nav > a { position: relative; padding: 12px 0; font-size: 13px; font-weight: 500; }
.header .nav > a:hover { color: var(--gold-deep); }
.header .nav-phones { gap: 3px; padding-left: 24px; }
.header .nav .nav-phone { padding: 0; font-size: 14px; letter-spacing: .015em; }
.header .nav .nav-phone.secondary { font-size: 12px; color: var(--muted); font-weight: 400; }
.menu-toggle {
  display: none; align-items: center; justify-content: flex-end; gap: 12px;
  appearance: none; -webkit-appearance: none; border: 0; border-radius: 0;
  box-shadow: none; background: transparent; color: var(--ink);
  min-width: 86px; min-height: 48px; padding: 10px 0 10px 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  line-height: 1; letter-spacing: .025em; flex: 0 0 auto; touch-action: manipulation;
}
.menu-toggle:hover { color: var(--gold-deep); background: transparent; }
.menu-toggle:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 5px; }
.menu-icon { width: 23px; height: 18px; display: inline-flex; position: relative; flex: 0 0 23px; }
.menu-icon::before, .menu-icon::after {
  content: ''; position: absolute; right: 0; height: 2px; width: 23px;
  background: currentColor; transition: transform .18s ease, top .18s ease, width .18s ease;
}
.menu-icon::before { top: 5px; }
.menu-icon::after { top: 12px; width: 16px; }
.menu-toggle[aria-expanded=true] .menu-icon::before { top: 8px; transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-icon::after { top: 8px; width: 23px; transform: rotate(-45deg); }
/* Existing image assets are unchanged; blending integrates their backgrounds. */
.hero { grid-template-columns: 1.05fr 1fr; background: var(--dark); }
.hero-copy { padding-top: 66px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(50px, 5.25vw, 78px); }
.brand-showcase {
  background: var(--dark); isolation: isolate; padding: 52px var(--pad) 52px 32px;
  gap: 26px; min-height: 0; border: 0; box-shadow: none;
}
.brand-showcase::before { display: none; }
.brand-showcase img {
  width: 100%; max-width: 470px; height: auto; display: block;
  object-fit: contain; mix-blend-mode: lighten; filter: contrast(1.15); border: 0; box-shadow: none;
}
.brand-showcase-caption {
  padding-top: 16px; margin: 0; border-top: 1px solid #48413d;
  font-size: 11px; line-height: 1.8; color: #d5d3d0; letter-spacing: .07em;
}
.footer { isolation: isolate; }
.footer-top { align-items: center; }
.footer .brand-logo { width: 188px; height: auto; mix-blend-mode: lighten; filter: contrast(1.15); }
.footer .wordmark { background: transparent; padding: 0; }
.contact-phones { gap: 22px; margin: 30px 0; }
.contact-person { border-left: 0; padding-left: 0; }
.contact-person.primary { border-left: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-label { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .025em; }
.contact-person.primary .contact-number {
  font-size: clamp(30px, 3.1vw, 42px); font-weight: 500; line-height: 1.3; color: var(--ink);
}
.contact-person.secondary .contact-number { font-size: 25px; font-weight: 400; color: var(--muted); }
.contact-channel { display: inline-flex; align-items: center; min-height: 32px; }
.footer-phones { gap: 8px 22px; }
.footer-phones .secondary { color: #b9bfbb; font-size: 12px; }
.mobile-actions { box-shadow: 0 -3px 20px #1010100a; }
.mobile-actions a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 961px) {
  .header .menu-toggle { display: none; }
  .header .nav { display: flex; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .header { gap: 22px; }
  .header .brand-logo { width: 154px; }
  .header .nav { gap: 17px; }
  .header .nav-phones { padding-left: 17px; }
  .hero h1 { font-size: 56px; }
}
@media (max-width: 960px) {
  :root { --header-height: 94px; }
  .header { gap: 20px; }
  .header .brand-logo { width: 150px; max-height: 84px; }
  .header .menu-toggle { display: inline-flex; }
  .header .nav {
    display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) 22px; background: var(--paper);
    max-height: calc(100dvh - var(--header-height) - 76px); overflow-y: auto;
    border: 0; border-bottom: 1px solid var(--line); box-shadow: 0 18px 24px #1718180c;
  }
  .header .nav.open { display: flex; }
  .header .nav > a {
    padding: 15px 0; min-height: 49px; border-bottom: 1px solid var(--line);
    font-size: 16px; font-weight: 500; line-height: 1.4;
  }
  .header .nav-phones { border: 0; margin: 0; padding: 17px 0 0; gap: 0; }
  .header .nav .nav-phone { padding: 9px 0; min-height: 42px; font-size: 17px; }
  .header .nav .nav-phone.secondary { padding: 9px 0; font-size: 14px; }
  .hero { grid-template-columns: 1.1fr .9fr; }
  .hero h1 { font-size: 48px; }
  .brand-showcase { padding: 36px 7% 36px 18px; gap: 20px; }
  .brand-showcase-caption { font-size: 10px; letter-spacing: .025em; }
}
@media (max-width: 620px) {
  :root { --header-height: 88px; }
  .header { gap: 20px; }
  .header .wordmark { min-width: 0; padding: 6px 0; }
  .header .brand-logo { width: 134px; max-height: 76px; }
  .header .menu-toggle { min-width: 86px; min-height: 48px; padding-right: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px var(--pad) 20px; }
  .hero h1 { font-size: clamp(44px, 11.5vw, 64px); }
  .hero-copy .hero-tagline { margin-bottom: 22px; }
  .hero-foot { margin-top: 28px; }
  .brand-showcase { padding: 12px var(--pad) 32px; gap: 10px; }
  .brand-showcase img { max-width: 280px; }
  .brand-showcase-caption { padding-top: 12px; max-width: 300px; font-size: 10px; }
  .footer-top { align-items: flex-start; }
  .footer .brand-logo { width: 170px; }
  .contact-person.primary .contact-number { font-size: 34px; }
  .contact-person.secondary .contact-number { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-icon::before, .menu-icon::after { transition: none; }
}
