@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Rajdhani:wght@600;700&display=swap');

/* Optimized Main CSS - Portfolio Site */
:root{
  --primary-color:#007bff;
  --secondary-color:#6c757d;
  --success-color:#28a745;
  --info-color:#17a2b8;
  --warning-color:#ffc107;
  --danger-color:#dc3545;
  --light-color:#f8f9fa;
  --dark-color:#343a40;
  --brand:#0d6efd;
  --ink:#102235;
  --muted:#5d6b78;
  --surface:#f5f8fb;
  --line:#dce4ec;
  --accent:#0b6b62;
}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  line-height:1.6;
  color:var(--ink);
  background:#fff;
}

h1,h2,h3,h4,h5,h6{
  color:var(--ink);
  font-weight:700;
  letter-spacing:-.025em;
}

p{
  color:var(--muted);
}

a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(13,110,253,.35);
  outline-offset:3px;
}

.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 1px 0 rgba(16,34,53,.04);
}

.navbar .container{
  max-width:1320px;
}

.navbar-brand{
  font-weight:700;
  color:var(--primary-color)!important;
}

.navbar-brand strong{
  letter-spacing:.3px;
}

.navbar-nav .nav-link{
  font-weight:500;
  transition:color .2s ease;
  font-size:.9rem;
}

.navbar-nav .nav-link:hover{
  color:var(--primary-color)!important;
}

.hero-section{
  padding:4rem 0;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  color:white;
  text-align:center;
}

.hero-section h1{
  font-size:3.5rem;
  font-weight:700;
  margin-bottom:1.5rem;
}

.hero-section .lead{
  font-size:1.25rem;
  margin-bottom:2rem;
  opacity:.9;
}

.hero-section .btn{
  font-size:1.1rem;
  padding:.75rem 2rem;
  border-radius:50px;
  font-weight:600;
}

.section-title{
  font-size:2.5rem;
  font-weight:700;
  margin-bottom:3rem;
  text-align:center;
  color:var(--dark-color);
}

.project-card{
  transition:transform .3s ease,box-shadow .3s ease;
}

