/* ==========================================================================
   layout.css — Header, mobile menu, WhatsApp button, footer, page hero
   ========================================================================== */

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(6, 20, 27, 0.4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color 0.2s, box-shadow 0.2s, backdrop-filter 0.2s;
}
.site-header.is-solid {
  background: rgba(6, 20, 27, 0.95);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand__text { line-height: 1.25; color: var(--paper); min-width: 0; }
.brand__name { display: block; font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; }
.brand__sub  { display: block; font-size: 11px; color: var(--mist); }
@media (min-width: 640px) { .brand__name { font-size: 1rem; } }

.logo {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 2px solid var(--cloud); background: var(--slate); color: var(--paper);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem;
}
.logo--img { border: 0; background: none; object-fit: contain; border-radius: 0; }
.logo--lg { width: 3rem; height: 3rem; }
.logo--xl { width: 12rem; height: 12rem; font-size: 3rem; }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
.main-nav a {
  border-radius: 9999px; padding: 0.5rem 0.75rem; font-size: 0.875rem; line-height: 1.25rem;
  color: var(--mist); transition: color 0.15s, background-color 0.15s;
}
.main-nav a:hover { color: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--paper); background: var(--slate); }

.menu-toggle { padding: 0.5rem; border-radius: 0.375rem; color: var(--paper); line-height: 0; }

.mobile-nav { display: none; border-top: 1px solid var(--steel); background: var(--ink); padding: 0 1rem 1.5rem; }
.mobile-nav.is-open { display: block; animation: menu-in 0.25s ease both; }
.mobile-nav a { display: block; border-bottom: 1px solid var(--slate); padding: 0.75rem 0; color: var(--mist); }
.mobile-nav a[aria-current="page"] { color: var(--paper); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--slate); color: var(--paper); box-shadow: var(--shadow-card);
  outline: 2px solid var(--cloud); outline-offset: 0;
  transition: transform 0.15s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand p { font-family: var(--font-heading); font-weight: 700; }
.footer-about { font-size: 0.875rem; color: var(--mist); }
.socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.socials a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--slate); color: var(--cloud); transition: background-color 0.15s;
}
.socials a:hover { background: var(--steel); }
.footer-col h3 { margin-bottom: 1rem; font-weight: 600; font-size: 1rem; font-family: var(--font-body); letter-spacing: 0; }
.footer-col ul { display: grid; gap: 0.5rem; font-size: 0.875rem; }
.footer-link { color: var(--mist); transition: color 0.15s; }
.footer-link:hover { color: var(--paper); }
.footer-contact { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--mist); }
.footer-contact .icon { width: 1rem; height: 1rem; margin-top: 0.125rem; }
.footer-contact--link { margin-top: 0.75rem; align-items: center; transition: color 0.15s; }
.footer-contact--link .icon { margin-top: 0; }
.footer-contact--link:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid var(--slate); padding-block: 1.5rem; text-align: center; font-size: 0.75rem; color: var(--mist); }

/* ---------- Inner-page hero ---------- */
.page-hero { padding: 9rem 0 5rem; text-align: center; }
.page-hero h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.1; }
.page-hero p { max-width: 42rem; margin: 1rem auto 0; color: var(--mist); }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; line-height: 1; } }

/* ---------- Section heading ---------- */
.section-heading { max-width: 42rem; margin-bottom: 3rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.eyebrow {
  margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--steel);
}
.section-heading h2 { font-size: 1.875rem; font-weight: 700; color: var(--ink); }
.section-heading--light .eyebrow { color: var(--mist); }
.section-heading--light h2 { color: var(--paper); }
@media (min-width: 768px) { .section-heading h2 { font-size: 2.25rem; line-height: 1.11; } }
