/*
Theme Name: Meja Granit by TasikHost
Theme URI: https://mejagranit.com/
Author: Acep Supriatna
Author URI: https://www.linkedin.com/in/achepy/
Description: Tema WordPress khusus untuk Meja Granit — Spesialis pemasangan granit, marmer, dan Quadra, serta jasa poles dan perbaikan lantai granit, dinding, meja dapur, dan meja kostum lainnya.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mgtasikhost
Tags: custom-logo, custom-menu, featured-images, full-width-template, portfolio, architecture, interior-design
*/

:root {
  --bg-ivory: #f6f4ef;
  --bg-sand: #ece8df;
  --bg-white: #ffffff;
  --bg-obsidian: #111416;
  --bg-charcoal: #191d20;
  --bg-charcoal-soft: #23282c;
  --gold: #c5a25d;
  --gold-light: #dcc084;
  --gold-dark: #9f7e3c;
  --text-dark: #15181a;
  --text-body: #3f454a;
  --text-muted: #686f75;
  --text-light: #f3f1ec;
  --border-light: rgba(21, 24, 26, 0.1);
  --border-gold: rgba(197, 162, 93, 0.35);
  --shadow-sm: 0 6px 20px rgba(17, 20, 22, 0.06);
  --shadow-md: 0 16px 40px rgba(17, 20, 22, 0.1);
  --shadow-lg: 0 24px 60px rgba(17, 20, 22, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1220px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.65em;
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

ul, ol {
  margin: 0 0 1.25em;
  padding-left: 1.25rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-obsidian);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-obsidian);
  color: var(--bg-white);
  border-color: var(--bg-obsidian);
}

.btn-dark:hover {
  background: var(--bg-charcoal-soft);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(21, 24, 26, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Section Helpers */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-dark {
  background: var(--bg-obsidian);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--bg-white);
}

.section-sand {
  background: var(--bg-sand);
}

.section-white {
  background: var(--bg-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-dark .eyebrow {
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-dark .section-header p {
  color: rgba(243, 241, 236, 0.75);
}

/* Top Utility Bar */
.top-bar {
  background: var(--bg-obsidian);
  color: rgba(243, 241, 236, 0.82);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.top-bar-item a:hover {
  color: var(--gold-light);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--gold-dark);
}

.nav-menu li.menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 270px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 950;
}

.nav-menu li.menu-item-has-children:hover > .sub-menu,
.nav-menu li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu li.current-menu-item > a {
  background: var(--bg-ivory);
  color: var(--gold-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn {
  padding: 11px 18px;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--bg-obsidian);
  color: var(--bg-white);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(17, 20, 22, 0.92) 0%, rgba(17, 20, 22, 0.72) 52%, rgba(17, 20, 22, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(197, 162, 93, 0.12);
  color: var(--gold-light);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--bg-white);
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(243, 241, 236, 0.88);
  max-width: 620px;
  margin-bottom: 32px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(243, 241, 236, 0.74);
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item h3 {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-charcoal);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17, 20, 22, 0.84);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  flex: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service-link:hover {
  color: var(--gold-dark);
  gap: 12px;
}

/* Materials Split Showcase */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.material-card {
  background: var(--bg-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
}

.material-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.material-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.material-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.material-card p {
  color: rgba(243, 241, 236, 0.78);
  font-size: 0.95rem;
}

.material-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.material-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: rgba(243, 241, 236, 0.86);
  margin-bottom: 8px;
}

.material-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-obsidian);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Portfolio & Filter */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--bg-obsidian);
  color: var(--gold-light);
  border-color: var(--bg-obsidian);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-charcoal);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(17, 20, 22, 0.92), transparent);
  color: var(--bg-white);
}

.portfolio-caption span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.portfolio-caption h4 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-body);
}

.testimonial-author {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--gold-dark);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-obsidian) 0%, #202529 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--bg-white);
}

.cta-banner h2 {
  color: var(--bg-white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(243, 241, 236, 0.8);
  margin: 0;
  max-width: 600px;
}

/* Page Hero (Inner Pages) */
.page-hero {
  background: var(--bg-obsidian);
  color: var(--bg-white);
  padding: 68px 0 58px;
  border-bottom: 2px solid var(--gold);
}

.breadcrumbs {
  font-size: 0.84rem;
  color: rgba(243, 241, 236, 0.68);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--gold-light);
}

.page-hero h1 {
  color: var(--bg-white);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(243, 241, 236, 0.82);
  max-width: 700px;
  font-size: 1.06rem;
  margin: 0;
}

/* Two-Column Content + Sidebar */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}

.content-layout > aside {
  position: sticky;
  top: 100px;
}

body.admin-bar .content-layout > aside {
  top: 132px;
}

.article-body {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
}

