/* =========================================================
   style.css — layout layer (structure, spacing, type scale)
   Mirrors the legacy jdkhotels.com architecture:
   #header -> #hero (was #logo) -> #properties (was #menubody)
   -> #content (#column1 + #column2) -> #footer
   Color lives in color.css.
   ========================================================= */

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3{
  font-family: 'Libre Franklin', 'Segoe UI', Verdana, sans-serif;
  margin: 0;
}

p{ margin: 0 0 16px 0; }

img{ max-width: 100%; display: block; }

a{ text-decoration: none; }

.wrap{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- header ---------- */
#header{
  position: sticky;
  top: 0;
  z-index: 50;
}

#header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brandmark{
  display: flex;
  align-items: center;
}

.brandmark img{
  height: 44px;
  width: auto;
}

#nav{
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

#nav a.cta{
  padding: 10px 20px;
  border-radius: 3px;
}

#navToggle{ display: none; }

/* ---------- hero (formerly #logo) ---------- */
#hero{
  position: relative;
  overflow: hidden;
}

.hero-slides{
  position: absolute;
  inset: 0;
}

.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-slide.active{ opacity: 1; }

.hero-scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,37,64,.92) 30%, rgba(10,37,64,.55) 65%, rgba(10,37,64,.35) 100%);
}

.hero-inner{
  position: relative;
  padding: 100px 24px 84px;
  max-width: 640px;
}

#hero h1{
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 18px;
}

#hero .lede{
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn{
  display: inline-block;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
  transition: background .2s ease, color .2s ease;
}

.btn-secondary{ border: 1px solid; }

/* ---------- stats strip ---------- */
#stats .wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 24px;
  text-align: center;
}

.stat b{
  display: block;
  font-family: 'Libre Franklin', Verdana, sans-serif;
  font-size: 26px;
}

.stat small{
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .85;
}

/* ---------- properties (formerly #menubody / #menuitem) ---------- */
#properties{ padding: 72px 0 80px; }

.section-head{ text-align: center; max-width: 640px; margin: 0 auto 44px; }

.section-head h2{ font-size: 32px; margin-bottom: 14px; }

.property-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.property-card{
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.property-card .photo{
  position: relative;
  height: 150px;
  display: block;
}

.property-card .photo img{ width: 100%; height: 100%; object-fit: cover; }

.property-card .tag{
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.property-card .body{ padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }

.property-card h3{ font-size: 17px; margin-bottom: 4px; }

.property-card .loc{ font-size: 13px; margin-bottom: 14px; }

.property-card .learn{
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid;
  border-radius: 3px;
  transition: background .2s ease, color .2s ease;
}

/* ---------- content (formerly #content / #column1 / #column2) ---------- */
#content{ padding: 0 0 80px; }

#content .wrap{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

#content.content-solo .wrap{
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.card{
  border-radius: 6px;
  padding: 26px 24px;
  margin-bottom: 22px;
}

.card h3{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-lines p{ font-size: 15px; margin-bottom: 10px; }

.contact-lines a{ font-weight: 600; }

.peek-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.peek-grid img{ border-radius: 4px; height: 96px; object-fit: cover; }

#column2 h1{
  font-size: 26px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid;
}

#column2 .lead{ font-size: 17px; }

.motto{
  border-radius: 6px;
  padding: 32px 30px;
  margin: 28px 0;
  font-family: 'Libre Franklin', Verdana, sans-serif;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
}

.motto a{ text-decoration: none; }

.motto.phone-cta{ text-align: center; }

.motto.phone-cta span{ font-size: 1.15em; }

.brand-strip{
  border-radius: 6px;
  padding: 22px 24px;
  margin-top: 28px;
}

.brand-strip p.label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.brand-logos{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.brand-logos img{
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.brand-logos img.logo-boost{
  height: 56px;
}

/* ---------- footer ---------- */
#footer{ padding: 46px 0 0; }

#footer .wrap{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 30px;
}

#footer h4{
  font-family: 'Libre Franklin', Verdana, sans-serif;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

#footer p{ font-size: 14px; opacity: .85; }

#footer ul{ list-style: none; margin: 0; padding: 0; }

#footer li{ margin-bottom: 10px; font-size: 14px; }

.footer-bottom{
  border-top: 1px solid;
  padding: 18px 24px;
  font-size: 12px;
  text-align: center;
  letter-spacing: .04em;
}

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .property-grid{ grid-template-columns: repeat(2, 1fr); }
  #content .wrap{ grid-template-columns: 1fr; }
  #stats .wrap{ grid-template-columns: repeat(2, 1fr); }
  #footer .wrap{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  #nav{
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper, #fff);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid #E3DCC9;
    display: none;
  }
  #nav.open{ display: flex; }
  #nav a{ padding: 10px 0; width: 100%; }
  #nav a.cta{ margin-top: 10px; text-align: center; }
  #navToggle{
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
  }
  #hero h1{ font-size: 30px; }
  .hero-inner{ padding: 64px 20px 56px; }
  .property-grid{ grid-template-columns: 1fr; }
}
