/* =========================================================
   NEXUS CONSULTING PARTNERS - STYLESHEET (Template 261)
   Matching cover.jpg Layout, Hero & Components
   ========================================================= */

:root {
  --primary-navy: #0f172a;
  --primary-blue: #005fa3;
  --accent-blue: #0284c7;
  --light-blue: #e0f2fe;
  --sky-blue: #38bdf8;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --badge-red: #ef4444;
  --badge-green: #10b981;
  --badge-gold: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Max Container Constraint */
.container {
  width: 100%;
  max-width: 1560px !important;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* =========================================================
   TOP ANNOUNCEMENT BAR
   ========================================================= */
.top-announcement-bar {
  background-color: #0b1329;
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: #cbd5e1;
  transition: var(--transition);
}

.top-bar-right a:hover {
  color: #ffffff;
}

.top-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   HEADER & NAVBAR (matching cover.jpg)
   ========================================================= */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.02);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

.nav-badge {
  background: var(--badge-red);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.header-icon-btn:hover {
  background: #e2e8f0;
  color: var(--primary-blue);
}

.header-cart-btn {
  position: relative;
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.header-cart-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* =========================================================
   HERO BANNER (exact match of cover.jpg)
   Two executives analyzing charts, calculator & pen on desk
   Centered translucent overlay card with text
   ========================================================= */
.hero-banner {
  position: relative;
  height: 520px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.hero-center-box {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 38px 48px;
  max-width: 880px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  margin: 0 20px;
}

.hero-center-box h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #ffffff;
}

.hero-center-box p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}

.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   PAGE HERO (Interior Pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 55px 0 45px;
  border-bottom: 3px solid var(--accent-blue);
}

.page-hero-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   SECTION 2: 2-COLUMN STRATEGY SHOWCASE (exact match of cover.jpg)
   Left: Vertical meeting photo (img_2.jpg)
   Right: Title, text & 3 icon bullet points
   ========================================================= */
.cover-feature-section {
  padding: 85px 0 65px;
  background-color: #ffffff;
}

.cover-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.cover-feature-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-height: 600px;
}

.cover-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cover-feature-media:hover img {
  transform: scale(1.03);
}

.cover-feature-content {
  display: flex;
  flex-direction: column;
}

.cover-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.cover-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cover-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 30px;
}

