/*
Theme Name: Prism Marketing Real Estate CRM
Theme URI: https://prismmarketingonline.com
Author: Prism Marketing & Consultants Pvt Ltd
Author URI: https://prismmarketingonline.com
Description: 100% native WordPress & PHP real estate portal and CRM for Prism Marketing & Consultants. Property catalog, projects, 36-month installment calculator, customer ledger portal, blog, gallery, team, and a full sales CRM with role-based access for Sales Managers and Sales Executives. No external server required - all data lives in your WordPress database.
Version: 3.2.2
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: real-estate, crm, property-listings, installment-calculator, custom-theme, full-width, responsive-layout
Text Domain: prism-marketing
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --prism-black: #0D0D0D;
  --prism-black-soft: #1A1A1A;
  --prism-black-line: #2A2A2A;
  --prism-orange: #F26A21;
  --prism-orange-dark: #D4541220;
  --prism-orange-hover: #D45412;
  --prism-orange-tint: #FEF3EC;

  --prism-white: #FFFFFF;
  --prism-gray-50: #FAFAFA;
  --prism-gray-100: #F4F4F5;
  --prism-gray-200: #E4E4E7;
  --prism-gray-300: #D4D4D8;
  --prism-gray-400: #A1A1AA;
  --prism-gray-500: #71717A;
  --prism-gray-600: #52525B;
  --prism-gray-700: #3F3F46;

  --prism-success: #16A34A;
  --prism-success-bg: #DCFCE7;
  --prism-warning: #D97706;
  --prism-warning-bg: #FEF3C7;
  --prism-danger: #DC2626;
  --prism-danger-bg: #FEE2E2;
  --prism-info: #0284C7;
  --prism-info-bg: #E0F2FE;

  --prism-font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --prism-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --prism-radius-sm: 6px;
  --prism-radius: 10px;
  --prism-radius-lg: 16px;
  --prism-radius-xl: 24px;

  --prism-shadow-sm: 0 1px 2px rgba(13,13,13,.06);
  --prism-shadow: 0 4px 6px -1px rgba(13,13,13,.08), 0 2px 4px -2px rgba(13,13,13,.06);
  --prism-shadow-md: 0 10px 15px -3px rgba(13,13,13,.09), 0 4px 6px -4px rgba(13,13,13,.06);
  --prism-shadow-lg: 0 20px 25px -5px rgba(13,13,13,.10), 0 8px 10px -6px rgba(13,13,13,.05);

  --prism-wrap: 1240px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--prism-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--prism-gray-700);
  background: var(--prism-white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--prism-font-head);
  color: var(--prism-black);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

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

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.prism-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; font-size: 14px; font-weight: 600; font-family: var(--prism-font-body);
  border-radius: var(--prism-radius); border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap; text-align: center;
}
.prism-btn-primary { background: var(--prism-orange); color: #fff; box-shadow: 0 4px 12px rgba(242,106,33,.25); }
.prism-btn-primary:hover { background: var(--prism-orange-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(242,106,33,.32); }
.prism-btn-dark { background: var(--prism-black); color: #fff; }
.prism-btn-dark:hover { background: var(--prism-black-soft); }
.prism-btn-outline { background: transparent; color: var(--prism-gray-700); border-color: var(--prism-gray-300); }
.prism-btn-outline:hover { border-color: var(--prism-orange); color: var(--prism-orange); background: var(--prism-orange-tint); }
.prism-btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.prism-btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.prism-btn-wa { background: #25D366; color: #fff; }
.prism-btn-wa:hover { background: #1FAE54; }
.prism-btn-sm { padding: 7px 14px; font-size: 12.5px; }
.prism-btn-block { width: 100%; }
.prism-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ==========================================================================
   4. TOP BAR + HEADER + NAV (with dropdowns)
   ========================================================================== */
.prism-topbar {
  background: var(--prism-black); color: var(--prism-gray-300);
  font-size: 12.5px; padding: 8px 0; border-bottom: 1px solid var(--prism-black-line);
}
.prism-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.prism-topbar-list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.prism-topbar-list a, .prism-topbar-list span { display: inline-flex; align-items: center; gap: 6px; }
.prism-topbar-list a:hover { color: var(--prism-orange); }