.project-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.project-card .card{
  border:none;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.project-card .card-img-top{
  height:200px;
  object-fit:cover;
}

.project-card .card-body{
  padding:1.5rem;
}

.project-card .card-title{
  font-weight:600;
  margin-bottom:1rem;
}

.project-tags{
  margin:1rem 0;
}

.project-card .badge{
  font-weight:500;
  margin-right:.5rem;
  padding:.5rem .75rem;
  border-radius:20px;
  font-size:.85rem;
}

.project-links{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

.project-links .btn{
  padding:.5rem 1rem;
  border-radius:25px;
  font-size:.9rem;
  font-weight:500;
}

.skills-section{
  padding:4rem 0;
  background-color:var(--light-color);
}

.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:2rem;
  margin-top:3rem;
}

.skill-category{
  background:white;
  padding:2rem;
  border-radius:15px;
  box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.skill-category h4{
  color:var(--primary-color);
  margin-bottom:1.5rem;
  font-weight:600;
}

.skill-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:1rem;
  padding:.5rem 0;
  border-bottom:1px solid #eee;
}

.skill-item:last-child{
  border-bottom:none;
}

.skill-name{
  font-weight:500;
}

.skill-level{
  width:100px;
  height:8px;
  background-color:#e9ecef;
  border-radius:4px;
  overflow:hidden;
}

.skill-level-fill{
  height:100%;
  background:linear-gradient(90deg,var(--primary-color),var(--info-color));
  border-radius:4px;
  transition:width .3s ease;
}

.blog-post{
  background:white;
  padding:2rem;
  border-radius:15px;
  box-shadow:0 5px 15px rgba(0,0,0,.08);
  margin-bottom:2rem;
}

.blog-post h3{
  margin-bottom:1rem;
  color:var(--dark-color);
}

.blog-post .meta{
  color:var(--secondary-color);
  font-size:.9rem;
  margin-bottom:1rem;
}

.blog-post .excerpt{
  margin-bottom:1.5rem;
}

.blog-categories{
  margin-bottom:2rem;
}

.blog-categories .btn{
  margin-right:.5rem;
  margin-bottom:.5rem;
  border-radius:20px;
  font-size:.85rem;
}

.footer{
  background-color:var(--dark-color);
  color:white;
  padding:3rem 0;
  margin-top:4rem;
}

.footer h5{
  color:var(--primary-color);
  margin-bottom:1.5rem;
}

.footer a{
  color:#adb5bd;
  text-decoration:none;
  transition:color .2s ease;
}

.footer a:hover{
  color:white;
}

/* BridgeOps content system */
.home-hero{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
  gap:clamp(2rem,6vw,6rem);
  align-items:center;
  min-height:620px;
  padding:5rem 0 6rem;
}

.hero-copy h1{
  max-width:900px;
  margin-bottom:1.5rem;
  font-size:clamp(3rem,7vw,6.25rem);
  line-height:.96;
  letter-spacing:-.065em;
}

.hero-subtitle{
  max-width:760px;
  margin-bottom:1rem;
  color:var(--ink);
  font-size:clamp(1.25rem,2.3vw,1.7rem);
  font-weight:600;
}

.hero-summary{
  max-width:720px;
  margin-bottom:2rem;
  font-size:1.1rem;
}

.hero-signal{
  padding:2rem;
  border:1px solid var(--line);
  border-radius:1.25rem;
  background:linear-gradient(145deg,#f7fbff,#edf5f4);
  box-shadow:0 24px 60px rgba(31,52,73,.1);
}

.hero-signal ol{
  margin:0;
  padding:0;
  list-style:none;
}

.hero-signal li{
  display:grid;
  grid-template-columns:2rem 1fr;
  gap:.75rem;
  padding:1rem 0;
  border-top:1px solid rgba(16,34,53,.1);
  color:var(--ink);
  font-weight:600;
}

.hero-signal li span{
  color:var(--accent);
  font-size:.8rem;
}

.home-section{
  padding:4rem 0;
  border-top:0;
}

.home-shell-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:1.5rem;
  box-shadow:0 10px 30px rgba(16,34,53,.05);
  width:100%;
  box-sizing:border-box;
  min-width:0;
  overflow:hidden;
}

.home-shell-card .row > [class*="col-"]{
  min-width:0;
}

.home-shell-card,
.project-card-new,
.workflow-step,
.case-card,
.contact-link-card{
  min-width:0;
}

.about-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,8vw,8rem);
}

.about-strip h2{
  font-size:clamp(1.8rem,3.5vw,3rem);
  line-height:1.15;
}


.hero-intro-main{
  font-size:1.1rem;
  margin-bottom:1rem;
}

.hero-intro-secondary{
  font-size:1rem;
  margin-bottom:2rem;
}

.process-step-number{
  display:block;
  font-size:1.5rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:.75rem;
}

.pillar-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:2rem;
  border:1px solid var(--line);
  border-radius:1.25rem;
  color:inherit;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.pillar-card:hover{
  transform:translateY(-5px);
  border-color:#a9bfd3;
  box-shadow:0 20px 45px rgba(31,52,73,.1);
}

.pillar-card h3{
  margin:.75rem 0 1rem;
  font-size:1.55rem;
}

.pillar-card .text-link{
  margin-top:auto;
}

.pillar-number{
  color:var(--accent);
  font-size:.85rem;
  font-weight:800;
  letter-spacing:.1em;
}

.workflow-section{
  margin-inline:calc(50% - 50vw);
  padding-inline:max(calc((100vw - 1140px)/2),1.5rem);
  background:var(--surface);
}

.home-framework-tight{
  padding-top:1.5rem;
}

.home-card-section{
  margin-inline:max(calc((100vw - 1140px)/2),1.5rem);
}

.home-card-section > .container{
  padding-left:0;
  padding-right:0;
}

.home-card-section.section-compact .home-shell-card{
  padding:1.75rem;
}

.insight-teaser{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:3rem;
}

.insight-teaser>div{
  max-width:760px;
}

.home-cta{
  margin:2rem 0 1rem;
}

.section.section-compact,
.home-section.section-compact{
  padding:2.75rem 0;
}

.executive-scan-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.75rem;
  margin:1.25rem 0 1.5rem;
}

.executive-scan-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:.9rem 1rem;
  margin:0;
}

