/* ============================================================
   RANAR Website - Global Stylesheet
   Color: Black/White primary, Blue (#0066FF) accent
   Inspired by clean Japanese industrial design
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --white: #ffffff;
  --black: #111111;
  --blue: #0066FF;
  --blue-hover: #0052cc;
  --blue-light: #e6f0ff;
  --gray-lightest: #fafafa;
  --gray-light: #f5f5f5;
  --gray: #888888;
  --gray-medium: #666666;
  --gray-dark: #333333;
  --border-color: #e0e0e0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--blue);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-gray {
  background-color: var(--gray-light);
}

.section-dark {
  background-color: var(--black);
  color: var(--white);
}

.text-center {
  text-align: center;
}

.text-gray {
  color: var(--gray-medium);
}

.text-blue {
  color: var(--blue);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--black);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,102,255,0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Arrow icon for buttons */
.btn .arrow {
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--black);
  text-transform: uppercase;
}

.nav-logo:hover {
  color: var(--black);
}

.nav-logo span {
  font-size: 0.55rem;
  display: block;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray);
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--black);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-dark);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.lang-current:hover {
  background-color: var(--gray-light);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  overflow: hidden;
  z-index: 100;
}

.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.lang-option {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--gray-dark);
  transition: var(--transition);
}

.lang-option:hover {
  background-color: var(--gray-light);
  color: var(--blue);
}

.lang-option.active {
  color: var(--blue);
  font-weight: 600;
}

/* Search icon */
.nav-search {
  font-size: 1.1rem;
  color: var(--gray-dark);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-search:hover {
  background: var(--gray-light);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--black);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO / VIDEO BANNER
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
  margin-top: var(--nav-height);
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-play-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

.hero-play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  margin-left: 4px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-content .hero-tagline {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  font-weight: 300;
}

.hero-content .hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .btn {
  margin-top: 8px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDown 1.5s ease-in-out infinite;
}

/* ============================================================
   CAROUSEL / BANNER SLIDER
   ============================================================ */
.carousel-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 5;
}

.carousel-arrow {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.25);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

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

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

@keyframes scrollDown {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.5); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   PRODUCT SLIDER (under hero, like PANP)
   ============================================================ */
.hero-products {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-products-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  overflow-x: auto;
  padding: 0 24px;
  scrollbar-width: none;
}

.hero-products-inner::-webkit-scrollbar {
  display: none;
}

.hero-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-product-item:hover {
  transform: translateY(-2px);
}

.hero-product-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-product-name {
  font-size: 0.75rem;
  color: var(--gray-medium);
  text-align: center;
  white-space: nowrap;
}

/* ============================================================
   INTRO SECTION (text + image alternating)
   ============================================================ */
.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.intro-row:last-child {
  margin-bottom: 0;
}

.intro-row.reverse .intro-image {
  order: -1;
}

.intro-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.intro-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-medium);
  margin-bottom: 20px;
}

.intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-light);
}

.intro-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--black);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number span {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
}

.stat-unit {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PRODUCT CATEGORIES GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-lightest);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

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

.product-card-image {
  aspect-ratio: 1/1;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-image .placeholder-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.product-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

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

.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card-actions .btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 10px 16px;
}

/* ============================================================
   FOUR REASONS SECTION
   ============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.reason-card {
  text-align: left;
  padding: 0 8px;
}

.reason-number {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reason-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.reason-desc {
  font-size: 0.85rem;
  color: var(--gray-medium);
  line-height: 1.7;
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.partner-item {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray);
  opacity: 0.6;
  transition: var(--transition);
  white-space: nowrap;
}

.partner-item:hover {
  opacity: 1;
  color: var(--black);
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.cert-badge svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   VISION / MISSION / VALUES
   ============================================================ */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vmv-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.vmv-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.vmv-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
}

.vmv-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.vmv-card p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  line-height: 1.7;
}

/* ============================================================
   FEATURED PRODUCTS SCROLL
   ============================================================ */
.featured-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.featured-scroll::-webkit-scrollbar {
  display: none;
}

.featured-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.featured-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.featured-item-image {
  aspect-ratio: 1/1;
  background: linear-gradient(145deg, #222, #333);
  position: relative;
}

.featured-item-body {
  padding: 16px;
}

.featured-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.featured-item-cat {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card-image {
  aspect-ratio: 16/9;
  background: var(--gray-light);
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.4);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.6);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   INQUIRY FORM
   ============================================================ */
.inquiry-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--black);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   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(-30px);
  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(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   PAGE HEADER (sub pages)
   ============================================================ */
.page-header {
  padding: 120px 0 60px;
  margin-top: var(--nav-height);
  text-align: center;
  background: var(--gray-lightest);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--gray-medium);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-row {
    gap: 40px;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  .section {
    padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content .hero-tagline {
    font-size: 1.1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-row.reverse .intro-image {
    order: 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .vmv-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .partners-row {
    gap: 24px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--black);
  border-color: var(--black);
}

.back-to-top:hover svg {
  fill: var(--white);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: var(--black);
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   NEWS DETAIL PAGE
   ============================================================ */
.news-detail-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-image {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-detail-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

.news-detail-content p {
  margin-bottom: 16px;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 12px;
}

.news-detail-content ul,
.news-detail-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.news-detail-content li {
  margin-bottom: 8px;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.news-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 1;
  overflow: hidden;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  gap: 12px;
}

.search-input-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--gray);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--black);
  background: transparent;
}

.search-input::placeholder {
  color: var(--gray);
}

.search-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--black);
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-results-list {
  padding: 8px 0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--black);
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--gray-lightest);
}

.search-result-img,
.search-result-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-img {
  object-fit: cover;
}

.search-result-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gray);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
}
