/* ============================================
   HardwareSite — Global Styles (Enhanced)
   Colors: Primary #0f451b (dark green) | Accent #f58220 (orange)
   Inspired by: coricher.com, suspa.com, sugatsune.com
   ============================================ */

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

:root {
  --primary: #0f451b;
  --primary-light: #1a6b2d;
  --primary-dark: #0a3012;
  --accent: #f58220;
  --accent-hover: #e06b10;
  --accent-light: #ff9a47;
  --text-dark: #1a1a2e;
  --text-light: #555;
  --text-muted: #888;
  --bg-light: #f8f9fa;
  --bg-white: #fff;
  --border: #e8e8e8;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* iOS: remove 300ms tap delay */
a, button, input, select, textarea, .lang-dropdown-item, .faq-question, .menu-toggle {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* iOS: prevent body scroll when nav open (no blank space) */
body.nav-open {
  position: fixed;
  width: 100%;
  top: var(--nav-scroll-top, 0px);
}

img { max-width: 100%; height: auto; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Top Bar ---- */
.top-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  height: 4px;
  width: 100%;
}

.top-header {
  padding: 18px 0;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.top-header .logo-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-header .logo-area .logo-placeholder {
  width: 180px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  border-radius: var(--radius);
  letter-spacing: 3px;
  box-shadow: 0 4px 15px rgba(15,69,27,0.3);
}

.top-header .logo-area .logo-text {
  font-size: 12px;
  color: var(--primary);
  line-height: 1.5;
}

.top-header .logo-area .logo-text strong {
  font-family: var(--font-heading);
  font-size: 15px;
  display: block;
  font-weight: 700;
  letter-spacing: 1px;
}

.top-header .top-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.search-box {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,69,27,0.1);
}

.search-box input {
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  width: 200px;
  outline: none;
  font-family: var(--font-main);
}

.search-box button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.search-box button:hover {
  background: var(--primary-light);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-selected {
  background: var(--bg-white);
  border: 2px solid var(--border);
  padding: 8px 36px 8px 14px;
  font-size: 13px;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
}

.lang-selected::before {
  content: '🌐';
  font-size: 15px;
}

.lang-selected:hover {
  border-color: var(--primary);
}

.lang-selected.open {
  border-color: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 100%;
  z-index: 1001;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-top: none;
  animation: dropdownFade 0.2s ease;
}

.lang-dropdown-menu.open {
  display: block;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dark);
  transition: var(--transition);
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  cursor: pointer;
}

.lang-dropdown-item:last-child {
  border-bottom: none;
}

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

.lang-dropdown-item.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.lang-dropdown-item.active:hover {
  background: var(--primary-light);
  color: #fff;
}

/* ---- Navigation ---- */
.main-nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: block;
  padding: 16px 22px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.nav-links > li > a:hover,
.nav-links > li.active > a {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.nav-links > li > a:hover::after,
.nav-links > li.active > a::after {
  width: 60%;
}

/* Dropdown */
.nav-links > li:hover .dropdown {
  display: block;
  animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  z-index: 100;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
  transition: var(--transition);
}

.dropdown li a:hover {
  background: var(--bg-light);
  color: var(--accent);
  padding-left: 25px;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  cursor: pointer;
  padding: 10px 12px;
  z-index: 1100;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--accent);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  position: relative;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2.5px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.menu-toggle.active {
  background: rgba(255,255,255,0.9);
  border-color: var(--accent);
}
.menu-toggle.active .hamburger { background: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); background: var(--primary); }
.menu-toggle.active .hamburger::after { bottom: 0; transform: rotate(-45deg); background: var(--primary); }

/* ---- Banner / Carousel ---- */
.banner-section {
  position: relative;
  overflow: hidden;
  height: 580px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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");
  z-index: 1;
}

.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 2;
}

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

.banner-slide .banner-content {
  text-align: center;
  color: #fff;
  padding: 20px;
  max-width: 800px;
}

.banner-slide .banner-content h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  letter-spacing: 1px;
  line-height: 1.2;
}

.banner-slide .banner-content p {
  font-size: 19px;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto 30px;
  font-weight: 300;
  line-height: 1.6;
}

.banner-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245,130,32,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,130,32,0.5);
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.banner-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.banner-dots span:hover {
  background: rgba(255,255,255,0.6);
}

.banner-dots span.active {
  background: var(--accent);
  transform: scale(1.2);
  border-color: rgba(255,255,255,0.5);
}

