/* ================================================================
   CROWNSTONELABS.COM — Inner Page Styles
================================================================ */

/* ----------------------------------------------------------------
   Page Hero (used on all inner pages)
---------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, #07111F 0%, var(--navy) 100%);
  padding: calc(var(--header-h) + 56px) 0 72px;
  position: relative;
  overflow: hidden;
}
.ph-bg { position: absolute; inset: 0; pointer-events: none; }
.ph-inner { position: relative; z-index: 1; max-width: 760px; }
.ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.ph-breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.ph-breadcrumb a:hover { color: var(--white); }
.ph-breadcrumb span:last-child { color: var(--accent-light); }
.ph-title { color: var(--white); margin-bottom: 20px; letter-spacing: 0; }
.ph-subtitle {
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ----------------------------------------------------------------
   Story Section (About)
---------------------------------------------------------------- */
.story-section { background: var(--off-white); }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-content .section-tag { display: inline-block; margin-bottom: 16px; }
.story-content h2 { margin-bottom: 20px; }
.story-content p { font-size: .95rem; }

.story-milestones { border-left: 2px solid var(--border-light); padding-left: 24px; display: flex; flex-direction: column; gap: 20px; align-self: start; padding-top: 8px; }
.milestone { position: relative; }
.milestone::before {
  content: '';
  position: absolute;
  left: -29px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--off-white);
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}
.ml-year { font-size: .8rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 2px; }
.ml-event { font-size: .88rem; color: var(--text-second); }

/* Story visual cards */
.story-visual { display: flex; flex-direction: column; gap: 16px; }
.sv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sv-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.sv-card.sv-dark {
  background: var(--navy);
  border-color: var(--border);
  color: var(--white);
}
.sv-card.sv-accent {
  background: var(--primary);
  border-color: transparent;
  color: var(--white);
}
.sv-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.sv-card.sv-dark .sv-number,
.sv-card.sv-accent .sv-number { color: var(--white); }
.sv-card.sv-big .sv-number { font-size: 2.35rem; }
.sv-plus { font-size: 1.3rem; color: var(--accent); }
.sv-card.sv-dark .sv-plus,
.sv-card.sv-accent .sv-plus { color: rgba(255,255,255,.7); }
.sv-label { font-size: .82rem; color: var(--text-second); margin-top: 6px; font-weight: 500; }
.sv-card.sv-dark .sv-label,
.sv-card.sv-accent .sv-label { color: rgba(255,255,255,.65); }

/* ----------------------------------------------------------------
   Story Animated Panel
---------------------------------------------------------------- */
.story-anim-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Background pulsing orb */
.sap-orb {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, rgba(59,130,246,0) 70%);
  animation: sapPulse 3s ease-in-out infinite;
}

/* Rotating rings */
.sap-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(59,130,246,.25);
}
.sap-ring-1 { width: 200px; height: 200px; animation: sapSpin 18s linear infinite; }
.sap-ring-2 { width: 300px; height: 300px; animation: sapSpin 28s linear infinite reverse; border-color: rgba(139,92,246,.2); }
.sap-ring-3 { width: 390px; height: 390px; animation: sapSpin 40s linear infinite; border-color: rgba(16,185,129,.15); }

/* Center logo */
.sap-center {
  position: absolute;
  width: 72px; height: 72px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(59,130,246,.25);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  animation: sapPulse 3s ease-in-out infinite;
}

/* Floating service badges */
.sap-badge {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 8px 14px;
  font-size: .8rem; font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  white-space: nowrap;
  z-index: 3;
}
.sap-b1 { top: 8%;  left: 50%; transform: translateX(-50%) translateY(0); animation: sapFloatCenter 4s ease-in-out infinite; }
.sap-b2 { top: 38%; right: 2%; animation: sapFloat 4.5s ease-in-out infinite 0.6s; }
.sap-b3 { bottom: 18%; left: 3%; animation: sapFloat 5s ease-in-out infinite 1.2s; }
.sap-b4 { bottom: 8%; right: 10%; animation: sapFloat 4.2s ease-in-out infinite 0.3s; }

