/* ==========================================================================
   GIGGO INDIA — SUBPAGE PROFESSIONAL VISUAL POLISH STYLESHEET
   Scope: Non-homepage routes only (body.page-subpage)
   Homepage (body.page-home) is STRICTLY untouched and unaffected.
   ========================================================================== */

/* Modern Font Pairing: Sora (Headings) + Inter (Body Text) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. GLOBAL CANVAS & LIGHT-BLUE THEME FOR SUBPAGES
   ========================================================================== */

html:has(body.page-subpage) {
  background-color: #F4F8FC !important;
  background-image: 
    radial-gradient(circle at 12% 14%, rgba(14, 165, 233, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(2, 132, 199, 0.06) 0%, transparent 48%),
    linear-gradient(180deg, #F8FAFD 0%, #EEF4FA 100%) !important;
  background-attachment: fixed !important;
  scroll-behavior: smooth !important;
}

body.page-subpage {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: #F4F8FC !important;
  background-image: 
    radial-gradient(circle at 12% 14%, rgba(14, 165, 233, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(2, 132, 199, 0.06) 0%, transparent 48%),
    linear-gradient(180deg, #F8FAFD 0%, #EEF4FA 100%) !important;
  background-attachment: fixed !important;
  color: #334155 !important;
  line-height: 1.65 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Guard: Explicitly verify homepage has normal styles if accessed */
body.page-home {
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #111827 !important;
}

/* ==========================================================================
   2. TYPOGRAPHY HIERARCHY (Sora for Headings, Inter for Body)
   ========================================================================== */

body.page-subpage h1,
body.page-subpage h2,
body.page-subpage h3,
body.page-subpage h4,
body.page-subpage h5,
body.page-subpage h6 {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #0F172A !important;
  letter-spacing: -0.02em !important;
  font-weight: 600 !important;
}

body.page-subpage h1 {
  font-weight: 700 !important;
  font-size: clamp(2.1rem, 3.6vw, 2.85rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 0.75rem !important;
}

body.page-subpage h2 {
  font-weight: 600 !important;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

body.page-subpage h3 {
  font-weight: 600 !important;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  line-height: 1.32 !important;
}

body.page-subpage h4 {
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  line-height: 1.38 !important;
}

body.page-subpage p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.965rem !important;
  line-height: 1.68 !important;
  color: #475569 !important;
}

body.page-subpage .lead {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(1.05rem, 1.25vw, 1.18rem) !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  font-weight: 400 !important;
  max-width: 740px !important;
}

/* ==========================================================================
   3. HEADER & NAVIGATION POLISH
   ========================================================================== */

body.page-subpage .site-header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.25s ease !important;
}

body.page-subpage .site-header.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

body.page-subpage .nav-link,
body.page-subpage button.dropdown-trigger {
  color: #334155 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

body.page-subpage .nav-link:hover,
body.page-subpage .nav-link.active,
body.page-subpage button.dropdown-trigger:hover,
body.page-subpage .nav-item-dropdown.is-open .dropdown-trigger {
  color: #0284C7 !important;
}

body.page-subpage .dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  padding: 10px !important;
}

body.page-subpage .dropdown-item {
  border-radius: 10px !important;
  padding: 10px 12px !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

body.page-subpage .dropdown-item:hover {
  background: #F0F9FF !important;
}

body.page-subpage .dropdown-icon {
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  color: #0284C7 !important;
  border-radius: 8px !important;
}

body.page-subpage .dropdown-title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  color: #0F172A !important;
}

body.page-subpage .dropdown-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #64748B !important;
}

/* ==========================================================================
   4. EYEBROW BADGES & PILLS
   ========================================================================== */

body.page-subpage .eyebrow-badge {
  background: #FFFFFF !important;
  border: 1px solid #BAE6FD !important;
  border-radius: 9999px !important;
  color: #0284C7 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 6px 14px !important;
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.page-subpage .spec-pill {
  background: #F0F7FD !important;
  border: 1px solid #BAE6FD !important;
  color: #0369A1 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  display: inline-block !important;
}

/* ==========================================================================
   5. SECTIONS & SUBTLE PANELS
   ========================================================================== */

body.page-subpage .section {
  padding: 64px 0 !important;
  background-color: transparent !important;
}

body.page-subpage .section-subtle {
  background: rgba(240, 247, 255, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(219, 234, 254, 0.8) !important;
  border-bottom: 1px solid rgba(219, 234, 254, 0.8) !important;
}

/* ==========================================================================
   6. PRODUCT & SERVICE CARDS (Elegance, Thin Borders, Soft Shadows, Rise on Hover)
   ========================================================================== */

body.page-subpage .service-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

body.page-subpage .service-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(2, 132, 199, 0.45) !important;
  box-shadow: 0 14px 30px -6px rgba(2, 132, 199, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04) !important;
}

body.page-subpage .service-card-media {
  position: relative !important;
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden !important;
  background: #F1F5F9 !important;
}

body.page-subpage .service-card-media img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.page-subpage .service-card:hover .service-card-media img {
  transform: scale(1.03) !important;
}

body.page-subpage .service-card-badge {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  color: #0284C7 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

body.page-subpage .service-card-body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

body.page-subpage .service-title {
  font-family: 'Sora', sans-serif !important;
  font-size: 1.22rem !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}

body.page-subpage .service-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.925rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

body.page-subpage .service-specs-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}

body.page-subpage .service-card-footer {
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px solid #F1F5F9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

body.page-subpage .service-link {
  color: #0284C7 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: color 0.2s ease, gap 0.2s ease !important;
}

body.page-subpage .service-link:hover {
  color: #0369A1 !important;
  gap: 9px !important;
}

/* ==========================================================================
   7. PROCESS & FEATURE CARDS
   ========================================================================== */

body.page-subpage .process-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 26px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

body.page-subpage .process-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.1), 0 2px 6px rgba(15, 23, 42, 0.03) !important;
}

body.page-subpage .process-step-num {
  font-family: 'Sora', sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 700 !important;
  color: #BAE6FD !important;
  margin-bottom: 12px !important;
  line-height: 1 !important;
  transition: color 0.25s ease !important;
}

body.page-subpage .process-card:hover .process-step-num {
  color: #0284C7 !important;
}

body.page-subpage .process-title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  color: #0F172A !important;
  margin-bottom: 8px !important;
}

body.page-subpage .process-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.62 !important;
}

/* ==========================================================================
   8. BUTTONS POLISH (Primary Blue, Secondary White/Border, Smooth States)
   ========================================================================== */

body.page-subpage .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1.3 !important;
  min-height: 44px !important;
  min-width: 44px !important;
  touch-action: manipulation !important;
}

body.page-subpage .btn:active {
  transform: translateY(1px) !important;
}

body.page-subpage .btn:focus-visible {
  outline: 2px solid #0284C7 !important;
  outline-offset: 3px !important;
}

body.page-subpage .btn-sm {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
  min-height: 44px !important;
  min-width: 44px !important;
}

body.page-subpage .btn-lg {
  padding: 14px 28px !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
  min-height: 48px !important;
}

/* Primary Button: Clean Blue */
body.page-subpage .btn-primary {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #0284C7 !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.22) !important;
}

body.page-subpage .btn-primary:hover,
body.page-subpage .btn-primary:focus {
  background: #0369A1 !important;
  border-color: #0369A1 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.32) !important;
}

/* Secondary Button: White with Subtle Blue Border */
body.page-subpage .btn-secondary {
  background: #FFFFFF !important;
  color: #0284C7 !important;
  border: 1.5px solid #BAE6FD !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

body.page-subpage .btn-secondary:hover,
body.page-subpage .btn-secondary:focus {
  background: #F0F9FF !important;
  border-color: #0284C7 !important;
  color: #0369A1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12) !important;
}

/* Outline Brand Button */
body.page-subpage .btn-outline-brand {
  background: #FFFFFF !important;
  color: #0284C7 !important;
  border: 1.5px solid #BAE6FD !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  padding: 7px 14px !important;
}

body.page-subpage .btn-outline-brand:hover {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #0284C7 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.2) !important;
}

/* WhatsApp Button: Retain High-Converting Green with Modern Polish */
body.page-subpage .btn-whatsapp {
  background: #25D366 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #25D366 !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
}

body.page-subpage .btn-whatsapp:hover,
body.page-subpage .btn-whatsapp:focus {
  background: #1EBE5B !important;
  border-color: #1EBE5B !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
}

/* Narrative WhatsApp Button on Showcase */
body.page-subpage .narrative-wa-btn {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #0284C7 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
  transition: all 0.22s ease !important;
}

body.page-subpage .narrative-wa-btn:hover {
  background: #0369A1 !important;
  border-color: #0369A1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35) !important;
}

body.page-subpage .narrative-spec-link {
  background: #FFFFFF !important;
  border: 1.5px solid #BAE6FD !important;
  color: #0284C7 !important;
  border-radius: 10px !important;
  transition: all 0.22s ease !important;
}

body.page-subpage .narrative-spec-link:hover {
  background: #F0F9FF !important;
  border-color: #0284C7 !important;
  color: #0369A1 !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   9. HERO IMAGE & TRUST METRICS (About & Service Pages)
   ========================================================================== */

body.page-subpage .hero-image-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.page-subpage .hero-image-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.1) !important;
}

body.page-subpage .hero-image-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

body.page-subpage .hero-trust-metrics {
  border-top: 1px solid #E2E8F0 !important;
  gap: 16px !important;
}

body.page-subpage .metric-item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

body.page-subpage .metric-item:hover {
  border-color: #BAE6FD !important;
  transform: translateY(-2px) !important;
}

body.page-subpage .metric-value {
  font-family: 'Sora', sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: #0284C7 !important;
  line-height: 1 !important;
}

body.page-subpage .metric-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* ==========================================================================
   10. FORMS, CALCULATOR & CONTACT PORTAL
   ========================================================================== */

body.page-subpage .calculator-card,
body.page-subpage .contact-info-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 32px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

body.page-subpage .form-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  margin-bottom: 8px !important;
  display: block !important;
}

