/* Shared site shell. Full-screen navigation is owned by navigation.css. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.brand-copy { display: flex; flex-direction: column; }
.brand-name { font-family: var(--brand); font-size: 39px; font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.brand-sub { font-size: 11px; letter-spacing: .16em; margin-top: 6px; line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; position: relative; }
.nav-link > .icon { display: none; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-quote { margin-left: 16px; min-height: 48px; padding: 11px 20px; }
.menu-toggle { display: none; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { color: var(--muted); }
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #eae8dc; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#eae8dcfa 10%,#eae8dcea 75%), url('../images/botanical-fern-960.webp') right center/cover; }
.footer-main { display: grid; grid-template-columns: 1.3fr .65fr .9fr 1.2fr; gap: 40px; padding-block: 70px 46px; }
.footer-identity .brand-name { font-size: 62px; }
.footer-sub { font-size: 16px; margin-top: 12px; }
.footer-identity > p:last-child { color: var(--muted); margin-top: 20px; max-width: 260px; }
.site-footer h2 { font-size: 18px; letter-spacing: 0; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { display: flex; align-items: center; min-height: 44px; }
.footer-contact a { display: flex; gap: 12px; align-items: center; min-height: 48px; overflow-wrap: anywhere; }
.footer-contact span { min-width: 0; }
.footer-contact p { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { border-top: 1px solid #bdc4b4; padding-block: 22px 96px; color: var(--muted); display: flex; justify-content: space-between; gap: 24px; }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom p { padding-block: 9px; }
/* Persistent contact shortcut: one native link, no external widget script. */
.whatsapp-widget {
    position: fixed;
    z-index: 30;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid #ffffff66;
    border-radius: 50%;
    background: #128c4a;
    color: #fff;
    box-shadow: 0 8px 26px #092b1a40;
    transition: background .22s var(--ease), translate .22s var(--ease), box-shadow .22s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.whatsapp-widget .icon { width: 32px; height: 32px; }
.whatsapp-widget:hover { background: #0e753d; translate: 0 -4px; box-shadow: 0 12px 30px #092b1a55; }
.whatsapp-widget:active { translate: 0 0; }
.whatsapp-widget:focus-visible { outline: 3px solid var(--forest); outline-offset: 5px; }
body:has(dialog[open]) .whatsapp-widget { visibility: hidden; pointer-events: none; }
.motion-enabled .whatsapp-widget { animation: whatsapp-arrive .55s var(--ease) both; }
@keyframes whatsapp-arrive {
    from { opacity: 0; transform: translateY(18px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 700px) {
    .whatsapp-widget {
        width: 56px;
        height: 56px;
        right: max(16px, env(safe-area-inset-right, 0px));
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
    }
    .whatsapp-widget .icon { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-widget { animation: none; transition: none; }
}
@media (max-width: 1100px) {
    .main-nav { gap: 22px; }
    .nav-quote { margin-left: 0; }
    .footer-main { gap: 30px; grid-template-columns: 1.2fr 1fr 1.2fr; }
    .footer-identity { grid-column: 1/-1; }
}
@media (max-width: 900px) {
    .header-inner { min-height: 80px; gap: 18px; }
    .js .desktop-nav-slot { display: none; }
    .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 88px; min-height: 48px; padding: 10px 0 10px 14px; border: 0; background: none; color: var(--forest); }
    .menu-toggle .icon { width: 23px; height: 23px; }
    html:not(.js) .site-header { position: static; }
    html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 14px; }
    html:not(.js) .desktop-nav-slot { width: 100%; }
    html:not(.js) .main-nav { flex-wrap: wrap; gap: 12px 24px; }
}
@media (max-width: 600px) {
    .brand-name { font-size: 34px; }
    .brand img { width: 40px; height: 44px; }
    .brand-sub { font-size: 10px; letter-spacing: .1em; }
    .header-inner { gap: 8px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 18px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-block: 48px 30px; }
    .footer-contact, .footer-identity { grid-column: 1/-1; }
    .footer-bottom { flex-direction: column; gap: 0; }
}
@media (max-height: 540px) and (max-width: 900px) { .site-header { position: relative; } }
