/* 
  MODERN DRAFT - Premium Navy Edition (Core Web Vitals Optimized)
  Redesign for Agung Perkasa Borepile
*/

:root {
  /* System font stack for 0ms download */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Premium Navy Palette */
  --bg-page: #f8fafc;       /* Slate 50 - Very soft cool gray background */
  --bg-surface: #ffffff;    /* Pure white for cards */
  --bg-surface-hover: #f1f5f9;
  
  --brand-primary: #1a365d; /* Deep Corporate Navy (Tailwind Blue 900) */
  --brand-accent: #ea580c;  /* Vibrant Industrial Orange */
  
  --text-heading: #1a365d;  /* Navy for strong headings */
  --text-body: #475569;     /* Slate 600 - comfortable reading */
  --text-muted: #64748b;
  
  --border-color: #cbd5e1;  /* Sharper borders for better structure */
  
  /* Ambient Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  
  /* Responsive Spacing Base (Mobile First) */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 1.75rem;
  --space-xl: 2.25rem; /* Tighter on mobile so sections don't look disconnected */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

@media (min-width: 768px) {
  :root {
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem; /* Looser on desktop */
  }
}

/* 1. BASE STYLES & RESET */
body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); margin-top: 0; margin-bottom: 0.5rem; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 1.75rem; line-height: 1.2; }
h2 { font-size: 1.5rem; border-bottom: 2px solid var(--border-color); padding-bottom: 0.5rem; margin-bottom: var(--space-md); display: inline-block; }
.section-heading-center { text-align: center; border-bottom: none; display: block; margin-bottom: 0.5rem; }
.section-desc-center { text-align: center; margin-bottom: var(--space-lg); color: var(--text-muted); }

@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}

a { color: var(--brand-primary); text-decoration: none; transition: 0.2s;
}

