/* ============================================
   Page Bright — Light Theme for Generic Pages
   Prefix: pbr-
   ============================================ */

/* ---------- Page Wrapper ---------- */
.pbr-page {
  background: #F8FAFC;
  font-family: var(--hero-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  padding-bottom: 100px;
  min-height: 60vh;
}

/* ---------- Breadcrumb ---------- */
.pbr-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: #94A3B8;
}

.pbr-breadcrumb a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbr-breadcrumb a:hover {
  color: #0EA5E9;
  text-decoration: none;
}

.pbr-breadcrumb-sep {
  margin: 0 8px;
  color: #CBD5E1;
}

.pbr-breadcrumb-current {
  color: #475569;
  font-weight: 500;
}

/* ---------- Page Header ---------- */
.pbr-page-header {
  text-align: center;
  padding: 48px 0 40px;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.04) 0%, transparent 100%);
  border-radius: 16px;
}

.pbr-page-title {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 16px;
  line-height: 1.15;
}

.pbr-page-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Content: Standard (text-heavy, ~800px) ---------- */
.pbr-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.03);
  padding: 48px 56px 56px;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Content: Wide (feature rows / company page) ---------- */
.pbr-content-wide {
  max-width: 1100px;
  margin: 0 auto;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Typography ---------- */
.pbr-content h1, .pbr-content-wide h1 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.pbr-content h2, .pbr-content-wide h2 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E2E8F0;
  line-height: 1.3;
}

.pbr-content h3, .pbr-content-wide h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0F172A;
  margin: 32px 0 12px;
  line-height: 1.3;
}

.pbr-content h4, .pbr-content-wide h4 {
  font-size: 17px;
  font-weight: 600;
  color: #1E293B;
  margin: 28px 0 10px;
}

.pbr-content p, .pbr-content-wide p {
  margin: 0 0 16px;
  color: #475569;
}

.pbr-content em, .pbr-content-wide em {
  color: #64748B;
}

.pbr-content a, .pbr-content-wide a {
  color: #0EA5E9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.pbr-content a:hover, .pbr-content-wide a:hover {
  color: #0284C7;
  text-decoration: underline;
}

.pbr-content ul, .pbr-content ol,
.pbr-content-wide ul, .pbr-content-wide ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.pbr-content li, .pbr-content-wide li {
  margin-bottom: 8px;
  color: #475569;
}

.pbr-content strong, .pbr-content-wide strong {
  color: #0F172A;
  font-weight: 600;
}

/* ---------- Wide content sub-sections ---------- */
.pbr-content-wide > p:first-of-type {
  font-size: 17px;
}

.pbr-content-wide img.align-left {
  float: left;
  margin: 0 32px 24px 0;
  max-width: 50%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .pbr-content-wide img.align-left {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 auto 24px;
  }
}

/* ---------- Feature Row (company page) ---------- */
.pbr-page .feature__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  clear: both;
}

.pbr-page .feature__item,
.pbr-page .feature__item--center {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
}

.pbr-page .feature__item:hover,
.pbr-page .feature__item--center:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.12);
}

.pbr-page .feature__item .archive__item,
.pbr-page .feature__item--center .archive__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pbr-page .feature__item .archive__item-teaser,
.pbr-page .feature__item--center .archive__item-teaser {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pbr-page .feature__item .archive__item-teaser img,
.pbr-page .feature__item--center .archive__item-teaser img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.pbr-page .feature__item .archive__item-body,
.pbr-page .feature__item--center .archive__item-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pbr-page .feature__item .archive__item-title,
.pbr-page .feature__item--center .archive__item-title {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
  border-bottom: none;
  padding-bottom: 0;
}

.pbr-page .feature__item .archive__item-excerpt,
.pbr-page .feature__item--center .archive__item-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  flex: 1;
}

.pbr-page .feature__item .archive__item-excerpt p,
.pbr-page .feature__item--center .archive__item-excerpt p {
  margin: 0;
}

.pbr-page .feature__item .btn,
.pbr-page .feature__item--center .btn {
  display: inline-block;
  background: linear-gradient(135deg, #0EA5E9, #38BDF8);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 12px;
  cursor: pointer;
}

.pbr-page .feature__item .btn:hover,
.pbr-page .feature__item--center .btn:hover {
  background: linear-gradient(135deg, #0284C7, #0EA5E9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  text-decoration: none;
}

/* Feature row section background variant */
.pbr-page .bg-color3 {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.04) 0%, rgba(14, 165, 233, 0.02) 100%);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

@media (max-width: 992px) {
  .pbr-page .feature__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pbr-page .feature__wrapper {
    grid-template-columns: 1fr;
  }
}

/* ---------- Archive Single (sitemap page) ---------- */
.pbr-content .list__item,
.pbr-content .archive__item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.pbr-content .archive__item:last-child {
  border-bottom: none;
}

.pbr-content .archive__item-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  border-bottom: none;
  padding-bottom: 0;
}

.pbr-content .archive__item-title a {
  color: #0F172A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbr-content .archive__item-title a:hover {
  color: #0EA5E9;
}

.pbr-content .archive__item-excerpt {
  font-size: 14px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.pbr-content .page__meta {
  font-size: 12px;
  color: #94A3B8;
}

/* ---------- Contact Area Override (light theme) ---------- */
.pbr-contact-section .contact_area,
.pbr-page .contact_area {
  background-image: none !important;
  background: transparent !important;
  padding-top: 0;
  padding-bottom: 40px;
}

.pbr-contact-section .section_title.white h6,
.pbr-contact-section .section_title.white h1,
.pbr-contact-section .section_title.white p {
  color: #0F172A !important;
}

.pbr-contact-section .section_title.white h6 {
  color: #0EA5E9 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pbr-contact-section .section_title.white h1 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pbr-contact-section .em_bar_bg {
  background: #0EA5E9 !important;
}

.pbr-contact-section .quote_wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.03);
  padding: 40px;
}

.pbr-contact-section .form_box input,
.pbr-contact-section .form_box textarea {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  color: #0F172A !important;
  font-family: var(--hero-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 15px;
  padding: 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.pbr-contact-section .form_box input::placeholder,
.pbr-contact-section .form_box textarea::placeholder {
  color: #94A3B8 !important;
}

.pbr-contact-section .form_box input:focus,
.pbr-contact-section .form_box textarea:focus {
  border-color: #0EA5E9 !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12) !important;
  outline: none;
}

.pbr-contact-section .quote_btn .btn {
  background: linear-gradient(135deg, #0EA5E9, #38BDF8) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--hero-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  transition: all 0.3s ease;
  cursor: pointer;
}

.pbr-contact-section .quote_btn .btn:hover {
  background: linear-gradient(135deg, #0284C7, #0EA5E9) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

/* ---------- Scroll Reveal Animation ---------- */
.pbr-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pbr-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .pbr-page {
    padding-bottom: 60px;
  }

  .pbr-page-header {
    padding: 32px 16px 28px;
  }

  .pbr-page-title {
    font-size: 28px;
  }

  .pbr-content {
    padding: 32px 24px 36px;
    border-radius: 12px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .pbr-content h2,
  .pbr-content-wide h2 {
    font-size: 20px;
    margin-top: 32px;
  }

  .pbr-content h3,
  .pbr-content-wide h3 {
    font-size: 18px;
  }

  .pbr-contact-section .quote_wrapper {
    padding: 24px 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .pbr-content {
    padding: 24px 16px 28px;
    border-radius: 10px;
  }

  .pbr-page-title {
    font-size: 24px;
  }
}
