/* ---------- Design tokens ---------- */
:root{
  --dark: #0d1420;
  --dark-2: #141d2c;
  --dark-3: #1c2839;
  --accent: #d21f3c;
  --accent-dark: #a8172f;
  --cream: #f4f5f8;
  --white: #ffffff;
  --text: #10151d;
  --muted: #5c6673;
  --muted-light: #a2acb8;
  --border: #e3e6ec;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-card: 0 20px 40px -20px rgba(13,20,32,0.25);
  --container: 1180px;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-display); margin:0; line-height:1.15; }
p{ margin:0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--accent); color:var(--white);
  padding:10px 16px; z-index:1000; font-weight:600;
}
.skip-link:focus{ left:16px; top:16px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight:600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--accent); color: var(--white); }
.btn-primary:hover{ background: var(--accent-dark); }
.btn-ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover{ background: rgba(255,255,255,0.08); }
.btn-outline{ background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline:hover{ border-color: var(--dark); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 20px; font-size:0.85rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: var(--dark);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
  gap: 24px;
}
.logo{
  display:flex; align-items:center;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 6px 14px;
}
.logo-img{ height: 42px; width: auto; display:block; }
.main-nav{ display:flex; align-items:center; gap:32px; }
.main-nav a{ color: rgba(255,255,255,0.85); font-size:0.95rem; font-weight:500; }
.main-nav a:hover{ color: var(--accent); }
.header-actions{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:transparent; border:none; cursor:pointer;
}
.nav-toggle span{ width:100%; height:2px; background:var(--white); border-radius:2px; }

/* ---------- Hero ---------- */
.hero{ background: var(--dark); color: var(--white); padding-top: 56px; padding-bottom: 120px; position:relative; }
.hero-top{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; }
.hero-copy{ max-width: 640px; }
.eyebrow{
  text-transform: uppercase; letter-spacing: .12em; font-size:0.78rem; font-weight:700;
  color: var(--accent); margin-bottom:14px;
}
.hero h1{ font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight:700; margin-bottom:20px; }
.hero-sub{ color: var(--muted-light); font-size:1.05rem; max-width:520px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-note{ max-width:240px; color: var(--muted-light); font-size:0.95rem; text-align:right; padding-bottom:8px; }

.hero-media-wrap{ margin-top: 56px; }
.hero-media{ position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card); }
.hero-media img{ width:100%; height: 480px; object-fit:cover; }

.float-card{
  position:absolute; width: 190px; background: var(--white); color: var(--text);
  border-radius: var(--radius-md); padding:10px; box-shadow: 0 18px 32px -14px rgba(0,0,0,0.35);
  display:flex; flex-direction:column; gap:8px;
}
.float-card img{ width:100%; height:90px; object-fit:cover; border-radius: 10px; }
.float-card-body{ display:flex; flex-direction:column; gap:2px; padding: 0 4px 4px; }
.float-card-body strong{ font-size:0.9rem; }
.float-card-body span{ font-size:0.78rem; color: var(--muted); }
.float-card-1{ top: 36px; right: 40px; }
.float-card-2{ top: 36px; right: 250px; }

/* ---------- About ---------- */
.about{ padding: 100px 0 0; }
.about-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:start; margin-bottom:48px;
}
.about-heading h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
.about-heading h2 span{ display:block; color: var(--muted); font-weight:500; font-size: 0.55em; margin-top:10px; }
.about-body p{ color: var(--muted); font-size:1.02rem; margin-bottom:18px; }
.text-link{ font-weight:700; color: var(--dark); border-bottom: 2px solid var(--accent); padding-bottom:2px; }
.about-images{ display:grid; grid-template-columns: 1.2fr 1fr; gap:24px; }
.about-images img{ width:100%; height: 340px; object-fit:cover; border-radius: var(--radius-lg); }
.about-images img:last-child{ height: 340px; align-self:end; }

/* ---------- Features ---------- */
.features{ padding: 90px 0; background: var(--cream); margin-top:90px; }
.features-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.feature-card{
  background: var(--white); border-radius: var(--radius-md); padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.feature-icon{ font-size:1.7rem; margin-bottom:14px; }
.feature-card h3{ font-size:1.05rem; margin-bottom:8px; }
.feature-card p{ color: var(--muted); font-size:0.92rem; }

/* ---------- Section heads ---------- */
.section-head{ text-align:center; max-width:640px; margin: 0 auto 48px; padding-top: 90px; }
.section-head.light{ color: var(--white); }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 12px 0 14px; }
.section-sub{ color: var(--muted); }
.section-head.light .section-sub{ color: var(--muted-light); }

