/* =============================================
   ramay THEME - MAIN CSS
   Interblock ramay
   ============================================= */

/* --- Variables --- */
:root {
  --primary: #173d4f;
  --accent: #28b4a0;
  --accent-dark: #1d9688;
  --accent-light: #e0f5f2;
  --light-bg: #eef7f5;
  --white: #ffffff;
  --text: #1e2d35;
  --text-light: #546e78;
  --text-muted: #8fa8b0;
  --border: #d4e8e3;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(23, 61, 79, 0.09);
  --shadow-hover: 0 12px 40px rgba(23, 61, 79, 0.18);
  --transition: 0.3s ease;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.relative {
  position: relative;
}

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background: var(--light-bg);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

p:last-child {
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 180, 160, 0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --- Section Headers --- */
.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-subtitle i {
  font-size: 0.8rem;
}

.section-title {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.section-header {
  margin-bottom: 50px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

/* --- Partner Logos --- */
.partner-section {
  padding: 50px 0;
  background: var(--white);
}

.partner-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

.partner-text {
  flex-shrink: 0;
  width: 200px;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.3;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  flex-grow: 1;
}

.partner-card {
  background: var(--light-bg);
  border-radius: 14px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.partner-card:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.partner-card i {
  font-size: 1.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* --- Placeholder --- */
.placeholder-img {
  background: linear-gradient(135deg, #e8f3f1, #d0e8e4);
  border-radius: var(--radius);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
/* Default Sticky Header (All Pages) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(23, 61, 79, 0.08);
  transition: all 0.4s ease;
}

/* Fix for Admin Bar overlap */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }

  /* WP Admin bar is not fixed on very small screens usually */
}

/* Navbar Base Styles */
.navbar {
  background: transparent;
  border-bottom: none;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
  transition: padding 0.3s ease;
}

.site-title {
  font-size: 1.4rem;
  font-family: var(--font-heading);
}

.site-title a {
  color: var(--primary);
  transition: color 0.3s;
}

.custom-logo-link {
  display: block;
  line-height: 0;
  transition: filter 0.3s;
}

.custom-logo {
  height: auto;
  max-height: 55px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* Nav Menu Base Styles (Dark Text) */
.main-navigation ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-navigation ul li a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item>a {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
}

/* -------------------------------------------
   HOME PAGE - TRANSPARENT HEADER AT TOP
   ------------------------------------------- */
body.home .site-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
}

body.home .site-header:not(.is-scrolled) .navbar-inner {
  padding: 24px 0;
}

body.home .site-header:not(.is-scrolled) .site-title a {
  color: var(--white);
}

body.home .site-header:not(.is-scrolled) .main-navigation ul li a {
  color: var(--white);
}

body.home .site-header:not(.is-scrolled) .main-navigation ul li a:hover,
body.home .site-header:not(.is-scrolled) .main-navigation ul li.current-menu-item>a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

body.home .site-header:not(.is-scrolled) .custom-logo-link {
  filter: brightness(0) invert(1);
}

body.home .site-header:not(.is-scrolled) .mobile-menu-toggle {
  color: var(--white);
}

/* Scrolled State Enhancement */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);


  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-header.is-scrolled .navbar-inner {
  padding: 10px 0;
}

/* Social icons in topbar (still referenced in header.php but topbar hidden) */
.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent);
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  color: var(--white);
}

/* Header Button Visibility */
.btn-mobile-only {
  display: none;
}

.btn-desktop-only {
  display: inline-flex;
}

/* Mobile Nav */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(23, 61, 79, 0.12);
    padding: 16px;
    border-top: 2px solid var(--accent-light);
  }

  .main-navigation ul li a {
    color: var(--text) !important;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-navigation ul li {
    border-bottom: 1px solid var(--border);
  }

  .main-navigation ul li:last-child {
    border-bottom: none;
  }

  .main-navigation ul li a {
    padding: 12px 16px;
    display: block;
    border-radius: 0;
  }

  .btn-desktop-only {
    display: none;
  }

  .btn-mobile-only {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    border-radius: 50px;
    background: var(--accent);
    color: var(--white);
  }

  .navbar {
    position: relative;
  }

  .custom-logo {
    max-height: 40px;
    max-width: 180px;
  }

  .site-title {
    font-size: 1.1rem;
  }

  .navbar-inner {
    padding: 10px 0;
  }
}

/* =============================================
   PAGE BANNER
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1d6b5a 100%);
  padding: 60px 0;
}

.page-banner-title {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb i {
  font-size: 0.7rem;
}

/* =============================================
   HERO SECTION — MIRIP REFERENSI
   Background putih/terang, 2 kolom, stat cards bawah kiri, gambar kanan besar
   ============================================= */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1d6b5a 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 0 0 50px 50px;
  /* Rounded bottom like reference */
}

/* Dekoratif lingkaran blur di latar */
.hero-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(40, 180, 160, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

/* Grid utama 2 kolom */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  align-items: center;
}

/* ---- KIRI ---- */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 100px;
  /* Increased top padding further for more breathing room */
  z-index: 5;
}

