/* =========================================================
   SYNERGIC INFORMATION SOLUTIONS — CONSOLIDATED STYLESHEET
   Replaces the previous stylesheet.
   Brand: Synergic Red #DA121C | Charcoal #585959
   ========================================================= */

/* 1. DESIGN TOKENS */
:root {
  --page-bg: #F8F5F0;
  --card-bg: #FFFFFF;
  --card-hover-bg: #FFFEFC;
  --soft-bg: #F1EEE8;

  --brand-red: #DA121C;
  --brand-red-dark: #B30E17;
  --brand-red-light: #FFF1F1;
  --charcoal: #585959;

  --heading-color: #292724;
  --text-color: #77716B;
  --muted-color: #A39B92;

  --border-color: #EAE6E0;
  --border-hover: #DED5CA;

  --card-radius: 16px;
  --card-shadow: 0 2px 12px rgba(45, 35, 25, 0.035);
  --card-shadow-hover: 0 8px 24px rgba(45, 35, 25, 0.08);

  --transition: 250ms ease;
}

/* 2. RESET AND BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background: var(--page-bg);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p {
  margin-bottom: 0.85rem;
  color: #4a4a4a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. TOPBAR — intentionally hidden site-wide */
.topbar {
  display: none !important;
}

/* 4. LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: opacity 150ms ease;
}

.logo:hover .logo-img {
  opacity: 0.88;
}

/* Fallback mark for pages that use a text-based logo */
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #a30d15 100%);
  display: inline-block;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #fff;
  border-radius: 3px;
}

/* 5. HEADER AND NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--page-bg);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: #1D1C1C;
  transition: color 200ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-red);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #111;
  padding: 8px;
}

/* Header call-to-action */
header .btn,
header .btn-dark,
header .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  background-color: var(--brand-red);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

header .btn:hover,
header .btn-dark:hover,
header .btn-primary:hover {
  background-color: #A30D15;
}

/* 6. BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(218, 18, 28, 0.25);
}

.btn-outline {
  background: transparent;
  color: #111;
  border: 1.5px solid #d0d0d0;
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* 7. HOMEPAGE HERO */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(135deg, #fafafa 0%, #f0f2f5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.08rem;
  color: #555;
  margin-bottom: 22px;
  max-width: 560px;
}

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

.hero-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.hero-card .mini {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.hero-card h3 {
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.partner-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  border: 1px solid #eee;
  transition: all 200ms ease;
}

.partner:hover {
  background: #fff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(218, 18, 28, 0.1);
}

.partner-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}

.partner-name {
  line-height: 1.2;
}

/* 8. SECTIONS AND STATS */
section {
  padding: 72px 0;
}

section.soft {
  background: #f7f8fa;
}

section.band {
  background: var(--charcoal);
  color: #fff;
  padding: 48px 0;
}

section.band .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.85rem;
  color: #ccc;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 10px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: #666;
  font-size: 1rem;
}

/* 9. GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* 10. CARDS */
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 28px;
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #ddd;
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fef2f2;
  color: var(--brand-red);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.card h3 {
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 14px;
}

.card .arrow {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 0.88rem;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #f0f0f0;
}

/* 11. PARTNER GRID */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 250ms ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.partner-card .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.partner-card .logo-row img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #eee;
}

.partner-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* 12. PRODUCT HERO */
.product-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.product-box {
  background: linear-gradient(135deg, #585959 0%, #2f3030 100%);
  color: #fff;
  border-radius: 14px;
  padding: 32px;
}

.product-box h2 {
  color: #fff;
  margin-bottom: 12px;
}

.product-box p {
  color: #ccc;
  margin: 0;
}

.product-box .kicker {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.product-hero .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 10px;
}

/* 13. CHECKLIST */
.checklist {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--brand-red);
  font-weight: 800;
}

/* 14. CTA */
.cta {
  background: linear-gradient(135deg, var(--brand-red) 0%, #a30d15 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cta .kicker {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.cta .btn-primary {
  background: #fff;
  color: var(--brand-red);
}

.cta .btn-primary:hover {
  background: #f0f0f0;
}

/* 15. FORMS */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.form .full {
  grid-column: 1 / -1;
}

.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  transition: border 200ms ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(218, 18, 28, 0.1);
}

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

.form-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fef2f2;
  color: var(--brand-red);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

