/* Compact + refined site scale */
:root {
  --wrap: 1040px;
  --radius: 1rem;
  --shadow: 0 14px 34px rgba(26, 50, 104, .09);
  --shadow-soft: 0 8px 20px rgba(26, 50, 104, .06);
}

body {
  font-size: 15px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 1.6rem));
}

/* Global density */
.section { padding: 2.15rem 0; }
.section-tight { padding: .95rem 0 .25rem; }
.section-band {
  margin: .25rem 0;
  padding: 2rem 0;
}
.section-head {
  margin-bottom: 1rem;
  gap: .65rem;
  align-items: end;
}
.section-kicker {
  font-size: .7rem;
  letter-spacing: .14em;
  margin-bottom: .28rem;
}
.section-head h2,
.section-head-center h2 {
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  margin: 0 0 .28rem;
  letter-spacing: -.01em;
}
.section-head p,
.section-head-center p {
  font-size: .9rem;
  line-height: 1.65;
  max-width: 34rem;
}

.btn {
  padding: .62rem 1.05rem;
  font-size: .88rem;
  border-radius: .8rem;
}
.btn-ghost { backdrop-filter: blur(6px); }

/* Hero compact + cleaner */
.hero-bleed { min-height: auto; }
.hero-content {
  padding: 1.85rem 0 2rem;
  max-width: 580px;
}
.hero-tagline {
  margin: 0 0 .55rem;
  font-size: .68rem;
  letter-spacing: .14em;
}
.hero-content h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.32;
  max-width: 18ch;
}
.hero-content .lead {
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.7;
  max-width: 32rem;
}
.hero-actions { gap: .55rem; }
.hero-media::after { height: 90px; }

/* Page heroes (inner pages) */
.page-hero {
  padding: 1.55rem 0 1.1rem;
}
.page-hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 .4rem;
  line-height: 1.3;
}
.page-hero p {
  font-size: .92rem;
  line-height: 1.65;
  max-width: 36rem;
  margin: 0;
}

/* Trust strip */
.trust {
  margin-top: -.45rem;
  border-radius: .95rem;
  overflow: hidden;
  border: 1px solid rgba(26,50,104,.08);
  background: linear-gradient(180deg, #fff, #f7f9fc);
  box-shadow: 0 8px 22px rgba(26,50,104,.05);
}
.trust-item {
  padding: .8rem .9rem;
}
.trust-item strong {
  font-size: .94rem;
  margin-bottom: .2rem;
}
.trust-item span {
  font-size: .84rem;
  line-height: 1.6;
}

/* Categories */
.cat-grid { gap: .75rem; }
.cat-tile {
  min-height: 104px;
  padding: .95rem .95rem;
  border-radius: .95rem;
  border: 1px solid rgba(26,50,104,.1);
  background:
    radial-gradient(380px 140px at 100% 0%, rgba(227,6,19,.07), transparent 55%),
    linear-gradient(160deg, #fff, #f4f7fb);
  box-shadow: 0 6px 16px rgba(26,50,104,.04);
}
.cat-tile strong {
  font-size: 1rem;
  margin-bottom: .22rem;
}
.cat-tile span { font-size: .84rem; }
.cat-tile:hover {
  border-color: rgba(31,61,122,.22);
  box-shadow: 0 10px 24px rgba(26,50,104,.08);
}

/* Products */
.product-grid { gap: .8rem; }
.product-card {
  border-radius: .95rem;
  overflow: hidden;
  border: 1px solid rgba(26,50,104,.08);
  box-shadow: 0 6px 16px rgba(26,50,104,.04);
  background: #fff;
}
.product-card:hover {
  border-color: rgba(31,61,122,.18);
  box-shadow: 0 12px 28px rgba(26,50,104,.09);
}
.product-card .thumb {
  aspect-ratio: 16/10;
  font-size: 1.05rem;
}
.product-card .body { padding: .85rem .9rem .95rem; }
.product-card h3 { font-size: .95rem; margin: 0 0 .25rem; }
.product-card .desc {
  font-size: .84rem;
  min-height: 2.4em;
  margin: 0 0 .65rem;
  line-height: 1.55;
}
.price { font-size: .98rem; }
.product-card .meta .btn {
  padding: .4rem .75rem;
  font-size: .8rem;
}

/* News */
.news-grid { gap: .8rem; }
.news-card {
  border-radius: .95rem;
  border: 1px solid rgba(26,50,104,.08);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(26,50,104,.04);
}
.news-card:hover {
  border-color: rgba(31,61,122,.18);
  box-shadow: 0 12px 28px rgba(26,50,104,.09);
}
.news-body { padding: .85rem .9rem .95rem; }
.news-body time { font-size: .74rem; margin-bottom: .25rem; }
.news-body h3 { font-size: .95rem; margin: 0 0 .35rem; line-height: 1.4; }
.news-body p { font-size: .84rem; margin: 0 0 .6rem; line-height: 1.6; }
.text-link { font-size: .84rem; }

/* Process / team / partners */
.process-grid,
.team-grid { gap: .75rem; }
.process-step {
  padding: 1rem .95rem 1.05rem;
  border-radius: .95rem;
  border: 1px solid rgba(26,50,104,.08);
  background: #fff;
}
.process-step::before { font-size: 2.5rem; top: .3rem; }
.process-step strong { font-size: .96rem; margin: .2rem 0 .35rem; }
.process-step p { font-size: .86rem; line-height: 1.65; }
.team-card {
  padding: 1rem .9rem 1.05rem;
  border-radius: .95rem;
  border: 1px solid rgba(26,50,104,.08);
  background: #fff;
}
.team-photo { width: 78px; height: 78px; margin-bottom: .7rem; font-size: 1.4rem; }
.team-card h3 { font-size: 1rem; }
.team-role { font-size: .84rem; margin-bottom: .45rem; }
.team-bio { font-size: .84rem; line-height: 1.6; }
.partners-grid { gap: .65rem; }
.partner-item {
  min-height: 78px;
  padding: .7rem .65rem;
  border-radius: .85rem;
}

/* Quality / about */
.about-grid, .quality-grid { gap: .9rem; }
.about-card, .quality-copy {
  padding: 1.15rem 1.1rem;
  border-radius: .95rem;
}
.about-card h2, .quality-copy h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0 0 .55rem;
}
.about-card p, .quality-copy p {
  font-size: .9rem;
  line-height: 1.75;
}
.about-visual, .quality-visual { padding: 1.15rem .85rem; }
.about-visual img, .quality-visual img {
  width: min(180px, 86%);
  max-width: 180px;
}
.about-pillar-nav { gap: .35rem; margin-bottom: .15rem; }
.about-pillar-nav a {
  padding: .4rem .7rem;
  font-size: .82rem;
  border-radius: .7rem;
}
.about-pillars { gap: 1.4rem; }

/* FAQ / CTA / footer */
.faq-item summary {
  padding: .65rem 0;
  font-size: .94rem;
}
.faq-item p {
  font-size: .86rem;
  line-height: 1.65;
  padding-bottom: .6rem;
}
.cta-band { padding: 1.85rem 0; margin-top: .35rem; }
.cta-inner { gap: .85rem; }
.cta-inner h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin: 0 0 .3rem;
}
.cta-inner p {
  font-size: .88rem;
  line-height: 1.65;
}
/* Footer density handled by footer-premium.css */

