/* ========================================
   PT. TOKAFEMI NUSANTARA — MAIN STYLESHEET
   Theme: Elegant Navy & Gold
   ======================================== */

:root {
  --navy: #0B2545;
  --navy-mid: #1A3A6B;
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-pale: #F5EDD8;
  --white: #FFFFFF;
  --off-white: #F9F7F3;
  --gray-light: #F0EDE8;
  --gray: #9A9080;
  --gray-dark: #5C5548;
  --text: #1C1814;
  --text-light: #6B6058;
  --shadow: 0 4px 30px rgba(11, 37, 69, 0.10);
  --shadow-hover: 0 12px 50px rgba(11, 37, 69, 0.18);
  --border: rgba(201, 168, 76, 0.25);
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
em { font-style: italic; color: var(--gold); }

/* ---- PRELOADER ---- */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  animation: pulse 1s ease infinite alternate;
}
.preloader-bar {
  width: 160px; height: 2px;
  background: rgba(201,168,76,0.2);
  margin: 16px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  background: var(--gold);
  animation: loadBar 1.5s ease infinite;
}
@keyframes loadBar { 0%{width:0;margin-left:0} 50%{width:100%;margin-left:0} 100%{width:0;margin-left:100%} }
@keyframes pulse { from{opacity:0.5} to{opacity:1} }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left span i, .topbar-right a i { color: var(--gold); margin-right: 6px; }
.topbar-right a { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.topbar-right a:hover { color: var(--gold); }

/* ---- NAVBAR ---- */
#navbar {
  position: sticky; top: 0; left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  box-shadow: 0 2px 20px rgba(11,37,69,0.08);
  transition: box-shadow var(--transition), background var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 4px 40px rgba(11,37,69,0.14);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  letter-spacing: 1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.logo-sub { font-size: 0.65rem; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-light);
  padding: 8px 14px;
  letter-spacing: 0.3px;
  position: relative;
  border-radius: var(--radius);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.nav-cta {
  background: var(--navy); color: var(--gold);
  padding: 8px 20px; border-radius: var(--radius);
  font-weight: 600; letter-spacing: 0.5px;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--gold); color: var(--navy); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.text-center { text-align: center; margin-top: 40px; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 560px; margin: 16px auto 0; color: var(--text-light); }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title { color: var(--navy); }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom { from{transform:scale(1.1)} to{transform:scale(1)} }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,37,69,0.88) 40%, rgba(11,37,69,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 18px;
  margin-bottom: 24px;
  border-radius: 2px;
}
.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}
.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} 100%{opacity:0} }

/* ---- STATS ---- */
.stats-section {
  background: var(--navy);
  padding: 60px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(201,168,76,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 700;
  color: var(--gold);
  display: inline;
}
.stat-plus { display: inline; font-size: 2rem; color: var(--gold); font-weight: 300; }
.stat-label {
  font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: 8px;
}

/* ---- ABOUT BRIEF ---- */
.about-brief { padding: 100px 0; background: var(--white); }
.about-brief-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  height: 520px; object-fit: cover; width: 100%;
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}
.badge-year {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  line-height: 1;
}
.badge-text {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  opacity: 0.8;
}
.about-text .section-eyebrow { margin-bottom: 12px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-features { margin: 24px 0 32px; }
.about-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0;
  color: var(--text-light);
  font-size: 0.92rem;
}
.about-features li i { color: var(--gold); margin-top: 4px; flex-shrink: 0; }

/* ---- CATEGORIES ---- */
.categories-section {
  padding: 100px 0;
  background: var(--off-white);
}
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation-delay: var(--delay);
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.cat-img { height: 200px; overflow: hidden; position: relative; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-info { padding: 24px; }
.cat-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.cat-info h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.cat-info p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ---- WHY US ---- */
.why-us { padding: 100px 0; background: var(--navy); }
.why-us .section-header .section-eyebrow { color: var(--gold); }
.why-us .section-title { color: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}
.why-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.why-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.2rem; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }

/* ---- NEWSLETTER ---- */
.newsletter-section {
  padding: 80px 0;
  background: var(--gold-pale);
}
.newsletter-inner {
  max-width: 700px; margin: 0 auto;
  text-align: center;
}
.newsletter-icon {
  font-size: 2.5rem; color: var(--gold);
  margin-bottom: 20px;
}
.newsletter-inner h2 { color: var(--navy); margin-bottom: 12px; }
.newsletter-inner p { color: var(--text-light); margin-bottom: 28px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.form-group-inline {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.form-group-inline input {
  flex: 1; min-width: 180px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group-inline input:focus { outline: none; border-color: var(--gold); }
.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.78rem; color: var(--text-light);
  text-align: left; cursor: pointer;
}
.consent-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.consent-label a { color: var(--gold); text-decoration: underline; }
.newsletter-unsub {
  margin-top: 16px;
  font-size: 0.78rem; color: var(--gray);
}
.newsletter-unsub a { color: var(--gold); }
.newsletter-success {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #16a34a;
  font-size: 0.92rem; font-weight: 500;
  background: #dcfce7;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative; min-height: 400px;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,37,69,0.9), rgba(11,37,69,0.65));
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 120px 24px 80px;
}
.breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  margin-bottom: 16px; letter-spacing: 0.5px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }
.page-hero-content h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-content p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ---- STORY SECTION ---- */
.story-section { padding: 100px 0; }
.story-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.story-text .section-eyebrow { margin-bottom: 12px; }
.story-text p { color: var(--text-light); margin-bottom: 16px; }
.story-img img { border-radius: var(--radius); box-shadow: var(--shadow-hover); height: 480px; object-fit: cover; width: 100%; }

/* ---- TIMELINE ---- */
.timeline-section { padding: 80px 0 100px; background: var(--off-white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 40px 1fr;
  gap: 24px; align-items: start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-year { order: 3; text-align: left; }
.timeline-item:nth-child(even) .timeline-content { order: 1; text-align: right; }
.timeline-dot {
  width: 16px; height: 16px;
  background: var(--gold);
  border: 3px solid var(--off-white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
  align-self: center;
  margin: 4px 12px;
}
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold);
  text-align: right;
  line-height: 1;
  padding-top: 4px;
}
.timeline-content h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.timeline-content p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; }

/* ---- VISION MISSION ---- */
.vismis-section { padding: 100px 0; background: var(--navy); }
.vismis-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.vismis-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}
.vismis-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.vismis-icon {
  font-size: 2rem; color: var(--gold);
  margin-bottom: 20px;
}
.vismis-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--white);
  margin-bottom: 16px;
}
.vismis-card p, .vismis-card li { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.8; }
.vismis-card ul { padding-left: 16px; }
.vismis-card ul li { margin-bottom: 6px; position: relative; padding-left: 12px; }
.vismis-card ul li::before { content: '—'; position: absolute; left: -4px; color: var(--gold); }

