/* ===========================================
   HearClear PTT – Corporate Design
   =========================================== */

:root {
  --navy:     #1B3A6B;
  --navy-dk:  #122a50;
  --teal:     #0099A8;
  --gold:     #E8B84B;
  --light-bg: #F4F7FA;
  --white:    #FFFFFF;
  --text:     #1E2B3A;
  --muted:    #6B7C93;
  --border:   #DEE2E8;
  --shadow:   0 2px 20px rgba(27, 58, 107, .10);
  --shadow-lg: 0 8px 36px rgba(27, 58, 107, .16);
}

/* ── Base ───────────────────────────────── */
body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

a { text-decoration: none; }

/* ── Top Bar ────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  padding: 6px 0;
}

.top-bar a {
  color: rgba(255, 255, 255, .8);
  transition: color .2s;
}

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

/* ── Navbar ─────────────────────────────── */
#mainNav {
  background: #fff !important;
  box-shadow: var(--shadow);
  transition: box-shadow .3s;
  z-index: 1040;
}

#mainNav.scrolled {
  box-shadow: 0 4px 24px rgba(27, 58, 107, .15);
}

.navbar-brand img { height: 48px; }

.nav-link {
  color: var(--text) !important;
  font-weight: 600;
  font-size: .88rem;
  padding: .5rem .85rem !important;
  transition: color .2s;
}

.nav-link:hover,
.nav-link.active { color: var(--teal) !important; }

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: .5rem 0;
}

.dropdown-item {
  font-size: .88rem;
  font-weight: 500;
  padding: .55rem 1.25rem;
  color: var(--text);
  transition: background .15s, color .15s;
}

.dropdown-item:hover {
  background: var(--light-bg);
  color: var(--teal);
}

.btn-quote {
  background: var(--teal);
  color: #fff !important;
  border-radius: 5px;
  padding: .42rem 1.3rem !important;
  font-weight: 700 !important;
  font-size: .88rem !important;
  transition: background .2s;
}

.btn-quote:hover { background: var(--navy) !important; }

/* ── Hero ───────────────────────────────── */
.hero {
  background:
    linear-gradient(135deg, rgba(27, 58, 107, .84) 0%, rgba(0, 153, 168, .72) 100%),
    url('../images/photos/field-1.webp') center / cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.hero p.lead {
  color: rgba(255, 255, 255, .88);
  font-size: 1.1rem;
  max-width: 540px;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 5px;
  border: none;
  font-size: .95rem;
  transition: background .2s, color .2s;
}

.btn-hero-primary:hover {
  background: #d4a63b;
  color: var(--navy);
}

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, .7);
  color: #fff;
  background: transparent;
  font-weight: 600;
  padding: .7rem 2rem;
  border-radius: 5px;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ── Value Strip ────────────────────────── */
.value-strip {
  background: var(--navy);
  padding: 1.6rem 0;
}

.value-item i {
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: .4rem;
}

.value-item h6 {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .15rem;
}

.value-item p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  margin: 0;
}

/* ── Section Generic ────────────────────── */
section { padding: 88px 0; }

.section-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--teal);
  display: block;
  margin-bottom: .4rem;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 600px;
}

/* ── About / Stats ──────────────────────── */
.about-section { background: var(--white); }

.stat-box {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.stat-box .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── Product Cards ──────────────────────── */
.product-section { background: var(--light-bg); }

.product-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card .img-wrap {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  padding: 1.2rem;
}

.product-card .img-wrap img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
}

.product-card .card-body { padding: 1.3rem; }

.product-card .product-category {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: .35rem;
}

.product-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.product-card .card-text {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
}

.btn-product {
  display: inline-block;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: 5px;
  font-size: .83rem;
  font-weight: 600;
  padding: .35rem .9rem;
  transition: background .2s, color .2s;
}

.btn-product:hover {
  background: var(--teal);
  color: #fff;
}

/* ── Industries ─────────────────────────── */
.industries-section {
  background:
    linear-gradient(135deg, rgba(27, 58, 107, .9) 0%, rgba(0, 153, 168, .83) 100%),
    url('../images/photos/field-2.webp') center / cover no-repeat;
  padding: 88px 0;
}

.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition: background .25s;
  height: 100%;
}

.industry-card:hover {
  background: var(--light-bg);
}