.prism-header { background: #fff; box-shadow: var(--prism-shadow-sm); position: sticky; top: 0; z-index: 200; }
.admin-bar .prism-header { top: 32px; }
.prism-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }

.prism-logo { display: flex; align-items: center; gap: 11px; }
.prism-logo-mark {
  width: 42px; height: 42px; flex: none; border-radius: var(--prism-radius-sm);
  background: linear-gradient(135deg, var(--prism-orange), var(--prism-orange-hover));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--prism-font-head); font-weight: 700; font-size: 22px;
  box-shadow: 0 4px 10px rgba(242,106,33,.3);
}
.prism-logo-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.prism-logo-name { font-family: var(--prism-font-head); font-size: 19px; font-weight: 700; color: var(--prism-black); line-height: 1.1; }
.prism-logo-name em { color: var(--prism-orange); font-style: normal; }
.prism-logo-sub { font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--prism-gray-500); }

/* Nav */
.prism-nav > ul { display: flex; align-items: center; gap: 4px; }
.prism-nav li { position: relative; }
.prism-nav a {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px; font-size: 14px; font-weight: 500; color: var(--prism-gray-700);
  border-radius: var(--prism-radius-sm); transition: all .18s ease;
}
.prism-nav a:hover, .prism-nav .current-menu-item > a, .prism-nav .prism-nav-active > a { color: var(--prism-orange); background: var(--prism-orange-tint); }
.prism-nav .menu-item-has-children > a::after,
.prism-nav .prism-has-children > a::after {
  content: ''; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.prism-nav li:hover > a::after { transform: rotate(225deg) translateY(1px); }

/* Dropdown submenu */
.prism-nav ul ul {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius);
  box-shadow: var(--prism-shadow-lg); padding: 7px; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.prism-nav li:hover > ul, .prism-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.prism-nav ul ul a { padding: 9px 12px; font-size: 13.5px; border-radius: var(--prism-radius-sm); }
.prism-nav ul ul li { border-bottom: 1px solid var(--prism-gray-100); }
.prism-nav ul ul li:last-child { border-bottom: none; }
.prism-nav ul ul ul { top: -7px; left: calc(100% + 4px); }

.prism-header-cta { display: flex; align-items: center; gap: 9px; }
.prism-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 22px; color: var(--prism-black); line-height: 1; }

/* Mobile drawer */
.prism-drawer { display: none; background: #fff; border-top: 1px solid var(--prism-gray-200); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.prism-drawer.is-open { max-height: 85vh; overflow-y: auto; }
.prism-drawer ul { padding: 6px 24px 20px; }
.prism-drawer li { border-bottom: 1px solid var(--prism-gray-100); }
.prism-drawer a { display: block; padding: 12px 0; font-size: 14.5px; font-weight: 500; }
.prism-drawer ul ul { padding: 0 0 8px 16px; border-left: 2px solid var(--prism-orange-tint); margin-bottom: 8px; }
.prism-drawer ul ul a { padding: 9px 0; font-size: 13.5px; color: var(--prism-gray-600); }

/* ==========================================================================
   5. HERO SLIDER
   ========================================================================== */
.prism-hero { position: relative; background: var(--prism-black); color: #fff; overflow: hidden; min-height: 560px; }
.prism-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; display: flex; align-items: center; }
.prism-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.prism-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 8s ease-out; }
.prism-slide.is-active .prism-slide-bg { transform: scale(1); }
.prism-slide-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.78) 45%, rgba(13,13,13,.35) 100%); }
.prism-slide-inner { position: relative; z-index: 5; max-width: 700px; padding: 84px 0; }
.prism-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  background: rgba(242,106,33,.16); border: 1px solid var(--prism-orange); color: #FBBF9B;
  padding: 6px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
}
.prism-slide-title { font-size: clamp(30px, 4.6vw, 52px); color: #fff; margin-bottom: 16px; }
.prism-slide-title em { color: var(--prism-orange); font-style: normal; }
.prism-slide-text { font-size: 16px; color: var(--prism-gray-300); margin-bottom: 30px; max-width: 560px; }
.prism-slide-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.prism-hero-arrows { position: absolute; bottom: 30px; right: 30px; z-index: 20; display: flex; gap: 10px; }
.prism-hero-arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.26); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  backdrop-filter: blur(8px); transition: all .2s ease;
}
.prism-hero-arrow:hover { background: var(--prism-orange); border-color: var(--prism-orange); }
.prism-hero-dots { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 8px; }
.prism-hero-dot { width: 11px; height: 11px; border-radius: 999px; border: none; cursor: pointer; background: rgba(255,255,255,.4); transition: all .3s ease; }
.prism-hero-dot.is-active { width: 30px; background: var(--prism-orange); }

