/* ========================================
   Global Kitchen Equipment – Shared Styles
   Premium B2B Commercial Kitchen Export
   ======================================== */

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

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

body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #334155;
  background: #fff;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: #0f172a;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

/* ---------- Colors ---------- */
:root {
  --navy:        #0f172a;
  --navy-light:  #1e293b;
  --navy-mid:    #334155;
  --gold:        #b8860b;
  --gold-light:  #d4a853;
  --gold-pale:   #fef9e7;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.navbar .logo .icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.navbar .logo .accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--navy-mid);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand .logo .icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.footer-social a.tiktok {
  background: #000;
}
.footer-social a.tiktok:hover {
  background: #ff0050;
  transform: scale(1.15);
  box-shadow: 0 6px 22px rgba(255,0,80,0.5);
}

.footer-social a.facebook {
  background: #1877f2;
}
.footer-social a.facebook:hover {
  background: #0d65d9;
  transform: scale(1.15);
  box-shadow: 0 6px 22px rgba(24,119,242,0.5);
}

.footer-social a.youtube {
  background: #ff0000;
}
.footer-social a.youtube:hover {
  background: #cc0000;
  transform: scale(1.15);
  box-shadow: 0 6px 22px rgba(255,0,0,0.5);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-col p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.footer-col p i {
  width: 18px;
  margin-right: 8px;
  color: var(--gold-light);
  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* ---------- Page Header ---------- */
.page-hero {
  background: linear-gradient(170deg, var(--gray-50) 0%, #ecf1f7 40%, #f0f4f8 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,134,11,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(15,23,42,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: var(--gold);
}

.page-hero .breadcrumb i {
  font-size: 0.55rem;
}

.page-hero h1 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15,23,42,0.25);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,23,42,0.35);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,134,11,0.25);
}

.btn-gold:hover {
  background: #9e7409;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,134,11,0.35);
}

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

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

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

.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

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

/* ---------- Section Title ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.975rem;
}

/* ---------- Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: #fff;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

.feature-card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---------- Product Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

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

.product-card .card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-50) 0%, #e8eef4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.product-card .card-img i {
    font-size: 3.5rem;
    color: var(--navy-mid);
    opacity: 0.25;
    transition: all var(--transition);
}

.product-card:hover .card-img i {
    opacity: 0.5;
    transform: scale(1.1);
}

.product-card .card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(15,23,42,0.08);
  color: var(--navy-mid);
}

.product-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.product-card .card-body .spec-line {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-card .card-body .specs {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-card .card-body .specs li {
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}

.product-card .card-body .specs li:last-child {
  border-bottom: none;
}

.product-card .card-body .specs li i {
  color: var(--gold);
  margin-right: 8px;
  font-size: 0.7rem;
}

.product-card .card-body .btn {
  min-height: 48px;
  padding: 0.7rem 2rem;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* ---------- Category Preview Cards ---------- */
.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: block;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

.cat-card .cat-img {
  height: 160px;
  background: linear-gradient(135deg, var(--gray-50) 0%, #e0e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card .cat-img i {
  font-size: 2.8rem;
  color: var(--navy-mid);
  opacity: 0.3;
  transition: all var(--transition);
}

.cat-card:hover .cat-img i {
  opacity: 0.55;
  transform: scale(1.1);
}

.cat-card .cat-body {
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.cat-card .cat-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.cat-card .cat-body p {
  font-size: 0.825rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.cat-card .cat-body .link-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: all var(--transition);
}

.cat-card:hover .cat-body .link-arrow {
  color: var(--navy);
}

.cat-card .cat-body .link-arrow i {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform var(--transition);
}

.cat-card:hover .cat-body .link-arrow i {
  transform: translateX(4px);
}

/* ---------- Value Cards ---------- */
.value-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

.value-card .val-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold);
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-info-item .icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.05rem;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.contact-form-wrap {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact-form-wrap h3 {
  margin-bottom: 1.5rem;
  color: var(--navy);
}

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

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--navy-mid);
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--navy-mid);
  background: var(--gray-50);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.08);
  background: #fff;
}

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

/* ---------- Culture & Mission ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.culture-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.culture-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.culture-card-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.culture-card-body {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
}

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

/* ---------- Alert Toast ---------- */
.alert-toast {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  animation: toastIn 0.35s ease;
}

.alert-toast i {
  margin-right: 8px;
  color: var(--gold-light);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- Floating Social Button ---------- */
.social-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.75rem;
}

.social-float-trigger {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(15,23,42,0.35);
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.social-float-trigger i {
  margin-left: 3px;
}

.social-float-trigger:hover {
  background: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(203,157,62,0.4);
}

.social-float-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.social-float:hover .social-float-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.social-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
}

.social-float-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 58px;
  background: #1e293b;
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.social-float-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.social-float-btn.tiktok {
  background: #000;
}
.social-float-btn.tiktok:hover {
  background: #ff0050;
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(255,0,80,0.4);
}

.social-float-btn.facebook {
  background: #1877f2;
}
.social-float-btn.facebook:hover {
  background: #0d65d9;
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(24,119,242,0.4);
}

.social-float-btn.youtube {
  background: #ff0000;
}
.social-float-btn.youtube:hover {
  background: #cc0000;
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(255,0,0,0.4);
}

/* =============================================
   ENHANCED ANIMATIONS
   ============================================= */

/* ---------- Keyframes ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(203,157,62,0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(203,157,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(203,157,62,0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Scroll‑Reveal Base ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.reveal-stagger > * { animation: none !important; }

/* ---------- Page Hero ---------- */
.page-hero {
  animation: fadeIn 0.5s ease forwards;
}

/* ---------- Card Hover Lift ---------- */
.feature-card,
.product-card,
.cat-card,
.value-card,
.culture-card,
.timeline-item {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.product-card:hover,
.value-card:hover,
.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.timeline-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* ---------- Product Card Image Hover ---------- */
.product-card .card-img {
  transition: transform 0.4s ease;
}

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

/* ---------- Button Shine Sweep ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0.18) 55%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Button Hover Pulse ---------- */
.btn-primary:hover,
.btn-gold:hover {
  animation: pulse-ring 1.6s ease-out 1;
}

/* ---------- Section Heading Underline ---------- */
.section-heading h2,
.cat-heading h2 {
  position: relative;
  display: inline-block;
}

.section-heading h2::after,
.cat-heading h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-heading.visible h2::after,
.cat-heading.visible h2::after,
.section-heading h2:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ---------- Nav Links Underline ---------- */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ---------- CTA Banner Pulse ---------- */
.cta-banner {
  transition: transform 0.3s ease;
}

.cta-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

/* ---------- Icon Circle Hover Spin ---------- */
.icon-circle,
.val-icon,
.cat-icon-lg {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.icon-circle:hover,
.val-icon:hover {
  transform: scale(1.1) rotate(6deg);
}

.cat-icon-lg:hover {
  transform: scale(1.08);
}

/* ---------- Hero Visual Float ---------- */
.hero-visual {
  animation: float 4s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    transition: left 0.3s ease;
    box-shadow: var(--shadow-md);
    gap: 1.25rem;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-btn {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding: 3.5rem 0 2.5rem;
  }
}

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

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

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