/* ═══════════════════════════════════════════
   THE CORPORATE GUIDE — Global Stylesheet
   thecorporateguide.com
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:       #0a0f1e;
  --navy2:      #111827;
  --navy3:      #1a2236;
  --gold:       #c9a84c;
  --gold2:      #e8c96a;
  --gold-light: #fdf3d8;
  --cream:      #faf8f3;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --text2:      #4a5568;
  --text3:      #718096;
  --border:     #e8e4d9;
  --red:        #c0392b;
  --green:      #1a7a4a;
  --shadow:     0 4px 32px rgba(10,15,30,0.10);
  --shadow-lg:  0 12px 60px rgba(10,15,30,0.18);
  --radius:     12px;
  --radius-lg:  20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── TYPOGRAPHY ─── */
.font-display { font-family: 'Playfair Display', serif; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }

/* ─── NAV ─── */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,15,30,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 2rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 900; color: var(--navy); font-size: 18px;
  flex-shrink: 0;
}
.nav-logo-text { font-family: 'Playfair Display', serif; color: var(--white); font-size: 18px; font-weight: 600; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-link {
  color: rgba(255,255,255,0.75); font-size: 13.5px; font-weight: 500;
  padding: 8px 16px; border-radius: 6px; cursor: pointer;
  transition: color 0.2s, background 0.2s; letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-cta {
  background: var(--gold); color: var(--navy); padding: 9px 20px;
  border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 0.2s, transform 0.15s; letter-spacing: 0.03em; border: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; transition: 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: rgba(10,15,30,0.98); padding: 16px 2rem 24px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }

/* ─── TICKER ─── */
.ticker-wrap { background: var(--gold); padding: 10px 0; overflow: hidden; display: flex; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 45s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 32px; font-size: 12.5px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; text-transform: uppercase; }
.ticker-dot { width: 4px; height: 4px; background: var(--navy); border-radius: 50%; opacity: 0.4; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── SECTIONS ─── */
.section { padding: 80px 2rem; }
.section-dark { background: var(--navy); color: var(--white); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 46px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text2); line-height: 1.7; max-width: 560px; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--gold); color: var(--navy); padding: 13px 30px;
  border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s; letter-spacing: 0.02em; display: inline-block;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent; color: var(--white); padding: 13px 30px;
  border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25); transition: all 0.2s; display: inline-block;
  font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
  background: transparent; color: var(--navy); padding: 13px 30px;
  border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--navy); transition: all 0.2s; display: inline-block;
  font-family: 'DM Sans', sans-serif;
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: gap 0.2s; }
.read-more:hover { gap: 12px; }