.industry-card i {
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.industry-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.industry-card p {
  font-size: .87rem;
  color: #6c757d;
  margin: 0;
}

/* Industry cards on the dark homepage section */
.industries-section .industry-card {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}

.industries-section .industry-card:hover { background: rgba(255, 255, 255, .2); }
.industries-section .industry-card h5   { color: #fff; }
.industries-section .industry-card p    { color: rgba(255, 255, 255, .72); }

/* ── Why Section ────────────────────────── */
.why-section { background: var(--light-bg); }

.feature-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}

.feature-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 153, 168, .10);
  border: 1.5px solid rgba(0, 153, 168, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle i {
  font-size: 1.3rem;
  color: var(--teal);
}

.feature-item h6 {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: .3rem;
}

.feature-item p {
  font-size: .86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Testimonials ───────────────────────── */
.testimonial-section { background: var(--white); }

.testimonial-card {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 1.75rem;
  border-top: 3px solid var(--teal);
  height: 100%;
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: .75rem;
  display: block;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.stars {
  color: var(--gold);
  font-size: .88rem;
  margin-bottom: .6rem;
}

.reviewer {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
}

.reviewer-role {
  font-size: .8rem;
  color: var(--muted);
}

/* ── CTA Banner ─────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d4d9a 100%);
  padding: 80px 0;
}

.cta-banner h2 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  max-width: 560px;
}

.btn-cta-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: .8rem 2.2rem;
  border-radius: 5px;
  font-size: .95rem;
  border: none;
  transition: background .2s;
}

.btn-cta-gold:hover {
  background: #d4a63b;
  color: var(--navy);
}

.btn-cta-outline {
  border: 2px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 5px;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}

.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* ── Footer ─────────────────────────────── */
.footer {
  background: #111D2F;
  color: rgba(255, 255, 255, .6);
  padding: 64px 0 0;
}

.footer-brand img {
  height: 42px;
  background: #fff;
  border-radius: 5px;
  padding: 4px 10px;
}

.footer-brand p {
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
  margin-top: .9rem;
  line-height: 1.6;
}

.footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.1rem;
}

.footer ul li { margin-bottom: .45rem; }

.footer ul li a {
  color: rgba(255, 255, 255, .55);
  font-size: .86rem;
  transition: color .2s;
}

.footer ul li a:hover { color: var(--teal); }

.footer-contact-item {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-bottom: .7rem;
  font-size: .86rem;
}

.footer-contact-item i {
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
}

.footer-contact-item a:hover { color: var(--teal); }

.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  margin-right: .4rem;
  transition: background .2s, color .2s;
}

.social-icons a:hover {
  background: var(--teal);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, .35);
  font-size: .8rem;
  transition: color .2s;
}

.footer-legal a:hover { color: rgba(255, 255, 255, .7); }

/* ── Animations ─────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.fade-up { opacity: 0; }

.fade-up.visible {
  animation: fade-up .55s ease forwards;
}

.fade-up:nth-child(2) { animation-delay: .08s; }
.fade-up:nth-child(3) { animation-delay: .16s; }
.fade-up:nth-child(4) { animation-delay: .24s; }
.fade-up:nth-child(5) { animation-delay: .32s; }
.fade-up:nth-child(6) { animation-delay: .40s; }

/* ── Utilities ──────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

.divider-gold { background: var(--gold); }

/* ── Page Hero (interior pages) ────────── */
.page-hero {
  background:
    linear-gradient(135deg, rgba(27, 58, 107, .88) 0%, rgba(0, 153, 168, .78) 100%),
    url('../images/products-bg.webp') center / cover no-repeat;
  padding: 72px 0 60px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.page-hero p.lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  max-width: 580px;
}

.breadcrumb-bar {
  background: rgba(255, 255, 255, .08);
  border-radius: 5px;
  padding: .45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 1.2rem;
}