a:hover { color: #c2410c; }
img { max-width: 100%; height: auto; display: block; }

/* Proper wrapper so text doesn't touch edges */
.container, .blog-container, main { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 0.75rem; 
}
@media (min-width: 768px) {
  .container, .blog-container, main { padding: 0 1.5rem; }
}

/* Offset for fixed navbar */
main {
  padding-top: 75px;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  main { padding-top: 85px; padding-bottom: 3rem; }
}

/* 2. NAVBAR (Deep Navy, White Text) */
.navbar {
  background: var(--brand-primary) !important; 
  border-bottom: none !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.3s ease !important;
  padding: 15px 0 !important;
}
.navbar.shrink {
  background: var(--brand-primary) !important;
  padding: 8px 0 !important;
}
.logo, .logo span { color: #ffffff !important; }

/* Desktop nav items */
.nav-menu a { color: #f8fafc !important; font-weight: 500 !important; }
.nav-menu a:hover { color: var(--brand-accent) !important; background: rgba(255,255,255,0.05) !important; }
.btn-nav { background: var(--brand-accent) !important; color: #fff !important; }
.btn-nav:hover { background: #c2410c !important; }

/* Dropdown matches the Navy theme */
.dropdown .dropbtn { color: #f8fafc !important; font-weight: 500 !important; }
.dropdown-content { background: var(--brand-primary) !important; border: 1px solid rgba(255,255,255,0.1) !important; box-shadow: var(--shadow-lg) !important; }
.dropdown-content li a { color: #ffffff !important; }
.dropdown-content li a:hover { background: rgba(255,255,255,0.1) !important; color: var(--brand-accent) !important; }

/* Mobile Menu Overrides */
.menu-toggle .bar { background: #ffffff !important; }
@media (max-width: 960px) {
  .nav-menu { 
    background: var(--brand-primary) !important; 
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: var(--shadow-lg) !important;
  }
}

/* 3. HERO & PAGE META */
.breadcrumb { padding: var(--space-sm) 0; font-size: 0.85rem; color: var(--text-muted); }
.page-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; margin-bottom: var(--space-md); border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; }
.meta-item { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--text-muted); }
.meta-item svg, .meta-item i { color: var(--brand-primary); }
.update-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #e0f2fe; color: #0369a1; padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.illustration { display: grid; grid-template-columns: 1fr; gap: var(--space-md); align-items: center; margin-bottom: var(--space-xl); }
@media(min-width:768px) { .illustration { grid-template-columns: 1fr 1fr; } }
.illustration-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: none; }
.illustration-text { font-size: 1.05rem; color: var(--text-body); }

/* 4. CALCULATOR */
.calculator-box {
  background: #f4f8fd;
  border: 1px solid #dbeafe;
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-lg); 
  padding: var(--space-md); 
  margin-bottom: var(--space-xl);
  box-shadow: 0 10px 25px rgba(26, 54, 93, 0.08);
}
.method-selector { display: flex; gap: 0.5rem; margin-bottom: var(--space-sm); flex-wrap: wrap; }
.method-btn { flex: 1; padding: 0.6rem; font-size: 0.9rem; border: 1px solid #cbd5e1; background: #ffffff; border-radius: var(--radius-md); font-weight: 600; cursor: pointer; color: var(--text-body); transition: 0.2s; min-width: 120px; }
.method-btn:hover:not(.active) { background: var(--bg-page); border-color: var(--brand-primary); color: var(--brand-primary); }
.method-btn.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); box-shadow: 0 5px 20px rgba(0,0,0,.08); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
@media(min-width:640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.calculator-form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; color: var(--brand-primary); }
.calculator-form-group select, .calculator-form-group input { width: 100%; padding: 0.65rem; border: none; border-radius: var(--radius-md); font-family: inherit; transition: 0.2s; background: #ffffff; font-size: 0.95rem; border: 1px solid #cbd5e1; }
.calculator-form-group select:focus, .calculator-form-group input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15); }
.calculator-result { margin-top: var(--space-sm); padding: var(--space-sm); background: #ffffff; border: 2px dashed #93c5fd; box-shadow: none; border-radius: var(--radius-md); text-align: center; }
.total-price { font-size: 1.75rem; font-weight: 800; color: var(--brand-primary); letter-spacing: -1px; margin: 0.25rem 0; }
@media(min-width:640px) { .total-price { font-size: 2.25rem; } }
.btn-wa { display: block; width: 100%; padding: 0.85rem; margin-top: 0.75rem; background: #15803d; color: #fff; font-weight: 700; border: none; border-radius: var(--radius-md); cursor: pointer; font-size: 1rem; transition: 0.2s; box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3); }

/* 5. PRICE TABLE */
.table-responsive { overflow-x: auto; margin-bottom: var(--space-xl); border: none; border-radius: var(--radius-md); box-shadow: 0 5px 20px rgba(0,0,0,.08); background: var(--bg-surface); }
.price-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--bg-surface); font-size: 0.85rem; }
.price-table th, .price-table td { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border-color); }
.price-table th { background: var(--brand-primary); font-weight: 600; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; }
@media(min-width:640px) { 
  .price-table { font-size: 0.95rem; }
  .price-table th, .price-table td { padding: 1rem 0.75rem; }
  .price-table th { font-size: 0.9rem; }
}
@media(max-width:639px) {
  .table-responsive { overflow-x: hidden; }
  .price-table { font-size: 0.75rem; }
  .price-table th, .price-table td { padding: 0.5rem 0.35rem; font-size: 0.72rem; }
  .price-table th { font-size: 0.65rem; }
}
.row-highlight { background: #fffbeb; } 
.price-table tbody tr:hover { background: var(--bg-page); }

/* 5b. MATERIAL TABLE (separate from price-table) */
.material-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--bg-surface); font-size: 0.85rem; }
.material-table th, .material-table td { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border-color); }
.material-table th { background: var(--brand-primary); font-weight: 600; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; }
.material-table tbody tr:hover { background: var(--bg-page); }
@media (min-width: 768px) {
  .material-table { font-size: 0.95rem; }
  .material-table th, .material-table td { padding: 1rem 0.75rem; }
  .material-table th { font-size: 0.9rem; }
}
@media(max-width:639px) {
  .material-table { font-size: 0.75rem; }
  .material-table th, .material-table td { padding: 0.5rem 0.35rem; font-size: 0.72rem; }
  .material-table th { font-size: 0.65rem; }
}