.article-body a:not(.btn) {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(159, 126, 60, 0.45);
  text-underline-offset: 3px;
}

.article-body a:not(.btn):hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.article-body h2 {
  font-size: 1.9rem;
  margin-top: 1.5em;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.4rem;
  margin-top: 1.3em;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-card.dark {
  background: var(--bg-obsidian);
  color: var(--bg-white);
  border-color: var(--border-gold);
}

.sidebar-card.dark h3 {
  color: var(--bg-white);
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li + li {
  border-top: 1px solid var(--border-light);
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 0.94rem;
  font-weight: 500;
}

.sidebar-links a:hover,
.sidebar-links li.is-active a {
  color: var(--gold-dark);
  font-weight: 700;
}

/* Contact Page & Interactive Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(21, 24, 26, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--bg-ivory);
  color: var(--text-dark);
  transition: border-color var(--transition), background-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-white);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-charcoal);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.blog-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.related-posts-section {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.related-posts-header {
  margin-bottom: 24px;
}

.related-posts-header h2 {
  font-size: 1.9rem;
  margin-bottom: 4px;
}

.blog-grid.related-posts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.blog-grid.related-posts-grid .blog-card-body {
  padding: 18px;
}

.blog-grid.related-posts-grid .blog-card-body h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

/* Footer */
.site-footer {
  background: var(--bg-obsidian);
  color: rgba(243, 241, 236, 0.78);
  padding-top: 72px;
  border-top: 2px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr 1.15fr;
  gap: 36px;
  padding-bottom: 52px;
}

.footer-brand p {
  font-size: 0.92rem;
  margin-top: 16px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.91rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(243, 241, 236, 0.62);
}

.footer-bottom a {
  color: var(--gold-light);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 890;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f9d55;
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.wa-float:hover {
  background: #188647;
  transform: translateY(-3px);
}

/* Lightbox */
.mg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(11, 13, 15, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mg-lightbox.is-open {
  display: flex;
}

.mg-lightbox-inner {
  max-width: 920px;
  width: 100%;
  position: relative;
}

.mg-lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.mg-lightbox-caption {
  color: var(--bg-white);
  text-align: center;
  margin-top: 12px;
  font-size: 1rem;
}

.mg-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile Drawer Helpers (hidden on desktop) */
.nav-drawer-head,
.nav-drawer-footer,
.submenu-toggle,
.nav-backdrop {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .materials-grid,
  .portfolio-grid,
  .testimonials-grid,
  .blog-grid,
  .blog-grid.related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .content-layout > aside,
  body.admin-bar .content-layout > aside {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-white);
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 20, 22, 0.58);
    backdrop-filter: blur(3px);
    z-index: 940;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 86vw);
    height: 100dvh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(17, 20, 22, 0.22);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), visibility var(--transition);
    z-index: 990;
  }
  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: var(--bg-obsidian);
    color: var(--bg-white);
    border-bottom: 2px solid var(--gold);
    flex-shrink: 0;
  }
  .nav-drawer-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
  }
  .nav-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--bg-white);
    font-size: 1.5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    gap: 0;
  }
  .nav-menu > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu > li > a {
    flex: 1;
    padding: 15px 4px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
  }
  .nav-menu li.menu-item-has-children > a::after {
    display: none;
  }
  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--bg-ivory);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition);
  }
  .nav-menu > li.is-expanded > .submenu-toggle {
    background: var(--bg-obsidian);
    color: var(--gold-light);
    transform: rotate(180deg);
  }
  .nav-menu .sub-menu {
    width: 100%;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--gold);
    background: var(--bg-ivory);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 0 0 12px 6px;
    padding: 6px 0 6px 10px;
    display: none;
  }
  .nav-menu li.is-expanded > .sub-menu {
    display: block;
  }
  .nav-menu .sub-menu a {
    padding: 10px 12px;
    font-size: 0.92rem;
  }
  .nav-drawer-footer {
    display: block;
    margin-top: auto;
    padding: 20px;
    background: var(--bg-ivory);
    border-top: 1px solid var(--border-light);
  }
  .nav-drawer-meta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  .top-bar-info:first-child .top-bar-item:nth-child(2) {
    display: none;
  }
  .top-bar-inner {
    font-size: 0.76rem;
    padding: 7px 0;
  }
  .header-inner {
    min-height: 68px;
  }
  .brand-logo img {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-sub {
    font-size: 0.6rem;
  }
  .section {
    padding: 62px 0;
  }
  .services-grid,
  .materials-grid,
  .portfolio-grid,
  .testimonials-grid,
  .blog-grid,
  .blog-grid.related-posts-grid,
  .trust-grid,
  .process-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .wa-float span {
    display: none;
  }
  .wa-float {
    padding: 14px;
  }
}