.executive-scan-label{
  display:block;
  font-size:.8rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:.2rem;
  font-weight:700;
}

.executive-scan-text{
  display:block;
  color:var(--ink);
  font-weight:600;
  font-size:.92rem;
  line-height:1.35;
  margin:0;
}

.split-summary{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:2rem;
  align-items:start;
}

.stacked-copy p{
  margin-bottom:.9rem;
}

.page-hero{
  max-width:850px;
}

.page-hero h1{
  font-size:clamp(2.4rem,5vw,4.5rem);
  line-height:1.05;
  letter-spacing:-.04em;
}

.eyebrow,
.project-stage{
  color:var(--brand);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:.75rem;
  display:block;
}

.workflow{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  align-items:stretch;
  gap:1rem;
}

.framework-flow{
  padding-right:0;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.85rem;
}

.framework-flow .workflow-arrow{
  display:none;
}

.workflow-step{
  display:flex;
  flex-direction:column;
  gap:.4rem;
  padding:1.25rem;
  border:1px solid #dce4ec;
  border-radius:1rem;
  background:#f8fafc;
  color:inherit;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.workflow-step:hover{
  transform:translateY(-4px);
  border-color:#a9bfd3;
  box-shadow:0 14px 30px rgba(31,52,73,.1);
}

.framework-coming-soon{
  opacity:.88;
  border-style:dashed;
}

.transfer-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.transfer-grid .case-card{
  padding:1.25rem;
}

.secondary-projects{
  opacity:.82;
}

.secondary-projects .project-card-new{
  box-shadow:none;
  border-color:#e5ebf1;
}

.secondary-projects .project-card-new .card-body{
  padding:1.25rem;
}

.secondary-projects .project-stage{
  font-size:.68rem;
}

.workflow-step span{
  color:var(--brand);
  font-size:.8rem;
  font-weight:700;
}

.workflow-step small{
  color:var(--secondary-color);
}

.workflow-step strong,
.workflow-step small,
.project-card-new h3,
.project-card-new .h4,
.case-card h3{
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
}

.workflow-arrow{
  align-self:center;
  color:var(--brand);
  font-size:1.4rem;
}

.section-heading{
  max-width:720px;
  margin-bottom:1.5rem;
}

.section-heading h2{
  margin-bottom:.55rem;
  line-height:1.15;
}

.section-heading p{
  margin-bottom:0;
  line-height:1.5;
}

.split-summary h2,
.side-card h2{
  margin-bottom:.55rem;
  line-height:1.2;
}

.split-summary p,
.side-card p{
  line-height:1.55;
}

.action-row{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  align-items:center;
}

.action-row.tight{
  gap:.5rem;
}

.framework-flow .workflow-step strong{
  line-height:1.3;
}

.framework-flow .workflow-step{
  padding:1rem;
}

.compact-insight-grid .project-card-new .card-body{
  gap:.65rem;
  padding:1.25rem;
}

.compact-insight-grid .h4{
  margin:0;
}

.compact-insight-grid p{
  margin:0;
}

.compact-insight-grid .btn{
  margin-top:.4rem;
}

.project-card-new{
  border:1px solid #dce4ec;
  border-radius:1rem;
  box-shadow:0 10px 30px rgba(31,45,61,.06);
}

.project-card-new .card-body{
  display:flex;
  flex-direction:column;
  padding:1.75rem;
}

.project-card-new .card-body>.project-stage{
  margin-bottom:.35rem;
}

.project-card-new h3,
.project-card-new .h4{
  margin:0 0 .65rem;
  line-height:1.28;
}

.project-card-new .card-body>p{
  margin-bottom:.75rem;
  line-height:1.5;
  overflow-wrap:break-word;
}

@media (max-width:1100px){
  .framework-flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px){
  .framework-flow{
    grid-template-columns:1fr;
  }
}

.project-card-new .btn{
  align-self:flex-start;
  margin-top:auto;
}

@media (min-width:992px){
  .project-card-new h3,
  .project-card-new .h4{
    min-height:3.25rem;
  }
}

.project-facts{
  margin:1rem 0 1.5rem;
}

.project-facts div{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:.6rem 0;
  border-top:1px solid #e9ecef;
}

.project-facts dt,
.project-facts dd{
  margin:0;
}

.project-facts dd{
  color:var(--secondary-color);
  text-align:right;
}

.cta-panel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
  padding:2.5rem;
  border-radius:1.25rem;
  background:#eef4ff;
}