/* 6. GENERAL GRIDS (Structured Cards) */
.info-grid, .equip-grid, .portfolio-city-grid, .area-grid, .tips-section ul, .reasons-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: var(--space-xl);
}
@media (min-width: 640px) { 
  .info-grid, .equip-grid, .portfolio-city-grid, .area-grid, .reasons-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (min-width: 1024px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card, .equip-item, .portfolio-city-item, .area-card, .project-row, .reason-card {
  border: none; border-radius: var(--radius-lg); background: var(--bg-surface); padding: var(--space-md); transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,.08); display: flex; flex-direction: column;
}
.info-card:hover, .equip-item:hover, .portfolio-city-item:hover, .project-row:hover, .reason-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--brand-primary);
}
/* Visual overrides for cards containing images */
.equip-img {
  width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1rem; background: var(--bg-page); border: none;
}
@media (min-width:640px) { .equip-img { height: 180px; } }

.equip-img[src*="logo"], .equip-img[src*="icon"], .equip-img[src*=".svg"] {
  object-fit: contain; padding: 0; border: none; height: 230px; background: transparent;
}

/* Specific styling for Area Cards (Wilayah Layanan) */
.area-card h3 { margin-bottom: 1rem; font-size: 1.15rem; color: var(--brand-primary); }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-tags span {
  background: var(--bg-page); color: var(--text-body);
  padding: 0.25rem 0.75rem; border-radius: 99px;
  font-size: 0.8rem; font-weight: 500;
  border: none;
  transition: 0.2s;
}

.area-card:hover .area-tags span {
  border-color: rgba(26, 54, 93, 0.2);
}

/* 7. PUBLISHER & MAPS */
.publisher-box, .maps-card {
  border: none; border-radius: var(--radius-lg); padding: var(--space-md); background: var(--bg-surface); margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
}
.publisher-inner { display: flex; gap: 1rem; align-items: center; }
.publisher-inner img { 
  width: 56px; height: 56px; 
  border-radius: var(--radius-md); 
  border: none; 
  padding: 4px; 
  object-fit: contain; 
  background: #fff; 
}
.publisher-inner h4 { color: var(--text-heading); font-size: 1.05rem; margin: 0; }
.publisher-inner p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.maps-embed-wrapper iframe { width: 100%; border-radius: var(--radius-md); border: none; margin-bottom: 1rem; display: block; }
.maps-title { font-size: 1.25rem; color: var(--brand-primary); margin-bottom: 0.5rem; }
.maps-address { font-size: 0.95rem; color: var(--text-body); margin-bottom: 1rem; line-height: 1.5; }
.maps-btn {
  display: inline-block; padding: 0.6rem 1.25rem; background: var(--bg-page); color: var(--brand-primary);
  border: none; border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem;
  transition: 0.2s; text-align: center; width: 100%;
}
@media(min-width: 640px) { .maps-btn { width: auto; } }
.maps-btn:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* 8. CTA BOX & INTERNAL LINKS */




.internal-link-box {
  background: var(--bg-page); border: 1px dashed var(--border-color); color: var(--text-body);
  padding: var(--space-md) 1rem; border-radius: var(--radius-lg);
  text-align: center; margin: var(--space-xl) 0; box-shadow: 0 5px 20px rgba(0,0,0,.08);
}




.btn-cta, .apx-btn, .btn-articles-all {
  display: inline-block; padding: 0.85rem 1.75rem; background: var(--brand-accent);
  color: #fff; border-radius: var(--radius-md); font-weight: 700; transition: 0.2s; font-size: 1.05rem;
  border: none; cursor: pointer; text-decoration: none;
}
.btn-cta:hover, .apx-btn:hover, .btn-wa-konsultasi:hover, .btn-articles-all:hover { 
  background: #c2410c; transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.4); 
}

/* ARTICLES */
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: var(--space-xl); }
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card { 
  border: none; border-radius: var(--radius-lg); background: var(--bg-surface); padding: 0 !important; transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,.08); display: flex; flex-direction: column; overflow: hidden;
}
.article-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--brand-primary); }

