/*
Theme Name: Golden Bricks Interior
Theme URI: https://www.instagram.com/golden_bricks_india/
Author: Jai Graphix
Author URI: https://www.instagram.com/jai_graphix__/
Description: Luxury interior design & real estate theme inspired by elite architectural portfolios, featuring fully customizable pages, responsive grid layouts, and booking enquiry forms.
Version: 1.9.0
Text Domain: golden-bricks-interior
*/

:root {
  --bg-obsidian: #0A0A0A; --bg-charcoal: #121212; --bg-card: #1A1A1A;
  --gold-primary: #C5A059; --gold-light: #DFBC77; --gold-dark: #9E7D3B;
  --text-ivory: #F5F5F0; --text-muted: #A0A0A0; --border-subtle: rgba(197,160,89,.2);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg-obsidian); color: var(--text-ivory); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.7; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-primary); }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; color: var(--text-ivory); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.gold-text { color: var(--gold-primary); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold-primary); color: #0A0A0A; padding: 10px 16px; z-index: 2000; }
.skip-link:focus { left: 0; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.center { text-align: center; } .mt { margin-top: 40px; }

/* buttons */
.btn-gold { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0A0A0A; font-weight: 600; padding: 12px 28px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; font-family: inherit; font-size: 1rem; transition: all .3s ease; }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(197,160,89,.4); }
.btn-outline { background: transparent; border: 2px solid var(--gold-primary); color: var(--gold-primary); padding: 10px 28px; border-radius: 4px; font-weight: 600; text-decoration: none; display: inline-block; transition: .3s; }
.btn-outline:hover { background: var(--gold-primary); color: #0A0A0A; }
.btn-lg { font-size: 16px; padding: 15px 35px; }

/* header */
.site-header { background: rgba(10,10,10,.95); border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); }
.nav-container { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; gap: 20px; }
.logo a { text-decoration: none; display: block; }
.logo h1 { margin: 0; font-size: 24px; letter-spacing: 2px; color: var(--gold-primary); }
.logo span { font-size: 11px; display: block; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; }
.custom-logo { max-height: 52px; width: auto; }
.logo .custom-logo { height: var(--header-logo-h, 52px); max-height: none; width: auto; max-width: 70vw; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 35px; }
.site-nav ul { display: flex; list-style: none; gap: 35px; margin: 0; padding: 0; align-items: center; }
.site-nav ul li a { color: var(--text-ivory); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .3s; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul li a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--gold-primary); border-bottom-color: var(--gold-primary); }
.header-cta { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0A0A0A; padding: 10px 22px; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 14px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--gold-primary); margin: 6px 10px; }

/* hero + page hero */
.eyebrow { color: var(--gold-primary); text-transform: uppercase; letter-spacing: 4px; font-size: 13px; font-weight: 600; display: block; margin-bottom: 15px; }
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(10,10,10,.6), rgba(10,10,10,.8)), var(--hero-img) center/cover no-repeat; }
.hero-in { max-width: 900px; padding: 60px 20px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-bottom: 25px; }
.hero p { color: #D0D0D0; font-size: 18px; margin-bottom: 35px; }
.btn-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.page-hero { background: linear-gradient(180deg, var(--bg-charcoal), var(--bg-obsidian)); border-bottom: 1px solid var(--border-subtle); text-align: center; padding: 90px 20px 70px; }
.page-hero-in { max-width: 800px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--gold-primary); margin-bottom: 15px; }
.page-hero p { color: var(--text-muted); font-size: 17px; margin: 0 0 1em; }

/* stats */
.stats { background: var(--bg-charcoal); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 40px 20px; }
.stats-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stats h2 { font-size: 42px; color: var(--gold-primary); margin: 0 0 5px; }
.stats p { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin: 0; }