/* ---------- Spaces ---------- */
.spaces{ padding-bottom: 100px; }
.spaces-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.space-card{
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow:hidden;
  display:flex; flex-direction:column; transition: transform .2s ease, box-shadow .2s ease;
}
.space-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.space-card img{ height: 170px; object-fit:cover; }
.space-body{ padding: 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.space-body h3{ font-size:1.05rem; }
.space-location{ color: var(--muted); font-size:0.85rem; }
.price{ font-family: var(--font-display); font-weight:700; font-size:1.4rem; color: var(--dark); }
.price span{ font-size:0.85rem; font-weight:500; color: var(--muted); }
.checklist li{ position:relative; padding-left:20px; color: var(--muted); font-size:0.88rem; margin-bottom:6px; }
.checklist li::before{ content:"✓"; position:absolute; left:0; color: var(--accent-dark); font-weight:700; }
.space-body .btn{ margin-top:auto; }

/* ---------- Gallery ---------- */
.gallery{ padding-bottom: 100px; }
.gallery-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.gallery-grid img{ width:100%; height:230px; object-fit:cover; border-radius: var(--radius-md); }

/* ---------- Testimonials ---------- */
.testimonials{ background: var(--cream); padding-bottom: 100px; }
.testimonial-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.testimonial-card{
  background: var(--white); border-radius: var(--radius-md); padding:28px; margin:0;
  box-shadow: var(--shadow-card);
}
.testimonial-card p{ font-size:0.98rem; color: var(--text); margin-bottom:18px; }
.testimonial-card footer{ color: var(--muted); font-size:0.85rem; font-weight:600; }

/* ---------- Contact ---------- */
.contact{ padding: 100px 0; }
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:start; }
.contact-details{ margin: 28px 0; display:flex; flex-direction:column; gap:16px; }
.contact-details li{ display:flex; flex-direction:column; gap:2px; }
.contact-details strong{ font-size:0.8rem; text-transform:uppercase; letter-spacing:.06em; color: var(--muted); }
.contact-details a:hover{ color: var(--accent-dark); }
.map-embed{ border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--border); }

