/*
Theme Name: Chui Data Assistant
Theme URI: https://chuidata.com
Author: Chui Data Assistant
Author URI: https://chuidata.com
Description: A warm, professional theme for Chui Data Assistant - your trusted data cleaning partner.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chui-data
Tags: business, consulting, data, clean, professional
*/

/* ============================================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  --navy:        #0D2545;
  --navy-mid:    #163560;
  --navy-light:  #1E4A82;
  --amber:       #E8922A;
  --amber-light: #F4A94A;
  --amber-pale:  #FDF3E7;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --text-dark:   #1A1A2E;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --border:      #E2E8F0;
  --success:     #2D7D5A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(13,37,69,0.08);
  --shadow-md:  0 8px 32px rgba(13,37,69,0.12);
  --shadow-lg:  0 20px 60px rgba(13,37,69,0.18);

  --max-width: 1160px;
  --section-pad: 100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-light); }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-mid); font-size: 1.05rem; }

.lead {
  font-size: 1.2rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 640px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  display: block;
}

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,146,42,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  background: var(--amber);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
}

.logo-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--amber);
  position: relative;
  z-index: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.logo-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  background: var(--off-white);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232,146,42,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,74,130,0.4) 0%, transparent 40%);
}

.hero-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    var(--white) 0px, var(--white) 1px,
    transparent 1px, transparent 24px
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,146,42,0.15);
  border: 1px solid rgba(232,146,42,0.3);
  color: var(--amber-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-content .lead {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.data-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 400px;
}

.data-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.data-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-status {
  background: rgba(45,125,90,0.3);
  color: #6EE7B7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-bottom: 4px;
}

.data-cell {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Courier New', monospace;
  transition: all 0.3s;
}

.data-cell.dirty {
  background: rgba(220,53,69,0.2);
  color: #FC8181;
  text-decoration: line-through;
}

.data-cell.clean {
  background: rgba(45,125,90,0.2);
  color: #6EE7B7;
}

.data-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
}

.stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
}

.trust-icon {
  width: 20px; height: 20px;
  color: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(232,146,42,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-link:hover { gap: 10px; color: var(--amber); }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--amber), rgba(232,146,42,0.2));
}

.process-step {
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  border: 4px solid var(--off-white);
}

.process-step h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.process-step p { font-size: 0.88rem; }

/* ============================================================
   STATS / IMPACT
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-block {
  background: var(--white);
  padding: 48px 32px;
  text-align: center;
}

.stat-block .number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-block .number span {
  color: var(--amber);
}

.stat-block .label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

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

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--amber);
  line-height: 0.5;
  margin-bottom: 20px;
  display: block;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  display: block;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-box {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 72px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232,146,42,0.15) 0%, transparent 60%);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.4); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  margin-bottom: 24px;
}

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

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--amber);
  color: var(--white);
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col ul li a:hover { color: var(--amber-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--amber-light); }

/* ============================================================
   PAGE TEMPLATES - INNER PAGES
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,0.7); margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.breadcrumb a, .breadcrumb span {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: var(--amber-light); }

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

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

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

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-text span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-form { background: var(--off-white); border-radius: var(--radius-lg); padding: 40px; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,146,42,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  background: var(--white);
}

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

.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

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

.blog-category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-body { padding: 24px; }

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

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1.4;
}

.blog-card p { font-size: 0.88rem; margin-bottom: 16px; }

/* ============================================================
   PORTFOLIO / CASE STUDIES
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--navy);
  aspect-ratio: 16/10;
  cursor: pointer;
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: 0.8;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,37,69,0.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.3s;
}

.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(to top, rgba(13,37,69,0.98) 0%, rgba(13,37,69,0.5) 100%);
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.portfolio-tag {
  background: rgba(232,146,42,0.25);
  border: 1px solid rgba(232,146,42,0.4);
  color: var(--amber-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
}

.portfolio-overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.portfolio-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,125,90,0.25);
  border: 1px solid rgba(110,231,183,0.3);
  color: #6EE7B7;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 200px; height: 200px;
  background: var(--amber-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border-left: 3px solid var(--amber);
}

.value-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.value-card p { font-size: 0.85rem; }

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

.team-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(232,146,42,0.3);
}

.team-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  font-size: 1.6rem;
}

.team-card h4 { margin-bottom: 4px; }
.team-role {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 12px;
}
.team-card p { font-size: 0.88rem; }

/* ============================================================
   WORDPRESS CORE COMPATIBILITY
   ============================================================ */