/* Hero Badge / Tagline */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  width: fit-content;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.hero-badge i {
  color: var(--accent);
}

/* Judul */
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 520px;
}

/* Hero Actions */
.hero-btns {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
}

.hero-contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.hci-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.hci-text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.hci-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

/* 3 Stat Cards (Now moved to section below hero or styled floating) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  /* Geser ke kanan */
  position: relative;
  z-index: 10;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
  cursor: default;
  color: var(--white);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.hsc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.hsc-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.hsc-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ---- KANAN: Technician Image ---- */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 560px;
}

/* PNG mengambang di atas background */
.hero-right-png {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: 95%;
  object-fit: contain;
  display: block;
  margin-bottom: 0;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.2));
}

/* Floating WA Button in Hero */
.hero-wa-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #25D366;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
  z-index: 10;
  text-decoration: none;
  white-space: nowrap;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.hero-wa-btn i {
  font-size: 1.4rem;
}

.hero-wa-btn:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: var(--white);
  animation: none;
}

.hero-img-placeholder {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 300px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.5rem;
  gap: 14px;
  text-align: center;
  align-self: center;
}

.hero-img-placeholder p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Sections (moved to end) */

/* Smaller screens (moved to end) */

/* =============================================
   WHY CHOOSE US (HVAC EXPERTS)
   ============================================= */
.advantage-section {
  background: var(--white);
  padding: 100px 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.advantage-content {
  padding: 8px 0;
}

.adv-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.adv-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.adv-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.adv-text h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
}

.adv-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.advantage-image {
  position: relative;
}

.advantage-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
}

.adv-badge {
  position: absolute;
  top: -40px;
  right: -10px;
  background: var(--accent);
  color: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  max-width: 180px;
}

.adv-badge span {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.adv-badge p {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}




/* =============================================
   SHOWROOM & MAP SECTION
   ============================================= */
.showroom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.showroom-map {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  min-height: 450px;
  background: var(--accent-light);
}

.showroom-map iframe {
  width: 100%;
  min-height: 450px;
  display: block;
}

.showroom-info {
  padding: 8px 0;
}

.showroom-name {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 0 16px;
  font-weight: 800;
}

.showroom-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.showroom-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 8px;
}

.showroom-detail-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sd-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.sd-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sd-text span,
.sd-text a {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.sd-text a {
  color: var(--accent);
  font-weight: 700;
}

.sd-text a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .showroom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showroom-map {
    min-height: 350px;
  }

  .showroom-map iframe {
    min-height: 350px;
  }
}


/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background: var(--light-bg);
  padding: 100px 0;
  border-radius: 50px 50px 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
  width: 100%;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.s-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 28px;
  transition: all var(--transition);
}

.service-card:hover .s-icon {
  background: var(--accent);
  color: var(--white);
}

.s-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.s-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   GALLERY PREVIEW (Homepage)
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

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

.gallery-item-preview:hover img {
  transform: scale(1.08);
}

.gallery-item-hover {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 74, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item-preview:hover .gallery-item-hover {
  opacity: 1;
}

.gallery-item-hover i {
  font-size: 1.8rem;
  color: var(--white);
}

/* Hidden items (load more) */
.gallery-hidden {
  display: none !important;
}

/* Home Gallery Tabs */
.home-gallery-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.hg-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text-light);
  border: 2px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.hg-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hg-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(26, 46, 74, 0.25);
}

.hg-tab i {
  font-size: 0.95rem;
}

/* Tab panels */
.hg-panel {
  display: block;
}

.hg-panel[hidden] {
  display: none;
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
}

.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.load-more-count {
  font-size: 0.82rem;
  color: #1a564e;
  font-weight: 400;
}

/* Home Video Grid */
.home-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hvc-player video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hvc-iframe-wrap {
  position: relative;
  padding-top: 56.25%;
}

.hvc-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hvc-title {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-empty-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
}

