﻿/* ===== layout.css ===== */

:root{
  --site-header-height: 92px;
}

body{
  padding-top: var(--site-header-height);
}

/* ===== Sticky Header ===== */
.siteHeader{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.siteHeader::after{
  content:"";
  display:block;
  height:3px;
  background: linear-gradient(
    90deg,
    rgba(64,181,165,0.95),
    rgba(64,181,165,0.0)
  );
}

.siteHeader .bar{
  max-width:1100px;
  margin:0 auto;
  padding:10px 24px;
  padding-bottom:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:nowrap;
}

.siteHeader .brand{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  letter-spacing:0.03em;
  min-width:0;
}

.siteHeader .brand > a{
  font-size:clamp(1.35rem, 2.2vw, 1.7rem);
  line-height:1.05;
  font-weight:650;
  color:#1f2b28;
  text-decoration:none;
  white-space:nowrap;
}

.siteHeader .brand small{
  font-size:0.78rem;
  color:#6a7874;
  letter-spacing:0.11em;
  margin-top:4px;
  white-space:nowrap;
}

.siteHeader .right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
  white-space:nowrap;
  position:relative;
}

.siteHeader .mainNav{
  display:flex;
  align-items:center;
  gap:8px;
}

.siteHeader .mainNav a{
  text-decoration:none;
  color:#24322e;
  font-size:0.92rem;
  padding:8px 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
}

.siteHeader .mainNav a:hover,
.siteHeader .mobileNav a:hover{
  background:rgba(0,0,0,0.05);
}

.siteHeader .mainNav .homeLink{
  width:38px;
  padding:8px;
}

.siteHeader .mainNav .homeLink svg{
  width:18px;
  height:18px;
  display:block;
}

.siteHeader .mainNav a[aria-current="page"],
.siteHeader .mobileNav a[aria-current="page"]{
  text-decoration: underline;
  text-underline-offset: 6px;
}

.siteHeader .lang{
  display:inline-flex;
  border:1px solid rgba(0,0,0,0.10);
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,0.6);
  flex:0 0 auto;
}

.siteHeader .lang button{
  border:0;
  background:transparent;
  padding:8px 10px;
  font-size:0.85rem;
  color:#2b3b37;
  cursor:pointer;
}

.siteHeader .lang button[aria-pressed="true"]{
  background:rgba(64,181,165,0.22);
}

.siteHeader .lang button:focus-visible,
.siteHeader .menuToggle > summary:focus-visible{
  outline:2px solid rgba(47,189,179,.35);
  outline-offset:2px;
}

.siteHeader .menuToggle{
  display:none;
}

.siteHeader .menuToggle > summary{
  list-style:none;
  width:40px;
  height:40px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.10);
  background:rgba(255,255,255,0.6);
  color:#24322e;
  cursor:pointer;
  display:grid;
  place-items:center;
}

.siteHeader .menuToggle > summary::-webkit-details-marker{
  display:none;
}

.siteHeader .menuToggle > summary svg{
  width:20px;
  height:20px;
  display:block;
}

.siteHeader .menuToggle[open] > summary{
  background:rgba(64,181,165,0.14);
  border-color:rgba(64,181,165,0.35);
}

.siteHeader .mobileNav{
  margin-top:8px;
  position:absolute;
  top:100%;
  right:0;
  min-width:220px;
  display:grid;
  gap:4px;
  padding:8px;
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:12px;
  box-shadow:0 10px 24px rgba(0,0,0,0.10);
}

.siteHeader .mobileNav a{
  color:#24322e;
  font-size:0.9rem;
  padding:9px 10px;
  border-radius:8px;
  text-decoration:none;
}

.siteHeader .mobileNav .mobileNavInstagram{
  margin-top:4px;
  border:1px solid rgba(218, 75, 123, 0.22);
  background:linear-gradient(135deg, rgba(255, 140, 86, 0.18), rgba(214, 56, 139, 0.18));
  font-weight:700;
}

/* ===== Footer fill ===== */
.footerFill{
  margin-top:34px;
  background:var(--footer-bg);
  color:var(--footer-ink);
}

.footerInner{
  max-width:var(--max);
  margin:0 auto;
  padding:34px 22px 18px;
}

.footerGrid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:18px;
  align-items:start;
}

.footerGrid > *{
  min-width:0;
}

.fTitle{
  margin:0 0 10px;
  font-size:0.8rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--footer-muted);
  font-weight:650;
}

.fText{ margin:0; font-size:0.9rem; line-height:1.85; }
.fText a{
  color:var(--footer-link);
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.72);
  text-underline-offset:3px;
}
.fText a:hover{
  color:var(--footer-link-hover);
}

.fTextMarginTop{
  margin-top:10px;
}

.footerInline{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.fLogo{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  padding:6px 0;
  min-width:0;
}

.markLogo{
  width:54px; height:54px;
  border-radius:16px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  letter-spacing:.06em;
}

.fBrand{ margin:0; font-weight:850; letter-spacing:.02em; }
.fSmall{
  margin:0;
  color:var(--footer-muted);
  font-size:0.8rem;
  letter-spacing:.12em;
}

.footerLogo{
  display:block;
  width:76px;
  height:76px;
  inline-size:76px;
  block-size:76px;
  max-width:76px;
  max-height:76px;
  max-inline-size:76px;
  max-block-size:76px;
  min-width:76px;
  min-height:76px;
  flex:0 0 76px;
  aspect-ratio:1 / 1;
  object-fit:cover;
  object-position:center;
  overflow:hidden;
}

.footerLine{
  margin-top:26px;
  border-top:1px solid var(--footer-line);
  padding-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:space-between;
  color:var(--footer-muted);
  font-size:0.8rem;
}

/* prevent weird wrapping (PC) */
@media (min-width:981px){
  .noWrap{ white-space:nowrap; }
}

/* ===== Responsive (shared) ===== */
@media (max-width: 980px){
  .footerGrid{ grid-template-columns:1fr; }
  .fLogo{ align-items:flex-start; text-align:left; }
  .noWrap{ white-space:normal; }

  .footerGrid .brand{ order:1; }
  .footerGrid .contact{ order:2; }
  .footerGrid .address{ order:3; }
}

@media (max-width: 700px){
  :root{ --site-header-height: 74px; }

  .siteHeader .bar{
    padding:8px 12px;
    padding-bottom:0;
    gap:10px;
  }

  .siteHeader .brand > a{
    font-size:1.08rem;
  }

  .siteHeader .brand small{
    display:none;
  }

  .siteHeader .mainNav{
    display:none;
  }

  .siteHeader .menuToggle{
    display:block;
    flex:0 0 auto;
  }
}

@media (max-width: 520px){
  .wrap{ padding:16px; }
}