.wp-block-image img { border-radius: var(--radius-md); }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }

.entry-content h2, .entry-content h3 { margin: 2em 0 0.75em; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.5em; }
.entry-content ul li { color: var(--text-mid); margin-bottom: 6px; }

.wp-pagenavi, .navigation { margin: 48px 0; }
.comments-area { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .data-card { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-cta .btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 120px 0 72px; }
  .cta-box { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   INNER PAGES — SHARED HERO VARIANTS
   ============================================================ */
.page-hero--services { padding-bottom: 0; }
.page-hero--portfolio .hero-badge-row { margin-bottom: 28px; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */

/* Trust bar below hero */
.services-trust-bar {
  background: var(--navy);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stb-inner {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  gap: 0;
}
.stb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  flex: 1;
}
.stb-icon { font-size: 1.3rem; flex-shrink: 0; }
.stb-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}
.stb-item span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* Full services grid */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sfg-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.sfg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--amber);
  transform: scaleY(0);
  transition: transform 0.3s;
  transform-origin: top;
}
.sfg-card:hover {
  border-color: rgba(232,146,42,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.sfg-card:hover::before { transform: scaleY(1); }

.sfg-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.sfg-icon {
  width: 56px; height: 56px;
  min-width: 56px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}
.sfg-header h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--navy);
  line-height: 1.3;
}
.sfg-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}
.sfg-badge--popular  { background: rgba(232,146,42,0.15); color: var(--amber); }
.sfg-badge--audit    { background: rgba(13,37,69,0.08);   color: var(--navy);  }
.sfg-badge--tech     { background: rgba(30,74,130,0.12);  color: var(--navy-light); }
.sfg-badge--new      { background: rgba(45,125,90,0.12);  color: var(--success); }
.sfg-badge--retainer { background: rgba(232,146,42,0.1);  color: var(--amber); }