.prism-hero-stats { position: relative; z-index: 5; background: rgba(13,13,13,.55); border-top: 1px solid var(--prism-black-line); backdrop-filter: blur(4px); }
.prism-hero-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; text-align: center; }
.prism-hero-stat b { display: block; font-family: var(--prism-font-head); font-size: 27px; color: var(--prism-orange); line-height: 1; }
.prism-hero-stat span { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--prism-gray-400); }

/* ==========================================================================
   6. SECTIONS
   ========================================================================== */
.prism-section { padding: 76px 0; }
.prism-section-tint { background: var(--prism-gray-50); }
.prism-section-dark { background: var(--prism-black); color: var(--prism-gray-300); }
.prism-section-dark h2, .prism-section-dark h3 { color: #fff; }

.prism-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.prism-head-left { margin-left: 0; text-align: left; }
.prism-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--prism-orange); margin-bottom: 10px; }
.prism-title { font-size: clamp(25px, 3.2vw, 36px); margin-bottom: 12px; }
.prism-lede { font-size: 15px; color: var(--prism-gray-500); }
.prism-section-dark .prism-lede { color: var(--prism-gray-400); }

/* ==========================================================================
   7. SEARCH / FILTER BAR
   ========================================================================== */
.prism-searchbar { position: relative; z-index: 30; margin-top: -46px; margin-bottom: 8px; }
.prism-searchbar-card { background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius-lg); box-shadow: var(--prism-shadow-lg); padding: 20px; }
.prism-searchbar-grid { display: grid; grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr auto; gap: 14px; align-items: end; }
.prism-field { display: flex; flex-direction: column; gap: 6px; }
.prism-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--prism-gray-500); }
.prism-input, .prism-select, .prism-textarea {
  width: 100%; padding: 10px 13px; font-size: 14px;
  border: 1px solid var(--prism-gray-300); border-radius: var(--prism-radius-sm);
  background: var(--prism-white); color: var(--prism-black); outline: none; transition: all .18s ease;
}
.prism-input:focus, .prism-select:focus, .prism-textarea:focus { border-color: var(--prism-orange); box-shadow: 0 0 0 3px rgba(242,106,33,.15); }
.prism-textarea { resize: vertical; min-height: 92px; }

.prism-chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.prism-chip {
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--prism-gray-200); background: #fff; color: var(--prism-gray-600); transition: all .2s ease;
}
.prism-chip:hover, .prism-chip.is-active { background: var(--prism-orange); border-color: var(--prism-orange); color: #fff; box-shadow: 0 4px 12px rgba(242,106,33,.22); }

/* ==========================================================================
   8. CARDS GRID (properties / projects / blog)
   ========================================================================== */
.prism-grid { display: grid; gap: 26px; }
.prism-grid-3 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.prism-grid-4 { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }

.prism-card {
  background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--prism-shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.prism-card:hover { transform: translateY(-5px); box-shadow: var(--prism-shadow-lg); border-color: var(--prism-gray-300); }
.prism-card-media { position: relative; height: 216px; overflow: hidden; background: var(--prism-black); }
.prism-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prism-card:hover .prism-card-media img { transform: scale(1.06); }
.prism-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prism-card-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--prism-orange); margin-bottom: 5px; }
.prism-card-title { font-size: 18px; margin-bottom: 8px; }
.prism-card-title a:hover { color: var(--prism-orange); }
.prism-card-excerpt { font-size: 13.5px; color: var(--prism-gray-500); margin-bottom: 14px; }
.prism-card-specs { display: flex; flex-wrap: wrap; gap: 14px; padding: 11px 0; margin-bottom: 14px; border-top: 1px solid var(--prism-gray-100); border-bottom: 1px solid var(--prism-gray-100); font-size: 13px; color: var(--prism-gray-600); }
.prism-card-specs span { display: inline-flex; align-items: center; gap: 5px; }
.prism-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 4px; }
.prism-price { font-family: var(--prism-font-head); font-size: 21px; font-weight: 700; color: var(--prism-black); line-height: 1.15; }
.prism-price-sub { display: block; font-family: var(--prism-font-body); font-size: 11.5px; font-weight: 500; color: var(--prism-gray-500); }
.prism-price-mo { display: block; font-size: 12px; font-weight: 600; color: var(--prism-success); }

