/* ================================================================
   AIPAISI - Hotel Products Brand Website
   Design System & Global Styles
   ================================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  --navy: #1A2744;
  --navy-dark: #0F1829;
  --navy-mid: #243258;
  --gold: #C9A96E;
  --gold-light: #DFC08A;
  --gold-dark: #A8844A;
  --accent: #3D7EFF;
  --accent-dark: #2563D4;
  --bg: #F8F6F1;
  --bg-white: #FFFFFF;
  --text-dark: #1E1E1E;
  --text-mid: #444;
  --text-light: #888;
  --border: #E5E0D5;
  --shadow-sm: 0 2px 12px rgba(26, 39, 68, 0.08);
  --shadow-md: 0 6px 32px rgba(26, 39, 68, 0.14);
  --shadow-lg: 0 16px 64px rgba(26, 39, 68, 0.20);
  --radius: 6px;
  --radius-lg: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --nav-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input,
textarea,
select {
  font-family: var(--font-body);
}

/* --- Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 12px auto 0;
  text-align: center;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: #FFD5A1;
  /* Light gold/peach from image */
  color: #000;
  font-weight: 700;
  border-radius: 4px;
}

.btn-primary:hover {
  background: #ffc985;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 213, 161, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

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

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Fade-in animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}


/* ================================================================
   SITE HEADER & NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

/* Scrolled state */
.site-header.scrolled .top-bar {
  margin-top: -40px;
  /* Hide top bar on scroll */
  opacity: 0;
}

.site-header.scrolled .nav {
  background: rgba(15, 24, 41, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.top-bar {
  background: var(--navy-dark);
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 24px;
}

.top-bar svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.top-bar .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  background: var(--navy-dark);
  height: var(--nav-h);
  transition: all 0.3s ease;
}

.nav-inner {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  height: 100%;
}

.nav-slot-logo {
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo .brand-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.nav-logo .brand-tagline {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-slot-menu {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-item.open>.nav-link {
  color: var(--gold);
}

/* Dropdown Logic */
.nav-item {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  min-width: 220px;
  background: #fff;
  padding: 15px 0;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-item.open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.sub-menu li a:hover {
  background: #f8f6f1;
  color: var(--gold);
  padding-left: 30px;
}

.nav-slot-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 24px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
}

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

/* Open Animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-slot-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 40px;
    transition: var(--transition);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    right: 0;
  }
}



/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  opacity: 1;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 16, 35, 0.82) 0%,
      rgba(10, 16, 35, 0.55) 50%,
      rgba(10, 16, 35, 0.35) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 140px;
  /* offset for transparent fixed header */
}

.hero-text {
  max-width: 900px;
}

.hero-kicker {
  display: block;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E6A055;
  font-weight: 800;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 35px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--gold);
  width: 48px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 10;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }

  from {
    opacity: 0;
    transform: translateY(24px);
  }
}


/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--navy);
  padding: 32px 0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}


/* ================================================================
   PRODUCT CATEGORIES
   ================================================================ */
.products-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.products-header-left {
  text-align: left;
}

.products-header .section-label {
  margin-bottom: 8px;
}

.slider-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.products-slider-wrapper {
  overflow: hidden;
  margin: 0 -12px;
  padding: 20px 0;
  /* Add space for card hover shadow */
}

.products-grid {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  gap: 0;
}

.product-slide {
  flex: 0 0 25%;
  padding: 0 12px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .product-slide {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 768px) {
  .product-slide {
    flex: 0 0 50%;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .product-slide {
    flex: 0 0 100%;
  }
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
  background: #f0ede6;
}

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

.product-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 14px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: var(--transition);
  margin-top: auto;
}

.product-card-link:hover {
  color: var(--gold-dark);
  gap: 10px;
}

.product-card-link svg {
  width: 14px;
  height: 14px;
}

/* Image placeholder (SVG icon fallback) */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8e4dB 0%, #f5f2ec 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-dark);
}

.img-placeholder svg {
  width: 44px;
  height: 44px;
  opacity: 0.5;
}

.img-placeholder span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}