.article-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.article-image { position: relative; margin-bottom: 0; width: 100%; border-bottom: 1px solid var(--border-color); }
.article-image img { width: 100%; height: 180px; object-fit: cover; display: block; }
@media (min-width:640px) { .article-image img { height: 200px; } }

.article-category { display: none !important; } /* Hide the category label completely per request */

.article-content { display: flex; flex-direction: column; flex-grow: 1; padding: 1.5rem; }
.article-content h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--brand-primary); line-height: 1.4; }
.article-excerpt { font-size: 0.9rem; color: var(--text-body); margin-bottom: 1rem; flex-grow: 1; line-height: 1.5; }
.article-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); align-items: center; border-top: 1px solid var(--border-color); padding-top: 0.75rem; }
.article-read-more { 
    color: var(--brand-primary); 
    font-weight: 700;
    text-decoration: none !important;
    border: none !important;
    transition: 0.2s;
}
.article-card:hover .article-read-more {
    color: var(--brand-accent);
}





.articles-cta { text-align: center; margin-top: 1rem; margin-bottom: var(--space-xl); }

/* 9. FAQ ACCORDION */
.faq-container { margin-bottom: var(--space-xl); border: none; border-radius: var(--radius-lg); background: var(--bg-surface); box-shadow: 0 5px 20px rgba(0,0,0,.08); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 0 var(--space-md); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; text-align: left; padding: 1rem 0; background: none; border: none;
  font-size: 1.05rem; font-weight: 600; color: var(--brand-primary); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; transition: 0.2s;
}