.insight-categories{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
}

.insight-categories a{
  padding:.6rem 1rem;
  border:1px solid #cbd8e6;
  border-radius:999px;
  color:var(--dark-color);
  text-decoration:none;
}

.insight-categories a:hover{
  border-color:var(--brand);
  color:var(--brand);
}

.insight-group{
  padding:2rem;
  border:1px solid #dce4ec;
  border-radius:1rem;
  background:#fff;
}

.featured-insights-panel{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(16,34,53,.05);
  padding:1.4rem;
}

@media (max-width:1100px){
  .home-shell-card.split-summary{
    grid-template-columns:1fr;
  }
}

.featured-insights-grid{
  margin-top:1rem;
}

.featured-insights-grid .project-card-new .card-body{
  padding:1.2rem;
}

.insight-link{
  padding:1rem 0;
  border-top:1px solid #e9ecef;
}

.insight-link:first-of-type{
  margin-top:1.25rem;
}

.insight-link:last-child{
  padding-bottom:0;
}

.insight-link a{
  color:var(--dark-color);
  text-decoration:none;
}

.insight-link a:hover{
  color:var(--brand);
}

.social-links{
  display:flex;
  gap:1rem;
  margin-top:1rem;
}

.social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  background-color:var(--primary-color);
  color:white;
  border-radius:50%;
  transition:all .2s ease;
}

.social-links a:hover{
  background-color:var(--dark-color);
  transform:translateY(-2px);
}

/* Consent Banner Styles */
.consent-banner{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:rgba(33,37,41,.95);
  color:white;
  padding:1rem 0;
  z-index:9999;
  backdrop-filter:blur(10px);
  border-top:1px solid rgba(255,255,255,.1);
}

.consent-banner p{
  font-size:.9rem;
  line-height:1.4;
}

.consent-banner .btn{
  font-size:.8rem;
  padding:.375rem .75rem;
}

.consent-banner .btn-outline-secondary{
  border-color:rgba(255,255,255,.3);
  color:rgba(255,255,255,.8);
}

.consent-banner .btn-outline-secondary:hover{
  background-color:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.5);
  color:white;
}

/* Responsive Design */
@media (max-width:768px){
  .navbar-nav{
    padding:1rem 0;
  }

  .home-hero{
    grid-template-columns:1fr;
    min-height:auto;
    padding:3.5rem 0 4rem;
  }

  .hero-copy h1{
    font-size:clamp(2.75rem,14vw,4.25rem);
  }

  .about-strip,
  .insight-teaser{
    grid-template-columns:1fr;
    flex-direction:column;
    align-items:flex-start;
  }

  .executive-scan-grid,
  .split-summary{
    grid-template-columns:1fr;
  }

  .action-row,
  .action-row.tight{
    width:100%;
    gap:.55rem;
  }

  .action-row .btn,
  .action-row.tight .btn{
    width:100%;
  }

  .home-section{
    padding:3.5rem 0;
  }

  .home-shell-card,
  .featured-insights-panel{
    padding:1.1rem;
  }

  .home-card-section{
    margin-inline:1rem;
  }

  .contact-link-grid{
    grid-template-columns:1fr;
  }

  .project-card-new h3,
  .project-card-new .h4{
    min-height:auto;
  }

  .hero-section h1{
    font-size:2.5rem;
  }
  
  .section-title{
    font-size:2rem;
  }
  
  .hero-section{
    padding:2rem 0;
  }
  
  .skills-grid{
    grid-template-columns:1fr;
  }
  
  .consent-banner .col-md-8,
  .consent-banner .col-md-4{
    text-align:center;
    margin-bottom:1rem;
  }

  .workflow{
    grid-template-columns:1fr;
  }

  .workflow-arrow{
    transform:rotate(90deg);
    justify-self:center;
  }

  .cta-panel{
    align-items:flex-start;
    flex-direction:column;
    padding:1.75rem;
  }
}