body.page-subpage .form-select,
body.page-subpage .form-input,
body.page-subpage .form-textarea {
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: #0F172A !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

body.page-subpage .form-select:focus,
body.page-subpage .form-input:focus,
body.page-subpage .form-textarea:focus {
  border-color: #0284C7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  outline: none !important;
}

body.page-subpage .channel-item {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

body.page-subpage .channel-icon {
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  color: #0284C7 !important;
  border-radius: 10px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   11. FAQ ACCORDIONS & SEARCH
   ========================================================================== */

body.page-subpage .faq-item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

body.page-subpage .faq-item:hover {
  border-color: #BAE6FD !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.06) !important;
}

body.page-subpage .faq-item.active {
  border-color: rgba(2, 132, 199, 0.5) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08) !important;
}

body.page-subpage .faq-question {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  color: #0F172A !important;
  padding: 18px 22px !important;
  background: transparent !important;
  border: none !important;
  text-align: left !important;
  cursor: pointer !important;
}

body.page-subpage .faq-answer {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: #475569 !important;
  line-height: 1.68 !important;
  padding: 0 22px 20px 22px !important;
}

body.page-subpage .faq-search-input {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 14px 20px 14px 44px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}

body.page-subpage .faq-search-input:focus {
  border-color: #0284C7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  outline: none !important;
}

/* ==========================================================================
   12. PORTFOLIO & WORK ARCHIVE
   ========================================================================== */

body.page-subpage .portfolio-card {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
  background: #FFFFFF !important;
}

body.page-subpage .portfolio-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(2, 132, 199, 0.45) !important;
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.14) !important;
}