@media (max-width: 960px) {
  .home-video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .home-video-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.gallery-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  background: var(--light-bg);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.gallery-tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-panel {
  display: none;
}

.gallery-panel.active {
  display: block;
}

.gallery-masonry-grid {
  columns: 4;
  column-gap: 16px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-masonry-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 46, 74, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-masonry-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay i {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.gallery-item-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  font-style: italic;
}

/* Video Grid */
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-title {
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: var(--accent);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .gallery-masonry-grid {
    columns: 3;
  }
}

@media (max-width: 640px) {
  .gallery-masonry-grid {
    columns: 2;
  }

  .gallery-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .gallery-masonry-grid {
    columns: 1;
  }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.testi-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--accent);
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.testi-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.testi-content {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonial Placeholder (sebelum shortcode diisi) */
.testimonial-placeholder {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  border: 2px dashed var(--border);
}

.tp-icon {
  font-size: 3rem;
  color: #4285f4;
  margin-bottom: 18px;
}

.testimonial-placeholder h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.testimonial-placeholder p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.testimonial-placeholder ol {
  text-align: left;
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  padding-left: 20px;
}

.testimonial-placeholder ol li strong {
  color: var(--primary);
}



/* =============================================
   BLOG SECTION
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-thumbnail {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-thumbnail a {
  display: block;
  height: 100%;
}

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

.blog-thumbnail .placeholder-img {
  height: 100%;
  min-height: 180px;
  border-radius: 0;
}

.blog-card:hover .blog-thumbnail img {
  transform: scale(1.06);
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-meta i {
  color: var(--accent);
  margin-right: 4px;
}

.blog-title {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--primary);
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.read-more:hover {
  gap: 10px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PAGE LAYOUT (Blog + Sidebar)
   ============================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.page-main-content,
.archive-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.widget-title {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.widget-categories ul li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.widget-categories ul li:last-child {
  border-bottom: none;
}

.widget-categories ul li a {
  color: var(--text);
}

.widget-categories ul li a:hover {
  color: var(--accent);
}

.recent-posts-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.recent-posts-list li:last-child {
  border-bottom: none;
}

.rp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.rp-info a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  line-height: 1.4;
  margin-bottom: 4px;
}

.rp-info a:hover {
  color: var(--accent);
}

.rp-info small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

/* Single Post */
.single-post-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.single-post-meta i {
  color: var(--accent);
  margin-right: 5px;
}

.single-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.single-featured-img img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.post-entry-content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}

.post-entry-content h2,
.post-entry-content h3 {
  margin: 2rem 0 1rem;
}

.post-entry-content p {
  margin-bottom: 1.2rem;
}

.post-entry-content ul,
.post-entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.post-entry-content li {
  margin-bottom: 0.5rem;
}

.post-tags {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tag-label {
  font-weight: 600;
  color: var(--primary);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-navigation a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.post-navigation a:hover {
  color: var(--accent);
}

/* Pagination */
.pagination {
  margin-top: 40px;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-info>p {
  margin-bottom: 32px;
}

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

.contact-info-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2a4a6e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-detail span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-detail a {
  color: var(--accent);
  font-weight: 600;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.social-links-contact {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-icon-lg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.social-icon-lg:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--light-bg);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--light-bg);
}

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

textarea.form-control {
  resize: vertical;
}

.map-embed {
  line-height: 0;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PROFILE PAGE
   ============================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-highlight {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--accent);
}

.stat-icon {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.stat-big-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-big-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #2a4a6e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.vm-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.vm-card p,
.vm-card ul {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

.vm-card ul {
  padding-left: 0;
}

.vm-card ul li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
}

.vm-card ul li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .visi-misi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #2a4a6e 100%);
  padding: 60px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 300px;
}

.cta-text h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cta-action {
  flex-shrink: 0;
  margin-left: auto;
}

.footer-main {
  background: #0f1c2e;
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.7fr 1.6fr;
  gap: 48px;
}

.footer-title {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-logo-wrap {
  margin-bottom: 25px;
  display: block;
}

.footer-logo {
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-col ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.footer-contact-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

/* Footer 3-Address blocks */
.footer-addresses {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.footer-addr-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
  text-decoration: none;
}

.footer-addr-item:hover {
  background: rgba(0, 195, 255, 0.1);
  border-color: var(--accent);
}

.footer-addr-item .fa-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.footer-addr-item .fa-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-addr-item .fa-text strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1d6b5a 100%);
  padding: 80px 0;
  border-radius: 50px 50px 0 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 300px;
}

.cta-text h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin: 0;
}

.cta-action {
  flex-shrink: 0;
  margin-left: auto;
}

.footer-main {
  background: #0b1a21;
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.7fr 1.6fr;
  gap: 64px;
}

.footer-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.branding-col .footer-logo-wrap {
  margin-bottom: 28px;
  display: block;
}

.branding-col .footer-logo {
  height: auto;
  max-height: 55px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.links-col ul li {
  margin-bottom: 14px;
}

.links-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.links-col ul li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-addresses {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-addr-item {
  display: flex;
  gap: 16px;
  text-decoration: none;
  transition: all var(--transition);
}

.fa-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(40, 180, 160, 0.1);
  border: 1px solid rgba(40, 180, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1rem;
}

.fa-text {
  flex: 1;
}

.fa-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.fa-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.fa-map-link {
  font-size: 0.52rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-addr-item:hover .fa-map-link {
  opacity: 1;
}

.fa-addr-val {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-bottom {
  background: #09151b;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.copyright {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-action {
    margin-left: 0;
    width: 100%;
  }

  .cta-action .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fa-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .fa-map-link {
    font-size: 0.65rem;
  }
}


/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   WOOCOMMERCE / CF7 Compat
   ============================================= */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--light-bg);
  margin-bottom: 14px;
  transition: border-color var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.wpcf7-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}

.wpcf7-submit:hover {
  background: var(--accent-dark);
}

/* =============================================
   UTILITIES
   ============================================= */
.fallback-form input[disabled],
.fallback-form textarea[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =============================================
   SINGLE POST - TOC, CTA, RELATED SEO
   ============================================= */
/* TOC Box */
.post-toc-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  display: block;
  width: 100%;
}

.post-toc-box summary::-webkit-details-marker {
  display: none;
}

.post-toc-box[open] .toc-icon {
  transform: rotate(180deg);
}

.toc-icon {
  transition: transform 0.3s ease;
}

.toc-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
}

.toc-list a:hover {
  color: var(--accent);
}

.toc-h2 {
  margin-left: 0;
  font-weight: 600;
}

.toc-h3 {
  margin-left: 20px;
  font-size: 0.95em;
  position: relative;
}

.toc-h3::before {
  content: "- ";
  color: var(--accent);
}

/* In-Post CTA */
.single-post-cta {
  background: linear-gradient(135deg, var(--white) 0%, #f4f7fb 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.spc-icon {
  font-size: 3rem;
  color: #25D366;
}

.spc-text {
  flex: 1;
}

.spc-text h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.spc-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.spc-action .btn {
  min-width: max-content;
}

@media (max-width: 768px) {
  .single-post-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
  }
}

/* Related Posts SEO */
.related-posts-seo {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.rp-seo-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.rp-seo-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.rp-seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rp-seo-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition);
  border: 1px solid var(--border);
}

.rp-seo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.rp-seo-card .rp-img {
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.rp-seo-card .rp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-seo-card .rp-text h4 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

.rp-seo-card .rp-text h4 a {
  color: var(--primary);
  transition: color var(--transition);
}

.rp-seo-card .rp-text h4 a:hover {
  color: var(--accent);
}

.rp-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .rp-seo-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   GLOBAL FLOATING WA
   ============================================= */
.global-floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: waPulse 2s infinite;
}

.global-floating-wa:hover {
  transform: translateY(-5px);
  background: #20b858;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: none;
}

/* =============================================
   PAGE BANNER (Internal Pages)
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1d6b5a 100%);
  padding: 180px 0 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(40, 180, 160, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 600;
}

.breadcrumb i {
  font-size: 0.75rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .global-floating-wa {
    display: none !important;
  }
}

/* =============================================
   MOBILE STICKY BAR
   ============================================= */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  grid-template-columns: 1fr 1fr;
}

.msb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  gap: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  transition: all 0.3s;
}