@media (max-width:576px){
  .hero-section h1{
    font-size:2rem;
  }
  
  .project-links{
    flex-direction:column;
  }
  
  .project-links .btn{
    width:100%;
    text-align:center;
  }
  
  .consent-banner{
    padding:.75rem 0;
  }
  
  .consent-banner p{
    font-size:.8rem;
  }
}

/* Performance optimizations */
.card,.btn,.badge{
  will-change:transform;
}

.project-card:hover .card{
  will-change:transform,box-shadow;
}

.consent-banner{
  will-change:transform,opacity;
}

.consent-banner.hidden{
  transform:translateY(100%);
  opacity:0;
  transition:transform .3s ease,opacity .3s ease;
}

/* Utility Classes for Sprint 1 */

.section{
  padding:3.5rem 0;
}

.page-hero{
  padding:3.25rem 0 2.5rem;
  background:var(--surface);
}

.project-detail .section{
  padding:4rem 0;
}

.project-detail .page-hero{
  padding:4rem 0 3rem;
}

.project-detail .project-intro-section{
  padding:1.4rem 0;
}

.project-detail .project-intro-section + .project-intro-section{
  padding-top:.45rem;
}

.project-intro-card,
.related-content-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:1.35rem 1.4rem;
  box-shadow:0 10px 30px rgba(16,34,53,.05);
}

.project-intro-card h2,
.related-content-card h2{
  margin-bottom:.55rem;
}

.project-intro-card p,
.related-content-card p{
  margin-bottom:.8rem;
  line-height:1.55;
}

.related-content-card p:last-of-type,
.project-intro-card p:last-of-type{
  margin-bottom:0;
}

.project-summary-strip{
  border-color:#bfd2c8;
  background:#f7fbf9;
}

.project-summary-strip .ops-caption-grid{
  margin-top:.75rem;
}

.related-content-card ul{
  list-style:none;
  padding:0;
  margin:1rem 0 0;
}

.related-content-card li{
  margin-bottom:.7rem;
}

.related-content-card li:last-child{
  margin-bottom:0;
}

.narrow{
  max-width:860px;
  margin-left:auto;
  margin-right:auto;
}

.profile-image{
  width:100%;
  max-width:320px;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(16,34,53,.15);
}

.card-grid,
.bridge-grid,
.credibility-grid,
.process-grid,
.case-study-grid,
.service-list,
.contact-prompts{
  display:grid;
  gap:1.5rem;
}

.card-grid.three{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.card-grid.four,
.process-grid.four,
.bridge-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.card-grid>div,
.bridge-grid>div,
.service-list article,
.case-card,
.credibility-grid>div,
.process-grid>div,
.contact-prompts>div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:1.5rem;
  box-shadow:0 10px 30px rgba(16,34,53,.05);
}

.bg-light .card-grid>div,
.bg-light .bridge-grid>div,
.bg-light .service-list article,
.bg-light .case-card,
.bg-light .credibility-grid>div{
  background:#fff;
}

.credibility-grid{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  margin:1.5rem 0;
}

.credibility-grid strong{
  display:block;
  font-size:1.7rem;
  color:var(--ink);
  margin-bottom:.25rem;
}

.credibility-grid span{
  display:block;
  color:var(--muted);
  font-size:.95rem;
}

.service-list{
  display:grid;
  gap:1.5rem;
}

.timeline-list li,
.principle-list li{
  margin-bottom:1rem;
}

.principle-list.compact-list{
  margin-bottom:0;
  padding-left:1.15rem;
}

.principle-list.compact-list li{
  margin-bottom:.65rem;
}

.side-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:1.3rem;
  box-shadow:0 10px 30px rgba(16,34,53,.05);
}

.cta-section{
  background:var(--ink);
  color:#fff;
}

.cta-section h2,
.cta-section p{
  color:#fff;
}

.placeholder{
  border-style:dashed;
  opacity:.8;
}

.text-link{
  font-weight:700;
  text-decoration:none;
  color:var(--brand);
  transition:color .2s ease;
}

.text-link:hover{
  color:var(--accent);
}

.contact-links-shell{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:1.4rem;
  box-shadow:0 10px 30px rgba(16,34,53,.05);
}

.contact-links-shell h2{
  margin-bottom:1rem;
}

.contact-link-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}

