/* ============================================================
   Siago — shared stylesheet
   Palette: sage scale + warm neutrals + champagne accent
   Type: SF Pro Display / SF Pro Text, system fallbacks
   ============================================================ */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FBF9F5;
  color: #211D17;
}

.siago, .siago * {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* frames become fluid page wrappers ------------------------------------- */
.siago {
  width: 100% !important;
  max-width: 1440px;
  margin: 0 auto;
  background: #FBF9F5;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.siago img { max-width: 100%; }
.siago-logo-link { display: inline-flex; align-items: center; text-decoration: none; }

/* desktop / mobile switch ----------------------------------------------- */
.siago-mobile { display: none; }

@media (max-width: 900px) {
  .siago-desktop { display: none; }
  .siago-mobile  { display: block; }
}

/* links ----------------------------------------------------------------- */
a { color: #6A7654; }
a:hover { color: #828F6A; }

/* component states (carried over from the design system) ---------------- */
.siago-nav-link { color: rgba(251,249,245,0.92); text-decoration: none; transition: color .2s ease; }
.siago-nav-link:hover { color: #fff; }

.siago-btn-ghost { transition: background .2s ease, border-color .2s ease; }
.siago-btn-ghost:hover { background: rgba(216,203,191,0.16); border-color: #D8CBBF; }

.siago-btn-primary { transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.siago-btn-primary:hover { background: #828F6A; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(46,58,34,0.32); }

.siago-field { transition: background .2s ease; cursor: pointer; }
.siago-field:hover { background: #F3F5EE; }

.siago-card { transition: transform .25s ease, box-shadow .25s ease; }
.siago-card:hover { transform: translateY(-6px); box-shadow: 0 30px 64px rgba(33,29,23,0.16); }

.siago-tile { transition: transform .3s ease, box-shadow .3s ease; }
.siago-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 56px rgba(33,29,23,0.16); }

.siago-cta-primary { transition: transform .2s ease, box-shadow .2s ease; }
.siago-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0,0,0,0.32); }

.siago-cta-ghost { transition: background .2s ease, border-color .2s ease; }
.siago-cta-ghost:hover { background: rgba(251,249,245,0.12); border-color: #FBF9F5; }

.siago-footer-link { color: #D8CBBF; text-decoration: none; transition: color .2s ease; }
.siago-footer-link:hover { color: #FBF9F5; }

/* FAQ accordion --------------------------------------------------------- */
.siago-faq { border-bottom: 1px solid #E0D8CA; }
.siago-faq > summary { list-style: none; cursor: pointer; }
.siago-faq > summary::-webkit-details-marker { display: none; }
.siago-faq-chev { transition: transform .25s ease; }
.siago-faq[open] .siago-faq-chev { transform: rotate(180deg); }

/* form controls --------------------------------------------------------- */
.siago input:focus,
.siago select:focus,
.siago textarea:focus {
  border-color: #828F6A !important;
  box-shadow: 0 0 0 3px rgba(156,168,132,0.22);
}

/* ============================================================
   Mobile navigation drawer (built by site.js)
   ============================================================ */
.siago-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.siago-drawer.is-open { display: block; }

.siago-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12,15,10,0.55);
  opacity: 0;
  transition: opacity .3s ease;
}
.siago-drawer.is-open .siago-drawer__scrim { opacity: 1; }

.siago-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: #FBF9F5;
  padding: 22px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: -18px 0 48px rgba(33,29,23,0.24);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.32,.72,0,1);
  overflow-y: auto;
}
.siago-drawer.is-open .siago-drawer__panel { transform: translateX(0); }

.siago-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.siago-drawer__top img { height: 34px; width: auto; opacity: .92; }

.siago-drawer__close {
  width: 36px; height: 36px;
  border: none;
  border-radius: 999px;
  background: #F2ECE2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.siago-drawer__link {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid #E0D8CA;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #211D17;
  text-decoration: none;
  transition: color .2s ease;
}
.siago-drawer__link:hover,
.siago-drawer__link[aria-current="page"] { color: #6A7654; }

.siago-drawer__cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6A7654;
  color: #FBF9F5;
  border-radius: 999px;
  padding: 15px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background .2s ease;
}
.siago-drawer__cta:hover { background: #828F6A; color: #FBF9F5; }

.siago-drawer__phone {
  margin-top: 12px;
  text-align: center;
  font-size: 14.5px;
  color: #6E665B;
  text-decoration: none;
}

body.siago-no-scroll { overflow: hidden; }

/* reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
