/* ==========================================================
   Stella Fyti Heights — header-footer.css
   Sticky header (logo + phone) and footer (EU disclaimer)
   ========================================================== */

:root {
  --header-h: 4.5rem;
}

html {
  scroll-padding-top: var(--header-h);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: #f3eee5;               /* same colour as the logo background, so the logo blends in */
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
}

.site-header__logo {
  display: block;
  line-height: 0;
}

.site-header__logo img {
  width: auto;
  height: 3.25rem;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__phone:hover {
  color: var(--color-accent);
}

.site-header__phone:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.site-header__phone svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 479px) {
  :root {
    --header-h: 4rem;
  }

  .site-header__logo img {
    height: 2.75rem;
  }

  .site-header__phone {
    font-size: 0.9375rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.site-footer__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.site-footer__logos {
  display: block;
  width: 100%;
  max-width: 34rem;
  height: auto;
  margin: 0 auto 1.75rem;
}

.site-footer__disclaimer {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  text-wrap: pretty;
}