/* sections + cards */
.sec { padding: 90px 0; }
.sec.alt { background: var(--bg-charcoal); border-top: 1px solid var(--border-subtle); }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .eyebrow { font-size: 12px; letter-spacing: 3px; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.grid-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; }
.card { background: var(--bg-card); border-radius: 8px; border: 1px solid rgba(197,160,89,.15); overflow: hidden; }
.card-img { display: block; height: 280px; background: linear-gradient(135deg, #1f1b14, #0f0e0b); overflow: hidden; }
.card-img .cover, .case-img .cover { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .cover { transform: scale(1.04); }
.card-body { padding: 25px; }
.meta { color: var(--gold-primary); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.card-body h3 { font-size: 24px; margin: 10px 0 15px; }
.card-body h3 a { color: var(--text-ivory); text-decoration: none; }
.card-body p { color: var(--text-muted); font-size: 14px; }
.more { color: var(--gold-primary); text-decoration: none; font-weight: 600; font-size: 14px; }
.more:hover { color: var(--gold-light); }
.feature { padding: 40px; border-color: rgba(197,160,89,.1); }
.feature i { font-size: 36px; color: var(--gold-primary); margin-bottom: 20px; display: block; }
.feature h3 { font-size: 20px; margin-bottom: 15px; }
.feature p { color: var(--text-muted); font-size: 14px; margin: 0; }
.quote { margin: 0; padding: 35px; }
.quote i { color: var(--gold-primary); font-size: 24px; }
.quote blockquote { margin: 15px 0; font: 400 1.15rem/1.6 'Playfair Display', serif; }
.quote figcaption { color: var(--text-muted); font-size: 14px; }

/* process */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--border-subtle); }
.step:last-child { border-bottom: 1px solid var(--border-subtle); }
.step .num { font: 400 2.2rem/1 'Playfair Display', serif; color: var(--gold-primary); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--text-muted); margin: 0; }

/* cta */
.cta { background: linear-gradient(rgba(10,10,10,.85), rgba(10,10,10,.85)), var(--cta-img) center/cover fixed; padding: 100px 20px; text-align: center; border-top: 1px solid var(--border-subtle); }
.cta-in { max-width: 800px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 10px 0 20px; }
.cta p { color: #D0D0D0; margin-bottom: 35px; }

/* faq */
.faq { border-bottom: 1px solid var(--border-subtle); padding: 18px 0; }
.faq summary { cursor: pointer; font: 400 1.2rem 'Playfair Display', serif; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-primary); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq div { color: var(--text-muted); margin-top: 12px; }
.faq div p:last-child { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info { display: flex; gap: 18px; padding: 22px; align-items: flex-start; }
.info i { color: var(--gold-primary); font-size: 22px; width: 28px; text-align: center; margin-top: 4px; }
.info h4 { margin: 0 0 4px; font-size: 16px; }
.info a, .info p { color: var(--text-muted); text-decoration: none; margin: 0; font-size: 15px; }
.info a:hover { color: var(--gold-primary); }
.form-card { padding: 36px; }
.form-card h2 { font-size: 28px; color: var(--gold-primary); }
form.enquiry { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: inherit; padding: 12px 14px; background: var(--bg-charcoal); border: 1px solid var(--border-subtle); color: var(--text-ivory); border-radius: 4px; width: 100%; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { border-color: var(--gold-primary); outline: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { margin: 0; padding: 12px 16px; border-radius: 4px; font-size: 14px; }
.notice.ok { background: rgba(60,140,80,.15); border: 1px solid rgba(60,140,80,.5); color: #b8e6c4; }
.notice.bad { background: rgba(180,60,50,.15); border: 1px solid rgba(180,60,50,.5); color: #f3c0ba; }

/* portfolio + case study */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 40px; }
.filters a { padding: 8px 20px; border: 1px solid var(--border-subtle); color: var(--text-ivory); text-decoration: none; font-size: 14px; border-radius: 4px; }
.filters a[aria-current] { background: var(--gold-primary); color: #0A0A0A; border-color: var(--gold-primary); }
.case-img { height: min(60vw, 560px); border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #1f1b14, #0f0e0b); margin-bottom: 50px; }
.case-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.case-facts { padding: 30px; }
.case-facts h3 { font-size: 20px; color: var(--gold-primary); }
.case-facts dl { margin: 0 0 25px; } .case-facts dt { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.case-facts dd { margin: 0 0 12px; } .case-facts ul { padding-left: 18px; margin: 0 0 25px; color: var(--text-muted); }
.entry { color: #E4E4DF; font-size: 16px; line-height: 1.8; }
.entry h2, .entry h3 { color: var(--text-ivory); } .entry img { border-radius: 8px; }
.post-item { padding: 30px; margin-bottom: 30px; background: var(--bg-charcoal); }
.post-item h2 a { color: var(--text-ivory); text-decoration: none; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--border-subtle); color: var(--text-ivory); text-decoration: none; border-radius: 4px; }
.pagination .current { background: var(--gold-primary); color: #0A0A0A; }
.screen-reader-text { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: var(--bg-obsidian); }
.footer-grid { max-width: 1300px; margin: 0 auto; padding: 70px 20px 40px; border-top: 1px solid var(--border-subtle); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.footer-brand { color: var(--gold-primary); font-size: 22px; margin-bottom: 20px; }
.site-footer p, .site-footer .foot-list.plain li { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.site-footer h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-primary); }
.foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.social { margin-top: 20px; display: flex; gap: 15px; }
.social a { color: var(--gold-primary); font-size: 18px; }
.footer-end { text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,.05); color: #777; font-size: 13px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 6px 20px rgba(0,0,0,.45); text-decoration: none; }

@media (max-width: 960px) {
  .burger { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(10,10,10,.98); flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; border-bottom: 1px solid var(--border-subtle); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-grid, .case-grid { grid-template-columns: 1fr; }
  .cta { background-attachment: scroll; }
}
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .sec { padding: 64px 0; } .feature { padding: 28px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* Owner / Founder Section - Balanced Luxury Editorial Layout */
.owner-card {
  max-width: 1060px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(197,160,89,.25);
  border-radius: 12px;
  padding: 44px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.owner-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.owner-photo-frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(197,160,89,.45);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  background: #14120e;
}
.owner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.owner-badge {
  width: 100%;
  max-width: 300px;
  background: rgba(197,160,89,.1);
  border: 1px solid rgba(197,160,89,.35);
  color: var(--gold-light);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  text-align: center;
}
.owner-badge i { color: var(--gold-primary); margin-right: 6px; }
.owner-name { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-bottom: 6px; color: var(--text-ivory); }
.owner-role { color: var(--gold-primary); font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.owner-divider { width: 56px; height: 2px; background: var(--gold-primary); margin-bottom: 18px; }
.owner-bio p { color: #D8D8D2; font-size: 15.5px; line-height: 1.8; }
.owner-quote { margin: 20px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold-primary); background: rgba(197,160,89,.07); font-family: 'Playfair Display', serif; font-size: 1.08rem; color: var(--text-ivory); border-radius: 0 6px 6px 0; }

/* Footer Logo & Brand Block */
.footer-logo { margin-bottom: 18px; display: inline-block; }
.footer-logo img, .footer-logo .custom-logo { max-height: var(--footer-logo-h, 56px); width: auto; display: block; object-fit: contain; }
.footer-brand-link { text-decoration: none; display: inline-block; margin-bottom: 16px; }
.footer-brand-link .footer-brand { margin-bottom: 4px; letter-spacing: 1.5px; }
.footer-sub { display: block; font-size: 11px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; }

/* Portfolio Listing Page (PLP) & Project Cards */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.plp-admin-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: rgba(197,160,89,.1);
  border: 1px dashed var(--gold-primary);
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 28px;
}
.plp-admin-bar span { color: var(--gold-light); font-weight: 600; font-size: 14px; }
.plp-admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.plp-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}
.plp-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.plp-pill {
  padding: 9px 18px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-ivory);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  transition: all .25s ease;
}
.plp-pill:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.plp-pill.active { background: var(--gold-primary); color: #0A0A0A; border-color: var(--gold-primary); font-weight: 600; }
.pill-count { opacity: .8; font-size: 12px; }

.plp-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.plp-meta-count { color: var(--text-muted); font-size: 13.5px; }
.plp-meta-count strong { color: var(--gold-primary); }
.plp-filter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.plp-filter-form select {
  background: var(--bg-card);
  color: var(--text-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
}
.plp-filter-form select:focus { border-color: var(--gold-primary); outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.card-img { position: relative; }
.cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,10,10,.88);
  color: var(--text-ivory);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 4px;
}
.status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10,10,10,.9);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
}
.plp-card { display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease; }
.plp-card:hover { transform: translateY(-4px); border-color: rgba(197,160,89,.45); }
.plp-card .card-body { display: flex; flex-direction: column; flex: 1; }
.plp-card .card-body h3 { margin: 0 0 10px; font-size: 22px; }
.plp-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--gold-primary);
  margin-bottom: 12px;
}
.plp-specs span { display: inline-flex; align-items: center; gap: 5px; }
.client-tag { color: #D0D0D0 !important; font-size: 13px !important; margin-bottom: 8px !important; }
.plp-excerpt { flex: 1; margin-bottom: 18px !important; }
.plp-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.edit-mini { font-size: 12.5px; color: var(--text-muted); text-decoration: none; }
.edit-mini:hover { color: var(--gold-primary); }
.plp-empty { padding: 50px 30px; text-align: center; }
.plp-empty h3 { color: var(--gold-primary); font-size: 24px; }
.svc-desc p { color: var(--text-muted); font-size: 14px; margin: 0 0 8px; }

@media (max-width: 960px) {
  .owner-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 28px;
    text-align: left;
  }
  .owner-photo-frame, .owner-badge { max-width: 260px; }
}


/* Primary Navigation Dropdown for Services */
.site-nav ul li { position: relative; }
.site-nav .menu-item-has-children { display: flex; align-items: center; gap: 6px; }
.submenu-toggle {
  background: none;
  border: 0;
  color: var(--gold-primary);
  cursor: pointer;
  padding: 4px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}
.site-nav .menu-item-has-children:hover > .submenu-toggle,
.site-nav .menu-item-has-children.sub-open > .submenu-toggle { transform: rotate(180deg); }

.site-nav ul.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  background: #121212;
  border: 1px solid rgba(197,160,89,.35);
  border-radius: 8px;
  padding: 10px 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.75);
  z-index: 1200;
}
.site-nav ul.sub-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.site-nav .menu-item-has-children:hover > ul.sub-menu,
.site-nav .menu-item-has-children:focus-within > ul.sub-menu,
.site-nav .menu-item-has-children.sub-open > ul.sub-menu {
  display: flex;
}
.site-nav ul.sub-menu li { width: 100%; }
.site-nav ul.sub-menu li a {
  display: block;
  padding: 11px 20px;
  font-size: 13.5px;
  color: var(--text-ivory);
  border-bottom: 0;
  border-left: 3px solid transparent;
  transition: all .2s ease;
}
.site-nav ul.sub-menu li a:hover,
.site-nav ul.sub-menu li.current-menu-item > a {
  background: rgba(197,160,89,.12);
  color: var(--gold-primary);
  border-left-color: var(--gold-primary);
}

/* Service Cards & Individual Service Detail Page */
.svc-card { display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease; }
.svc-card:hover { transform: translateY(-4px); border-color: rgba(197,160,89,.4); }
.svc-card h3 a { color: var(--text-ivory); text-decoration: none; }
.svc-card h3 a:hover { color: var(--gold-primary); }
.svc-card .svc-desc { flex: 1; margin-bottom: 18px; }

.svc-banner { height: min(52vw, 480px); margin-bottom: 44px; }
.svc-detail-grid { display: grid; grid-template-columns: 1.85fr 1fr; gap: 44px; align-items: start; }
.svc-content-box h2, .svc-content-box h3 { color: var(--gold-primary); margin-top: 28px; }
.svc-content-box h2:first-child, .svc-content-box h3:first-child { margin-top: 0; }
.svc-deliverables-card { margin-top: 34px; padding: 32px; border-color: rgba(197,160,89,.28); }
.svc-deliverables-card h3 { font-size: 22px; color: var(--gold-primary); margin-bottom: 20px; }
.svc-deliverables-card h3 i { margin-right: 8px; }
.svc-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.svc-check-list li { display: flex; align-items: flex-start; gap: 12px; color: #E8E8E2; font-size: 15px; }
.svc-check-list li i { color: var(--gold-primary); margin-top: 5px; font-size: 13px; }

.svc-sidebar { display: grid; gap: 26px; }
.svc-side-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(197,160,89,.12);
  border: 1px solid rgba(197,160,89,.35);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.svc-nav-card { padding: 26px; }
.svc-nav-card h4 { font-size: 18px; color: var(--gold-primary); margin-bottom: 16px; }
.svc-side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.svc-side-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--bg-charcoal);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--text-ivory);
  text-decoration: none;
  font-size: 14px;
  transition: all .2s ease;
}
.svc-side-links li a:hover,
.svc-side-links li.active a {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(197,160,89,.1);
}

@media (max-width: 960px) {
  .site-nav .menu-item-has-children { flex-wrap: wrap; width: 100%; justify-content: space-between; }
  .site-nav ul.sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--gold-primary);
    border-radius: 0;
    padding: 6px 0 6px 12px;
    margin-top: 6px;
    background: transparent;
  }
  .site-nav ul.sub-menu::before { display: none; }
  .svc-detail-grid { grid-template-columns: 1fr; }
}

/* Instant Consultation Popup Modal Styling */
.gbi-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: gbiFadeIn .3s ease;
}
@keyframes gbiFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.gbi-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #181818;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}
.gbi-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: 0;
  color: var(--text-ivory);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color .2s ease;
}
.gbi-modal-close:hover { color: var(--gold-primary); }
.gbi-modal-body .form-row { margin-bottom: 14px; }
.gbi-modal-body label { display: block; font-size: 13px; color: #ccc; margin-bottom: 5px; }
.gbi-modal-body input,
.gbi-modal-body select,
.gbi-modal-body textarea {
  width: 100%;
  padding: 11px 14px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}
.gbi-modal-body input:focus,
.gbi-modal-body select:focus,
.gbi-modal-body textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

/* Clean Form Card & Input Styling Fix */
.enquiry-card, .form-card {
  padding: 36px;
  background: #181818;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 12px;
}
.form-card h2 {
  font-size: 26px;
  color: var(--gold-primary);
  margin-bottom: 8px;
}
.enquiry-card h3 {
  font-size: 24px;
  color: var(--gold-primary);
  margin-bottom: 6px;
}
.enquiry-card p, .form-card p {
  color: #aaa;
  font-size: 14.5px;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  color: #ddd;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 16px !important;
  background: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  display: block !important;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none !important;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.25) !important;
}
.form-group select {
  appearance: auto !important;
}