/* Contact / products / careers / blog compact */
.contact-layout,
.careers-layout,
.detail { gap: .85rem; }
.panel {
  padding: 1.05rem;
  border-radius: .95rem;
  border: 1px solid rgba(26,50,104,.08);
  background: #fff;
  box-shadow: 0 6px 16px rgba(26,50,104,.04);
}
.panel h2 { font-size: 1.1rem; margin: 0 0 .7rem; }
.form-grid { gap: .65rem; }
label { font-size: .88rem; }
input, select, textarea {
  padding: .65rem .8rem;
  border-radius: .7rem;
  font-size: .92rem;
}
.filters { gap: .35rem; margin-bottom: .85rem; }
.filters a {
  padding: .38rem .75rem;
  font-size: .82rem;
  border-radius: .7rem;
}
.gallery-grid { gap: .65rem; }
.gallery-item {
  min-height: 160px;
  border-radius: .85rem;
  overflow: hidden;
  border: 1px solid rgba(26,50,104,.08);
  box-shadow: 0 6px 16px rgba(26,50,104,.04);
}
.gallery-item img { min-height: 160px; }
.gallery-meta { padding: .65rem .75rem .6rem; }
.gallery-meta strong { font-size: .88rem; }
.gallery-meta small { font-size: .76rem; }
.career-card {
  padding: 1rem .95rem;
  border-radius: .95rem;
  border: 1px solid rgba(26,50,104,.08);
  background: #fff;
  box-shadow: 0 6px 16px rgba(26,50,104,.04);
}
.career-card h2 { font-size: 1.05rem; }
.career-meta { font-size: .82rem; }
.career-body h3 { font-size: .9rem; }
.career-body p { font-size: .86rem; line-height: 1.65; }
.post-layout { max-width: 700px; }
.post-card {
  padding: 1.05rem;
  border-radius: .95rem;
}
.post-card p { font-size: .94rem; line-height: 1.8; }
.post-cover { border-radius: .8rem; margin-bottom: .85rem; }

/* Product detail */
.detail-media, .detail-info { padding: 1.1rem; border-radius: .95rem; }
.detail-info h1 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin: 0 0 .4rem;
}
.detail-info .price { font-size: 1.25rem; margin: .55rem 0; }
.detail-info p,
.detail-lead,
.detail-body {
  font-size: .9rem;
  line-height: 1.75;
}

/* Empty / alert states */
.empty-state,
.alert {
  padding: .85rem 1rem;
  border-radius: .85rem;
  font-size: .9rem;
}

/* Home fine-tune */
.home-page .section { padding: 1.85rem 0; }
.home-page .section-tight { padding: .75rem 0 .15rem; }
.home-page .section-band { padding: 1.75rem 0; }
.home-page .hero-content { padding: 1.65rem 0 1.75rem; }
.home-page .trust { margin-top: -.7rem; }
.home-page .cat-tile { min-height: 98px; padding: .9rem; }
.home-page .cta-band { padding: 1.7rem 0; }

@media (max-width: 980px) {
  .section { padding: 1.7rem 0; }
  .page-hero { padding: 1.25rem 0 .9rem; }
  .hero-content { padding: 1.5rem 0 1.7rem; }
  .trust-item { padding: .75rem; }
  .product-grid,
  .news-grid,
  .cat-grid,
  .process-grid,
  .team-grid,
  .gallery-grid {
    gap: .65rem;
  }
  .panel,
  .career-card,
  .about-card,
  .quality-copy {
    padding: .95rem;
  }
}