.breadcrumb-bar a {
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.breadcrumb-bar a:hover { color: #fff; }

.breadcrumb-bar i { font-size: .7rem; }

/* ── Product Detail (category pages) ───── */
.product-detail-section { background: var(--white); }

.product-detail {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.product-detail:last-child { border-bottom: none; }

.product-detail-img {
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2rem;
}

.product-detail-img img {
  max-height: 280px;
  max-width: 100%;
  object-fit: contain;
}

.product-model-badge {
  display: inline-block;
  background: rgba(0, 153, 168, .10);
  color: var(--teal);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  padding: .25rem .65rem;
  margin-bottom: .6rem;
}

.product-detail h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .5rem;
}

.product-detail .product-tagline {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem .75rem;
  margin-bottom: 1.5rem;
}

.spec-item {
  background: var(--light-bg);
  border-radius: 6px;
  padding: .5rem .75rem;
  display: flex;
  flex-direction: column;
}

.spec-item .spec-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: .15rem;
}

.spec-item .spec-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .75rem;
}

.feature-list li {
  font-size: .85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .45rem;
}

.feature-list li i {
  color: var(--teal);
  font-size: .9rem;
  flex-shrink: 0;
}

.btn-spec-dl {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--light-bg);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  transition: background .2s, border-color .2s;
}

.btn-spec-dl:hover {
  background: #e8ecf1;
  border-color: #c5cdd8;
  color: var(--navy);
}

.btn-quote-solid {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--teal);
  color: #fff;
  border-radius: 5px;
  font-size: .85rem;
  font-weight: 700;
  padding: .5rem 1.25rem;
  border: none;
  transition: background .2s;
}

.btn-quote-solid:hover {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 575px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ── Spec Sheets page ───────────────────────────────── */
.spec-table { width:100%; border-collapse:collapse; margin-bottom:2.5rem; }
.spec-table th { background:var(--navy); color:#fff; padding:.65rem 1rem; font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.spec-table td { padding:.65rem 1rem; border-bottom:1px solid var(--border); font-size:.9rem; vertical-align:middle; }
.spec-table tr:last-child td { border-bottom:none; }
.spec-table tr:hover td { background:var(--light-bg); }
.spec-table th:last-child,
.spec-table td:last-child { text-align:center; width:130px; white-space:nowrap; }
.spec-category-head { font-size:1.05rem; font-weight:700; color:var(--navy); margin:2.5rem 0 .75rem; display:flex; align-items:center; gap:.5rem; }
.spec-category-head i { color:var(--teal); font-size:1.1rem; }
.btn-dl { display:inline-flex; align-items:center; gap:.35rem; background:var(--teal); color:#fff; border-radius:4px; padding:.3rem .75rem; font-size:.8rem; font-weight:600; text-decoration:none; white-space:nowrap; }
.btn-dl:hover { background:var(--navy); color:#fff; }
.tag-soon { display:inline-block; background:#f0f4fa; color:#8a94a6; border-radius:4px; padding:.2rem .6rem; font-size:.75rem; font-weight:600; }
.tag-note { display:inline-block; background:#fdf6e3; color:#7a6a2a; border-radius:4px; padding:.2rem .6rem; font-size:.75rem; font-weight:600; }

/* ── Contact page ───────────────────────────────── */
.contact-info-card { background:var(--navy); color:#fff; border-radius:10px; padding:2rem; }
.contact-info-card h4 { color:#fff; font-weight:700; margin-bottom:1.5rem; }
.contact-info-item { display:flex; align-items:flex-start; gap:.85rem; margin-bottom:1.25rem; }
.contact-info-item i { color:var(--gold); font-size:1.1rem; margin-top:.1rem; flex-shrink:0; }
.contact-info-item a { color:rgba(255,255,255,.85); text-decoration:none; }
.contact-info-item a:hover { color:#fff; }
.contact-info-item span { color:rgba(255,255,255,.85); font-size:.93rem; line-height:1.5; }
.contact-form-wrap { background:#fff; border:1px solid var(--border); border-radius:10px; padding:2rem; }
.contact-form-wrap .form-label { font-weight:600; font-size:.85rem; color:var(--text); margin-bottom:.3rem; }
.contact-form-wrap .form-control,
.contact-form-wrap .form-select { border-color:var(--border); border-radius:5px; font-size:.9rem; padding:.55rem .85rem; }
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(0,153,168,.12); }
.btn-submit { background:var(--teal); color:#fff; border:none; border-radius:5px; padding:.65rem 2rem; font-weight:700; font-size:.95rem; cursor:pointer; transition:background .2s; }
.btn-submit:hover { background:var(--navy); }