body.page-subpage .portfolio-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.page-subpage .portfolio-card:hover img {
  transform: scale(1.03) !important;
}

body.page-subpage .portfolio-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}

body.page-subpage .filter-btn {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body.page-subpage .filter-btn:hover {
  border-color: #0284C7 !important;
  color: #0284C7 !important;
}

body.page-subpage .filter-btn.active {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
}

/* ==========================================================================
   13. BLOG CARDS & ARTICLE PRESENTATION
   ========================================================================== */

body.page-subpage .blog-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

body.page-subpage .blog-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(2, 132, 199, 0.45) !important;
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.12) !important;
}

body.page-subpage .blog-card-media {
  overflow: hidden !important;
}

body.page-subpage .blog-card-media img {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.page-subpage .blog-card:hover .blog-card-media img {
  transform: scale(1.03) !important;
}

body.page-subpage .blog-card-body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

body.page-subpage .blog-title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  color: #0F172A !important;
  line-height: 1.38 !important;
  margin: 10px 0 !important;
}

body.page-subpage .blog-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.page-subpage .blog-title a:hover {
  color: #0284C7 !important;
}

body.page-subpage .blog-excerpt {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

body.page-subpage .blog-tag {
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  color: #0284C7 !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
}

/* ==========================================================================
   14. SPECIFICATION MATRIX TABLES
   ========================================================================== */

body.page-subpage .matrix-table-wrapper {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}

body.page-subpage .matrix-table th {
  background: #F8FAFC !important;
  border-bottom: 2px solid #E2E8F0 !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  color: #0F172A !important;
  padding: 14px 18px !important;
}

body.page-subpage .matrix-table td {
  border-bottom: 1px solid #F1F5F9 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  color: #475569 !important;
  padding: 14px 18px !important;
}

body.page-subpage .matrix-table tr:hover td {
  background: #F0F9FF !important;
}

/* ==========================================================================
   15. POLICY & LEGAL ARTICLES (Readable, Elegant Presentation)
   ========================================================================== */

body.page-subpage article.container-narrow {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 44px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  margin-top: 24px !important;
  margin-bottom: 50px !important;
}

body.page-subpage article.container-narrow h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  margin-bottom: 12px !important;
}