.booking-form{
  background: var(--cream); border-radius: var(--radius-lg); padding: 32px;
  display:flex; flex-direction:column; gap:18px;
}
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row-split{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.form-row-split > div{ display:flex; flex-direction:column; gap:6px; }
label{ font-size:0.85rem; font-weight:600; color: var(--text); }
input, select, textarea{
  font-family: var(--font-body); font-size:0.95rem; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white);
  color: var(--text);
}
input:focus, select:focus, textarea:focus{ outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea{ resize: vertical; }
.form-status{ font-size:0.9rem; min-height: 1.2em; }
.form-status.success{ color: #1f7a3d; }
.form-status.error{ color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--dark); color: var(--muted-light); padding-top: 64px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p{ margin-top:14px; font-size:0.9rem; max-width:280px; }
.footer-col{ display:flex; flex-direction:column; gap:12px; }
.footer-col h4{ color: var(--white); font-family: var(--font-display); font-size:0.95rem; margin-bottom:4px; }
.footer-col a, .footer-col span{ font-size:0.9rem; }
.footer-col a:hover{ color: var(--accent); }
.footer-bottom{ display:flex; justify-content:center; padding: 20px 0; font-size:0.82rem; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Why Lalitpur ---------- */
.why-lalitpur{ padding: 90px 0 0; }
.why-lalitpur .about-grid{ margin-bottom: 0; }

/* ---------- What's Included (heading inside .features band) ---------- */
.features .section-head{ padding-top: 0; margin-bottom: 44px; }

/* ---------- Space card extras ---------- */
.space-location{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.space-tag{
  font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  background: var(--cream); color: var(--muted);
  border-radius:999px; padding:4px 10px; white-space:nowrap;
}
.space-desc{ color: var(--muted); font-size:0.9rem; }

/* ---------- Why Stratex ---------- */
.why-stratex{ background: var(--dark); color: var(--white); padding: 84px 0; text-align:center; }
.why-stratex .eyebrow{ color: var(--accent); margin-bottom:12px; }
.why-stratex h2{ font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom:18px; }
.why-stratex p{ color: var(--muted-light); max-width: 760px; margin: 0 auto 30px; font-size:1.02rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .site-header.nav-open .main-nav{
    display:flex; flex-direction:column; position:absolute; top:84px; left:0; right:0;
    background: var(--dark); padding: 20px 24px; gap:18px;
  }
  .hero-top{ flex-direction:column; align-items:flex-start; }
  .hero-note{ text-align:left; }
  .hero-media img{ height: 320px; }
  .float-card{ width: 150px; }
  .float-card-1{ right: 20px; top: 20px; }
  .float-card-2{ display:none; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-images{ grid-template-columns: 1fr; }
  .about-images img:last-child{ height: 260px; }
  .features-grid{ grid-template-columns: 1fr 1fr; }
  .spaces-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .testimonial-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .features-grid{ grid-template-columns: 1fr; }
  .spaces-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .form-row-split{ grid-template-columns: 1fr; }
  .header-actions .btn-sm{ display:none; }
}

/* ---------- Room booking page (book-*.html) ---------- */
.room-page{ padding: 44px 0 100px; }
.breadcrumb{
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
  font-size:0.85rem; color: var(--muted); margin-bottom: 30px;
}
.breadcrumb a:hover{ color: var(--accent-dark); }
.breadcrumb [aria-current="page"]{ color: var(--text); font-weight:600; }
.room-head{ max-width: 660px; margin-bottom: 44px; }
.room-head h1{ font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 12px 0 14px; }
.room-media > img{
  width:100%; height: 340px; object-fit:cover;
  border-radius: var(--radius-lg); margin-bottom: 26px;
}
.room-facts{ display:flex; flex-direction:column; gap:14px; }
.room-facts .space-desc{ font-size:0.95rem; }

.room-gallery{ margin-top: 60px; }
.room-more + .room-more{ margin-top: 40px; }
.room-more h2{
  font-family: var(--font-body); font-size:0.78rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.07em; color: var(--muted);
  margin-bottom: 14px;
}
/* auto-fill keeps the empty tracks, so a 2-photo strip stays thumbnail-sized
   instead of stretching each image to half the page width */
.room-thumbs{ display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:16px; }
.room-thumbs figure{ margin:0; }
.room-thumbs img{
  width:100%; height: 190px; object-fit:cover;
  border-radius: var(--radius-md); margin:0;
}
.room-thumbs figcaption{ font-size:0.78rem; color: var(--muted); margin-top:8px; }

@media (max-width: 980px){
  .room-media > img{ height: 260px; }
  .room-head{ margin-bottom: 32px; }
  .room-gallery{ margin-top: 44px; }
  .room-thumbs img{ height: 160px; }
}
@media (max-width: 600px){
  .room-thumbs img{ height: 200px; }
}

/* ---------- FAQ ---------- */
.faq{ padding-bottom: 100px; }
.faq .section-sub a{ color: var(--accent-dark); font-weight:600; border-bottom:1px solid currentColor; }
.faq-list{ max-width: 820px; }
.faq-item{
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); margin-bottom: 12px; overflow: hidden;
}
.faq-item[open]{ border-color: #c9cedb; box-shadow: var(--shadow-card); }
.faq-item summary{
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 58px 18px 22px;
  font-family: var(--font-display); font-weight:600; font-size:1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color: var(--accent-dark); }
/* custom +/- indicator */
.faq-item summary::after{
  content:""; position:absolute; right: 22px; top: 50%;
  width: 13px; height: 2px; background: var(--accent);
  transform: translateY(-50%);
}
.faq-item summary::before{
  content:""; position:absolute; right: 27px; top: 50%;
  width: 2px; height: 13px; background: var(--accent);
  transform: translateY(-50%); transition: opacity .2s ease, transform .2s ease;
}
.faq-item[open] summary::before{ opacity:0; transform: translateY(-50%) rotate(90deg); }
.faq-body{ padding: 0 22px 20px; }
.faq-body p{ color: var(--muted); font-size:0.95rem; }
.faq-body a{ color: var(--accent-dark); font-weight:600; }

/* ---------- Active nav link ---------- */
.main-nav a.is-active{ color: var(--white); }
.main-nav a.is-active::after{
  content:""; display:block; height:2px; margin-top:5px;
  background: var(--accent); border-radius:2px;
}

/* ---------- Back to top ---------- */
.to-top{
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark); color: var(--white);
  border: 1px solid rgba(255,255,255,0.16); cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ background: var(--accent); }
.to-top svg{ width:18px; height:18px; }

/* ---------- Gallery lightbox ---------- */
.gallery-grid img, .room-thumbs img{ cursor: zoom-in; }
.lightbox{
  position: fixed; inset: 0; z-index: 900;
  background: rgba(8,12,20,0.92);
  display: grid; place-items: center; padding: 32px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img{
  max-width: min(1100px, 94vw); max-height: 86vh;
  width:auto; height:auto; border-radius: var(--radius-md);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7);
}
.lightbox-caption{
  color: var(--muted-light); font-size:0.86rem; text-align:center;
  margin-top: 14px; max-width: 640px;
}
.lightbox-close{
  position:absolute; top: 18px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  font-size: 1.3rem; line-height: 1; display:grid; place-items:center;
}
.lightbox-close:hover{ background: var(--accent); }

/* ---------- Accessibility ---------- */
:focus-visible{ outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .site-footer :focus-visible, .why-stratex :focus-visible{
  outline-color: #ff6b85;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal{ opacity:1; transform:none; }
}

@media (max-width: 600px){
  .faq-item summary{ padding: 16px 50px 16px 18px; font-size:0.95rem; }
  .faq-body{ padding: 0 18px 18px; }
  .to-top{ right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