/* 16. INNER PAGE HEROES */
.page-hero {
  position: relative;
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 0%, rgba(26, 27, 28, 0.4) 0%),
    url('images/page-bg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

.page-hero-about {
  position: relative;
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 0%, rgba(26, 27, 28, 0.4) 0%),
    url('images/heropage-about.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}
.page-hero-Brics {
  position: relative;
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 0%, rgba(26, 27, 28, 0.4) 0%),
    url('images/bricscadlite.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}
.page-hero-cart {
  position: relative;
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 0%, rgba(26, 27, 28, 0.4) 0%),
    url('images/cart.png') center center / cover no-repeat;
  background-attachment: fixed;
}

.page-hero-contact {
  position: relative;
  padding: 100px 0;
  
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 0%, rgba(26, 27, 28, 0.4) 0%),
    url('images/heropage-contact.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}


/* E-store hero: image-only banner; HTML text is intentionally hidden */
.page-hero-estore {
  position: relative;
  width: 100%;
  height: 480px;
  padding: 0;
  margin-bottom: 0;
  background: url('images/estore-bg.png') center top / contain no-repeat;
  background-color: #0b1c30;
}

.page-hero-estore .container {
  display: none;
}

.page-hero .container,
.page-hero-Brics .container,
.page-hero-about .container,
.page-hero-contact .container,
.page-hero-cart .container,
.page-hero-estore .container {
  position: relative;
  z-index: 2;
}

.page-hero h1,
.page-hero-about h1,
.page-hero-Brics h1,
.page-hero-cart  h1,
.page-hero-contact h1,
.page-hero-estore h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-hero .lead,
.page-hero-about .lead,
.page-hero-Brics .lead,
.page-hero-cart  .lead
.page-hero-contact .lead,
.page-hero-estore .lead {
  color:#ffffff ;
  font-size: 1.15rem;
  max-width: 700px;
  line-height: 1.6;
}

.page-hero .breadcrumb,
.page-hero-about .breadcrumb,
.page-hero-Brics .breadcrumb,
.page-hero-cart  .breadcrumb,
.page-hero-contact .breadcrumb,

.page-hero-estore .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* 17. FOOTER */
footer {
  display: block;
  width: 100%;
  background: #1c1d1d;
  color: #b8b8b8;
  padding: 64px 0 0;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

footer .logo {
  color: #fff;
  margin-bottom: 20px;
}

footer .logo-img,
footer .logo-img-footer {
  height: 54px;
  max-width: 260px;
}

footer p {
  font-size: 0.88rem;
  color: #999;
  margin-bottom: 8px;
}

footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

footer a {
  color: #b8b8b8;
  font-size: 0.88rem;
  transition: color 200ms ease;
}

footer a:hover {
  color: var(--brand-red);
}

footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 48px;
}

footer .footer-grid > * {
  min-width: 0;
}

footer .footer-bottom {
  width: 100%;
  border-top: 1px solid #2c2d2d;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #777;
}

/* 18. TABLET */
@media (max-width: 960px) {
  .logo-img {
    height: 40px;
    max-width: 200px;
  }

  footer .logo-img,
  footer .logo-img-footer {
    height: 48px;
    max-width: 230px;
  }

  .hero-grid,
  .product-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3,
  .grid-4,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  footer .footer-bottom {
    flex-wrap: wrap;
  }

  .cta {
    padding: 32px;
  }
}

/* 19. MOBILE */
@media (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    padding: 0;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: 64px;
    padding: 12px 16px;
  }

  .logo-img {
    height: 34px;
    max-width: 160px;
  }

  footer .logo-img,
  footer .logo-img-footer {
    height: 42px;
    max-width: 200px;
  }

  .nav > .btn-primary,
  .nav > .btn,
  .nav > .btn-dark {
    display: none;
  }

  .mobile-toggle {
    display: block;
    margin: 0;
    order: 2;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 24px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 32px;
  }

  .grid-3,
  .grid-4,
  .partner-grid,
  .partner-stack {
    grid-template-columns: 1fr;
  }

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

  .form .full {
    grid-column: auto;
  }

  .stats,
  section.band .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero,
  .page-hero-about,
  .page-hero-Brics,
  .page-hero-cart, 
  .page-hero-contact {
    min-height: 400px;
    padding: 80px 0 60px;
    background-attachment: scroll;
  }

  /* Keep the e-store image banner in its own image-fit layout */
  .page-hero-estore {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 6;
    padding: 0;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .cta .btn {
    margin-top: 20px;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer .footer-grid > * {
    text-align: center;
  }

  footer .logo {
    justify-content: center;
  }

  footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  section {
    padding: 52px 0;
  }
}

/* 20. SMALL MOBILE */
@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 52px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }


  .page-hero h1,
  .page-hero-about h1
  .page-hero-Brics h1
  .page-hero-contact h1 {
    font-size: 2rem;
  }

  .cta {
    padding: 28px 20px;
  }

  footer {
    padding-top: 48px;
  }
}
/* ============================================================
   ESTORE PRODUCT IMAGE FIX
   ============================================================ */
.store-grid .product-card img,
#storeGrid img {
  width: 100%;
  height: 180px;           /* Forces a uniform height */
  object-fit: contain;     /* Prevents cropping */
  padding: 20px;           /* Adds breathing room */
  background: #F8FAFC;     /* Light grey background */
  border-bottom: 1px solid #E2E8F0;
  border-radius: 12px 12px 0 0;
}

/* Ensure the text content aligns perfectly */
.store-grid .product-card .card-body,
#storeGrid .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-grid .product-card p,
#storeGrid .card-body p {
  flex: 1; /* Pushes the price to the bottom */
}