.msb-item i {
  font-size: 1.2rem;
}

.msb-phone {
  background: var(--primary);
  color: var(--white);
}

.msb-wa {
  background: #25D366;
  color: var(--white);
}

.msb-item:active {
  filter: brightness(0.9);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: grid;
  }

  /* Site footer takes the padding instead of body to avoid white space */
  .site-footer {
    padding-bottom: 0px;
  }
}

/* =============================================
   PROFILE CAROUSEL
   ============================================= */
.profile-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light-bg);
  box-shadow: var(--shadow);
}

.pc-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.pc-slide.active {
  opacity: 1;
  z-index: 2;
}

.pc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.profile-carousel:hover .pc-btn {
  opacity: 1;
}

.pc-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.pc-prev {
  left: 16px;
}

.pc-next {
  right: 16px;
}

.pc-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 8px;
  z-index: 2;
}

.pc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.pc-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* FINAL RESPONSIVE FIXES */
@media (max-width: 960px) {

  .hero-two-col,
  .advantage-grid,
  .about-grid,
  .showroom-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .hero-left {
    padding: 120px 0 40px !important;
    text-align: center;
    align-items: center;
  }

  .hero-badge,
  .hero-subtitle,
  .hero-btns {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-right {
    min-height: auto !important;
    padding-bottom: 40px;
  }

  .advantage-image,
  .about-image {
    order: -1 !important;
  }

  .adv-list {
    grid-template-columns: 1fr !important;
  }
}


@media (max-width: 640px) {
  .about-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  .hero-stats {
    grid-template-columns: 1fr !important;
  }
}