/* ---- TEAM ---- */
.team-section { padding: 100px 0; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.team-img { height: 260px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-info { padding: 24px; }
.team-info h3 { color: var(--navy); margin-bottom: 4px; font-size: 1.1rem; }
.team-info span {
  display: block;
  font-size: 0.75rem; color: var(--gold); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 10px;
}
.team-info p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }

/* ---- CERTIFICATES ---- */
.cert-section { padding: 80px 0; background: var(--off-white); }
.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.cert-icon { font-size: 2rem; color: var(--gold); margin-bottom: 14px; }
.cert-card h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.cert-card p { color: var(--text-light); font-size: 0.82rem; margin-bottom: 12px; }
.cert-badge {
  display: inline-block;
  background: #dcfce7; color: #16a34a;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}

/* ---- PRODUCTS ---- */
.product-section { padding: 80px 0 100px; }
.product-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 48px; justify-content: center;
}
.filter-btn {
  padding: 10px 22px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.5px;
  border: 1.5px solid var(--gray-light);
  border-radius: 30px;
  background: transparent; color: var(--text-light);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--gold);
  border-color: var(--navy);
}
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 60px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.product-img { height: 220px; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.product-info { padding: 24px; }
.product-cat {
  font-size: 0.72rem; color: var(--gold); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.product-info h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.1rem; }
.product-info p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 18px; line-height: 1.6; }
.btn-product {
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.btn-product:hover { gap: 10px; }

.product-cta {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
}
.product-cta h3 { color: var(--white); margin-bottom: 12px; }
.product-cta p { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 28px; }

/* ---- CONTACT ---- */
.contact-section { padding: 80px 0 100px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.contact-info .section-eyebrow { margin-bottom: 12px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-info-card {
  display: flex; gap: 16px;
  padding: 20px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--gold); }
.ci-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.ci-text h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.ci-text p { color: var(--text-light); font-size: 0.83rem; line-height: 1.6; }
.contact-map iframe {
  width: 100%; height: 220px;
  border: none; border-radius: var(--radius);
  filter: grayscale(20%);
}
.contact-form-wrap .section-eyebrow { margin-bottom: 12px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}

/* ---- LEGAL PAGES ---- */
.legal-section { padding: 80px 0 100px; }
.legal-inner {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 56px; align-items: start;
}
.legal-sidebar {
  position: sticky; top: 100px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.legal-sidebar h4 { color: var(--navy); margin-bottom: 16px; font-size: 1rem; }
.legal-sidebar ul { display: flex; flex-direction: column; gap: 6px; }
.legal-sidebar li a {
  font-size: 0.82rem; color: var(--text-light);
  padding: 4px 0; display: block;
  transition: color var(--transition);
}
.legal-sidebar li a:hover { color: var(--gold); }
.legal-content > div { margin-bottom: 48px; }
.legal-content h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1.1rem; color: var(--navy); margin: 20px 0 10px; }
.legal-content p { color: var(--text-light); margin-bottom: 14px; font-size: 0.92rem; line-height: 1.8; }
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-content ul li {
  list-style: disc;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-content a { color: var(--gold); }
.legal-contact-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 16px;
}
.legal-contact-box p { margin-bottom: 10px; }

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 60px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo .logo-mark { background: var(--gold); color: var(--navy); }
.footer-logo .logo-main { color: var(--white); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 300px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-nav h4, .footer-contact h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul a { font-size: 0.85rem; transition: color var(--transition); }
.footer-nav ul a:hover { color: var(--gold); }
.footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.83rem; }
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 24px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 2;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-brief-inner, .story-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; gap: 0;
    padding: 20px 0;
    box-shadow: 0 12px 40px rgba(11,37,69,0.15);
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 998;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-links a.nav-cta { margin: 8px 24px; text-align: center; }
  .nav-links a::after { display: none; }

  .hero-content { padding: 100px 24px 60px; }
  .hero-actions { flex-direction: column; }
  .btn { width: fit-content; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.2); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(201,168,76,0.2); }

  .about-brief-inner, .story-inner { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-img-wrap img, .story-img img { height: 320px; }
  .about-img-badge { bottom: -12px; right: 12px; }

  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .vismis-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }

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

  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-year { display: none; }
  .timeline-item:nth-child(even) .timeline-content { order: 2; text-align: left; }

  .legal-inner { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }

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

  .form-group-inline { flex-direction: column; }
  .form-group-inline input { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
