/* =========================================================
   Tianli Remanufacturing — Global Styles
   tianlireman.com
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:  #002f6c;
  --blue:       #0055a5;
  --blue-light: #1976d2;
  --gold:       #e8901a;
  --gold-light: #f5a623;
  --text:       #222;
  --text-muted: #666;
  --bg:         #f5f7fa;
  --white:      #ffffff;
  --border:     #dce3ec;
  --radius:     6px;
  --shadow:     0 4px 18px rgba(0,0,0,.10);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 70px 0; }

/* ---------- Section Titles ---------- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title p {
  margin-top: 14px;
  color: var(--text-muted);
  max-width: 680px;
  margin-inline: auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--gold-light); }
.topbar-contact { display: flex; gap: 20px; align-items: center; }
.topbar-contact span::before { margin-right: 5px; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 47, 108, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 52px; width: auto; display: block; object-fit: contain; }
.logo-img--footer { height: 44px; }
.logo-text .cn { font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.logo-text .en { font-size: .7rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .5px; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.nav-link.active { color: var(--white); font-weight: 600; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 160px;
  padding: 8px 0;
  z-index: 100;
}
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 13.5px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:hover { background: var(--bg); color: var(--blue); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity 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;
  flex-direction: column;
  background: rgba(0, 47, 108, 0.95);
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 12px 0 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--bg);
}
.mobile-nav a:hover { color: var(--blue); background: var(--bg); }
.mobile-nav .sub { padding-left: 36px; font-size: 13px; color: var(--text-muted); }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: var(--blue-dark);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .8s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,20,60,.75) 0%, rgba(0,20,60,.35) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
  padding: 0 20px;
  margin-left: calc(50% - 580px);
}
@media (max-width:1220px){ .slide-content { margin-left: 40px; } }

.slide-content .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.slide-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-content p {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 28px;
  line-height: 1.7;
}
.slide-content .btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: var(--gold); transform: scale(1.3); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 1.4rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band {
  background: var(--blue-dark);
  color: var(--white);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-num span { font-size: 1.4rem; }
.stat-label { font-size: 14px; opacity: .85; margin-top: 8px; }

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.about-text .subtitle {
  font-size: .85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-text .btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  margin-top: 8px;
}
.about-text .btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.about-image { position: relative; }
.about-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 380px;
}
.about-image-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 4rem;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .num { font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge .txt { font-size: 12px; }

/* Certifications chips */
.cert-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cert-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--blue-dark);
  font-weight: 500;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(0,85,165,.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0,85,165,.1), rgba(232,144,26,.15));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 10px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 22px;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(0,85,165,.25);
}
.product-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: linear-gradient(135deg, #e8edf5, #c5d0e0);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: .8rem;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-placeholder {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, #dde4ef 0%, #c0cce0 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--blue-dark);
  opacity: .6;
}
.product-thumb-placeholder svg { width: 40px; height: 40px; margin-bottom: 6px; }
.product-thumb-placeholder span { font-size: 11px; }
.product-info { padding: 16px; }
.product-info h3 { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.product-info p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(0,85,165,.08);
  color: var(--blue);
  margin-top: 8px;
}

.view-all-wrap { text-align: center; margin-top: 40px; }
.btn-view-all {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 10px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}
.btn-view-all:hover { background: var(--blue); color: var(--white); }

/* =========================================================
   SERVICES DETAIL (Why Choose Us)
   ========================================================= */
.why-section { background: var(--blue-dark); color: var(--white); }
.why-section .section-title h2 { color: var(--white); }
.why-section .section-title h2::after { background: var(--gold); }
.why-section .section-title p { color: rgba(255,255,255,.75); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 28px;
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.12); }
.why-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.7; }

/* =========================================================
   APPLICATION AREAS
   ========================================================= */
.areas-section { background: var(--bg); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
}
.area-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.area-card:hover .area-bg { transform: scale(1.08); }
.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,20,60,.85) 0%, rgba(0,20,60,.2) 100%);
}
.area-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
  color: var(--white);
}
.area-content h3 { font-size: 1.1rem; font-weight: 600; }
.area-content p { font-size: 12px; opacity: .8; margin-top: 4px; }