/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about-section {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 60%;
  aspect-ratio: 1;
  border: 6px solid var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-badge-text {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.about-content {}

.about-text {
  margin: 20px 0 32px;
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 15px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
}

.about-feature-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 2px;
}

.about-feature-desc {
  font-size: 13px;
  color: var(--text-light);
}


/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-section {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  /*margin-top: 60px;*/
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.why-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.why-section .section-title {
  color: #fff;
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}


/* ================================================================
   FEATURED PRODUCTS (horizontal scroll)
   ================================================================ */
.featured-section {
  padding: 100px 0;
  background: var(--bg);
}

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.featured-scroll-wrap {
  overflow: hidden;
  position: relative;
}

.featured-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 8px;
}

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

.featured-card {
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

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

.featured-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0ede6;
}

.featured-card-body {
  padding: 18px;
}

.featured-card-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.featured-card-sub {
  font-size: 12px;
  color: var(--text-light);
}

.scroll-arrows {
  display: flex;
  gap: 8px;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-arrow:hover {
  background: var(--gold);
  color: var(--navy);
}

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


/* ================================================================
   CLIENTS / TRUST LOGOS
   ================================================================ */
.clients-section {
  padding: 60px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}

.clients-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
  display: flex;
  gap: 60px;
  animation: scrollClients 24s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 48px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: var(--transition);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.client-logo:hover {
  opacity: 1;
  filter: none;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ================================================================
   NEWS SECTION
   ================================================================ */
.news-section {
  padding: 100px 0;
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--navy-mid);
}

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

.news-card-date {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

.news-read-more:hover {
  color: var(--gold);
  gap: 10px;
}

.news-card:hover .news-card-img {
  transform: scale(1.04);
}


/* ================================================================
   CONTACT / CTA BANNER
   ================================================================ */
.cta-section {
  padding: 100px 0;
  background: var(--navy-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero1.jpg') center/cover no-repeat;
  opacity: 0.42;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto 40px;
  max-width: 500px;
}

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

.cta-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.cta-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.cta-contact-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.cta-contact-item a:hover {
  color: var(--gold);
}


/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.8fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.footer-brand .brand-tagline {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  margin-top: 4px;
}

.footer-about {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--gold);
}


/* ================================================================
   RESPONSIVE TWEAKS
   ================================================================ */
@media (max-width: 1024px) {
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav {
    top: 0;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .products-section,
  .about-section,
  .why-section,
  .featured-section,
  .news-section,
  .cta-section {
    padding: 72px 0;
  }
}

/* ================================================================
   SINGLE PRODUCT & ARCHIVE
   ================================================================ */
.single-product-container {
  margin-top: 60px;
  margin-bottom: 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f0ede6;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumb-item {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: var(--transition);
  flex-shrink: 0;
}

.thumb-item:hover {
  opacity: 1;
  border-color: var(--gold);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--gold);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.15;
}

.product-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.meta-box-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: var(--transition);
  background: #fff;
}

.meta-box-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.meta-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.meta-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.1em;
}

.meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.meta-value a {
  color: inherit;
  transition: var(--transition);
}

.meta-value a:hover {
  color: var(--gold);
}

.product-specs-table {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  margin-bottom: 1.5rem;
}

.spec-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 6px 0;
  font-size: 13.5px;
}

.spec-label {
  color: #64748b;
  flex-shrink: 0;
  font-weight: 500;
}

.spec-dots {
  flex: 1;
  border-bottom: 1px dotted #cbd5e1;
  margin: 0 8px;
  min-width: 20px;
  align-self: flex-end;
  margin-bottom: 4px;
}

.spec-value {
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

.spec-value--green {
  color: #15803d;
}

.btn-hover-scale:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.content-body {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 15.5px;
  margin-top: 1rem;
}

.content-body p,
.content-body ul {
  margin-bottom: 16px;
}

.content-body ul {
  padding-left: 20px;
}

/* Page Header Shared */
.page-header {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 35, 0.7);
}

.page-header h1.page-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.page-header .breadcrumbs a {
  color: #fff;
  transition: var(--transition);
}

.page-header .breadcrumbs a:hover {
  color: var(--gold);
}


/* ================================================================
   PLUGIN CONTENT BEAUTIFIER
   Targets .tutor-markdown-rendering (and .markdown-main-panel)
   Safe to apply globally — does NOT touch plugin files.
   ================================================================ */

.tutor-markdown-rendering,
.markdown-main-panel {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: #334155;
  max-width: 860px;
  margin: 0 auto;
}

/* ---- Main Article Title (h2) ---- */
.tutor-markdown-rendering h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--gold);
  line-height: 1.3;
}

