/* ═══════════════════════════════════════════
   ECOREL FLEXIPACK — SHARED STYLESHEET
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-light: #1e3560;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5e9c8;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --light-gray: #e8edf5;
  --text: #1a2540;
  --text-light: #4a5870;
  --green: #2d7a4f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--off-white); color: var(--text); overflow-x: hidden; }

/* SOCIAL RIBBON */
.social-ribbon { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: 2px; }
.social-ribbon a { display: flex; align-items: center; width: 44px; height: 44px; overflow: hidden; background: var(--navy); color: var(--gold); text-decoration: none; font-size: 18px; transition: width 0.3s ease, background 0.3s; border-radius: 0 6px 6px 0; white-space: nowrap; padding-left: 12px; }
.social-ribbon a:hover { width: 140px; background: var(--gold); color: var(--navy); }
.social-ribbon a .label { font-size: 13px; font-weight: 600; padding-left: 10px; opacity: 0; transition: opacity 0.2s 0.1s; }
.social-ribbon a:hover .label { opacity: 1; }

/* NAVBAR */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 998; background: rgba(10,22,40,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201,168,76,0.2); padding: 0 60px; height: 70px; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; color: var(--navy); font-family: 'Playfair Display', serif; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.logo-tag { font-size: 9px; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important; color: var(--navy) !important; padding: 9px 22px; border-radius: 6px; font-weight: 600 !important; }
.nav-cta::after { display: none !important; }
/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 16px); left: 0; background: var(--navy); border: 1px solid rgba(201,168,76,0.2); border-radius: 10px; min-width: 220px; padding: 8px 0; box-shadow: 0 16px 48px rgba(0,0,0,0.3); z-index: 1000; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 13px; color: rgba(255,255,255,0.7) !important; transition: background 0.15s, color 0.15s; }
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover { background: rgba(201,168,76,0.1); color: var(--gold) !important; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--navy); padding: 130px 60px 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,0.4); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 64px); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 560px; line-height: 1.8; }

/* SECTION COMMONS */
section { padding: 90px 60px; }
.container { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 15px; color: var(--text-light); max-width: 560px; line-height: 1.85; }
.section-sub.light { color: rgba(255,255,255,0.6); }

/* BUTTONS */
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 8px 24px rgba(201,168,76,0.25); display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(201,168,76,0.4); }
.btn-outline-dark { border: 1.5px solid var(--navy); color: var(--navy); padding: 13px 30px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-outline-dark:hover { background: var(--navy); color: var(--gold); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); padding: 13px 30px; border-radius: 8px; font-weight: 500; font-size: 14px; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* CERT BAR */
.cert-bar { background: var(--gold); padding: 14px 60px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: 0.5px; }
.cert-icon { font-size: 20px; }
.cert-divider { width: 1px; height: 24px; background: rgba(10,22,40,0.25); }

/* FOOTER */
footer { background: #060e1c; padding: 64px 60px 32px; border-top: 1px solid rgba(201,168,76,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.8; margin-top: 16px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all 0.2s; text-decoration: none; color: rgba(255,255,255,0.6); }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-certs { display: flex; gap: 12px; }
.f-cert { padding: 4px 12px; border: 1px solid rgba(201,168,76,0.25); border-radius: 100px; font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.5px; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }
.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; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  section { padding: 70px 24px; }
  .page-hero { padding: 110px 24px 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cert-bar { padding: 12px 24px; gap: 24px; }
  .social-ribbon { display: none; }
  footer { padding: 48px 24px 24px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
