/* ==========================================================================
   ARCHITEQ Modern Architectural Theme - CV Mustika Jaya Baja
   LIGHT MODE: Pristine Architectural Blueprint & Engineering Aesthetic
   Ultra-Fast, Zero-Dependency, Lightweight CSS (< 25KB)
   Optimized for Google PageSpeed 90+ and Flawless Core Web Vitals
   ========================================================================== */

:root {
  /* Pristine Light Architectural Canvas */
  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-surface: #F1F5F9;
  --border-color: #E2E8F0;
  --border-focus: #0284C7;
  
  /* Precision Architectural Accents */
  --primary: #0284C7;
  --primary-hover: #0369A1;
  --primary-light: #0284C7;
  --accent-amber: #D97706;
  --accent-amber-hover: #B45309;
  --accent-green: #16A34A;
  
  /* High-Contrast Crisp Typography */
  --text-main: #0F172A;
  --text-muted: #334155;
  --text-dim: #64748B;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  /* Subtle Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

/* Light Architectural Blueprint Grid Background Pattern */
.blueprint-bg {
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(rgba(2, 132, 199, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.15));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.brand-text {
  color: var(--text-main);
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-amber {
  background: var(--accent-amber);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-amber:hover {
  background: var(--accent-amber-hover);
  transform: translateY(-2px);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #20BD5A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: #F1F5F9;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   HERO SECTION (Architeq Blueprint Layout - Light Mode)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 24px 0 65px 0;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-title {
  color: var(--text-main);
  line-height: 1.25;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Dynamic Rotating Text for Hero Section - Multi-Type Support */
.hero-rotator-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: bottom;
  min-height: 1.25em;
  perspective: 800px;
}

.hero-rotator-text {
  display: inline-block;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s ease;
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
}

/* 1. Slide Up & Blur (Default) */
.hero-rotator-text.anim-slide-up.is-exiting,
.hero-rotator-text.is-exiting {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(3px);
}
.hero-rotator-text.anim-slide-up.is-entering,
.hero-rotator-text.is-entering {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(3px);
  transition: none !important;
}

/* 2. 3D Perspective Flip */
.hero-rotator-text.anim-fade-flip.is-exiting {
  opacity: 0;
  transform: rotateX(80deg) translateY(-8px);
  filter: blur(2px);
}
.hero-rotator-text.anim-fade-flip.is-entering {
  opacity: 0;
  transform: rotateX(-80deg) translateY(8px);
  filter: blur(2px);
  transition: none !important;
}

/* 3. Zoom In & Pulse Glow */
.hero-rotator-text.anim-zoom-glow.is-exiting {
  opacity: 0;
  transform: scale(0.85);
  filter: blur(4px);
}
.hero-rotator-text.anim-zoom-glow.is-entering {
  opacity: 0;
  transform: scale(1.15);
  filter: blur(4px);
  transition: none !important;
}

/* 4. Slide Left (Horizontal) */
.hero-rotator-text.anim-slide-left.is-exiting {
  opacity: 0;
  transform: translateX(-24px);
  filter: blur(2px);
}
.hero-rotator-text.anim-slide-left.is-entering {
  opacity: 0;
  transform: translateX(24px);
  filter: blur(2px);
  transition: none !important;
}

.hero-rotator-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: #F59E0B;
  margin-left: 6px;
  border-radius: 2px;
  vertical-align: -0.05em;
  animation: heroCursorBlink 0.9s infinite ease-in-out;
}

@keyframes heroCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

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

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-num .highlight {
  color: var(--primary);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Visual 3D Showcase Card */
.hero-visual {
  position: relative;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.showcase-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: contrast(102%) brightness(98%);
  transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.showcase-hud-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
}

.hud-tag {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-main);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.showcase-hud-bottom {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
}

.hud-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.hud-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.hud-meta {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px auto;
}

.section-header .pill-badge {
  margin-bottom: 14px;
}

.section-header h2 {
  margin-bottom: 14px;
}

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

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

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-lg);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.service-price-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}

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

.service-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-title a {
  color: var(--text-main);
}
.service-title a:hover {
  color: var(--primary);
}

.service-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   RAB CALCULATOR SECTION
   ========================================================================== */
.calculator-box {
  background: var(--bg-card);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control, .form-select {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.calc-result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-display {
  font-size: 2.4rem;
  font-weight: 800;
  color: #B45309;
  margin: 12px 0;
}

/* ==========================================================================
   PROJECTS & PORTFOLIO
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.project-img-wrap {
  height: 260px;
  position: relative;
  overflow: hidden;
}

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

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.project-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #38BDF8;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-name {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-top: 4px;
}

.project-loc {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-top: 4px;
}

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

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

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrap {
  height: 200px;
  overflow: hidden;
}

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

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

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

.blog-meta {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.blog-excerpt {
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #F8FAFC;
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px 24px;
}

/* ==========================================================================
   FOOTER (Clean Architectural Light Theme)
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-contact-info a {
  color: var(--primary);
  font-weight: 600;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
}

.floating-wa:hover {
  transform: translateY(-4px) scale(1.02);
  background: #20BD5A;
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .brand-text span { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid, .projects-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Clean Mobile Header: Logo Only (No Cramped Text) */
  .brand-text {
    display: none !important;
  }
  .brand-logo {
    gap: 0;
  }
  .brand-logo-img {
    width: 42px;
    height: 42px;
  }
  .site-header {
    padding: 8px 0;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-cta .btn-whatsapp span {
    display: none;
  }
  .nav-cta .btn-whatsapp {
    padding: 8px 10px;
    border-radius: var(--radius-sm);
  }

  /* Compact Hero Top Spacing on Mobile */
  .hero-section {
    padding: 12px 0 36px 0;
  }
  .hero-grid {
    gap: 18px;
  }
  .hero-content {
    gap: 12px;
  }
  .pill-badge {
    padding: 4px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    gap: 6px;
    line-height: 1.35;
  }
  .pill-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  }
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: block; }
  
  .services-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  
  .floating-wa span { display: none; }
  .floating-wa { width: 56px; height: 56px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
}

/* ==========================================================================
   ARTICLE & BLOG CONTENT TYPOGRAPHY & DATA TABLES (A+ SEO Polish)
   ========================================================================== */
.article-content {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--text-main);
  margin-top: 44px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(2, 132, 199, 0.15);
  position: relative;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

.article-content h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-top: 32px;
  margin-bottom: 14px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--text-main);
}

/* Responsive Modern Data Table */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: #FFFFFF;
}

.article-content th {
  background: #F8FAFC;
  color: var(--text-main);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.article-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-content tr:nth-child(even) td {
  background: #FAFAFA;
}

/* Callout & Highlight Boxes */
.article-callout {
  padding: 20px 24px;
  margin: 28px 0;
  background: rgba(2, 132, 199, 0.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-callout.alert-amber {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--accent-amber);
}

.article-callout.alert-green {
  background: rgba(22, 163, 74, 0.08);
  border-left-color: var(--accent-green);
}

.article-callout h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.article-callout p:last-child {
  margin-bottom: 0;
}