/* ---- Section Headings: <p><b>1. Title...</b></p> ---- */
/* These are paragraphs whose sole child is a <b> tag */
.tutor-markdown-rendering p:has(> b:only-child) {
  margin: 2.5rem 0 0.6rem;
}

.tutor-markdown-rendering p>b:only-child {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-dark);
  padding: 0.55rem 1rem 0.55rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.06) 0%, transparent 100%);
  border-radius: 0 6px 6px 0;
  line-height: 1.4;
}

/* ---- Body Paragraphs ---- */
.tutor-markdown-rendering p {
  margin-bottom: 1.2em;
}

/* ---- Inline bold (NOT section headings) ---- */
.tutor-markdown-rendering p b,
.tutor-markdown-rendering li b {
  color: var(--navy-dark);
  font-weight: 700;
}

/* ---- Table of Contents (first <ol> after summary <p>) ---- */
/* The TOC ol immediately follows the intro paragraph */
.tutor-markdown-rendering p+ol {
  background: linear-gradient(135deg, #f8f5ef 0%, #fdfcf9 100%);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.6rem 2rem 1.6rem 2.5rem;
  margin: 2rem 0 2.5rem;
  list-style: none;
  counter-reset: toc-counter;
}

.tutor-markdown-rendering p+ol::before {
  content: '📋  Table of Contents';
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.tutor-markdown-rendering p+ol>li {
  counter-increment: toc-counter;
  padding: 0.3rem 0;
  color: #475569;
  font-size: 15px;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.tutor-markdown-rendering p+ol>li::before {
  content: counter(toc-counter) '.';
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  min-width: 1.5rem;
}

.tutor-markdown-rendering p+ol>li p {
  margin: 0;
}

/* ---- Regular <ol> (Numbered body lists like Conclusion) ---- */
/* Target ol that does NOT immediately follow p (body ol) */
.tutor-markdown-rendering ol:not(.tutor-markdown-rendering p + ol) {
  padding-left: 0;
  list-style: none;
  counter-reset: body-counter;
  margin: 1.2rem 0 1.5rem;
}

.tutor-markdown-rendering ol:not(.tutor-markdown-rendering p + ol)>li {
  counter-increment: body-counter;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
}

.tutor-markdown-rendering ol:not(.tutor-markdown-rendering p + ol)>li::before {
  content: counter(body-counter);
  min-width: 28px;
  height: 28px;
  background: var(--navy-dark);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.tutor-markdown-rendering ol:not(.tutor-markdown-rendering p + ol)>li p {
  margin: 0;
}

/* ---- Unordered Lists (term: definition style) ---- */
.tutor-markdown-rendering ul {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tutor-markdown-rendering ul>li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0.75rem 1.2rem 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  position: relative;
}

.tutor-markdown-rendering ul>li>p {
  margin: 0;
  line-height: 1.7;
}

/* ---- Tables ---- */
.tutor-markdown-rendering table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 14.5px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tutor-markdown-rendering table thead tr {
  background: var(--navy-dark);
}

.tutor-markdown-rendering table thead td,
.tutor-markdown-rendering table thead th {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: none;
}

.tutor-markdown-rendering table tbody tr {
  transition: background 0.2s;
}

.tutor-markdown-rendering table tbody tr:nth-child(even) {
  background: var(--bg);
}

.tutor-markdown-rendering table tbody tr:hover {
  background: #F0EEE9;
}

.tutor-markdown-rendering table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
  line-height: 1.6;
}

.tutor-markdown-rendering table tbody td:first-child {
  font-weight: 600;
  color: var(--navy-dark);
}

/* Responsive table on mobile */
@media (max-width: 640px) {
  .tutor-markdown-rendering table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---- Images ---- */
.tutor-markdown-rendering img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 2rem auto;
  display: block;
}

/* ---- Blockquotes (if used) ---- */
.tutor-markdown-rendering blockquote {
  margin: 2rem 0;
  padding: 1.4rem 2rem;
  background: #f8f5ef;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #475569;
}

/* ---- Responsive typography ---- */
@media (max-width: 768px) {

  .tutor-markdown-rendering,
  .markdown-main-panel {
    font-size: 15px;
  }

  .tutor-markdown-rendering p>b:only-child {
    font-size: 17px;
  }

  .tutor-markdown-rendering p+ol {
    padding: 1.2rem 1.2rem 1.2rem 1.5rem;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}