/* Stat chips */
.sap-stat {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 10px 18px;
  z-index: 3;
  animation: sapFloat 5s ease-in-out infinite 0.8s;
}
.sap-s1 { top: 38%; left: 2%; animation-delay: 0s; }
.sap-s2 { top: 12%; right: 4%; animation-delay: 1s; }
.sap-s3 { bottom: 38%; right: 2%; animation-delay: 1.8s; }
.sap-num { font-size: 1rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.sap-lbl { font-size: .68rem; opacity: .65; margin-top: 1px; }

@keyframes sapFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}
@keyframes sapSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes sapPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: .85; }
}
@keyframes sapFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ----------------------------------------------------------------
   Values
---------------------------------------------------------------- */
.values-section { background: var(--white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(29,78,216,.22); }
.vc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.value-card h3 { font-size: 1rem; margin-bottom: 10px; }
.value-card p  { font-size: .88rem; }

/* ----------------------------------------------------------------
   Team
---------------------------------------------------------------- */
.team-section { background: var(--off-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(29,78,216,.22); }
.tc-photo {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,.82);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.tc-info { padding: 20px; }
.tc-info h3 { font-size: 1rem; margin-bottom: 4px; }
.tc-role { font-size: .78rem; font-weight: 600; color: var(--accent); display: block; margin-bottom: 10px; }
.tc-info p { font-size: .83rem; margin-bottom: 12px; }
.tc-linkedin { font-size: .8rem; font-weight: 600; color: var(--primary); }
.tc-linkedin:hover { color: var(--accent); }

/* ----------------------------------------------------------------
   Offices
---------------------------------------------------------------- */
.offices-section {
  background: linear-gradient(180deg, #07111F 0%, #0A1628 100%);
  position: relative;
  overflow: hidden;
}
.offices-bg { position: absolute; inset: 0; pointer-events: none; }
.offices-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.offices-orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(59,130,246,.14) 0%, transparent 70%);
  top: -100px; left: -80px;
}
.offices-orb-2 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(99,102,241,.09) 0%, transparent 70%);
  bottom: -150px; right: -120px;
}
.offices-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(59,130,246,.18) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .6;
}
.offices-tag {
  background: rgba(59,130,246,.14) !important;
  color: var(--accent-light) !important;
  border-color: rgba(59,130,246,.28) !important;
}
.offices-title { color: var(--white) !important; }
.offices-desc  { color: rgba(255,255,255,.55) !important; }

.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.office-card {
  background: rgba(15, 32, 64, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .38s ease, border-color .38s ease, box-shadow .38s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.office-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.07) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.office-card:hover {
  transform: translateY(-7px);
  border-color: rgba(59,130,246,.52);
  box-shadow: 0 0 48px rgba(59,130,246,.14), 0 22px 52px rgba(0,0,0,.32);
}
.office-card--hq {
  border-color: rgba(59,130,246,.32);
  background: rgba(15, 32, 78, 0.6);
}
.office-card--hq::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  border-radius: 2px 2px 0 0;
}
.office-card--hq:hover {
  border-color: rgba(59,130,246,.7);
  box-shadow: 0 0 64px rgba(59,130,246,.2), 0 26px 60px rgba(0,0,0,.38);
}
.oc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.oc-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.24);
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.oc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  color: rgba(255,255,255,.38);
  font-weight: 500;
}
.oc-pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: oc-pulse 2.2s infinite;
}
@keyframes oc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.oc-body { display: flex; flex-direction: column; gap: 8px; }
.oc-flag { font-size: 2.2rem; line-height: 1; }
.oc-city {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}
.oc-hq {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  vertical-align: middle;
}
.office-card p { font-size: .84rem; color: rgba(255,255,255,.48); line-height: 1.68; flex: 1; margin: 0; }
.oc-divider { height: 1px; background: rgba(255,255,255,.07); }
.oc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.oc-tag {
  display: inline-block;
  font-size: .71rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.22);
  border-radius: 20px;
  padding: 4px 13px;
}
.oc-maps {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  transition: color .2s;
  white-space: nowrap;
}
.oc-maps:hover { color: var(--accent-light); }

