/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Roboto', 'Open Sans', sans-serif;
  font-size: 16px;
  color: #1a2332;
  background: #ffffff;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 600; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
p  { margin-bottom: 1rem; }

/* ===== COLORS ===== */
:root {
  --blue:      #1a3a5c;
  --blue-mid:  #1e5fa8;
  --accent:    #e84c1e;
  --steel:     #4a6480;
  --light-bg:  #f4f7fa;
  --border:    #d8e2ec;
  --text-muted:#5a7080;
  --white:     #ffffff;
}

/* ===== UTILITY ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; border: none; }
.btn-primary:hover { background: #c93d14; }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.section { padding: 5rem 0; }
.section-alt { background: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 3rem; color: var(--blue); }
.section-title p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0.5rem auto 0; }
.tag { display: inline-block; background: var(--blue); color: #fff; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 3px; margin-bottom: 0.5rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-logo { display: flex; align-items: center; gap: 0.75rem; }
.navbar-logo img { height: 46px; width: auto; }
.navbar-logo span { color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; }
.navbar-logo .iso-badge { font-size: 0.68rem; font-weight: 400; color: #aac4e0; display: block; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: #cde0f5;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.13); color: #fff; }
.nav-cta { background: var(--accent) !important; color: #fff !important; }
.nav-cta:hover { background: #c93d14 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0d2540 0%, #1a3a5c 55%, #1e5fa8 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #aac4e0; margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: #5fb3f5; }
.hero-sub { color: #b8d0e8; font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.hero-stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 1rem; border-radius: 6px; text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; color: #5fb3f5; font-weight: 700; }
.hero-stat span { font-size: 0.78rem; color: #aac4e0; }
.hero-image-wrap { display: flex; justify-content: center; align-items: center; }
.hero-image-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 380px;
}
.hero-image-box p { color: #aac4e0; font-size: 0.85rem; margin: 1rem 0 0; }

/* ===== INTRO STRIP ===== */
.intro-strip { background: var(--accent); padding: 1.25rem 0; }
.intro-strip .container { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.intro-strip p { color: #fff; font-size: 0.95rem; margin: 0; }
.intro-strip strong { font-weight: 700; }

/* ===== PRODUCT GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 28px rgba(26,58,92,0.13); transform: translateY(-3px); }

/* ===== PRODUCT CARD IMAGE — KEY FIX ===== */
.product-card-img {
  width: 100%;
  height: 210px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* CONTAIN: shows full image, no cropping */
  object-position: center;
  display: block;
}
/* ======================================= */

.product-card-img .img-placeholder {
  color: var(--text-muted); font-size: 0.8rem; text-align: center; padding: 1rem;
}
.product-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.product-card-body .card-meta { font-size: 0.78rem; color: var(--steel); margin: 0.75rem 0 1.25rem; }
.product-card-body .card-meta span { margin-right: 0.5rem; }

/* ===== ADVANTAGES ===== */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.adv-card { background: #fff; border-left: 4px solid var(--blue-mid); padding: 1.5rem; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.adv-card .adv-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.adv-card h3 { color: var(--blue); }
.adv-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ===== INDUSTRIES ===== */
.industries-list { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.industry-chip {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 40px;
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 500;
  transition: background 0.2s;
}
.industry-chip:hover { background: var(--blue); color: #fff; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(90deg, #0d2540, #1e5fa8); color: #fff; padding: 4rem 0; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 1.8rem; }
.cta-banner p { color: #b8d0e8; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: #0d1f33; color: #8aa8c4; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
footer h4 { color: #cde0f5; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.55rem; }
footer ul a { color: #8aa8c4; font-size: 0.88rem; transition: color 0.2s; }
footer ul a:hover { color: #fff; }
.footer-contact li { font-size: 0.88rem; margin-bottom: 0.6rem; }
.footer-contact a { color: #5fb3f5; }
.footer-bottom { border-top: 1px solid #1c3454; padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom .iso { background: #1a3a5c; color: #aac4e0; padding: 0.25rem 0.65rem; border-radius: 3px; font-size: 0.72rem; }

/* ===== ABOUT ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-intro img { border-radius: 8px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.value-card { background: #fff; border-top: 3px solid var(--blue-mid); padding: 1.5rem; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.value-card h3 { color: var(--blue); font-size: 1rem; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.cert-strip { display: flex; align-items: center; gap: 1rem; background: var(--light-bg); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); margin-top: 1.5rem; }
.cert-badge { background: var(--blue); color: #fff; font-weight: 700; padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.85rem; white-space: nowrap; }

/* ===== PRODUCT DETAIL ===== */
.product-hero { background: var(--light-bg); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.product-hero-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-main-img { background: #fff; border: 1px solid var(--border); border-radius: 8px; height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-main-img img { max-height: 100%; object-fit: contain; padding: 1rem; }
.product-thumbs { display: flex; gap: 0.75rem; }
.product-thumb { width: 72px; height: 72px; border: 2px solid var(--border); border-radius: 5px; cursor: pointer; overflow: hidden; }
.product-thumb.active { border-color: var(--blue-mid); }
.product-info .breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.product-info .breadcrumb a { color: var(--blue-mid); }
.product-info h1 { color: var(--blue); margin-bottom: 0.75rem; }
.product-info .product-sub { color: var(--text-muted); margin-bottom: 1.5rem; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.spec-table th, .spec-table td { padding: 0.8rem 1rem; border: 1px solid var(--border); font-size: 0.9rem; text-align: left; }
.spec-table th { background: var(--blue); color: #fff; font-weight: 600; width: 35%; }
.spec-table tr:nth-child(even) td { background: var(--light-bg); }
.features-list { list-style: none; }
.features-list li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.features-list li::before { content: '✔'; color: var(--blue-mid); position: absolute; left: 0; font-size: 0.85rem; }
.app-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.app-tag { background: var(--light-bg); border: 1px solid var(--border); padding: 0.4rem 0.85rem; border-radius: 4px; font-size: 0.82rem; color: var(--blue); }
.tabs { border-bottom: 2px solid var(--border); display: flex; gap: 0; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color 0.2s; }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue-mid); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.contact-form { background: #fff; border: 1px solid var(--border); padding: 2.5rem; border-radius: 8px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(30,95,168,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-card { background: var(--blue); color: #fff; padding: 2.5rem; border-radius: 8px; }
.contact-info-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1.75rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; margin-top: 0.1rem; }
.contact-detail p { margin: 0; font-size: 0.9rem; color: #b8d0e8; }
.contact-detail a { color: #5fb3f5; }
.contact-detail strong { display: block; color: #fff; margin-bottom: 0.2rem; }
.map-wrap { margin-top: 1.5rem; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, #0d2540, #1a3a5c); color: #fff; padding: 4rem 0 3rem; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b8d0e8; max-width: 600px; margin-top: 0.5rem; }
.breadcrumb-nav { font-size: 0.82rem; color: #7aa3c4; margin-bottom: 1rem; }
.breadcrumb-nav a { color: #5fb3f5; }
.breadcrumb-nav span { margin: 0 0.4rem; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .about-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #0d2540; padding: 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .hero-stat strong { font-size: 1.2rem; }
}
