/* =====================================================================
   Godrej MSR City - shared styles for sub pages, menu dropdown and footer
   Loaded after style-green.css. Reuses the same colour tokens.
   ===================================================================== */

/* ---------- Menu: "More" dropdown (desktop) ---------- */
.menu ul li.has-sub { position: relative; }
.menu ul li.has-sub > a i { margin-left: 3px; }
.menu ul.sub {
  display: none; position: absolute; right: 0; top: 100%; min-width: 230px; margin: 0; padding: 8px 0;
  background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 18px 40px rgba(8,42,31,.18);
  flex-direction: column; align-items: stretch; z-index: 20;
}
.menu ul li.has-sub:hover > ul.sub,
.menu ul li.has-sub:focus-within > ul.sub { display: flex; }
.menu ul.sub li { width: 100%; }
.menu ul.sub li a {
  display: block; padding: 10px 20px; border-top: 0 !important; text-transform: none; letter-spacing: .01em;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.menu ul.sub li a:hover, .menu ul.sub li.current a { background: var(--ivory); color: var(--leaf); }
.menu ul li.has-sub.current > a { color: var(--leaf); border-top-color: var(--leaf); }

/* ---------- Menu: mobile overlay with the full list, scrollable ---------- */
@media only screen and (max-width:991px) {
  .overlay { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .overlay nav { height: auto; top: 0; transform: none; padding: 92px 0 40px; }
  .overlay ul { height: auto; display: block; }
  .overlay ul li { margin: 0 0 2px; }
  .overlay ul li a { font-size: 20px !important; padding: 8px 0 !important; }
  .menu ul li.has-sub > a.more-link { display: none; }
  .menu ul.sub { display: block !important; position: static; min-width: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .menu ul.sub li a { color: #fff; padding: 8px 0 !important; font-size: 20px !important; text-align: center; }
  .menu ul.sub li a:hover { background: transparent; color: var(--gold-light); }
  .overlay ul li.current a { color: var(--gold-light); }
}

/* ---------- Inner page hero ---------- */
.inner-hero {
  position: relative; padding: 138px 0 56px; color: #fff; background-color: var(--navy-deep);
  background-image: linear-gradient(100deg, rgba(4,28,20,.96) 0, rgba(8,42,31,.9) 45%, rgba(8,42,31,.72) 100%), url(../images/banner-image.webp);
  background-size: cover; background-position: center right;
}
.inner-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--leaf), var(--gold), transparent); }
.inner-hero h1 {
  font-family: var(--serif); font-weight: 600; color: #fff; font-size: clamp(30px,4vw,46px); line-height: 1.18; margin: 14px 0 14px; max-width: 900px;
}
.inner-hero h1::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 16px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
.inner-hero__lead { max-width: 820px; font-size: 17px; line-height: 1.75; color: #dbe3ea; font-weight: 500; margin: 0 0 6px; }
.inner-hero__lead a { color: var(--gold-light); text-decoration: underline; }
.inner-hero .svx-actions { margin-top: 22px; }
.inner-hero .svx-btn { border-color: var(--gold-light); }
.svx-btn--gold { background: linear-gradient(135deg, #dcc88f, #b79a55); border-color: #b79a55 !important; color: var(--navy-deep) !important; }
.svx-btn--gold:hover { background: #fff; border-color: #fff !important; color: var(--navy) !important; }
.inner-hero .svx-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.55); background: transparent; }
.inner-hero .svx-btn--ghost:hover { background: var(--gold); border-color: var(--gold) !important; color: var(--navy-deep) !important; }
.crumbs { font-size: 13.5px; color: #b9c7c0; font-weight: 500; }
.crumbs a { color: var(--gold-light); font-weight: 600; }
.crumbs span { margin: 0 8px; }
.crumbs span:last-child { margin: 0; color: #fff; }
.inner-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.inner-chips li {
  font-size: 13.5px; font-weight: 600; color: var(--gold-light); border: 1px solid rgba(220,200,143,.45);
  border-radius: 50px; padding: 6px 16px; line-height: 1.4; background: rgba(255,255,255,.05);
}

/* ---------- Content helpers ---------- */
.inner-page main { display: block; }
.inner-prose { max-width: 920px; margin: 0 auto; }
.inner-prose p { margin: 0 0 16px; }
.inner-prose h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: 22px; margin: 28px 0 10px; line-height: 1.35; }
.inner-prose a, .svx-card p a, .svx-sec .svx-lead a, .svx-note a, .accordion_box .card a { color: var(--leaf); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.inner-prose a:hover, .svx-card p a:hover, .svx-sec .svx-lead a:hover { color: var(--gold); }
.inner-prose ul, .inner-prose ol { margin-bottom: 18px; }
.inner-ol { margin: 0 0 18px; padding-left: 22px; }
.inner-ol li { margin-bottom: 10px; padding-left: 4px; }
.inner-img { border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(18,68,52,.1); width: 100%; height: auto; }
.inner-tablewrap { overflow-x: auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(18,68,52,.08); }
.svx-table--grid th, .svx-table--grid td { width: auto; }
.svx-table--grid thead th { background: var(--navy); color: #fff; font-family: inherit; }
.svx-table--grid tbody td:first-child { font-weight: 700; color: var(--navy); background: var(--ivory-2); }
.svx-sec .svx-split + .svx-actions, .svx-sec .inner-prose + .svx-actions { justify-content: center; }
.inner-lead-box { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 4px; margin: 0 0 22px; }
.inner-lead-box p { margin: 0 !important; }

/* ---------- Mid-page CTA band ---------- */
.inner-cta { padding: 0; }
.inner-cta__in {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-top: 4px solid var(--gold); border-radius: 8px;
  padding: 30px 36px; margin: 0 auto 8px; box-shadow: 0 18px 44px rgba(8,42,31,.22);
}
.inner-cta h2 { font-family: var(--serif); color: #fff; font-size: 26px; line-height: 1.3; margin: 0 0 6px; font-weight: 600; }
.inner-cta p { margin: 0; color: #d3dae4; font-size: 15.5px; line-height: 1.7; max-width: 640px; font-weight: 500; }
.inner-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.inner-cta .svx-btn { background: linear-gradient(135deg, #dcc88f, #b79a55); border-color: #b79a55; color: var(--navy-deep) !important; }
.inner-cta .svx-btn:hover { background: #fff; border-color: #fff; }
.inner-cta .svx-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.inner-cta .svx-btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep) !important; }
.inner-cta + .svx-sec { padding-top: 56px; }
.svx-sec + .inner-cta { margin-top: 0; }
.inner-cta { padding-bottom: 0; }

/* ---------- Related pages ---------- */
.inner-rel-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.inner-rel {
  display: block; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--leaf); border-radius: 10px;
  padding: 22px 22px 18px; box-shadow: 0 8px 24px rgba(18,68,52,.07); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.inner-rel:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18,68,52,.14); border-color: var(--gold-light); }
.inner-rel strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--navy); line-height: 1.3; margin-bottom: 6px; font-weight: 600; }
.inner-rel span { display: block; font-size: 14.5px; color: #5d6671; line-height: 1.6; font-weight: 500; }
.inner-rel em { display: inline-block; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }

/* ---------- Gallery grid ---------- */
.inner-gal { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.inner-gal figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(18,68,52,.08); }
.inner-gal a { display: block; position: relative; }
.inner-gal img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .4s; }
.inner-gal a:hover img { transform: scale(1.04); }
.inner-gal figcaption { padding: 12px 16px 14px; font-size: 14.5px; line-height: 1.55; color: #444c57; font-weight: 500; }
.inner-gal figcaption strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 17px; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c3d0; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
.site-footer p, .site-footer li { color: #b9c3d0; font-size: 14.5px; line-height: 1.75; font-weight: 500; }
.site-footer a { color: #d3dae4; font-weight: 500; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__brand { font-family: var(--serif); font-size: 22px !important; color: #fff !important; font-weight: 600; margin: 0 0 10px; }
.site-footer__title { font-family: var(--serif); color: var(--gold-light) !important; font-size: 17px !important; letter-spacing: .06em; margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer__about a:not(.site-footer__btn) { color: var(--gold-light); text-decoration: underline; }
.site-footer .site-footer__btn {
  display: inline-block; padding: 11px 26px; border-radius: 50px; background: linear-gradient(135deg, #dcc88f, #b79a55);
  color: var(--navy-deep) !important; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
}
.site-footer .site-footer__btn:hover { background: #fff; }
.site-footer .copy_right.svx-disclaimer { border-top: 1px solid rgba(220,200,143,.3); background: #06211a; box-shadow: 0 0 0 100vmax #06211a; text-align: left; }
.site-footer .copy_right.svx-disclaimer p { font-size: 12.5px; }
.site-footer .copy_right.svx-disclaimer a { text-decoration: underline; color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width:991px) {
  .inner-rel-grid, .inner-gal { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .inner-hero { padding: 118px 0 44px; }
}
@media (max-width:575px) {
  .inner-rel-grid, .inner-gal, .site-footer__grid { grid-template-columns: 1fr; }
  .inner-cta__in { padding: 24px 20px; }
  .inner-cta h2 { font-size: 22px; }
  .inner-hero__lead { font-size: 16px; }
  .inner-chips li { font-size: 12.5px; }
}

/* ---------- Menu: Enquire Now button ---------- */
.menu ul li.menu-cta { margin-left: 8px; }
.menu ul li.menu-cta a {
  border-top: 0 !important; padding: 10px 22px !important; border-radius: 50px; background: linear-gradient(135deg, #dcc88f, #b79a55);
  color: var(--navy-deep) !important; font-weight: 700; letter-spacing: .06em; box-shadow: 0 6px 16px rgba(183,154,85,.35);
}
.menu ul li.menu-cta a:hover { background: var(--navy); color: #fff !important; }
@media only screen and (max-width:991px) {
  .menu ul li.menu-cta { margin: 12px 0 0; }
  .menu ul li.menu-cta a { display: inline-block; font-size: 18px !important; padding: 12px 30px !important; }
}