/* ----------------------------------------------------------------
   Services Page
---------------------------------------------------------------- */
.service-detail-section { background: var(--off-white); }
.service-detail-section:nth-child(even) { background: var(--white); }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.sd-content .section-tag { display: inline-block; margin-bottom: 16px; }
.sd-content h2 { margin-bottom: 16px; }
.sd-content > p { margin-bottom: 28px; }
.sd-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.sd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.service-detail.reverse .sd-item,
.service-detail-section:nth-child(even) .sd-item { background: var(--off-white); }
.sd-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(59,130,246,.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.sd-item span { font-size: .88rem; font-weight: 500; color: var(--text-primary); }

.sd-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sdv-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid;
}
.sdv-card.sdv-blue   { background: rgba(59,130,246,.06); border-color: rgba(59,130,246,.15); }
.sdv-card.sdv-purple { background: rgba(139,92,246,.06); border-color: rgba(139,92,246,.15); }
.sdv-card.sdv-green  { background: rgba(16,185,129,.06); border-color: rgba(16,185,129,.15); }
.sdv-card.sdv-orange { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.15); }
.sdv-card.sdv-teal   { background: rgba(13,148,136,.06); border-color: rgba(13,148,136,.15); }
.sdv-card { transition: transform var(--transition), box-shadow var(--transition); }
.sdv-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }
.sdv-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sdv-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.sdv-card:hover .sdv-icon { transform: scale(1.08) rotate(-4deg); }
.sdv-icon svg { width: 22px; height: 22px; }
.sdvi-blue   { background: linear-gradient(135deg,rgba(59,130,246,.18),rgba(29,78,216,.05)); color: #3B82F6; border: 1px solid rgba(59,130,246,.28); box-shadow: 0 2px 10px rgba(59,130,246,.12); }
.sdvi-purple { background: linear-gradient(135deg,rgba(139,92,246,.18),rgba(109,40,217,.05)); color: #8B5CF6; border: 1px solid rgba(139,92,246,.28); box-shadow: 0 2px 10px rgba(139,92,246,.12); }
.sdvi-green  { background: linear-gradient(135deg,rgba(16,185,129,.18),rgba(5,150,105,.05)); color: #059669; border: 1px solid rgba(16,185,129,.28); box-shadow: 0 2px 10px rgba(16,185,129,.12); }
.sdvi-orange { background: linear-gradient(135deg,rgba(245,158,11,.18),rgba(217,119,6,.05)); color: #D97706; border: 1px solid rgba(245,158,11,.28); box-shadow: 0 2px 10px rgba(245,158,11,.12); }
.sdvi-teal   { background: linear-gradient(135deg,rgba(13,148,136,.18),rgba(15,118,110,.05)); color: #0D9488; border: 1px solid rgba(13,148,136,.28); box-shadow: 0 2px 10px rgba(13,148,136,.12); }
.sdv-top h4 { font-size: 1rem; font-weight: 700; }
.sdv-card p { font-size: .875rem; line-height: 1.65; }

/* ----------------------------------------------------------------
   Contact Page
---------------------------------------------------------------- */
.contact-section { background: var(--off-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.cf-title { font-size: 1.4rem; margin-bottom: 8px; }
.cf-sub { font-size: .9rem; margin-bottom: 32px; }

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

/* Staggered entrance on page load */
.cf-body .form-group,
.cf-body .form-row,
.cf-body .form-submit {
  animation: fgSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.cf-body .form-row:nth-child(1)  { animation-delay: 0.06s; }
.cf-body .form-group:nth-child(2) { animation-delay: 0.13s; }
.cf-body .form-group:nth-child(3) { animation-delay: 0.20s; }
.cf-body .form-group:nth-child(4) { animation-delay: 0.27s; }
.cf-body .form-group:nth-child(5) { animation-delay: 0.34s; }
.cf-body .form-submit             { animation-delay: 0.41s; }
@keyframes fgSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}
.form-group:focus-within label {
  color: var(--primary);
  letter-spacing: 0.012em;
}
.form-group label span { color: #EF4444; }

/* Base field */
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.18s ease;
}
/* Hover — lift + tint */
.form-control:hover {
  border-color: rgba(59,130,246,.38);
  background: rgba(59,130,246,.022);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59,130,246,.07);
}
/* Focus — glow ring + pulse in */
.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15), 0 4px 18px rgba(59,130,246,.10);
  animation: fieldPulse 0.38s ease;
}
@keyframes fieldPulse {
  0%   { box-shadow: 0 0 0 0   rgba(59,130,246,.40); }
  55%  { box-shadow: 0 0 0 7px rgba(59,130,246,.08); }
  100% { box-shadow: 0 0 0 3px rgba(59,130,246,.15), 0 4px 18px rgba(59,130,246,.10); }
}

/* Valid field — green tick */
.form-control:not(:placeholder-shown):valid {
  border-color: rgba(16,185,129,.5);
}

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

/* Select — custom arrow wrapper */
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--text-second);
  border-bottom: 2px solid var(--text-second);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.22s ease, border-color 0.2s ease;
}
.select-wrap:focus-within::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--primary);
}
select.form-control { appearance: none; cursor: pointer; padding-right: 38px; }