.sfg-card > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 18px;
}
.sfg-list {
  flex: 1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sfg-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.sfg-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.78rem;
}
.sfg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.sfg-formats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sfg-formats span {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 3px 8px;
  border-radius: 4px;
}
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* Detailed process */
.process-detailed {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
}
.process-detail-step {
  display: grid;
  grid-template-columns: 72px 1fr 64px;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process-detail-step:last-child { border-bottom: none; }
.pds-number {
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pds-content { flex: 1; }
.pds-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pds-title-row h3 { font-size: 1.1rem; margin: 0; }
.pds-pill {
  background: rgba(232,146,42,0.12);
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pds-content p { font-size: 0.92rem; color: var(--text-mid); }
.pds-icon { font-size: 2rem; text-align: center; }

/* Comparison table */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.comparison-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.comparison-table th {
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.comparison-table th.col-chui { color: var(--amber); }
.comparison-table tbody tr { border-bottom: 1px solid var(--border); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--off-white); }
.comparison-table td { padding: 15px 24px; color: var(--text-mid); }
.comparison-table td.col-chui { color: var(--navy); font-weight: 500; }
.comparison-table td.col-diy  { color: var(--text-light); }
.ct-check { color: var(--success); font-weight: 700; margin-right: 4px; }

/* FAQ component */
.two-col-faq {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-intro { position: sticky; top: 100px; }
.faq-intro h2 { margin-bottom: 12px; }
.faq-intro p  { margin-bottom: 32px; }
.faq-stat-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.faq-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber);
}
.faq-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.faq-stat span { font-size: 0.82rem; color: var(--text-light); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--amber); }
.faq-arrow {
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--amber);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  padding: 0;
}
.faq-item.open .faq-a { padding-bottom: 20px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-visual { position: relative; }
.story-visual-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  z-index: 1;
}
.svc-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.svc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.svc-dot--amber { background: var(--amber); opacity: 0.6; }
.svc-dot--green { background: #6EE7B7; opacity: 0.6; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.svc-row--label span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0 4px;
}
.svc-cell {
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
}
.svc-cell--bad  { background: rgba(220,53,69,0.18); color: #FC8181; text-decoration: line-through; }
.svc-cell--good { background: rgba(45,125,90,0.2);  color: #6EE7B7; }
.svc-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.svc-result {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6EE7B7;
}
.story-visual-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%;
  height: 60%;
  background: var(--amber-pale);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.story-visual-badge {
  position: absolute;
  top: -20px; left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.svb-icon { font-size: 2rem; }
.story-visual-badge strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 700; }
.story-visual-badge span  { font-size: 0.72rem; color: var(--text-light); line-height: 1.4; }
.story-highlights { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.sh-item { display: flex; gap: 14px; align-items: flex-start; }
.sh-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.sh-item strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.sh-item p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

/* Impact section (navy bg) */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.impact-stat {
  background: rgba(255,255,255,0.04);
  padding: 40px 32px;
  text-align: center;
  transition: background 0.2s;
}
.impact-stat:hover { background: rgba(255,255,255,0.08); }
.impact-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.impact-stat strong { display: block; color: var(--white); font-size: 0.88rem; margin-bottom: 8px; }
.impact-stat p { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin: 0; line-height: 1.5; }

/* Mission & Values grid */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mv-mission p { font-size: 0.95rem; }
.values-detailed { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.value-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  transition: background 0.2s;
}
.value-detail:hover { background: var(--amber-pale); }
.vd-icon {
  font-size: 1.3rem;
  width: 36px; min-width: 36px;
  text-align: center;
  margin-top: 2px;
}
.value-detail strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
.value-detail p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

/* Detailed team */
.team-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-detail-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
}
.team-detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(232,146,42,0.3);
}
.tdc-photo {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--amber);
}
.tdc-content { padding: 24px; }
.tdc-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.tdc-content p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.65; }
.tdc-skills { display: flex; gap: 6px; flex-wrap: wrap; }
.tdc-skills span {
  background: var(--off-white);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 3px 9px;
  border-radius: 4px;
}

/* Industries grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.industry-pill:hover {
  border-color: rgba(232,146,42,0.3);
  background: var(--amber-pale);
}
.ip-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.industry-pill strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 3px; }
.industry-pill p { font-size: 0.78rem; color: var(--text-light); margin: 0; line-height: 1.45; }

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-results-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.prb-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.prb-item { text-align: center; }
.prb-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.prb-label { font-size: 0.78rem; color: var(--text-light); display: block; margin-top: 4px; }

/* Filter buttons */
.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

/* Detailed portfolio grid */
.portfolio-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pdg-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  opacity: 1;
}
.pdg-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(232,146,42,0.3);
}

