/* Shared rules extracted from the approved prototype; no page sections. */
.site-header { position: sticky; z-index: 1000; top: 0; overflow: visible; background: #1b120e; color: #fff; transition: box-shadow var(--ease), background var(--ease), backdrop-filter var(--ease); }
.site-header::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent 5%, rgba(147,67,34,.72) 30%, rgba(244,178,122,.5) 50%, rgba(135,145,127,.42) 70%, transparent 95%); content: ""; z-index: -1; }
.site-header.is-scrolled { background: rgba(27,18,14,.78); box-shadow: 0 14px 38px rgba(12,7,4,.24); -webkit-backdrop-filter: blur(22px) saturate(135%); backdrop-filter: blur(22px) saturate(135%); }
.nav { position: relative; min-height: calc(var(--header-height) - 20px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; border-radius: 999px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; margin-right: 0; text-decoration: none; }
.brand__logo { width: auto; height: 64px; display: block; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(8,4,2,.18)); transition: transform var(--ease), filter var(--ease); }
.site-header .brand {flex: 0 0 auto; }
.site-header .brand__logo {height: 124px; max-width: none; filter: drop-shadow(0 12px 20px rgba(8,4,2,.42)); transition: top var(--ease), height var(--ease), transform var(--ease), filter var(--ease); }
.site-header.is-scrolled .brand__logo { top: -2px; height: 100px; }
.site-header .brand:hover .brand__logo { transform: translateX(0%) translateY(-1px) scale(1.02); }
.brand:hover .brand__logo { transform: translateY(-1px) scale(1.02); filter: drop-shadow(0 10px 18px rgba(8,4,2,.25)); }
.nav__menu { width: 100%; justify-content: center; position: static; transform: none; display: flex; align-items: center; gap: clamp(4px, 1vw, 0); margin: 0 0 0 auto; padding: 0; border: 0; background: transparent; box-shadow: none; list-style: none; }
.nav__link, .dropdown__toggle { position: relative; display: inline-flex; min-height: 40px; align-items: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 0; background: transparent; color: rgba(255,255,255,.78); font-size: .925rem; font-weight: 600; line-height: 1.3; text-decoration: none; transition: color var(--ease); }
.nav__link::after { position: absolute; right: 13px; bottom: 3px; left: 13px; height: 2px; border-radius: 999px; background: var(--copper); opacity: 0; transform: scaleX(.45); content: ""; transition: opacity var(--ease), transform var(--ease); }
.nav__link:hover, .dropdown__toggle:hover, .dropdown__toggle[aria-expanded="true"] { background: transparent; color: #fff; }
.nav__link[aria-current="page"], .dropdown__toggle.is-active { background: transparent; color: #f6c19b; box-shadow: none; }
.nav__link[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.dropdown { position: relative; }
.dropdown__toggle::after { width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); content: ""; transition: transform var(--ease); }
.dropdown__toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px,-1px); }
.dropdown__menu { position: absolute; top: calc(100% + 14px); left: 0; min-width: 238px; padding: 8px; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top left; border: 1px solid rgba(244,178,122,.18); border-radius: 16px; background: rgb(28, 18, 14); color: #fff; box-shadow: 0 24px 64px rgba(10,5,3,.34), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(20px); list-style: none; transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
.dropdown.is-open .dropdown__menu { visibility: visible; opacity: 1; transform: none; }
.dropdown__menu li { margin: 6px 0; }
.dropdown__menu li:first-child { margin-top: 2px; }
.dropdown__menu li:last-child { margin-bottom: 2px; }
.dropdown__menu a { display: block; padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,.78); font-size: .95rem; font-weight: 600; text-decoration: none; transition: background var(--ease), color var(--ease), transform var(--ease); }
.dropdown__menu a:hover, .dropdown__menu a:focus-visible { background: rgba(255,255,255,.08); color: #fff; transform: translateX(2px); }
.dropdown__menu a[aria-current="page"] { background: rgba(201,111,61,.17); color: #f6c19b; }
.nav__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; margin-left: 18px; }
.header-phone { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: .92rem; font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap; transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease); }
.header-phone:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.14); color: #fff; transform: translateY(-1px); }
.nav__mobile-contact, .nav__mobile-cta { display: none; }
.header-phone svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.site-header .button--small { min-height: 42px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--copper); background-image: var(--button-gradient); color: #ffffff; font-size: .9375rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px rgba(189,108,60,.35); display: inline-flex; align-items: center; justify-content: center; transition: all var(--ease); }
.site-header .button--small:hover { background-image: var(--button-gradient-hover); box-shadow: 0 10px 24px rgba(189,108,60,.45); transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.055); }
.site-header .nav-toggle { border-color: rgba(255,255,255,.28); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: #fff; content: ""; transition: var(--ease); }

.button { position: relative; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; isolation: isolate; padding: 12px 22px; border: 1px solid var(--button-primary); border-radius: var(--button-radius); background-color: var(--button-primary); background-image: var(--button-gradient); background-position: 0 50%; background-size: 180% 100%; color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.6; letter-spacing: 0; text-decoration: none; transition: transform var(--card-transition), border-color var(--card-transition), color var(--card-transition), box-shadow var(--card-transition), background-position 420ms ease; }
.button:not(.button--ghost)::before { position: absolute; z-index: -1; top: -50%; bottom: -50%; left: -55%; width: 38%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); pointer-events: none; content: ""; transition: left 560ms cubic-bezier(.2,.75,.25,1); }
.button:hover, .button--accent:hover { transform: translateY(-3px); border-color: var(--button-primary-hover); background-image: var(--button-gradient-hover); background-position: 100% 50%; box-shadow: 0 14px 28px rgba(86,38,19,.25), 0 4px 10px rgba(37,24,17,.12); }
.button:not(.button--ghost):hover::before { left: 125%; }
.button:active { transform: translateY(-1px) scale(.985); box-shadow: 0 5px 12px rgba(37,24,17,.14); transition-duration: 90ms; }
.button:focus-visible, body main .button:not(:disabled):focus-visible, .site-header .button:focus-visible, .site-footer .button:focus-visible { outline: 3px solid #fffdf9; outline-offset: 2px; box-shadow: 0 0 0 6px #934322; }
.button:disabled, .button[aria-disabled="true"] { opacity: .55; transform: none; box-shadow: none; cursor: not-allowed; }
.button--accent { border-color: var(--button-primary); background-image: var(--button-gradient); }
.button--ghost { border-color: var(--espresso); background: transparent; color: var(--ink); }
.button--ghost:hover { border-color: var(--espresso); background: var(--espresso); color: #fff; }
.button--light { border-color: #f1dfce; background-color: var(--paper); background-image: linear-gradient(135deg, #fffdf9 0%, #f5e7d9 52%, #eecdae 100%); color: var(--espresso); }
.button--light:hover { border-color: #e9c39f; background-image: linear-gradient(135deg, #f9eee4 0%, #edcfb3 55%, #e5b78d 100%); color: var(--espresso); }
.button--small { min-height: 44px; padding: 8px 16px; }
.button__icon { flex-shrink: 0; width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { position: relative; overflow: hidden; padding-top: clamp(56px, 6vw, 76px); background: radial-gradient(circle at 8% 110%, rgba(201,111,61,.2), transparent 30%), radial-gradient(circle at 96% -12%, rgba(244,178,122,.09), transparent 26%), linear-gradient(145deg, #241711 0%, #1b110d 100%); color: #f4eee4; }
.site-footer::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent 3%, rgba(224,122,66,.7) 28%, rgba(244,178,122,.3) 58%, transparent 95%); content: ""; }
.site-footer::after { position: absolute; width: 420px; aspect-ratio: 1; right: -260px; bottom: -280px; border: 1px solid rgba(244,178,122,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(244,178,122,.025), 0 0 0 140px rgba(244,178,122,.015); pointer-events: none; content: ""; }
.site-footer .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(44px, 5vw, 64px); }
.footer__grid > * { min-width: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer__grid > :first-child { border-top-color: rgba(224,122,66,.58); }
.site-footer .brand { margin-bottom: 20px; }
.site-footer .brand__logo { height: clamp(100px, 8vw, 130px); width: auto; max-width: 170px; object-fit: contain; }
.footer__intro p { max-width: 31ch; margin-bottom: 24px; color: rgba(244,238,228,.7); font-size: .96rem; line-height: 1.7; }
.footer__intro .button { width: fit-content; min-height: 42px; padding: 8px 18px; border-color: #b85f32; border-radius: 999px; background: linear-gradient(135deg, #a94e29, #c96f3d); box-shadow: 0 9px 22px rgba(127,52,24,.25), inset 0 1px 0 rgba(255,255,255,.12); }
.footer__intro .button:hover { border-color: #d07b4c; background: linear-gradient(135deg, #bb5c31, #d47b49); }
.footer__title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #f4b27a; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.footer__title::before { width: 20px; height: 1px; flex: 0 0 auto; background: currentColor; content: ""; }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin-bottom: 5px; color: rgba(244,238,228,.68); font-size: .95rem; }
.footer__links a { display: inline-flex; padding-block: 4px; color: rgba(244,238,228,.72); font-size: .95rem !important; line-height: 1.5; text-decoration: none; transition: color var(--ease), transform var(--ease); }
.footer__links a:hover, .footer__links a:focus-visible { color: #fff; transform: translateX(3px); }
.footer__links .footer__phone { color: #f4eee4; font-family: var(--font-title); font-size: .96rem; font-weight: 700; letter-spacing: -.015em; }
.footer__links .footer__address { display: block; margin-top: 7px; color: rgba(244,238,228,.67); line-height: 1.7; }
.footer__address strong { font-weight: 600; }
.footer__links .footer__address:hover, .footer__links .footer__address:focus-visible { color: #fff; }
.footer__bottom { padding-block: 24px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(244,238,228,.56); font-size: .9rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 18px; }

/* WordPress integration: retain the approved dimensions and prevent scroll CLS. */
@media (min-width: 901px) { .site-header .nav { min-height: 124px; } }
.admin-bar .site-header { top: 32px; }
.dropdown__heading { display: flex; align-items: center; }
.dropdown__heading > .nav__link { padding-right: 0; }
.dropdown__heading > .nav__link::after { display: none; }
.dropdown__heading > .dropdown__toggle { padding-left: 7px; min-width: 26px; }
.footer__legal a { font-size: inherit; text-decoration: none; }
.button.button--unconfigured { opacity: 1; cursor: default; }
.button--unconfigured:hover { transform: none; box-shadow: none; }
/* Semantic clickable targets only; unavailable CTA spans retain their cursor. */
:where(a[href], button):not(:disabled):not([aria-disabled="true"]) { cursor: pointer; }
button:disabled, button[aria-disabled="true"], a[aria-disabled="true"] { cursor: not-allowed; }
/* Without JS, all links remain available; inert disclosure buttons are hidden. */
html:not(.js) .dropdown__menu { position: static; visibility: visible; opacity: 1; transform: none; }
html:not(.js) .dropdown__heading > .dropdown__toggle { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header *, .site-header::after, .site-footer *, .button, .button::before { transition: none; animation: none; }
  .brand:hover .brand__logo, .site-header .brand:hover .brand__logo, .header-phone:hover, .dropdown__menu a:hover, .footer__links a:hover, .button:hover, .button:active { transform: none; }
}
