:root{
  --bg: #dacab1;
  --navy: #092f4d;
  --red: #921a24;
  --ink: #020b12;
  --creamText: #f2eee6;

  --max: 1320px;
  --radius: 18px;

  --headerH: 86px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   SQUARESPACE-ISH HEADER
   ========================= */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(2, 11, 18, 0.45);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242,234,223,.12);
}

.header-inner{
  height: var(--headerH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 72px;
}

.brand img{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.site-nav{
  display:flex;
  gap: 22px;
  align-items:center;
  justify-content:center;
  flex: 1;
}

.site-nav a{
  color: rgba(242,234,223,.85);
  font-size: 14px;
  padding: 8px 6px;
  text-decoration: none;
  opacity: .95;
}

.site-nav a.active,
.site-nav a:hover{
  color: rgba(242,234,223,1);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.actions{
  min-width: 140px;
  display:flex;
  justify-content:flex-end;
}

/* =========================
   BUTTONS
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 0;
  cursor:pointer;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: .01em;
  text-decoration:none;
  transition: transform .08s ease, filter .15s ease, opacity .15s ease;
  user-select:none;
}

.btn:active{transform: scale(.98)}

.btn-primary{
  background: var(--red);
  color: var(--creamText);
}
.btn-primary:hover{filter: brightness(.92)}

.btn-secondary{
  background: var(--navy);
  color: var(--creamText);
}
.btn-secondary:hover{filter: brightness(.92)}

.btn-contact{
  padding: 12px 18px;
  border-radius: 10px;
}

/* =========================
   HERO (FULL BLEED)
   ========================= */

/* helps avoid weird whitespace due to fixed header */
body.home{
  background: #000;
}

.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  /* IMPORTANT: styles.css is in assets/css, so this is correct */
  background-image: url("../img/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(2, 11, 18, 0.55);
}

.hero-content{
  position: relative;
  z-index: 1;
  color: rgba(242,234,223,0.92);
  padding: calc(var(--headerH) + 110px) 0 120px;
}

.hero h1{
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.hero p{
  max-width: 720px;
  margin: 0 auto 28px;
  opacity: .9;
}

.cta{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
}

/* =========================
   PAGES (non-home)
   ========================= */

.page{
  padding: 110px 0 56px; /* leaves room for fixed header */
}

.page h1{
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.03em;
  margin: 22px 0 14px;
  color: var(--navy);
  font-weight: 500;
}

.lede{
  max-width: 920px;
  opacity: .92;
}

/* Cards / grids used on other pages */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items:start;
}

.card{
  background: rgba(242,234,223,.35);
  border: 1px solid rgba(2,11,18,.10);
  border-radius: 16px;
  padding: 18px 18px;
}

.price-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 22px;
}

.price h2{
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 20px;
}

.price ul{
  margin: 0;
  padding-left: 18px;
}

.note{
  font-style: italic;
  opacity: .9;
}

hr.rule{
  border:0;
  border-top: 1px solid rgba(2,11,18,.18);
  margin: 18px 0;
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.gallery-grid img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(2,11,18,.12);
  cursor: zoom-in;
  transition: transform .12s ease, filter .15s ease;
}
.gallery-grid img:hover{transform: scale(1.01); filter: brightness(.98)}

/* Contact iframe */
iframe{
  width:100%;
  min-height: 720px;
  border: 1px solid rgba(2,11,18,.12);
  border-radius: 16px;
  background: rgba(242,234,223,.35);
}

/* =========================
   FOOTER (match Squarespace screenshot)
   ========================= */

.site-footer{
  background: var(--navy);
  color: rgba(242,234,223,.88);
  padding: 26px 0;
  margin-top: 40px;
}

.footer-inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  font-size: 13px;

  /* KEY: stop the “stairs” */
  align-items:end;
}

/* Make each column behave like a 2-row stack */
.footer-left,
.footer-center,
.footer-right{
  display:grid;
  grid-template-rows: auto auto;
  gap: 10px;
}

/* Left: copyright on top, tagline on bottom (already correct) */
.footer-left{ justify-items:start; }

/* Center: icons on top, tagline on bottom */
.footer-center{ justify-items:center; }

/* Right: spacer on top, tagline on bottom */
.footer-right{ justify-items:end; text-align:right; }

/* If you want the right tagline to sit on the same “tagline row”,
   we need an empty top row element in the HTML (see below). */

/* Icon row */
.footer-icons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
}

.footer-icons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 28px;
  height: 28px;
  text-decoration:none;
  opacity:.9;
}
.footer-icons a:hover{ opacity: 1; }

.footer-icons svg{
  width: 20px;
  height: 20px;
  fill: rgba(242,234,223,.88);
}

/* Taglines */
.footer-tagline{
  opacity: .9;
  line-height: 1.25;
}

/* Mobile stack */
@media (max-width: 820px){
  .footer-inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .footer-left{ justify-items:center; }
  .footer-right{ text-align:center; justify-items:center; }
}

/* =========================
   CONTACT PAGE: TOGGLE + FORM (Squarespace-ish)
   ========================= */

.toggle{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.toggle-input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.toggle-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(2,11,18,.16);
  background: rgba(242,234,223,.35);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  user-select:none;
}

#tab-questions:checked + label[for="tab-questions"],
#tab-service:checked + label[for="tab-service"]{
  background: var(--navy);
  color: rgba(242,234,223,.92);
  border-color: rgba(242,234,223,.18);
}

.toggle-panel{
  display:none;
}

#tab-questions:checked ~ .toggle-panel[data-panel="questions"]{
  display:block;
}

#tab-service:checked ~ .toggle-panel[data-panel="service"]{
  display:block;
}

.panel-title{
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 600;
}

/* Form layout */
.mm-form{ display:grid; gap:14px; }
.mm-grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }

@media (max-width: 820px){
  .mm-grid-2{ grid-template-columns: 1fr; }
}

.mm-field{ display:grid; gap:6px; }
.mm-field label{ font-size: 13px; opacity:.85; }
.mm-field .req{ opacity:.7; font-weight:500; }

/* Blue input backgrounds + light text */
.mm-field input,
.mm-field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(242,234,223,.20);
  background: var(--navy);
  color: rgba(242,234,223,.92);
  font: inherit;
  outline: none;
}

.mm-field textarea{ resize: vertical; }

.mm-field input::placeholder,
.mm-field textarea::placeholder{
  color: rgba(242,234,223,.65);
}

.mm-field input:focus,
.mm-field textarea:focus{
  border-color: rgba(242,234,223,.45);
}

/* Submit row */
.mm-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 6px;
}

/* Contact mini block */
.contact-mini{
  margin-top: 18px;
  display:grid;
  gap:6px;
}

.contact-mini-title{
  font-weight: 600;
  color: var(--navy);
}

.contact-mini-link{
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
  width: fit-content;
}

.contact-mini-social{
  display:flex;
  gap:12px;
  margin-top: 10px;
}

.contact-mini-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(2,11,18,.08);
  border: 1px solid rgba(2,11,18,.10);
  font-weight: 600;
  text-decoration:none;
}

/* Match iframe look */
.toggle-panel iframe{
  width:100%;
  min-height: 820px;
  border: 1px solid rgba(2,11,18,.12);
  border-radius: 16px;
  background: rgba(242,234,223,.35);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px){
  .split{grid-template-columns:1fr}
  .price-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns: repeat(2, 1fr)}

  .site-nav{display:none} /* keep it simple, no hamburger right now */
  .actions{min-width:auto}
  .header-inner{justify-content:space-between}
}