/* ─── BLOG CARDS ─── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.25s; cursor: pointer;
  box-shadow: 0 2px 12px rgba(10,15,30,0.05); text-decoration: none; display: block; color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img { height: 190px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; font-size: 64px; }
.blog-card-body { padding: 20px 22px 22px; }
.blog-tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: var(--gold-light); color: #8a6a1a; margin-bottom: 10px; }
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
.blog-card-excerpt { font-size: 13.5px; color: var(--text2); line-height: 1.6; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text3); flex-wrap: wrap; }
.blog-meta-dot { width: 3px; height: 3px; background: var(--text3); border-radius: 50%; }

/* Featured card */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--navy); border-radius: var(--radius-lg); overflow: hidden;
  padding: 48px; margin-bottom: 48px; cursor: pointer; transition: transform 0.25s;
  text-decoration: none; color: inherit;
}
.blog-featured:hover { transform: translateY(-3px); }
.blog-featured-label { color: var(--gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.blog-featured-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.blog-featured-excerpt { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.blog-featured-img { border-radius: var(--radius); height: 280px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; font-size: 80px; }

/* Category pills */
.categories { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-pill { padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; background: var(--white); color: var(--text2); text-decoration: none; display: inline-block; }
.cat-pill:hover, .cat-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ─── PRODUCTS ─── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.25s; box-shadow: 0 2px 12px rgba(10,15,30,0.05); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img { height: 160px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; }
.product-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--navy); padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.product-body { padding: 18px 20px 20px; }
.product-cat { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.product-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 14px; }
.product-price { font-size: 22px; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; }
.product-price-old { font-size: 14px; color: var(--text3); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text3); }
.stars { color: var(--gold); font-size: 13px; }
.btn-buy { background: var(--navy); color: var(--white); padding: 11px 0; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; width: 100%; margin-top: 12px; font-family: 'DM Sans', sans-serif; }
.btn-buy:hover { background: var(--gold); color: var(--navy); }

/* ─── VALUE STRIP ─── */
.value-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; }
.value-item { background: rgba(255,255,255,0.04); padding: 36px 28px; border-right: 1px solid rgba(255,255,255,0.07); transition: background 0.2s; }
.value-item:hover { background: rgba(201,168,76,0.07); }
.value-icon { font-size: 28px; margin-bottom: 14px; }
.value-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.value-desc { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ─── NEWSLETTER ─── */
.newsletter-box { background: var(--gold); border-radius: var(--radius-lg); padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.newsletter-sub { font-size: 15px; color: rgba(10,15,30,0.65); }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }
.newsletter-input { flex: 1; padding: 13px 18px; border-radius: 8px; border: none; font-size: 14px; font-family: 'DM Sans', sans-serif; background: rgba(10,15,30,0.12); color: var(--navy); outline: none; }
.newsletter-input::placeholder { color: rgba(10,15,30,0.45); }
.newsletter-btn { background: var(--navy); color: var(--white); padding: 13px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; white-space: nowrap; font-family: 'DM Sans', sans-serif; }
.newsletter-btn:hover { background: #1a2640; }

/* ─── FOOTER ─── */
footer.main-footer { background: var(--navy2); color: rgba(255,255,255,0.6); padding: 64px 2rem 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand-desc { font-size: 13.5px; line-height: 1.7; margin-bottom: 20px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px; }
.footer-link { display: block; font-size: 13.5px; color: rgba(255,255,255,0.55); margin-bottom: 10px; cursor: pointer; transition: color 0.2s; text-decoration: none; }
.footer-link:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn { background: rgba(255,255,255,0.08); padding: 8px 14px; border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.2s; border: none; font-family: 'DM Sans', sans-serif; }
.footer-social-btn:hover { background: rgba(201,168,76,0.2); color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom-text { font-size: 12.5px; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero { background: var(--navy); padding: 120px 2rem 64px; }
.page-hero-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.page-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 54px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.page-hero-sub { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.65; max-width: 560px; }

/* ─── TOAST ─── */
#toast { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: var(--navy); color: var(--white); padding: 14px 22px; border-radius: 10px; font-size: 14px; font-weight: 500; transform: translateY(100px); opacity: 0; transition: all 0.3s; border-left: 4px solid var(--gold); pointer-events: none; max-width: 340px; }
#toast.show { transform: translateY(0); opacity: 1; }

/* ─── MODAL ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,15,30,0.75); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; padding: 32px; animation: fadeUp 0.25s ease; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: #f0ece5; border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--border); }

/* ─── FLOATING SHAPES ─── */
.floating-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; border: 1px solid rgba(201,168,76,0.12); border-radius: 50%; animation: float 8s infinite ease-in-out; }
.shape:nth-child(1) { width:300px;height:300px; top:-100px; right:-60px; animation-delay:0s; }
.shape:nth-child(2) { width:200px;height:200px; bottom:60px; left:-80px; animation-delay:2s; }
.shape:nth-child(3) { width:120px;height:120px; top:40%; right:15%; animation-delay:4s; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes float { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-20px) rotate(5deg)} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
@keyframes scrollLine { 0%{height:0;opacity:1} 100%{height:40px;opacity:0} }

.anim-fade-up { opacity:0; animation: fadeUp 0.7s ease forwards; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; padding: 28px; }
  .blog-featured-img { height: 160px; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 56px 1.25rem; }
  .newsletter-box { padding: 32px 24px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
