/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --blue:       #006EB6;
  --blue-dark:  #004A7C;
  --blue-light: #00A0E0;
  --bg-light:   #F0F7FF;
  --bg-white:   #FFFFFF;
  --text:       #1A1A2E;
  --text-muted: #5A6A7E;
  --border:     #D0E4F5;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,110,182,.12);
  --shadow-lg:  0 8px 32px rgba(0,110,182,.18);
  --transition: .2s ease;
  --header-h:   68px;
  --max-w:      1200px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ─── Layout helpers ─────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--bg-light); }

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-dark);
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.logo-text span { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile nav ─────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-weight: 500; font-size: 1.05rem; color: var(--text); }
.mobile-nav a:hover { color: var(--blue); }

/* ─── Page offset for fixed header ───────────────────────────── */
.page-content { padding-top: var(--header-h); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  color: #fff;
  padding: 100px 0 80px;
  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.04'%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-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: #fff;
}
.hero-card-icon { font-size: 3rem; margin-bottom: 12px; }
.hero-card h3 { color: #fff; margin-bottom: 8px; }
.hero-card p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 700; }
.hero-stat span { font-size: .8rem; opacity: .8; }

/* ─── Feature cards ──────────────────────────────────────────── */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .9rem; }

/* ─── Category cards ─────────────────────────────────────────── */
.cat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cat-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.cat-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { font-size: .875rem; flex: 1; margin-bottom: 20px; }
.cat-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ─── Service cards ──────────────────────────────────────────── */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 10px; }

/* ─── Product section ────────────────────────────────────────── */
.product-section { margin-bottom: 64px; }
.product-section-header {
  border-left: 4px solid var(--blue);
  padding-left: 16px;
  margin-bottom: 32px;
}
.product-section-header h2 { font-size: 1.6rem; }
.product-section-header p { margin-top: 6px; }

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-light), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px 11px 0 0; }
.product-gallery { display: flex; gap: 12px; margin: 20px 0; overflow-x: auto; }
.product-gallery img { height: 200px; width: auto; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1rem; margin-bottom: 8px; }
.product-card p { font-size: .85rem; flex: 1; margin-bottom: 16px; }

.spec-list { margin: 12px 0; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li strong { color: var(--text); }

/* ─── Model table ────────────────────────────────────────────── */
.model-table-wrap { overflow-x: auto; margin-top: 16px; }
.model-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.model-table th {
  background: var(--blue);
  color: #fff;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  white-space: nowrap;
}
.model-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.model-table tr:last-child td { border-bottom: none; }
.model-table tr:hover td { background: var(--bg-light); }

/* ─── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ─── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Contact form ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: .9rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-item p { color: var(--text); font-size: .95rem; }
.contact-form-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--bg-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,110,182,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: #155724;
  background: #d4edda;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.85);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-icon { background: rgba(255,255,255,.15); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--blue-light); }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.65); max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 10px 0 20px;
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
}

/* ─── Subsection divider ─────────────────────────────────────── */
.subsection { margin-bottom: 56px; }
.subsection h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--blue-dark);
}
.subsection > p { margin-bottom: 24px; }

/* ─── Tag chips ──────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-light);
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* ─── About page ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: #fff;
}
.about-visual .big-icon { font-size: 5rem; margin-bottom: 16px; }
.about-visual h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.about-visual p { color: rgba(255,255,255,.8); }
.value-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-list h4 { margin-bottom: 4px; }
.value-list p { font-size: .875rem; }

/* ─── Highlight box ──────────────────────────────────────────── */
.highlight-box {
  background: var(--bg-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text); font-size: .9rem; }

/* ─── Image carousel ────────────────────────────────────────── */
.carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1200 / 628;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  padding: 0;
}
.carousel-dot.active { background: #fff; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px; }
  .hero { padding: 72px 0 56px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