.prism-badge {
  position: absolute; padding: 5px 11px; border-radius: var(--prism-radius-sm);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.prism-badge-l { top: 14px; left: 14px; background: var(--prism-orange); color: #fff; }
.prism-badge-r { top: 14px; right: 14px; background: rgba(13,13,13,.78); color: #fff; backdrop-filter: blur(4px); }

.prism-empty { grid-column: 1/-1; text-align: center; padding: 54px 20px; color: var(--prism-gray-500); background: var(--prism-gray-50); border: 1px dashed var(--prism-gray-300); border-radius: var(--prism-radius-lg); }

/* Progress bar */
.prism-progress { height: 7px; border-radius: 999px; background: var(--prism-gray-200); overflow: hidden; }
.prism-progress-fill { height: 100%; background: linear-gradient(90deg, var(--prism-orange), #F9A03F); }

/* ==========================================================================
   9. CALCULATOR
   ========================================================================== */
.prism-calc { background: linear-gradient(140deg, var(--prism-black) 0%, #1E1E1E 100%); border-radius: var(--prism-radius-xl); padding: 44px; color: #fff; box-shadow: var(--prism-shadow-lg); }
.prism-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.prism-calc-form { display: flex; flex-direction: column; gap: 20px; }
.prism-calc-field label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--prism-gray-300); margin-bottom: 8px; }
.prism-calc-field label b { color: var(--prism-orange); }
.prism-calc-field input, .prism-calc-field select {
  width: 100%; padding: 11px 14px; font-size: 15px; border-radius: var(--prism-radius-sm);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; outline: none;
}
.prism-calc-field select option { background: var(--prism-black); color: #fff; }
.prism-calc-field input[type=range] { padding: 0; background: transparent; border: none; accent-color: var(--prism-orange); }
.prism-calc-out { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--prism-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 15px; }
.prism-calc-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.prism-calc-row span { color: var(--prism-gray-400); }
.prism-calc-row b { color: #fff; font-size: 15px; }
.prism-calc-hero { background: linear-gradient(140deg, rgba(242,106,33,.22), rgba(242,106,33,.06)); border: 1px solid var(--prism-orange); border-radius: var(--prism-radius); padding: 20px; text-align: center; }
.prism-calc-hero span { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: #FBBF9B; }
.prism-calc-hero b { display: block; font-family: var(--prism-font-head); font-size: 33px; color: #fff; margin-top: 6px; }

/* ==========================================================================
   10. LEDGER PORTAL & TABLES
   ========================================================================== */
.prism-panel { background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius-lg); box-shadow: var(--prism-shadow); overflow: hidden; }
.prism-panel-head { background: var(--prism-gray-50); padding: 26px; border-bottom: 1px solid var(--prism-gray-200); }
.prism-ledger-form { display: flex; gap: 12px; max-width: 620px; margin: 0 auto; }
.prism-note { text-align: center; font-size: 12.5px; color: var(--prism-gray-400); margin-top: 12px; }
.prism-alert { padding: 12px 16px; border-radius: var(--prism-radius-sm); font-size: 13.5px; font-weight: 500; }
.prism-alert-error { background: var(--prism-danger-bg); color: #991B1B; }
.prism-alert-ok { background: var(--prism-success-bg); color: #15803D; }
.prism-alert-info { background: var(--prism-info-bg); color: #075985; }

.prism-sheet { padding: 30px; }
.prism-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 2px solid var(--prism-black); }
.prism-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: var(--prism-gray-50); border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius); padding: 18px; margin-bottom: 24px; }
.prism-meta-item label { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--prism-gray-500); margin-bottom: 3px; }
.prism-meta-item span { font-size: 14.5px; font-weight: 600; color: var(--prism-black); }

.prism-table-wrap { overflow-x: auto; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius); }
.prism-table { width: 100%; border-collapse: collapse; font-size: 13.5px; text-align: left; }
.prism-table th { background: var(--prism-black); color: #fff; padding: 12px 14px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.prism-table td { padding: 12px 14px; border-bottom: 1px solid var(--prism-gray-200); }
.prism-table tbody tr:last-child td { border-bottom: none; }
.prism-table tbody tr:hover { background: var(--prism-gray-50); }

.prism-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.prism-pill-paid { background: var(--prism-success-bg); color: #15803D; }
.prism-pill-due { background: var(--prism-danger-bg); color: #B91C1C; }
.prism-pill-soon { background: var(--prism-gray-100); color: var(--prism-gray-600); }

/* ==========================================================================
   11. TEAM / GALLERY / CONTENT BLOCKS
   ========================================================================== */
.prism-person { background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius-lg); overflow: hidden; text-align: center; padding-bottom: 20px; box-shadow: var(--prism-shadow-sm); transition: all .28s ease; }
.prism-person:hover { transform: translateY(-5px); box-shadow: var(--prism-shadow-lg); }
.prism-person img { width: 100%; height: 280px; object-fit: cover; object-position: top; background: var(--prism-gray-200); }
.prism-person h3 { font-size: 17px; margin: 16px 0 2px; }
.prism-person-role { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--prism-orange); margin-bottom: 10px; }
.prism-person-bio { font-size: 13px; color: var(--prism-gray-500); padding: 0 18px; margin-bottom: 12px; }
.prism-person-links { display: flex; justify-content: center; gap: 8px; padding: 0 18px; }

.prism-tile { position: relative; height: 244px; border-radius: var(--prism-radius); overflow: hidden; cursor: pointer; }
.prism-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.prism-tile:hover img { transform: scale(1.09); }
.prism-tile-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(to top, rgba(13,13,13,.9) 0%, transparent 62%); }
.prism-tile-cap b { font-size: 14.5px; font-weight: 600; }
.prism-tile-cap span { font-size: 11.5px; opacity: .82; }

.prism-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; align-items: center; }
.prism-split img { border-radius: var(--prism-radius-lg); box-shadow: var(--prism-shadow-md); width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
.prism-quote { font-family: var(--prism-font-head); font-size: 21px; line-height: 1.55; color: var(--prism-black); margin-bottom: 16px; }

.prism-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.prism-block { background: #fff; border: 1px solid var(--prism-gray-200); border-left: 3px solid var(--prism-orange); border-radius: var(--prism-radius-lg); padding: 30px; box-shadow: var(--prism-shadow-sm); }
.prism-block h3 { font-size: 21px; margin-bottom: 10px; }

.prism-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prism-stat { background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius-lg); padding: 26px; text-align: center; box-shadow: var(--prism-shadow-sm); }
.prism-stat b { display: block; font-family: var(--prism-font-head); font-size: 33px; color: var(--prism-orange); line-height: 1; margin-bottom: 6px; }
.prism-stat span { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--prism-gray-500); }

/* Prose (blog / pages) */
.prism-prose { font-size: 15.5px; color: var(--prism-gray-700); line-height: 1.8; }
.prism-prose > * + * { margin-top: 18px; }
.prism-prose h2 { font-size: 26px; margin-top: 34px; }
.prism-prose h3 { font-size: 21px; margin-top: 26px; }
.prism-prose ul, .prism-prose ol { padding-left: 24px; }
.prism-prose ul li { list-style: disc; }
.prism-prose ol li { list-style: decimal; }
.prism-prose li + li { margin-top: 7px; }
.prism-prose img { border-radius: var(--prism-radius); margin: 26px 0; }
.prism-prose blockquote { border-left: 3px solid var(--prism-orange); background: var(--prism-orange-tint); padding: 16px 22px; border-radius: 0 var(--prism-radius) var(--prism-radius) 0; font-family: var(--prism-font-head); font-size: 17px; }
.prism-prose a { color: var(--prism-orange); text-decoration: underline; }

.prism-breadcrumb { font-size: 13px; color: var(--prism-gray-500); margin-bottom: 20px; }
.prism-breadcrumb a { color: var(--prism-orange); }
.prism-breadcrumb a:hover { text-decoration: underline; }

/* Pagination */
.prism-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 44px; flex-wrap: wrap; }
.prism-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--prism-radius-sm); border: 1px solid var(--prism-gray-200); background: #fff; font-size: 14px; font-weight: 500; }
.prism-pagination .page-numbers:hover { border-color: var(--prism-orange); color: var(--prism-orange); }
.prism-pagination .page-numbers.current { background: var(--prism-orange); border-color: var(--prism-orange); color: #fff; }

/* ==========================================================================
   12. FORMS / CONTACT
   ========================================================================== */
.prism-form-card { background: #fff; border: 1px solid var(--prism-gray-200); border-radius: var(--prism-radius-lg); padding: 32px; box-shadow: var(--prism-shadow); }
.prism-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prism-form .prism-field { margin-bottom: 15px; }
.prism-form-msg { display: none; margin-top: 14px; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.prism-footer { background: var(--prism-black); color: var(--prism-gray-400); padding: 62px 0 0; margin-top: auto; font-size: 13.5px; }
.prism-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--prism-black-line); }
.prism-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.prism-footer-links { display: flex; flex-direction: column; gap: 10px; }
.prism-footer-links a:hover, .prism-footer-contact a:hover { color: var(--prism-orange); }
.prism-footer-contact { display: flex; flex-direction: column; gap: 10px; }
.prism-footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.prism-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0; font-size: 12.5px; }

/* Floating WhatsApp */
.prism-wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 150; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 20px rgba(37,211,102,.4); transition: transform .2s ease; }
.prism-wa-float:hover { transform: scale(1.08); }

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .prism-searchbar-grid { grid-template-columns: 1fr 1fr; }
  .prism-calc-grid, .prism-split, .prism-duo { grid-template-columns: 1fr; gap: 30px; }
  .prism-stats, .prism-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .prism-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .prism-nav { display: none; }
  .prism-burger { display: block; }
  .prism-drawer { display: block; }
  .prism-header-cta .prism-btn { display: none; }
  .prism-topbar-list span:not(:first-child) { display: none; }
  .prism-hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 620px) {
  .prism-section { padding: 52px 0; }
  .prism-calc { padding: 26px; }
  .prism-sheet, .prism-form-card { padding: 20px; }
  .prism-searchbar-grid, .prism-form-row { grid-template-columns: 1fr; }
  .prism-stats, .prism-meta-grid { grid-template-columns: 1fr; }
  .prism-footer-grid { grid-template-columns: 1fr; }
  .prism-ledger-form { flex-direction: column; }
  .prism-hero { min-height: 470px; }
  .prism-slide-inner { padding: 56px 0; }
}

/* Print (ledger statement) */
@media print {
  .prism-topbar, .prism-header, .prism-footer, .prism-wa-float, .prism-panel-head, .prism-no-print { display: none !important; }
  .prism-panel { border: none; box-shadow: none; }
  body { background: #fff; }
}

/* ==========================================================================
   15. HEADER SAFETY NET (v3.0.2)
   Guarantees the header can never render as an empty white strip.
   ========================================================================== */
.prism-header-inner { min-height: 64px; }
.prism-logo { flex: 0 0 auto; max-width: 60%; }
.prism-logo img,
.prism-logo .custom-logo { max-height: 56px; width: auto; object-fit: contain; }
.prism-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.prism-nav > ul { flex-wrap: wrap; justify-content: center; }
.prism-header-cta { flex: 0 0 auto; }

/* Between 861px and 1120px keep the nav but drop the wordier button. */
@media (max-width: 1120px) {
  .prism-nav a { padding: 8px 9px; font-size: 13px; }
  .prism-header-cta .prism-btn-primary { display: none; }
}
