/* ============================================================
   Fuga Equipment & Machinery Ltd: Design System
   Palette drawn from the real "FE" logo: sky blue + gold on navy.
   ============================================================ */

:root {
  --blue: #1E9BD7;
  --blue-dark: #0F6FA3;
  --navy: #0E1F3D;
  --navy-2: #142B52;
  --gold: #D9A62B;
  --gold-light: #F2C94C;
  --ink: #172233;
  --ink-soft: #4B5668;
  --paper: #FFFFFF;
  --mist: #F5F7FA;
  --mist-2: #EEF2F7;
  --line: #E3E8EF;
  --success: #2E9E5B;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(14, 31, 61, 0.06);
  --shadow: 0 8px 28px rgba(14, 31, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 31, 61, 0.16);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--blue-dark); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 780px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(217, 166, 43, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); box-shadow: 0 10px 24px rgba(217,166,43,0.35); }
.btn-gold:hover { box-shadow: 0 14px 30px rgba(217,166,43,0.45); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}
.topbar {
  background: var(--navy-2);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.topbar-social a:hover { background: var(--gold); color: var(--navy); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; border-radius: 6px; }
.brand-text { line-height: 1.15; }
.brand-text .name { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 0.01em; }
.brand-text .tag { color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.08); color: #fff; }
.main-nav .has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: #fff; min-width: 230px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.15s ease; z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { color: var(--ink); padding: 10px 14px; border-radius: 6px; display: block; font-size: 14px; }
.dropdown a:hover { background: var(--mist); color: var(--blue-dark); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,31,61,0.94) 10%, rgba(14,31,61,0.72) 45%, rgba(14,31,61,0.42) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 100px 0; }
.hero-content .eyebrow { background: rgba(255,255,255,0.14); color: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin-bottom: 20px; }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { position: relative; z-index: 2; display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--gold-light); }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,0.72); }
.hero-dots { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--gold); width: 22px; border-radius: 6px; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(217,166,43,0.22), transparent 70%);
}
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,0.78); font-size: 16px; margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--navy); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid strong { display: block; font-family: 'Poppins', sans-serif; font-size: 32px; color: var(--gold-light); }
.stats-grid span { font-size: 13.5px; color: rgba(255,255,255,0.75); letter-spacing: 0.02em; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) { .grid-4, .grid-6 { grid-template-columns: repeat(3, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Category cards */
.category-card { padding: 28px 22px; text-align: center; }
.category-card .icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(30,155,215,0.12), rgba(217,166,43,0.16));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 26px; color: var(--blue-dark);
}
.category-card h3 { font-size: 16px; margin-bottom: 6px; }
.category-card p { font-size: 13.5px; margin: 0; }
.category-card a.overlay { position: relative; display: block; }

/* Product cards */
.product-card { display: flex; flex-direction: column; }
.product-media { aspect-ratio: 4/3; background: var(--mist); position: relative; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.03em;
}
.product-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 15.5px; margin-bottom: 6px; min-height: 2.6em; }
.product-price { color: var(--blue-dark); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.product-actions { display: flex; gap: 8px; margin-top: auto; }
.product-actions .btn { flex: 1; padding: 9px 10px; font-size: 12.5px; }

/* Feature / why-choose cards */
.feature-card { padding: 30px 26px; }
.feature-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; }
.feature-card p { font-size: 14.5px; margin: 0; }

/* Testimonials */
.testimonial-card { padding: 30px 26px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 14px; font-size: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); font-size: 15px; }
.testimonial-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-who .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Poppins', sans-serif;
}
.testimonial-who strong { display: block; font-size: 14px; color: var(--navy); }
.testimonial-who span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Sections with tinted bg ---------- */
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.75); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img, .split .media-frame { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame { overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; color: var(--ink); }
.checklist li::before {
  content: '\2713'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--success); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -40px; bottom: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(217,166,43,0.25), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; position: relative; }
.cta-band .actions { display: flex; gap: 14px; position: relative; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-card .product-media { aspect-ratio: 16/10; }
.blog-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; flex-wrap: wrap; }
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-tag {
  display: inline-block; background: rgba(30,155,215,0.1); color: var(--blue-dark);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em;
}
.article-body h2 { font-size: 24px; margin-top: 1.6em; }
.article-body h3 { font-size: 19px; margin-top: 1.4em; }
.article-body p, .article-body li { color: var(--ink-soft); font-size: 16px; }
.article-body img { border-radius: var(--radius); margin: 24px 0; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; }
.article-hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; aspect-ratio: 21/9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.pull-quote {
  border-left: 4px solid var(--gold); background: var(--mist); padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 17px; font-weight: 600; color: var(--navy); margin: 28px 0; font-family: 'Poppins', sans-serif;
}
.author-box { display: flex; gap: 16px; align-items: center; padding: 22px; background: var(--mist); border-radius: var(--radius); margin-top: 40px; }
.author-box .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Poppins', sans-serif; font-size: 18px; flex-shrink: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff; transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); }

/* ---------- Contact info list ---------- */
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-item .icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: var(--mist-2); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-item h4 { font-size: 15px; margin-bottom: 4px; }
.info-item p { font-size: 14.5px; margin: 0; }
.branch-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.branch-card .branch-head { background: var(--navy); color: #fff; padding: 14px 18px; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.branch-card iframe { width: 100%; height: 220px; border: 0; display: block; }
.branch-card .branch-foot { padding: 16px 18px; }
.branch-card .branch-foot p { font-size: 13.5px; margin-bottom: 12px; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 16px; color: var(--navy); gap: 16px;
}
.faq-q .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--mist-2); display: flex; align-items: center; justify-content: center; transition: transform 0.2s; color: var(--blue-dark); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 20px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .tag { position: absolute; bottom: 12px; left: 12px; background: rgba(14,31,61,0.85); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 46px; border-radius: 6px; }
.footer-brand strong { color: #fff; font-family: 'Poppins', sans-serif; font-size: 16px; }
.site-footer h4 { color: var(--gold-light); font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 14.5px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-branch { margin-bottom: 16px; font-size: 14px; }
.footer-branch strong { color: #fff; display: block; margin-bottom: 3px; font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.65); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5); z-index: 300; transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-w-sm { max-width: 640px; margin-left: auto; margin-right: auto; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-tag {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); background: #fff; cursor: pointer;
}
.filter-tag.active, .filter-tag:hover { border-color: var(--blue); color: var(--blue-dark); background: rgba(30,155,215,0.06); }
.notice-banner { background: rgba(30,155,215,0.08); border: 1px solid rgba(30,155,215,0.25); border-radius: var(--radius); padding: 18px 22px; font-size: 14.5px; color: var(--navy); margin-bottom: 32px; }