.pdg-industry-banner {
  height: 8px;
  width: 100%;
}
.pdg-industry-banner .portfolio-tag {
  display: inline-flex;
  margin: 16px 24px 0;
  position: relative;
}
.pdg-industry--finance   { background: linear-gradient(90deg, #163560, #1E4A82); }
.pdg-industry--healthcare{ background: linear-gradient(90deg, #2D7D5A, #38A169); }
.pdg-industry--retail    { background: linear-gradient(90deg, #E8922A, #F4A94A); }
.pdg-industry--agriculture{ background: linear-gradient(90deg, #38A169, #68D391); }
.pdg-industry--hr        { background: linear-gradient(90deg, #805AD5, #9F7AEA); }
.pdg-industry--hospitality{ background: linear-gradient(90deg, #E53E3E, #FC8181); }

.pdg-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.pdg-body h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--navy); line-height: 1.3; }
.pdg-story { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; flex: 1; }

.pdg-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.pdg-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.82rem;
}
.pdg-meta-label { color: var(--text-light); font-weight: 600; flex-shrink: 0; }
.pdg-meta-val   { color: var(--navy); text-align: right; }

.pdg-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pdg-pill {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-mid);
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdg-result-row {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pdg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  transition: gap 0.2s;
  margin-top: 12px;
  text-decoration: none;
}
.pdg-link:hover { gap: 10px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Expect bar */
.expect-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.expect-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.expect-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  white-space: nowrap;
}
.expect-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.expect-num {
  width: 28px; height: 28px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.expect-step strong { display: block; font-size: 0.85rem; color: var(--navy); }
.expect-step span   { font-size: 0.72rem; color: var(--text-light); }
.expect-arrow { color: var(--amber); font-size: 1rem; }

/* Alerts */
.alert-success, .alert-error {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 40px;
}
.alert-success {
  background: rgba(45,125,90,0.08);
  border: 1px solid rgba(45,125,90,0.25);
}
.alert-error {
  background: rgba(220,53,69,0.06);
  border: 1px solid rgba(220,53,69,0.2);
}
.alert-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.alert-success strong { color: var(--success); display: block; margin-bottom: 4px; }
.alert-error  strong  { color: #c0392b;        display: block; margin-bottom: 4px; }
.alert-success p, .alert-error p { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

/* Contact full grid */
.contact-full-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Form side */
.contact-form-side .contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.cf-header { margin-bottom: 28px; }
.cf-header h3 { font-size: 1.4rem; margin-bottom: 8px; }
.cf-header p  { font-size: 0.9rem; }

.req { color: var(--amber); }
.form-consent { margin-bottom: 20px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.checkbox-label input { margin-top: 3px; accent-color: var(--amber); flex-shrink: 0; }
.checkbox-label span  { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
.form-privacy {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Info side */
.contact-info-side { display: flex; flex-direction: column; gap: 28px; }

.contact-info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-info-block h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.contact-trust-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-trust-block h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ctr-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.ctr-item:last-child { margin-bottom: 0; }
.ctr-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.ctr-item strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 2px; }
.ctr-item p { font-size: 0.8rem; color: var(--text-mid); margin: 0; line-height: 1.5; }

/* Social proof mini widget */
.contact-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--amber-pale);
  border: 1px solid rgba(232,146,42,0.2);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.csp-avatars {
  display: flex;
  flex-direction: row;
}
.csp-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  margin-right: -8px;
}
.contact-social-proof strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 4px; }
.csp-stars { font-size: 0.78rem; color: var(--amber); }
.csp-stars span { color: var(--text-mid); margin-left: 4px; }

/* ============================================================
   RESPONSIVE — INNER PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .services-full-grid  { grid-template-columns: 1fr; }
  .story-grid          { grid-template-columns: 1fr; }
  .mv-grid             { grid-template-columns: 1fr; }
  .team-detailed-grid  { grid-template-columns: repeat(2, 1fr); }
  .industries-grid     { grid-template-columns: repeat(2, 1fr); }
  .portfolio-detailed-grid { grid-template-columns: 1fr; }
  .contact-full-grid   { grid-template-columns: 1fr; }
  .two-col-faq         { grid-template-columns: 1fr; }
  .faq-intro           { position: static; }
  .impact-grid         { grid-template-columns: repeat(3, 1fr); }
  .stb-inner           { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .process-detail-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .pds-icon            { display: none; }
  .pds-number          { width: 48px; height: 48px; font-size: 1rem; }
  .team-detailed-grid  { grid-template-columns: 1fr; }
  .industries-grid     { grid-template-columns: 1fr 1fr; }
  .impact-grid         { grid-template-columns: repeat(2, 1fr); }
  .comparison-table th,
  .comparison-table td { padding: 12px 16px; font-size: 0.82rem; }
  .expect-inner        { gap: 10px; }
  .expect-arrow        { display: none; }
  .contact-form-side .contact-form { padding: 24px; }
  .story-visual-badge  { display: none; }
}

@media (max-width: 480px) {
  .sfg-header          { flex-direction: column; gap: 10px; }
  .sfg-footer          { flex-direction: column; align-items: flex-start; }
  .impact-grid         { grid-template-columns: 1fr 1fr; }
  .industries-grid     { grid-template-columns: 1fr; }
  .prb-inner           { gap: 20px; }
  .stb-item            { flex: 0 0 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