/* =========================================================
   NEWS SECTION
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-thumb {
  width: 100%; height: 210px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #dde4ef, #c0cce0);
}
.news-thumb-placeholder {
  width: 100%; height: 210px;
  background: linear-gradient(135deg, #dde4ef 0%, #bbc8dc 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark); opacity: .55; font-size: 2.5rem;
}
.news-body { padding: 20px; }
.news-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 8px;
}
.news-body h3 { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: 10px; }
.news-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--text-muted); }
.news-card.featured .news-body h3 { font-size: 1.2rem; }
.news-card.featured .news-thumb { height: 240px; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-section { padding: 44px 0; border-top: 1px solid var(--border); }
.partners-label { text-align: center; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.partners-row { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-item {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  opacity: .6;
  transition: opacity var(--transition);
  text-align: center;
}
.partner-item:hover { opacity: 1; color: var(--blue); }
.partner-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -1px;
  border: 2px solid currentColor;
  padding: 6px 14px;
  border-radius: 4px;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #004899 50%, var(--blue-light) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 14px; }
.cta-banner p { opacity: .85; max-width: 560px; margin: 0 auto 30px; }
.cta-banner .btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 13px 36px;
  font-size: 15px;
}
.cta-banner .btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,144,26,.4); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0d1f3c;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand .logo-text .cn { color: var(--white); }
.footer-brand .logo-text .en { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: 13.5px; margin-top: 16px; line-height: 1.8; color: rgba(255,255,255,.6); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content:''; position: absolute; left:0; bottom:0; width:30px; height:2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; opacity: .7; }
.footer-contact-item span { font-size: 13.5px; line-height: 1.6; }

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-keywords { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-keywords a { font-size: 12px; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-keywords a:hover { color: var(--gold); }

/* =========================================================
   FLOATING CONTACT
   ========================================================= */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 950;
}
.floating-contact-desktop {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-contact-item {
  position: relative;
}
.floating-contact-button {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,85,165,.96), rgba(0,47,108,.96));
  color: var(--white);
  box-shadow: 0 16px 30px rgba(0, 25, 60, .22);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.floating-contact-button:hover,
.floating-contact-item:focus-within .floating-contact-button {
  transform: translateX(-4px);
  background: linear-gradient(180deg, rgba(232,144,26,.98), rgba(190,111,12,.98));
  box-shadow: 0 20px 34px rgba(112, 61, 4, .28);
}
.floating-contact-button:focus-visible,
.floating-contact-toggle:focus-visible,
.floating-contact-close:focus-visible,
.floating-contact-card-icon--link:focus-visible {
  outline: 3px solid rgba(232,144,26,.35);
  outline-offset: 3px;
}
.floating-contact-button svg,
.floating-contact-card-icon svg,
.floating-contact-toggle-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.floating-contact-panel {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  pointer-events: none;
  width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 47, 108, .08);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 42px rgba(9, 26, 52, .18);
  transition: opacity var(--transition), transform var(--transition);
}
.floating-contact-panel::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.98);
  border-right: 1px solid rgba(0, 47, 108, .08);
  border-bottom: 1px solid rgba(0, 47, 108, .08);
  transform: translateY(-50%) rotate(-45deg);
}
.floating-contact-item:hover .floating-contact-panel,
.floating-contact-item:focus-within .floating-contact-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.floating-contact-panel h3 {
  font-size: 14px;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.floating-contact-panel p,
.floating-contact-panel a {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}
.floating-contact-panel a:hover {
  color: var(--blue);
}
.floating-contact-panel--qr {
  width: 176px;
  text-align: center;
}
.floating-contact-qr {
  width: 105px;
  height: 105px;
  margin: 0 auto 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 4px;
}
.floating-contact-toggle,
.floating-contact-drawer {
  display: none;
}
.floating-contact-toggle {
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(0,85,165,.98), rgba(0,47,108,.98));
  color: var(--white);
  box-shadow: 0 16px 30px rgba(0, 25, 60, .22);
  font-size: 14px;
  font-weight: 600;
}
.floating-contact-toggle-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}
.floating-contact-drawer[hidden] {
  display: none !important;
}
.floating-contact-drawer {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 84px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid rgba(0, 47, 108, .08);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 46px rgba(9, 26, 52, .22);
}
.floating-contact-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.floating-contact-drawer-header h2 {
  font-size: 18px;
  color: var(--blue-dark);
}
.floating-contact-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,85,165,.08);
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1;
}
.floating-contact-drawer-list {
  display: grid;
  gap: 12px;
}
.floating-contact-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fbff;
}
.floating-contact-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0,85,165,.96), rgba(0,47,108,.96));
  color: var(--white);
}
.floating-contact-card-icon--link {
  box-shadow: 0 12px 24px rgba(0, 25, 60, .16);
}
.floating-contact-card-body h3 {
  font-size: 14px;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.floating-contact-card-body .floating-contact-panel {
  position: static;
  width: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.floating-contact-card-body .floating-contact-panel h3 {
  display: none;
}
.floating-contact-card-body .floating-contact-panel::after {
  display: none;
}
.floating-contact-card-body .floating-contact-panel--qr {
  text-align: left;
}
.floating-contact-card-body .floating-contact-qr {
  margin: 0 0 10px;
}

/* =========================================================
   PAGE HERO (Inner Pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
  padding: 56px 0;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: 2rem; font-weight: 700; }
.page-hero p { opacity: .8; margin-top: 8px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 36px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { height: 480px; }
  .slide-content h1 { font-size: 1.9rem; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 10px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar { display: none; }
  .floating-contact { right: 16px; bottom: 16px; }
  .floating-contact-desktop { display: none; }
  .floating-contact-toggle { display: inline-flex; }
  .floating-contact.is-open .floating-contact-drawer { display: block; }
  .why-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { height: 420px; }
  .slide-content h1 { font-size: 1.6rem; }
  .slide-content p { font-size: .9rem; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 1.6rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .floating-contact-drawer {
    left: 12px;
    right: 12px;
    bottom: 78px;
    padding: 16px;
  }
}

@media (min-width: 769px) {
  .floating-contact-toggle,
  .floating-contact-drawer {
    display: none !important;
  }
}