.cover-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cover-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.cover-bullet-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--light-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.cover-bullet-item:hover .cover-bullet-icon {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.cover-bullet-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.cover-bullet-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   KPIS SECTION
   ========================================================= */
.kpi-section {
  padding: 50px 0;
  background-color: var(--primary-navy);
  color: #ffffff;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.kpi-item {
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi-item:last-child {
  border-right: none;
}

.kpi-val {
  font-size: 2.6rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
  margin-bottom: 6px;
}

.kpi-label {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* =========================================================
   SERVICES & ADVISORY PRACTICES SECTION
   ========================================================= */
.services-section {
  padding: 70px 0 90px;
  background-color: var(--bg-light);
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

@media (min-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.service-media {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #0f172a;
  display: block;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.08);
}

/* Badges */
.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}

.service-badge.sale {
  background: var(--badge-red);
}

.service-badge.gold {
  background: var(--badge-gold);
}

/* Quick Add Button in Black Rounded Square - matching cover.jpg top right */
.btn-quick-bag {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-quick-bag:hover {
  background: var(--accent-blue);
  transform: scale(1.08);
}

/* Service Info */
.service-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-title a {
  color: inherit;
  transition: color 0.2s;
}

.service-title a:hover {
  color: var(--accent-blue);
}

.service-specs {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-prefix {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-current {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.price-old {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.btn-add-cart {
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

/* =========================================================
   TEAM / SENIOR PARTNERS SECTION
   ========================================================= */
.team-section {
  padding: 70px 0 90px;
  background-color: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.team-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.team-media {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #1e293b;
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-media img {
  transform: scale(1.05);
}

.team-body {
  padding: 24px;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================================
   PRODUCT / PRACTICE DETAIL PAGE (prodotto.php)
   ========================================================= */
.breadcrumb-bar {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  font-size: 0.85rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--primary-blue);
}

.bc-sep {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.bc-current {
  color: var(--primary-navy);
  font-weight: 700;
}

.product-detail-section {
  padding: 45px 0 85px;
  background-color: #ffffff;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.prod-gallery-wrap {
  position: sticky;
  top: 100px;
}

.prod-main-view {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.prod-img-stage {
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-img-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-highlight-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.chip-item {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-item i {
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.chip-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary-navy);
}

.chip-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.prod-info-wrap {
  display: flex;
  flex-direction: column;
}

.prod-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.prod-category-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 1.5px;
}

.prod-sku {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.prod-detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 14px;
}

.prod-price-panel {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-blue);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.price-figures {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.detail-price-current {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1;
}

.detail-price-old {
  font-size: 1.25rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.detail-discount-badge {
  background: var(--badge-red);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.price-notes {
  font-size: 0.85rem;
  color: #475569;
}

.prod-lead-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.prod-specs-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.spec-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  width: 170px;
  font-weight: 700;
  color: var(--primary-navy);
  flex-shrink: 0;
}

.spec-value {
  color: var(--text-secondary);
  flex: 1;
}

.prod-purchase-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.btn-qty-adj {
  background: var(--bg-light);
  border: none;
  width: 38px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
}

.qty-picker input {
  width: 48px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.action-buttons-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}

.btn-primary-action {
  flex: 1;
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-primary-action:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-whatsapp-action {
  background: #25d366;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-whatsapp-action:hover {
  background: #1eb854;
  color: #ffffff;
  transform: translateY(-2px);
}

.prod-trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
}

.trust-item i {
  color: var(--accent-blue);
  font-size: 1.1rem;
  margin-top: 2px;
}

.trust-item strong {
  display: block;
  color: var(--primary-navy);
  font-size: 0.85rem;
}

.trust-item span {
  color: var(--text-muted);
}

/* Tabs */
.prod-tabs-container {
  margin: 50px 0 70px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tabs-header {
  display: flex;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.detail-tab-btn {
  padding: 18px 28px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.detail-tab-btn:hover {
  color: var(--primary-navy);
}

.detail-tab-btn.active {
  color: var(--primary-navy);
  background: #ffffff;
  border-bottom-color: var(--primary-blue);
}

.tabs-body {
  padding: 36px 32px;
}

.detail-tab-pane {
  display: none;
}

.detail-tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.tab-prose h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.tab-prose p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tab-prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-table th, .tech-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  text-align: left;
}

.tech-table th {
  width: 28%;
  background: var(--bg-light);
  color: var(--primary-navy);
  font-weight: 700;
}

.tech-table td {
  color: var(--text-secondary);
}

/* =========================================================
   BUTTONS & GENERAL COMPONENTS
   ========================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--primary-navy);
  border: 1.5px solid var(--border-color);
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--primary-navy);
  background-color: var(--bg-subtle);
}

.btn-hero-primary {
  background: #38bdf8;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* =========================================================
   CART / QUOTE DRAWER
   ========================================================= */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1200;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.cart-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.cart-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.cart-empty-state i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 75px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: #0f172a;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.88rem;
  color: var(--primary-blue);
  font-weight: 800;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--badge-red);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-light);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.cart-subtotal-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-blue);
}

.btn-whatsapp-order {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-whatsapp-order:hover {
  background: #1eb854;
}

/* =========================================================
   FOOTER (clean corporate architecture)
   ========================================================= */
.site-footer {
  background-color: var(--primary-navy);
  color: #cbd5e1;
  padding: 70px 0 30px;
  border-top: 3px solid var(--accent-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo img {
  margin-bottom: 18px;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 20px;
}

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

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.88rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-links li a i {
  font-size: 0.7rem;
  color: var(--accent-blue);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-contact-list li i {
  color: #38bdf8;
  font-size: 1rem;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 10px;
}

.footer-legal-links a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1024px) {
  .cover-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cover-feature-media {
    max-height: 440px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 52px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.show {
    display: flex;
  }
  .hero-banner {
    height: 440px;
  }
  .hero-center-box {
    padding: 24px 20px;
  }
  .hero-center-box h1 {
    font-size: 1.55rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .prod-highlight-chips {
    grid-template-columns: 1fr;
  }
  .prod-trust-list {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Responsive Layout Grid Utilities */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-split-responsive {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.grid-split-rev-responsive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.grid-3col-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4col-responsive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-4col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Safeguard Rules */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


/* Comprehensive Mobile Polish (360px - 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* Ensure tap targets are comfortable */
  button, .btn, .nav-link, a.btn {
    min-height: 42px;
  }
  
  /* Prevent font clipping on smaller devices */
  h1, .hero-title, .page-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
    line-height: 1.25 !important;
  }
  h2, .section-title, .shelf-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
    line-height: 1.3 !important;
  }
  
  /* Tables wrapper for smooth touch scrolling */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  /* Single column cards for small phones */
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Full width forms and buttons */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    width: 100% !important;
    box-sizing: border-box;
  }
}