/* Submit button — shimmer sweep + press */
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: var(--radius);
  margin-top: 8px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: none;
}
.form-submit:hover::before { animation: btnShimmer 0.55s ease forwards; }
.form-submit:active { transform: scale(0.974) translateY(2px) !important; transition: transform 0.08s ease !important; }
@keyframes btnShimmer { to { transform: translateX(120%); } }

/* Form card mouse-spotlight */
.cf-body {
  position: relative;
  isolation: isolate;
}
.cf-body::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(59,130,246,.055), transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cf-body.glow-active::after { opacity: 1; }
.cf-body > * { position: relative; z-index: 1; }

/* Ripple on submit button */
.btn-ripple {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 0.6s ease forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: translate(-50%,-50%) scale(55); opacity: 0; }
}

.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.cs-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cs-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.cs-card h3 { font-size: .95rem; margin-bottom: 6px; }
.cs-card p { font-size: .85rem; }
.cs-card a { color: var(--primary); font-weight: 600; font-size: .85rem; }

/* ----------------------------------------------------------------
   Industry Solutions Grid
---------------------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.ind-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ind-blue   { background: rgba(59,130,246,.1); color: #3B82F6; }
.ind-green  { background: rgba(16,185,129,.1); color: #10B981; }
.ind-purple { background: rgba(139,92,246,.1); color: #8B5CF6; }
.ind-teal   { background: rgba(20,184,166,.1); color: #14B8A6; }
.ind-orange { background: rgba(249,115,22,.1); color: #F97316; }
.ind-indigo { background: rgba(99,102,241,.1); color: #6366F1; }

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.industry-card p {
  font-size: .88rem;
  color: var(--text-second);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ind-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ind-list li {
  font-size: .8rem;
  color: var(--text-second);
  padding-left: 14px;
  position: relative;
}
.ind-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.ind-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ind-cta h3 { color: var(--white); }
.ind-cta p  { color: rgba(255,255,255,.75); }

@media (max-width: 1200px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   Responsive overrides for inner pages
---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .story-inner,
  .service-detail,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-anim-panel { min-height: 300px; }
  .service-detail.reverse { direction: ltr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}