.faq-question:hover { color: var(--brand-primary); }
.faq-question svg, .faq-question i { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); color: var(--brand-primary); }
.faq-question.active svg, .faq-question.active i { transform: rotate(180deg); color: var(--brand-primary); }
.faq-answer { padding-bottom: 1rem; color: var(--text-body); display: none; line-height: 1.6; font-size: 0.95rem; }
.faq-answer.show { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* 10. FOOTER (Deep Navy) */
.footer { background: var(--brand-primary) !important; border-top: none !important; padding: var(--space-lg) 0 0 !important; margin-top: var(--space-xl) !important; color: #cbd5e1 !important; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.footer-col h3 { font-size: 1.15rem !important; margin-bottom: 1rem !important; color: #ffffff !important; letter-spacing: 0.05em; }
.footer-col h3::after { display: none !important; } 
.footer-col p { color: #cbd5e1 !important; line-height: 1.6 !important; font-size: 0.95rem !important; }
.footer-col ul { list-style: none !important; padding: 0 !important; }
.footer-col li { margin-bottom: 0.75rem !important; color: #cbd5e1 !important; display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem !important; }
.footer-col li svg, .footer-col li i { color: var(--brand-accent) !important; margin-top: 4px; }
.footer-col a { color: #cbd5e1 !important; transition: 0.2s !important; }
.footer-col a:hover { color: var(--brand-accent) !important; }
.social-links a { background: rgba(255,255,255,0.1) !important; border: none !important; color: #ffffff !important; width: 36px !important; height: 36px !important; }
.social-links a:hover { background: var(--brand-accent) !important; transform: translateY(-3px) !important; }
.footer-bottom { background: rgba(0,0,0,0.2) !important; border-top: 1px solid rgba(255,255,255,0.05) !important; margin-top: 2rem !important; padding: 1.25rem 0 !important; text-align: center !important; font-size: 0.85rem !important; color: #94a3b8 !important; }
.footer-bottom p { color: #94a3b8 !important; margin: 0 !important; }

/* UTILITIES & WIDGETS */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; background: #15803d; color: #fff;
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0, 0.15); z-index: 50; font-size: 1.75rem; transition: 0.3s;
}
@media(min-width: 768px) { .whatsapp-float { bottom: 2rem; right: 2rem; width: 60px; height: 60px; font-size: 2rem; } }
.whatsapp-float:hover { transform: scale(1.1); }
.scroll-top {
    position: fixed; bottom: 5.5rem; right: 1.75rem; background: #06b6d4; color: #fff;
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; z-index: 50; box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    transition: all 0.3s ease;
    opacity: 0; visibility: hidden; transform: translateY(20px);
  }
.scroll-top.active {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
@media(min-width: 768px) { .scroll-top { bottom: 6.5rem; right: 2.25rem; width: 48px; height: 48px; } }
.scroll-top:hover, .scroll-top:active { background: #0891b2; color: #ffffff; border: none; transform: scale(1.1) translateY(0) !important; }
  
  .price-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.calculator-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 1rem; line-height: 1.5; }

.sondir-note {
    background: #f0f7ff;
    border-left: 4px solid var(--brand-primary);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}
.sondir-note p {
    margin: 0;
    color: var(--brand-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}




/* 8. CTA BOX (Clean & Modern) */
.cta-box {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
    border: none;
    padding: 2.5rem 1.25rem;
    border-radius: 24px;
    text-align: center;
    margin: var(--space-xl) 0;
    box-shadow: 0 10px 40px rgba(0,0,0,.03);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 4rem 2rem; } }
.cta-box h3 {
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
@media (min-width: 768px) { .cta-box h3 { font-size: 2rem; margin-bottom: 0.75rem; } }
.cta-box p {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
/* btn-wa-konsultasi defined at end of file */







/* AGUNG PERKASA EQUIPMENT TAG */
.equip-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--bg-page); color: var(--brand-primary); font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-top: 1.25rem; letter-spacing: 0.5px; border: 1px solid var(--border-color);
}

/* PORTFOLIO GRIDS */
.portfolio-city-section { margin-bottom: var(--space-xl); }
.portfolio-city-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: var(--space-xl); }
@media (min-width: 640px) { .portfolio-city-grid { grid-template-columns: repeat(2, 1fr); } }
.portfolio-city-item {
    border: none; border-radius: var(--radius-lg); background: var(--bg-surface); padding: var(--space-md); 
    transition: 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,.08); display: flex; flex-direction: column;
}
.portfolio-city-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--brand-primary);
}
.portfolio-image-wrapper { width: 100%; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; }
.portfolio-image-wrapper img {
    width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; display: block;
}
@media (min-width: 768px) {
    .portfolio-image-wrapper img { height: 350px; }
}
.portfolio-image-wrapper img:hover { transform: scale(1.05); }
.portfolio-city-caption { display: flex; flex-direction: column; gap: 0.5rem; }
.portfolio-city-label { font-size: 0.85rem; color: var(--brand-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.portfolio-city-detail { font-size: 0.95rem; color: var(--text-body); font-weight: 400; line-height: 1.5; }
.portfolio-city-link { text-align: center; margin-top: 1rem; font-weight: 500; }
.portfolio-city-link a { color: var(--brand-primary); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 0.25rem; }
.portfolio-city-link a:hover { color: var(--brand-primary); }

/* PORTFOLIO PROYEK JAKARTA (Strauss Pile) */
.proyek-jakarta-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .proyek-jakarta-grid { grid-template-columns: repeat(2, 1fr); } }
.proyek-jakarta-item {
    border: none; border-radius: var(--radius-lg); background: var(--bg-surface); padding: var(--space-md);
    transition: 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,.08); display: flex; flex-direction: column;
}
.proyek-jakarta-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--brand-primary);
}
.proyek-jakarta-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.proyek-jakarta-caption { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.proyek-jakarta-label { font-size: 0.85rem; color: var(--brand-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.proyek-jakarta-detail { font-size: 0.9rem; color: var(--text-body, #475569); line-height: 1.5; }
.proyek-jakarta-link { text-align: center; margin-top: 1rem; font-weight: 500; }
.proyek-jakarta-link a { color: var(--brand-primary, #1a365d); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; }
.proyek-jakarta-link a:hover { color: var(--brand-primary, #1a365d); }

/* LIGHTBOX OVERLAY */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 15, 26, 0.95);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-img {
    max-width: 95%; max-height: 90vh; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: scale(0.95); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}
.lightbox-overlay.active .lightbox-img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    background: rgba(255, 255, 255, 0.1); color: white; border: none;
    font-size: 2.5rem; cursor: pointer; transition: 0.2s;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    padding-bottom: 5px;
}
.lightbox-close:hover { background: var(--brand-accent); transform: scale(1.1); }




/* IN-TEXT LINKS (e.g. Journal Links) */
.blog-container p a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.4);
    padding-bottom: 1px;
    transition: 0.2s;
}
.blog-container p a:hover {
    color: var(--brand-accent);
    border-bottom-color: var(--brand-accent);
}

/* INTERNAL LINK BOX (Baca Juga) */
.internal-link-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: var(--text-body);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: var(--space-xl) 0;
    box-shadow: 0 5px 20px rgba(0,0,0,.02);
}
.internal-link-box p { margin: 0; font-size: 0.95rem; line-height: 1.8; }
.internal-link-box a { 
    color: var(--brand-primary); 
    font-weight: 700; 
    text-decoration: none !important;
    border-bottom: 1px solid rgba(26, 54, 93, 0.4);
    padding-bottom: 1px;
    transition: 0.2s;
}
.internal-link-box a:hover { 
    color: var(--brand-accent); 
    border-bottom-color: var(--brand-accent);
}










.project-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
    background: var(--bg-page);
    border: none;
    display: block;
}
@media (min-width:768px) {
    .project-img img {
        height: 400px;
    }
}




/* HOVER OVERLAY FOR LIGHTBOX (Visual Indicator) */
.portfolio-image-wrapper, .project-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.project-img-wrapper {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.project-img img {
    margin-bottom: 0; /* Handled by wrapper now */
}
.portfolio-image-wrapper::after, .project-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Menggunakan Inline SVG yang 100% persis di semua device, tanpa HTTP request tambahan */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 3rem 3rem;
    background-color: rgba(26, 54, 93, 0.6); /* Navy transparan */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.portfolio-image-wrapper:hover::after, .project-img-wrapper:hover::after {
    opacity: 1;
}













.btn-wa-konsultasi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    background: #25D366;
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    text-decoration: none;
    margin-top: 1rem;
}
.btn-wa-konsultasi:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
    background: #20BA59;
}

/* COMMITMENT BOX */
.commitment-box {
    background: var(--bg-page, #f8fafc);
    padding: 1.5rem; border-radius: var(--radius-lg, 12px); margin: 2rem 0;
    text-align: center; border: 1px solid var(--border-color, #cbd5e1);
}
.commitment-box .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.commitment-box p { font-size: 0.95rem; line-height: 1.6; color: var(--text-body, #475569); }
/* ACCESSIBILITY OVERRIDES */
body, .price-hint, .calculator-note, .calculator-box, .section-desc-center, .article-date, .publisher-inner p, span.current { color: #1e293b !important; }
.btn-articles-all { background-color: #0f172a !important; color: #ffffff !important; }
.btn-articles-all:hover { background-color: transparent !important; color: #0f172a !important; border-color: #0f172a !important; }
.btn-wa, .btn-wa-konsultasi, .whatsapp-float { background-color: #15803d !important; color: #ffffff !important; }
.btn-wa:hover, .btn-wa-konsultasi:hover, .whatsapp-float:hover { background-color: #166534 !important; }

/* FIX BTN-NAV CONTRAST */
.btn-nav, .btn-cta, .apx-btn { background-color: #c2410c !important; color: #ffffff !important; }
.btn-nav:hover, .btn-cta:hover, .apx-btn:hover { background-color: #9a3412 !important; }

/* FORCE REMOVE UNDERLINE */
a { text-decoration: none !important; }
a:hover { text-decoration: underline !important; }
.btn-primary:hover, .btn-secondary:hover, .btn-nav:hover, .btn-cta:hover, .apx-btn:hover, .promo-btn:hover, .btn-wa:hover, .btn-articles-all:hover { text-decoration: none !important; }

/* Accessibility Contrast Fix for WCAG */
.breadcrumb a, .faq-answer a, p a:not([class*="btn"]), li a:not([class*="btn"]) {
  text-decoration: underline;
  color: #0369a1;
  font-weight: 500;
}
.breadcrumb a:hover, .faq-answer a:hover, p a:not([class*="btn"]):hover, li a:not([class*="btn"]):hover {
  color: #075985;
}