/* ---- Stats Section ---- */
.stats-section {
  background: var(--bg-white);
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .stats-section {
    margin-top: -30px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    margin-top: -20px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat-item {
  padding: 35px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

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

.stat-item:hover {
  background: var(--primary);
  color: #fff;
}

.stat-item:hover .stat-number { color: var(--accent); }
.stat-item:hover .stat-label { color: rgba(255,255,255,0.9); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  transition: var(--transition);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

/* ---- Section Titles ---- */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Product Categories (Homepage) ---- */
.product-cats-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.product-cats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
}

.product-cats-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.product-cat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 22px;
  gap: 18px;
  border: 1px solid transparent;
}

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

.product-cat-card .cat-img {
  width: 85px;
  height: 85px;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  transition: var(--transition);
}

.product-cat-card:hover .cat-img {
  transform: scale(1.1);
}

.product-cat-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 600;
}

.product-cat-card h3 a {
  color: var(--text-dark);
}

.product-cat-card h3 a:hover {
  color: var(--accent);
}

.product-cat-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Quick nav sidebar */
.quick-nav {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 4px solid var(--accent);
}

.quick-nav h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 22px;
  font-weight: 700;
}

.quick-nav ul {
  list-style: none;
}

.quick-nav ul li {
  margin-bottom: 10px;
}

.quick-nav ul li a {
  color: var(--text-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
}

.quick-nav ul li a:hover {
  background: var(--bg-light);
  color: var(--accent);
  transform: translateX(5px);
}

.quick-nav ul li a::before {
  content: '\25B6';
  font-size: 10px;
  color: var(--accent);
  transition: var(--transition);
}

.quick-nav ul li a:hover::before {
  transform: translateX(3px);
}

/* ---- Brand Introduction ---- */
.brand-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.brand-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 700;
}

.brand-text p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.9;
}

.brand-media {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8e8e8 100%);
  border-radius: var(--radius-lg);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  border: 2px dashed var(--border);
  position: relative;
  overflow: hidden;
}

.brand-media::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(15,69,27,0.05) 0%, rgba(245,130,32,0.05) 100%);
}

/* ---- Clients Section ---- */
.clients-section {
  padding: 60px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.client-logo {
  width: 120px;
  height: 50px;
  background: var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ---- Blog Preview ---- */
.blog-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.blog-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.blog-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 18px;
  transition: var(--transition);
}

.blog-list li:hover {
  padding-left: 10px;
}

.blog-list li .blog-date {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--font-heading);
}

.blog-list li a {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
}

.blog-list li a:hover {
  color: var(--accent);
}

.btn-more {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 35px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(15,69,27,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-more:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,130,32,0.4);
}

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 35px;
  margin-bottom: 35px;
}

/* Brand column */
.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand .footer-slogan {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-brand .contact-info {
  margin-top: 0;
}

.footer-brand .contact-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Link columns */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-col .contact-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.back-to-top.visible {
  display: flex;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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");
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 10px;
  color: var(--text-muted);
}

/* ---- Content Section (inner pages) ---- */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 22px;
  font-weight: 700;
}

.content-section p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

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

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.product-card .product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.product-card .product-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
}

.product-card .product-info {
  padding: 20px;
}

.product-card .product-info h3 {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-card .product-info h3 a {
  color: var(--text-dark);
}

.product-card .product-info h3 a:hover {
  color: var(--accent);
}

.product-card .product-info .product-model {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
  font-family: var(--font-heading);
}

.product-card .product-info .product-spec {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Product Detail ---- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.product-detail-img {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0e0e0 100%);
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--primary);
  border: 2px dashed var(--border);
}

.product-detail-info h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}

.spec-table th {
  background: var(--bg-light);
  color: var(--primary);
  width: 35%;
  font-weight: 600;
}

.spec-table td {
  color: var(--text-dark);
}

/* ---- Advantages (Why Us) ---- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.advantage-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 35px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.advantage-card .adv-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(15,69,27,0.25);
  transition: var(--transition);
}

.advantage-card:hover .adv-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Timeline (About) ---- */
.timeline {
  position: relative;
  padding-left: 45px;
  margin-top: 35px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  padding: 20px 25px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item .year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  padding: 18px 22px;
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question .faq-toggle {
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item.open .faq-question {
  background: var(--primary);
  color: #fff;
}

.faq-item.open .faq-question .faq-toggle {
  transform: rotate(45deg);
  color: #fff;
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  padding: 18px 22px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-main);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(15,69,27,0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(15,69,27,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: 0 6px 20px rgba(245,130,32,0.4);
  transform: translateY(-2px);
}

.contact-info-block h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-info-block p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.map-placeholder {
  margin-top: 30px;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius-lg);
}

/* ---- Certifications ---- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.cert-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--accent);
}

.cert-card .cert-icon {
  font-size: 44px;
  margin-bottom: 15px;
}

.cert-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--primary);
  font-weight: 700;
}

/* ---- Downloads ---- */
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: var(--transition);
}

.download-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
  transform: translateX(5px);
}

.download-item .dl-info h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 5px;
  font-weight: 600;
}