@media (min-width:768px) and (max-width:1024px){
  .contact-link-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:767px){
  .contact-link-grid{
    grid-template-columns:1fr;
  }
}

.contact-link-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:1rem 1.1rem;
}

.contact-link-card h3{
  font-size:1rem;
  margin:0 0 .35rem;
}

.contact-link-card p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}

.contact-primary-cta{
  margin-top:1rem;
  border:1px solid #c4d8f5;
  background:#f5f9ff;
  border-radius:14px;
  padding:.95rem 1rem;
}

.contact-primary-label{
  margin:0 0 .5rem;
  color:#16529e;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
}

.contact-primary-note{
  margin:.5rem 0 0;
  font-size:.9rem;
}

.contact-link-card-primary{
  border-color:#9fc2ef;
  background:#f5f9ff;
}

.contact-link-card-primary h3{
  color:#13488a;
}

.bg-light{
  background-color:var(--surface);
}

/* Predictive maintenance decision visuals */
.decision-visuals{
  background:linear-gradient(180deg,#f4f8f5 0%,#edf3f6 100%);
}

.visual-intro{
  max-width:920px;
  margin-bottom:1.8rem;
  color:#2f3d4a;
}

.ops-card{
  margin-bottom:1.8rem;
  padding:1.4rem;
  border:1px solid #c8d5cf;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 30px rgba(27,44,59,.08);
  opacity:0;
  transform:translateY(16px);
  animation:visualReveal .6s ease-out forwards;
}

.ops-card:nth-of-type(2){
  animation-delay:.12s;
}

.ops-card:nth-of-type(3){
  animation-delay:.24s;
}

.ops-card:nth-of-type(4){
  animation-delay:.36s;
}

.ops-card-header{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:flex-start;
  margin-bottom:1rem;
}

.ops-card h3,
.ops-card h4,
.ops-kicker,
.ops-answer,
.ops-label,
.ops-table,
.rul-context p,
.ops-footnote{
  font-family:'IBM Plex Sans','Segoe UI',sans-serif;
}

.ops-kicker{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#0f766e;
  font-size:.76rem;
  font-weight:700;
}

.ops-card h3{
  font-family:'Rajdhani','IBM Plex Sans',sans-serif;
  margin:.2rem 0 0;
  font-size:1.38rem;
  letter-spacing:.01em;
}

.ops-answer{
  margin:0;
  color:#435869;
  font-weight:600;
  font-size:.93rem;
  max-width:320px;
}

.ops-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem;
  margin-bottom:.9rem;
}

.ops-summary-grid div{
  border:1px solid #d6e0db;
  border-radius:10px;
  padding:.65rem .8rem;
  background:#f7faf8;
}

.ops-label{
  display:block;
  color:#4f5f6b;
  font-size:.8rem;
}

.ops-summary-grid strong{
  color:#122938;
  font-size:1.1rem;
}

.ops-table-wrap{
  max-width:100%;
  overflow-x:auto;
  border:1px solid #d6e0db;
  border-radius:12px;
}

.ops-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}

.ops-table th,
.ops-table td{
  padding:.58rem .62rem;
  text-align:left;
  border-bottom:1px solid #e5ebe8;
  font-size:.88rem;
}

.ops-table th{
  background:#edf4f0;
  color:#1d3444;
  font-weight:700;
}

.ops-table tr:last-child td{
  border-bottom:0;
}

.ops-table tr.attention{
  background:#fff7ef;
}

.status{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:.2rem .55rem;
  font-size:.78rem;
  font-weight:700;
}

.status.healthy{
  background:#d8f3e3;
  color:#0f5132;
}

.status.watch{
  background:#fef3c7;
  color:#92400e;
}

.status.critical{
  background:#fee2e2;
  color:#991b1b;
}

.ops-footnote{
  margin:.9rem 0 0;
  font-size:.9rem;
  color:#1f3343;
}

.rul-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:1rem;
}

.rul-plot svg{
  width:100%;
  height:auto;
  border:1px solid #d8e2dc;
  border-radius:16px;
}

.rul-context{
  border:1px solid #d8e2dc;
  border-radius:16px;
  background:#f8faf9;
  padding:.9rem;
}