body.page-subpage article.container-narrow h3 {
  font-size: 1.25rem !important;
  margin-top: 32px !important;
  margin-bottom: 12px !important;
  color: #0F172A !important;
}

body.page-subpage article.container-narrow p {
  font-size: 0.98rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

/* ==========================================================================
   16. CTA BANNER SECTION (Services page & consult bars)
   ========================================================================== */

body.page-subpage .cta-banner-section {
  position: relative;
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  padding: clamp(44px, 6vw, 68px) clamp(24px, 5vw, 56px) !important;
  color: #0F172A !important;
  text-align: center !important;
  overflow: hidden;
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 4px 6px -1px rgba(15, 23, 42, 0.04),
    0 20px 48px -12px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.page-subpage .cta-banner-section:hover {
  transform: translateY(-4px) !important;
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 16px -2px rgba(15, 23, 42, 0.06),
    0 32px 64px -16px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(15, 23, 42, 0.06) !important;
}

body.page-subpage .cta-banner-section h2 {
  color: #0F172A !important;
  font-family: var(--font-display, 'Outfit', sans-serif) !important;
  font-weight: 700 !important;
  font-size: clamp(1.75rem, 3.8vw, 2.35rem) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 14px !important;
  text-shadow: none !important;
}

body.page-subpage .cta-banner-section p {
  color: #475569 !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: clamp(1rem, 1.8vw, 1.1rem) !important;
  max-width: 680px !important;
  margin: 0 auto 28px auto !important;
  line-height: 1.65 !important;
  text-shadow: none !important;
}

body.page-subpage .cta-banner-section .btn-whatsapp {
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4), 0 3px 6px -2px rgba(37, 211, 102, 0.25) !important;
}

body.page-subpage .cta-banner-section .btn-whatsapp:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px -4px rgba(37, 211, 102, 0.5) !important;
}

/* ==========================================================================
   17. FOOTER & STICKY ACTIONS POLISH
   ========================================================================== */

body.page-subpage .site-footer {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}

body.page-subpage .footer-col-title {
  font-family: 'Sora', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #0F172A !important;
}

body.page-subpage .footer-link {
  color: #64748B !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.page-subpage .footer-link:hover {
  color: #0284C7 !important;
}

body.page-subpage .footer-bottom {
  border-top: 1px solid #F1F5F9 !important;
  color: #94A3B8 !important;
  font-size: 0.85rem !important;
}

body.page-subpage .sticky-whatsapp-badge {
  border-radius: 9999px !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

body.page-subpage .sticky-whatsapp-badge:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45) !important;
}

/* ==========================================================================
   18. MOBILE DRAWER & RESPONSIVE POLISH
   ========================================================================== */

body.page-subpage .mobile-drawer {
  background: #FFFFFF !important;
  border-left: 1px solid #E2E8F0 !important;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.08) !important;
}

body.page-subpage .mobile-nav-link {
  color: #0F172A !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

@media (max-width: 768px) {
  body.page-subpage .mobile-drawer {
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
  }
  
  body.page-subpage .section {
    padding: 44px 0 !important;
  }
  
  body.page-subpage .calculator-card,
  body.page-subpage .contact-info-card {
    padding: 22px !important;
  }
  
  body.page-subpage article.container-narrow {
    padding: 24px !important;
  }

  body.page-subpage .service-card-media img {
    height: 200px !important;
  }
}

/* ==========================================================================
   19. ACCESSIBILITY: RESPECT REDUCED MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  body.page-subpage *,
  body.page-subpage *::before,
  body.page-subpage *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
}