.download-item .dl-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.download-item .dl-btn {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.download-item .dl-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ---- Placeholder colors for product images ---- */
.bg-drawers { background: linear-gradient(135deg, #2d8a4e, #1a5c2a); }
.bg-sliding { background: linear-gradient(135deg, #3a7bd5, #1e4d8c); }
.bg-lids { background: linear-gradient(135deg, #e67e22, #d35400); }
.bg-hinges { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.bg-retrofit { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.bg-generic { background: linear-gradient(135deg, #1a5c2a, #0f451b); }

/* ======================================================
   Responsive — Mobile-first professional patterns
   Reference: coricher.com (Bootstrap), suspa.com, sugatsune.com
   Principle: desktop styles untouched, mobile overrides in media queries only
   ====================================================== */

/* ---- Tablet (992px) ---- */
@media (max-width: 992px) {
  .product-cats-grid {
    grid-template-columns: 1fr;
  }
  .product-cats-left {
    grid-template-columns: 1fr 1fr;
  }
  .brand-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
}

/* ---- Mobile (768px) — Bootstrap navbar-collapse pattern ---- */
@media (max-width: 768px) {
  /* === Header: Logo + Hamburger only === */
  .top-header {
    padding: 10px 0;
  }
  .top-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .top-header .logo-area {
    gap: 10px;
  }
  /* Hide slogan text */
  .top-header .logo-area .logo-text {
    display: none;
  }
  /* Shrink logo to simple text link, remove button look */
  .top-header .logo-area .logo-placeholder {
    background: none;
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    padding: 4px 0;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
    letter-spacing: 2px;
  }
  .top-header .top-right {
    display: none;
  }

  /* === Nav: full-screen overlay with slide animation === */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    z-index: 1100;
  }
  .menu-toggle.active .hamburger {
    background: transparent;
  }
  .menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }
  .menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  .main-nav .container {
    position: relative;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    box-shadow: -4px 0 30px rgba(0,0,0,0.2);
    z-index: 1050;
    padding: 80px 0 20px;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open {
    display: flex;
    right: 0;
  }
  /* Overlay backdrop */
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .mobile-nav-overlay.visible {
    display: block;
    opacity: 1;
  }
  .nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    min-height: 48px;
  }
  .nav-links > li > a:hover,
  .nav-links > li.active > a {
    background: var(--bg-light);
    color: var(--primary);
  }
  .nav-links > li > a::after {
    display: none;
  }
  /* Mobile search + lang inside nav panel */
  .mobile-nav-tools {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    align-items: center;
    list-style: none;
  }
  .mobile-nav-tools:hover {
    background: transparent;
  }
  .mobile-nav-tools .search-box {
    flex: 1;
    border-radius: 6px;
    border: 1px solid var(--border);
  }
  .mobile-nav-tools .search-box input {
    width: 100%;
    font-size: 14px;
    padding: 8px 12px;
    border: none;
  }
  .mobile-nav-tools .search-box button {
    padding: 8px 12px;
    border: none;
  }
  .mobile-nav-tools .lang-selected {
    font-size: 12px;
    padding: 6px 10px;
    min-width: auto;
    border: 1px solid var(--border);
  }
  /* Fix: lang dropdown must be in normal flow inside scrollable nav panel */
  .mobile-nav-tools .lang-dropdown {
    position: static;
  }
  .mobile-nav-tools .lang-dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    box-shadow: none;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: auto;
  }
  /* iOS: prevent zoom on input focus */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Dropdown: accordion style (coricher pattern: click to expand) */
  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    display: none;
    background: var(--bg-light);
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links > li.dropdown-open > a {
    background: var(--primary);
    color: #fff;
  }
  .nav-links > li.dropdown-open .dropdown {
    display: block;
    animation: dropdownFade 0.25s ease;
  }
  .dropdown li a {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid #e8e8e8;
  }
  .dropdown li a:hover {
    background: var(--bg-white);
    color: var(--accent);
    padding-left: 46px;
  }

  /* === Banner: auto height === */
  .banner-section {
    height: auto;
    min-height: 320px;
    padding: 60px 0 80px;
  }
  .banner-slide .banner-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .banner-slide .banner-content p {
    font-size: 15px;
  }

  /* === Stats: compact === */
  .stats-section {
    margin-top: -30px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item {
    padding: 24px 14px;
  }
  .stat-number {
    font-size: 30px;
  }
  .stat-label {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* === Layout grids === */
  .product-cats-left {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
  }
  .footer-brand .contact-info p {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    gap: 25px;
  }
  .client-logo {
    width: 100px;
    height: 40px;
  }

  /* === Content spacing === */
  body {
    overflow-x: hidden;
  }
  .banner-slide .banner-content {
    padding: 15px;
  }
  .product-cats-section,
  .brand-section,
  .blog-section,
  .content-section {
    padding: 50px 0;
  }
  .brand-media {
    height: 220px;
  }
  .contact-grid {
    gap: 30px;
  }
  .timeline {
    padding-left: 35px;
  }
  .timeline-item::before {
    left: -28px;
    width: 12px;
    height: 12px;
  }
  .timeline::before {
    left: 13px;
  }
}

/* ---- Phone (480px) — Compact single-column ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Bigger hamburger on small phones */
  .menu-toggle {
    padding: 10px 14px;
  }
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    width: 24px;
    height: 2.5px;
  }

  /* Header */
  .top-header {
    padding: 10px 0;
  }
  .top-header .logo-area .logo-placeholder {
    font-size: 16px;
  }

  /* Banner */
  .banner-section {
    min-height: 280px;
    padding: 50px 0 70px;
  }
  .banner-slide .banner-content h1 {
    font-size: 22px;
  }
  .banner-slide .banner-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .banner-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  /* Stats: 1 column, horizontal layout */
  .stats-section {
    margin-top: -20px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
  }
  .stat-item {
    padding: 18px 12px;
    border-right: 1px solid var(--border);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .stat-number {
    font-size: 26px;
  }
  .stat-label {
    font-size: 10px;
  }

  /* Page hero */
  .page-hero {
    padding: 35px 0;
  }
  .page-hero h1 {
    font-size: 24px;
  }
  .page-hero p {
    font-size: 14px;
  }

  /* Section titles */
  .section-title {
    margin-bottom: 30px;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .section-title p {
    font-size: 14px;
  }
  .content-section h2 {
    font-size: 20px;
  }

  /* Product category cards: horizontal compact */
  .product-cat-card {
    padding: 14px;
    gap: 12px;
  }
  .product-cat-card .cat-img {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
  .product-cat-card h3 {
    font-size: 14px;
  }
  .product-cat-card p {
    font-size: 12px;
  }

  /* Product cards: horizontal layout on phone */
  .product-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    overflow: hidden;
  }
  .product-card .product-img {
    height: 100%;
    min-height: 90px;
    font-size: 28px;
  }
  .product-card .product-img::after {
    display: none;
  }
  .product-card .product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .product-card .product-info h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .product-card .product-info .product-model {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .product-card .product-info .product-spec {
    font-size: 12px;
  }

  /* Advantage cards */
  .advantage-card {
    padding: 22px 16px;
  }
  .advantage-card .adv-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
    margin-bottom: 16px;
  }
  .advantage-card h3 {
    font-size: 15px;
  }
  .advantage-card p {
    font-size: 13px;
  }

  /* Blog list */
  .blog-list li {
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
  }
  .blog-list li .blog-date {
    font-size: 12px;
  }
  .blog-list li a {
    font-size: 14px;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }
  .faq-answer {
    padding: 0 16px;
  }
  .faq-item.open .faq-answer {
    padding: 14px 16px;
  }

  /* Contact form */
  .contact-form input,
  .contact-form textarea {
    padding: 10px 14px;
    font-size: 14px;
  }

  /* Buttons: full width */
  .btn-submit,
  .btn-more {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Downloads */
  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .download-item .dl-btn {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col h4 {
    font-size: 15px;
  }
  .footer-col ul li a {
    font-size: 13px;
  }
  .footer-col .contact-info p {
    font-size: 13px;
    justify-content: center;
  }
}

/* ---- Extra small phones (360px) ---- */
@media (max-width: 360px) {
  .top-header .logo-area .logo-placeholder {
    font-size: 14px;
  }
  .banner-section {
    min-height: 240px;
    padding: 40px 0 60px;
  }
  .banner-slide .banner-content h1 {
    font-size: 19px;
  }
  .banner-slide .banner-content p {
    font-size: 13px;
  }
  .stat-number {
    font-size: 22px;
  }
  .product-card {
    grid-template-columns: 80px 1fr;
  }
}

/* ---- Notch/Safe area (iPhone X+) ---- */
@supports (padding: env(safe-area-inset-top)) {
  .main-nav {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-footer {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: calc(25px + env(safe-area-inset-bottom));
  }
  .back-to-top {
    right: calc(30px + env(safe-area-inset-right));
    bottom: calc(30px + env(safe-area-inset-bottom));
  }
}

/* ---- Touch: 44px minimum tap targets ---- */
@media (pointer: coarse) {
  .faq-question {
    min-height: 44px;
  }
  .lang-dropdown-item {
    min-height: 44px;
  }
  .banner-dots span {
    width: 18px;
    height: 18px;
  }
  .btn-more,
  .btn-submit,
  .banner-btn,
  .dl-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---- Landscape phone ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .banner-section {
    min-height: 200px;
    padding: 30px 0 50px;
  }
  .page-hero {
    padding: 25px 0;
  }
  .page-hero h1 {
    font-size: 22px;
    margin-bottom: 4px;
  }
}