.rul-context p{
  margin:0 0 .65rem;
  color:#2f3f4c;
  font-size:.9rem;
}

.legend-list{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  margin-top:.75rem;
}

.legend-list span{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  color:#324351;
  font-size:.84rem;
}

.legend{
  width:22px;
  height:0;
  border-top:3px solid;
}

.legend.historical{
  border-color:#0f766e;
}

.legend.projected{
  border-color:#334155;
  border-top-style:dashed;
}

.legend.threshold{
  border-color:#b91c1c;
  border-top-style:dashed;
}

.recommendation-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.85rem;
}

.recommendation-row{
  border:1px solid #d6e0db;
  border-radius:12px;
  background:#f8fbfa;
  padding:.85rem;
}

.recommendation-row h4{
  font-family:'Rajdhani','IBM Plex Sans',sans-serif;
  margin:0 0 .5rem;
  color:#0b2a3b;
  font-size:1.08rem;
}

.recommendation-row p{
  margin:0 0 .4rem;
  color:#2f4250;
  font-size:.86rem;
}

.recommendation-row p:last-child{
  margin-bottom:0;
}

/* Industrial IoT operational visibility visuals */
.ops-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.75rem;
  margin-bottom:1rem;
}

.ops-kpi-grid div{
  border:1px solid #d6e0db;
  border-radius:12px;
  padding:.7rem .85rem;
  background:#f7faf8;
}

.ops-kpi-grid strong{
  color:#122938;
  font-size:1.08rem;
}

.ops-two-col{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.9rem;
  margin-bottom:1rem;
}

.ops-two-col > *{
  min-width:0;
}

.ops-chart-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #d8e2dc;
  border-radius:14px;
  background:#fff;
  padding:.82rem;
}

.ops-chart-card h4,
.ops-caption-grid h4,
.ops-flow-step h4{
  font-family:'Rajdhani','IBM Plex Sans',sans-serif;
  margin:0 0 .5rem;
  color:#0b2a3b;
}

.ops-chart-card p,
.ops-caption-grid p,
.ops-flow-step p,
.ops-subtitle{
  font-family:'IBM Plex Sans','Segoe UI',sans-serif;
}

.ops-trend-svg{
  width:100%;
  height:auto;
  border-radius:12px;
}

.ops-caption-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem;
}

.ops-caption-grid div{
  border:1px solid #d6e0db;
  border-radius:12px;
  padding:.75rem .8rem;
  background:#f8fbfa;
}

.ops-caption-grid h4{
  font-size:1rem;
}

.ops-caption-grid p{
  margin:0;
  color:#2f4250;
  font-size:.88rem;
}

.ops-subtitle{
  margin:.2rem 0 .8rem;
  color:#3a4f5d;
  font-size:.9rem;
}

.ops-flow{
  display:grid;
  gap:.45rem;
  margin-bottom:.9rem;
}

.ops-flow-step{
  border:1px solid #d6e0db;
  border-radius:12px;
  background:#f8fbfa;
  padding:.8rem;
}

.ops-flow-step p{
  margin:0;
  color:#304351;
  font-size:.88rem;
}

.ops-flow-step.bronze{
  background:#fff7ec;
}

.ops-flow-step.silver{
  background:#f3f6fb;
}

.ops-flow-step.gold{
  background:#fffbea;
}

.ops-flow-step.visibility{
  background:#ecf8f5;
}

.ops-flow-arrow{
  justify-self:center;
  color:#355062;
  font-size:1.1rem;
  line-height:1;
}

.ops-outcome-cards{
  margin-top:.8rem;
}

.ops-outcome-cards h3{
  margin-bottom:.4rem;
}

@keyframes visualReveal{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .ops-card{
    opacity:1;
    transform:none;
    animation:none;
  }
}

@media (max-width:1000px){
  .ops-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ops-card-header{
    flex-direction:column;
  }

  .rul-grid,
  .recommendation-grid,
  .ops-two-col,
  .ops-caption-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .ops-kpi-grid,
  .ops-summary-grid{
    grid-template-columns:1fr;
  }
}

/* Print styles */
@media print{
  .navbar,.footer,.btn,.consent-banner{
    display:none!important;
  }
  
  .hero-section{
    background:none!important;
    color:#000!important;
  }
}
