@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

:root {
  --blue: #0084c4;
  --blue-dark: #006699;
  --blue-light: #e8f4fa;
  --blue-glow: rgba(0, 132, 196, 0.15);
  --text: #2c3e50;
  --text-soft: #5a6a7a;
  --muted: #7a8a99;
  --bg: #ffffff;
  --light: #f7f9fb;
  --light-2: #eef2f6;
  --border: #dde4ea;
  --shadow-sm: 0 2px 8px rgba(0, 40, 80, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 40, 80, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 40, 80, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

h1, h2, h3, h4 { color: var(--text); line-height: 1.25; }

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

.title-center { text-align: center; }
.title-center .section-desc { margin: 0 auto 40px; }

.section-head {
  margin-bottom: 48px;
}

.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ── Top bar ── */
.topbar {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover { color: #fff; }

.topbar svg { width: 14px; height: 14px; stroke: var(--blue); flex-shrink: 0; }

/* ── Header ── */
header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow var(--transition), border-color var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img { height: 48px; width: auto; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all var(--transition);
}

nav a:hover { color: var(--blue); background: var(--blue-light); }
nav a.active { color: #fff; background: var(--blue); }

.header-cta .btn { padding: 10px 22px; margin: 0; font-size: 13px; }

.menu-toggle {
  display: none;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  max-height: 620px;
  background: var(--text);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,40,70,0.88) 0%, rgba(0,102,153,0.65) 45%, rgba(0,132,196,0.25) 100%);
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 8px #4caf50;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-caption {
  display: none;
}

.hero-caption.active { display: block; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* ── Stats ── */
.stats {
  background: var(--blue);
  padding: 0;
  margin-top: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Sections ── */
section { padding: 88px 0; }
section.gray { background: var(--light); }
section.dark { background: var(--text); color: rgba(255,255,255,0.8); }
section.dark h2, section.dark h3 { color: #fff; }

/* ── About split ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--blue);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-image-badge strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.about-image-badge span { font-size: 13px; opacity: 0.9; }

.about-content p { margin-bottom: 18px; }

.about-list {
  list-style: none;
  margin: 24px 0 32px;
}

.about-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.about-list li:last-child { border-bottom: none; }

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img { width: 32px; height: 32px; }

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p { font-size: 14px; color: var(--muted); }

/* ── Products ── */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-visual {
  height: 200px;
  overflow: hidden;
  background: var(--light);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-visual img[src$=".svg"] {
  object-fit: cover;
}

.product-card:hover .product-visual img { transform: scale(1.05); }

.product-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 20px;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff !important;
}

.btn-white {
  background: #fff;
  color: var(--blue) !important;
  border-color: #fff;
}

.btn-white:hover {
  background: var(--light);
  color: var(--blue-dark) !important;
}

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── CTA ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: 12px; }

.cta-band p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Page header ── */
.page-header {
  background: linear-gradient(135deg, var(--text) 0%, #1a3a52 100%);
  padding: 56px 0;
  color: #fff;
}

.page-header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.contact-card:hover { border-color: var(--blue); }

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg { width: 22px; height: 22px; stroke: #fff; }

.contact-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-box {
  background: var(--light);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 15px;
}

.contact-box p { margin-bottom: 14px; }
.contact-box strong { color: var(--text); }

.contact-box .legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

form .field { margin-bottom: 20px; }

form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

form input, form textarea, form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

form textarea { min-height: 140px; resize: vertical; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ── Offer intro ── */
.offer-intro {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 48px;
  border-left: 4px solid var(--blue);
}

.offer-intro p { margin: 0; color: var(--text-soft); font-size: 1.05rem; }

/* ── Footer ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img { height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-brand p { font-size: 14px; line-height: 1.7; }

footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

footer ul { list-style: none; }

footer li { margin-bottom: 10px; }

footer a { color: rgba(255,255,255,0.7); font-size: 14px; }
footer a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--blue); flex-shrink: 0; margin-top: 3px; }

.sub-footer {
  background: rgba(0,0,0,0.25);
  padding: 20px 0;
  margin-top: 48px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.sub-footer a { color: rgba(255,255,255,0.7); }
.sub-footer a:hover { color: #fff; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 12px; }
  nav a { display: block; border-radius: 8px; }
  header { position: sticky; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .hero { min-height: 440px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.15); }
}
