/* CELSON Ceiling Framing — Page-specific CSS */

/* ===== Subpage Nav ===== */
    .subpage-nav {
      position: sticky; top: 72px; z-index: 999;
      background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .subpage-nav .container {
      display: flex; align-items: center; justify-content: space-between; height: 48px;
    }
    .subpage-nav-links { display: flex; gap: 32px; }
    .subpage-nav-links a {
      font-size: 13px; font-weight: 600; color: var(--slate-500);
      padding: 4px 0; border-bottom: 2px solid transparent; transition: all 0.2s;
    }
    .subpage-nav-links a:hover,
    .subpage-nav-links a.active { color: var(--green-600); border-bottom-color: var(--green-600); }
    .subpage-nav .btn-sm { padding: 6px 18px; font-size: 12px; }

    /* ===== Hero ===== */
    .hero-wrap { background: transparent; }
    .hero-section {
      display: flex; align-items: center; gap: 32px;
      max-width: 1060px; margin: 0 auto; padding: 40px 32px;
      background: #F0FDF4; border-radius: 20px;
      box-shadow: 0 2px 16px rgba(21,128,61,0.05);
    }
    .hero-content { flex: 1; min-width: 0; }
    .hero-badge {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 6px 16px; background: var(--green-100); border-radius: 20px;
      font-size: 12px; font-weight: 700; color: var(--green-600);
      margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em;
    }
    .hero-headline {
      font-family: var(--font-display); font-size: 36px; font-weight: 700;
      line-height: 1.15; color: var(--navy-900); margin-bottom: 12px; letter-spacing: -0.02em;
    }
    .hero-subheadline {
      font-size: 16px; color: var(--slate-500); line-height: 1.5; margin-bottom: 20px;
    }
    .hero-buttons { display: flex; gap: 14px; }
    .btn-specs {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 14px 32px; background: var(--green-600); color: var(--white);
      font-size: 15px; font-weight: 700; border-radius: 8px; transition: all 0.2s;
    }
    .btn-specs:hover { background: var(--green-700); transform: translateY(-1px); }
    .btn-catalog {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 14px 32px; background: var(--white); color: var(--green-600);
      font-size: 15px; font-weight: 600; border: 2px solid var(--green-100); border-radius: 8px; transition: all 0.2s;
    }
    .btn-catalog:hover { background: #F0FDF4; transform: translateY(-1px); }
    .hero-image {
      flex: 0 0 440px; height: 280px; background: var(--slate-100); border-radius: 24px; overflow: hidden;
    }
    .hero-image img { width: 100%; height: 100%; object-fit: cover; }

    /* ===== Specs Section ===== */
    .specs-section { background: var(--white); padding: 48px 0; border-radius: 20px; max-width: 1060px; margin: 0 auto 24px; box-shadow: 0 2px 16px rgba(21,128,61,0.05); }
    .specs-section .container { max-width: 980px; }
    .section-label {
      font-size: 12px; font-weight: 700; color: var(--green-600); text-transform: uppercase;
      letter-spacing: 0.08em; margin-bottom: 8px;
    }
    .section-heading {
      font-family: var(--font-display); font-size: 32px; font-weight: 700;
      color: var(--navy-900); margin-bottom: 8px; letter-spacing: -0.02em;
    }
    .specs-table-wrap { border-radius: 12px; overflow: hidden; }
    .specs-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--slate-200); border-radius: 16px; overflow: hidden; }
    .specs-table thead th {
      background: #F0FDF4; padding: 10px 16px;
      font-size: 12px; font-weight: 700; color: var(--green-600); text-align: left;
      text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--slate-200);
    }
    .specs-table thead th:first-child { width: 22%; }
    .specs-table thead th:nth-child(2) { width: 20%; }
    .specs-table thead th:nth-child(3) { width: 22%; }
    .specs-table thead th:nth-child(4) { width: 18%; }
    .specs-table thead th:nth-child(5) { width: 18%; }
    .specs-table tbody td {
      padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--slate-200);
    }
    .specs-table tbody td:first-child { font-weight: 700; color: var(--navy-900); }
    .specs-table tbody tr:nth-child(even) td { background: #F8FAFC; }
    .specs-table tbody tr:last-child td { border-bottom: none; }

    /* ===== Product Types Section ===== */
    .products-section { background: #F0FDF4; padding: 48px 0; border-radius: 20px; max-width: 1060px; margin: 0 auto 24px; box-shadow: 0 2px 16px rgba(21,128,61,0.05); }
    .products-section .container { max-width: 980px; }
    .bento-grid {
      display: flex; gap: 20px;
    }
    .bento-left { flex: 1; }
    .bento-right { flex: 1; display: flex; flex-direction: column; gap: 20px; }
    .bento-card {
      background: #F8FAFC; border-radius: 12px; overflow: hidden;
      transition: transform 0.25s, box-shadow 0.25s;
    }
    .bento-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
    .bento-card-large { display: flex; flex-direction: column; }
    .bento-card-large .bento-img { width: 100%; height: 340px; overflow: hidden; }
    .bento-card-large .bento-img img { width: 100%; height: 100%; object-fit: cover; }
    .bento-card-large .bento-body { padding: 24px 28px 28px; }
    .bento-card-small { display: flex; flex: 1; }
    .bento-card-small .bento-img { flex: 0 0 260px; overflow: hidden; }
    .bento-card-small .bento-img img { width: 100%; height: 100%; object-fit: cover; }
    .bento-card-small .bento-body {
      flex: 1; padding: 24px; display: flex; flex-direction: column; justify-content: center;
    }
    .bento-tag {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700;
      margin-bottom: 8px; width: fit-content;
    }
    .bento-tag-green { background: var(--green-600); color: var(--white); }
    .bento-tag-blue { background: #0EA5E9; color: var(--white); }
    .bento-tag-purple { background: #8B5CF6; color: var(--white); }
    .bento-tag-amber { background: #F59E0B; color: var(--navy-900); }
    .bento-card-large .bento-title {
      font-family: var(--font-display); font-size: 20px; font-weight: 700;
      color: var(--navy-900); margin-bottom: 8px;
    }
    .bento-card-small .bento-title {
      font-family: var(--font-display); font-size: 18px; font-weight: 700;
      color: var(--navy-900); margin-bottom: 8px;
    }
    .bento-desc {
      font-size: 13px; color: #64748B; line-height: 1.54;
    }

    /* ===== Applications Section ===== */
    .apps-section { background: var(--white); padding: 48px 0; border-radius: 20px; max-width: 1060px; margin: 0 auto 24px; box-shadow: 0 2px 16px rgba(21,128,61,0.05); }
    .apps-section .container { max-width: 980px; }

    /* ===== CTA Section ===== */
    .cta-section {
      background: var(--green-600); padding: 48px 0; text-align: center;
      border-radius: 20px; max-width: 1060px; margin: 0 auto 24px;
    }
    .cta-section .container { max-width: 700px; }
    .cta-heading {
      font-family: var(--font-display); font-size: 40px; font-weight: 700;
      color: var(--white); margin-bottom: 16px;
    }
    .cta-subheadline {
      font-size: 17px; color: #DCFCE7; line-height: 1.65; margin-bottom: 32px;
    }
    .cta-buttons { display: flex; justify-content: center; gap: 16px; }
    .btn-quote {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 16px 40px; background: var(--white); color: var(--green-600);
      font-size: 16px; font-weight: 700; border-radius: 10px; transition: all 0.2s;
    }
    .btn-quote:hover { background: #F0FDF4; transform: translateY(-1px); }
    .btn-dl {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 16px 40px; background: #16A34A; color: var(--white);
      font-size: 16px; font-weight: 600; border-radius: 10px; transition: all 0.2s;
    }
    .btn-dl:hover { background: #15803D; transform: translateY(-1px); }

    /* ===== Responsive ===== */
    @media (max-width: 1024px) {
      .hero-section { flex-direction: column; padding: 40px 28px; gap: 32px; }
      .hero-image { flex: none; width: 100%; height: 240px; }
      .hero-headline { font-size: 32px; }
      .bento-grid { flex-direction: column; }
      .bento-card-small .bento-img { flex: 0 0 200px; }
      .apps-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .hero-section { padding: 32px 20px; gap: 28px; }
      .hero-headline { font-size: 28px; }
      .hero-buttons { flex-direction: column; }
      .subpage-nav { display: none; }
      .specs-table-wrap { overflow-x: auto; }
      .bento-card-small { flex-direction: column; }
      .bento-card-small .bento-img { flex: none; height: 200px; }
      .cta-buttons { flex-direction: column; align-items: center; }
    }
  
    /* Explore Other Products */
    .explore-section { padding: 40px 0; }
    .explore-section .section-label { text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-600); margin-bottom: 8px; }
    .explore-section .section-title{text-align:center;font-family:var(--font-display);font-size:32px;font-weight:700;color:var(--navy-900);margin-bottom:24px; }
    .explore-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
    .explore-card { background: var(--white); border-radius: 12px; border: 1px solid var(--slate-100); overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column; text-decoration: none; }
    .explore-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: var(--green-200); }
    .explore-card-img { height: 100px; overflow: hidden; }
    .explore-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
    .explore-card:hover .explore-card-img img { transform: scale(1.06); }
    .explore-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
    .explore-card-body h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; line-height: 1.3; }
    .explore-card-body p { font-size: 12px; color: var(--slate-400); line-height: 1.5; flex: 1; }
    .explore-card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--green-600); }
    .explore-card-link .arrow { transition: transform 0.2s; }
    .explore-card:hover .explore-card-link .arrow { transform: translateX(3px); }

    @media (max-width: 1024px) {
      .explore-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .explore-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
      .explore-section .section-title { font-size: 24px; }
    }
    @media (max-width: 480px) {
      .hero-section { padding: 20px 16px; gap: 14px; border-radius: 12px; }
      .hero-image { flex: none; width: 100%; height: 180px; border-radius: 14px; }
      .hero-headline { font-size: 24px; margin-bottom: 6px; }
      .hero-subheadline { font-size: 14px; margin-bottom: 14px; }
      .hero-buttons { flex-direction: column; gap: 8px; }
      .hero-buttons .btn-specs,
      .hero-buttons .btn-catalog { width: 100%; padding: 12px 18px; font-size: 14px; }
      .subpage-nav-links { gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex-wrap: nowrap; }
      .subpage-nav-links::-webkit-scrollbar { display: none; }
      .subpage-nav-links a { font-size: 12px; white-space: nowrap; flex-shrink: 0; }
      .explore-grid { grid-template-columns: 1fr; }
    }
  
    /* ===== Prev / Next Product Navigation ===== */
    .product-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 900; }
    .product-nav-prev { left: 0; }
    .product-nav-next { right: 0; }
    .product-nav-btn { display: flex; align-items: center; gap: 8px; padding: 20px 14px; background: var(--white); border: 1px solid var(--slate-200); border-radius: 0 12px 12px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); cursor: pointer; text-decoration: none; transition: all 0.25s; }
    .product-nav-next .product-nav-btn { border-radius: 12px 0 0 12px; }
    .product-nav-btn:hover { background: var(--green-600); border-color: var(--green-600); box-shadow: 0 8px 28px rgba(21,128,61,0.25); }
    .product-nav-btn:hover .nav-arrow,
    .product-nav-btn:hover .nav-label,
    .product-nav-btn:hover .nav-title { color: var(--white) !important; }
    .product-nav-btn .nav-arrow { font-size: 24px; color: var(--green-600); font-weight: 700; transition: all 0.25s; line-height: 1; }
    .product-nav-btn .nav-info { display: flex; flex-direction: column; gap: 2px; overflow: hidden; max-width: 0; opacity: 0; transition: all 0.3s; white-space: nowrap; }
    .product-nav-btn:hover .nav-info { max-width: 180px; opacity: 1; }
    .nav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-400); transition: color 0.25s; }
    .nav-title { font-size: 13px; font-weight: 600; color: var(--navy-900); transition: color 0.25s; }
    .product-nav-prev .product-nav-btn { flex-direction: row; }
    .product-nav-next .product-nav-btn { flex-direction: row-reverse; text-align: right; }

    @media (max-width: 768px) {
      .product-nav { top: auto; bottom: 24px; transform: none; }
      .product-nav-btn { padding: 14px 16px; border-radius: 12px !important; }
      .product-nav-btn .nav-info { max-width: 0; opacity: 0; }
      .product-nav-btn:hover .nav-info { max-width: 130px; opacity: 1; }
    }
