/* ============================================================
   SOREMEX — Premium Corporate CSS
   Soluciones para Restaurantes Mexicanos · MF Group
   Dark · Gold · Better than Apple + Rolex
   ============================================================ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --gold:           #D4AF37;
  --gold-dark:      #B8860B;
  --gold-light:     #E8C84A;
  --black:          #050505;
  --black-mid:      #0a0a0a;
  --black-surface:  #111111;
  --green-deep:     #0F3D2E;
  --green-mid:      #1a5c44;
  --white-warm:     #F5F5F0;
  --gray-100:       #1c1c1c;
  --gray-200:       #2a2a2a;
  --gray-400:       #666666;
  --gray-600:       #999999;
  --red-mex:        #C1121F;
  --green-mex:      #00843D;
  --shadow-gold:    0 0 40px rgba(212,175,55,0.15);
  --shadow-deep:    0 24px 64px rgba(0,0,0,0.6);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --transition:     0.35s cubic-bezier(0.23,1,0.32,1);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--black);
  color: var(--white-warm);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── SECTION LABEL PILL ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  padding: 18px 44px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(212,175,55,0.25);
}

.btn--gold:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(212,175,55,0.4);
  background: var(--gold-light);
}

.btn--ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 17px 40px;
  border-radius: var(--radius-sm);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}

.btn--nav {
  background: var(--gold);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.btn--nav:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
}

/* ─── REVEAL STATES (GSAP animates these) ────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal-item] {
  opacity: 0;
  transform: translateY(28px);
}

/* ─── PAGE LOADER ────────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-wordmark {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: white;
}

.loader-wordmark span {
  color: var(--gold);
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  width: 0%;
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────────────── */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  z-index: 1001;
  width: 0%;
  transition: none;
}

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(5,5,5,0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(5,5,5,0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo variants */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.nav__logo-img {
  height: 160px;
  width: auto;
  display: block;
  margin: 0;
  object-fit: contain;
}

.hero__brand-mark {
  width: 252px;
  height: 252px;
  object-fit: contain;
  margin: 0 auto 36px;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(212,175,55,0.25));
}

.text-gold { color: var(--gold); }

/* Nav current-page indicator */
.nav__menu a[aria-current="page"] { color: var(--gold); }

/* Text-based logo fallback */
.nav__logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--black);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  letter-spacing: 0.12em;
  line-height: 1;
}

.nav__logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  display: block;
  margin-top: 3px;
  text-transform: uppercase;
}

/* Desktop menu */
.nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav__menu li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.87rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav__menu li a:hover {
  color: var(--gold);
  font-weight: 600;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile drawer */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 32px;
  gap: 0;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}

.nav__mobile.open {
  transform: translateX(0);
}

.nav__mobile a {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}

.nav__mobile a:hover {
  color: var(--gold);
}

.nav__mobile-wa {
  color: #25D366 !important;
  margin-top: 20px;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.78) 50%, rgba(5,5,5,0.55) 100%),
    url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=1800&q=85') center / cover no-repeat;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(212,175,55,0.07) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 180px 0 120px;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.28);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 32px;
}

.hero__eyebrow i {
  font-size: 0.75rem;
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  color: white;
  line-height: 1.0;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero__title-highlight {
  color: var(--gold);
  font-style: normal;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(245,245,240,0.72);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 52px;
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__stripe {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mex) 33%, white 33% 66%, var(--gold) 66%);
  border-radius: 2px;
  margin-top: 64px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(212,175,55,0.6), transparent);
  animation: heroScrollAnim 1.5s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes heroScrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.4; }
}

/* ─── PILLARS ─────────────────────────────────────────────────── */
.pillars {
  padding: 130px 0;
  background: var(--black-surface);
  background-image: radial-gradient(circle, rgba(212,175,55,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.pillars__header {
  text-align: center;
  margin-bottom: 80px;
}

.pillars__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  margin-top: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.06);
}

.pillar-card {
  background: var(--black-surface);
  padding: 52px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: default;
  transition: var(--transition);
}

.pillar-card:hover {
  background: rgba(212,175,55,0.04);
}

.pillar-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  background: rgba(212,175,55,0.06);
  flex-shrink: 0;
}

.pillar-card__keyword {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pillar-card__title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.5);
  margin-top: -8px;
  margin-bottom: 4px;
  font-weight: 600;
}

.pillar-card__desc {
  font-size: 0.92rem;
  color: rgba(245,245,240,0.55);
  line-height: 1.75;
}

/* ─── ECOSYSTEM ───────────────────────────────────────────────── */
.ecosystem {
  padding: 130px 0;
  background: var(--black);
}

.ecosystem__header {
  text-align: center;
  margin-bottom: 80px;
}

.ecosystem__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  margin: 16px auto 0;
  max-width: 700px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ecosystem__subtitle {
  font-size: 1.05rem;
  color: rgba(245,245,240,0.55);
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.7;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.07);
}

.eco-card {
  background: var(--black);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1);
}

.eco-card:hover::before {
  transform: scaleX(1);
}

.eco-card:hover {
  background: rgba(212,175,55,0.03);
}

.eco-card__num {
  font-size: 0.65rem;
  color: rgba(212,175,55,0.35);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.eco-card__icon {
  font-size: 2.2rem;
  margin-bottom: 4px;
}

.eco-card__name {
  font-size: 1.55rem;
  color: white;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.eco-card__cat {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.eco-card__desc {
  font-size: 0.9rem;
  color: rgba(245,245,240,0.5);
  line-height: 1.75;
  flex: 1;
}

.eco-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: auto;
  transition: var(--transition);
  text-decoration: none;
}

.eco-card:hover .eco-card__arrow {
  transform: translateX(8px);
}

.ecosystem__cta-wrap {
  text-align: center;
  margin-top: 60px;
}

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about {
  padding: 130px 0;
  background: var(--white-warm);
  color: var(--black);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about__label {
  color: var(--green-deep);
  background: rgba(15,61,46,0.08);
  border-color: rgba(15,61,46,0.2);
}

.about__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--black);
  margin: 16px 0 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about__desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.stat-card__num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__num .gold {
  color: var(--gold-dark);
}

.stat-card__label {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  line-height: 1.4;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__quote-card {
  background: var(--black);
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

.about__quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 900;
  opacity: 0.6;
  margin-bottom: -12px;
  display: block;
}

.about__quote-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 28px;
  font-style: italic;
  color: rgba(245,245,240,0.9);
}

.about__quote-author {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__tagline {
  background: rgba(15,61,46,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 3px solid var(--green-deep);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__tagline-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-deep);
}

.about__tagline-text {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.65;
}

/* ─── GASTRO BANNER ──────────────────────────────────────────── */
.gastro-banner {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.gastro-banner__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.75) 50%, rgba(5,5,5,0.92) 100%),
    url('https://images.unsplash.com/photo-1565557623262-b51c2513a641?w=1800&q=80') center / cover no-repeat;
}

.gastro-banner__inner {
  position: relative;
  z-index: 2;
}

.gastro-banner__label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
}

.gastro-banner__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gastro-banner__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(245,245,240,0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ─── CTA FINAL ──────────────────────────────────────────────── */
.cta-final {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5,5,5,0.88), rgba(5,5,5,0.88)),
    url('https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1400&q=80') center / cover;
}

.cta-final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.08) 0%, transparent 60%);
}

.cta-final__inner {
  position: relative;
  z-index: 2;
}

.cta-final__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  max-width: 800px;
  margin: 16px auto 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cta-final__title span {
  color: var(--gold);
}

.cta-final__sub {
  font-size: 1.1rem;
  color: rgba(245,245,240,0.6);
  max-width: 500px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.cta-final__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #080808;
  padding: 80px 0 36px;
  border-top: 1px solid rgba(212,175,55,0.08);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Text-based footer logo fallback */
.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 16px;
}

.footer__brand-name span {
  color: var(--gold);
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 28px;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer__social:hover {
  background: var(--gold);
  color: var(--black);
}

.footer__mfgroup {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 24px;
}

.footer__mfgroup-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.footer__mfgroup-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer__mfgroup-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: var(--transition);
}

.footer__mfgroup-links a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.18);
}

.footer__badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__badge {
  padding: 5px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}

/* ─── CHAT INTAKE WIDGET ─────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-trigger {
  width: 58px;
  height: 58px;
  background: var(--gold);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  box-shadow: 0 8px 28px rgba(212,175,55,0.45);
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}

.chat-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(212,175,55,0.6);
}

.chat-trigger__icon {
  position: absolute;
  transition: opacity 0.25s, transform 0.25s;
}

.chat-trigger__icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.chat-widget--open .chat-trigger__icon--chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.chat-widget--open .chat-trigger__icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.chat-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: #E74C3C;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  pointer-events: none;
}

.chat-panel {
  width: 340px;
  background: #0D0D0D;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65);
  transform: translateY(14px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.23,1,0.32,1), transform 0.28s cubic-bezier(0.23,1,0.32,1);
}

.chat-widget--open .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(212,175,55,0.05);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.chat-panel__logo {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--black);
  flex-shrink: 0;
}

.chat-panel__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}

.chat-panel__status {
  font-size: 0.7rem;
  color: rgba(245,245,240,0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.chat-panel__dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: chatDotPulse 2s ease-in-out infinite;
}

@keyframes chatDotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.chat-panel__body {
  padding: 20px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-panel__body::-webkit-scrollbar { width: 3px; }
.chat-panel__body::-webkit-scrollbar-track { background: transparent; }
.chat-panel__body::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.2); border-radius: 2px; }

.chat-msg { max-width: 90%; }
.chat-msg--bot  { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }

.chat-msg p {
  font-size: 0.84rem;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 14px;
  margin: 0;
}

.chat-msg--bot  p { background: rgba(255,255,255,0.06); color: rgba(245,245,240,0.82); border-radius: 14px 14px 14px 4px; }
.chat-msg--user p { background: var(--gold); color: var(--black); font-weight: 600; border-radius: 14px 14px 4px 14px; }

.chat-typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(245,245,240,0.35);
  border-radius: 50%;
  margin-right: 3px;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}

.chat-options { display: flex; flex-direction: column; gap: 8px; }

.chat-option {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: rgba(245,245,240,0.78);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: inherit;
  line-height: 1.4;
}

.chat-option:hover {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.45);
  color: white;
}

.chat-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.chat-cta {
  display: block;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
}

.chat-cta--primary  { background: var(--gold); color: var(--black); }
.chat-cta--primary:hover  { background: var(--gold-dark); }
.chat-cta--secondary { background: transparent; color: var(--gold); border: 1px solid rgba(212,175,55,0.3); }
.chat-cta--secondary:hover { border-color: var(--gold); background: rgba(212,175,55,0.06); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .nav__menu,
  .btn--nav {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__logo-img {
    height: 60px;
  }

  .nav__logo-text {
    font-size: 1.2rem;
  }

  .nav__logo-sub {
    font-size: 0.6rem;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

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

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

  .about__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__content {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    justify-content: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-final__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-final__actions .btn {
    justify-content: center;
  }

  .pillars {
    padding: 80px 0;
  }

  .ecosystem {
    padding: 80px 0;
  }

  .about {
    padding: 80px 0;
  }

  .cta-final {
    padding: 100px 0;
  }

  .eco-card {
    padding: 40px 28px;
  }

  .pillar-card {
    padding: 40px 28px;
  }

  .chat-widget {
    bottom: 20px;
    right: 20px;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  [data-reveal-item] {
    opacity: 1;
    transform: none;
  }

  .hero__scroll-line {
    animation: none;
  }

  .chat-panel__dot,
  .chat-typing span {
    animation: none;
  }
}

/* ============================================================
   BLOG — Shared Article Styles
   ============================================================ */
.article-hero { padding: 160px 0 80px; background: var(--black-surface); background-image: radial-gradient(circle, rgba(212,175,55,0.025) 1px, transparent 1px); background-size: 36px 36px; }
.article-hero__cat { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2); padding: 4px 14px; border-radius: 20px; margin-bottom: 24px; }
.article-hero__title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: white; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 860px; }
.article-hero__meta { font-size: 0.78rem; color: rgba(245,245,240,0.4); letter-spacing: 0.05em; margin-bottom: 28px; }
.article-hero__intro { font-size: 1.15rem; color: rgba(245,245,240,0.7); line-height: 1.8; max-width: 700px; }
.article-body { padding: 80px 0 120px; }
.article-content { max-width: 780px; margin: 0 auto; }
.article-content h2 { font-size: 1.8rem; font-weight: 800; color: white; margin: 56px 0 20px; letter-spacing: -0.02em; line-height: 1.15; }
.article-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--gold); margin: 36px 0 14px; }
.article-content p { font-size: 1rem; color: rgba(245,245,240,0.72); line-height: 1.85; margin-bottom: 24px; }
.article-content ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.article-content ul li { padding-left: 24px; position: relative; font-size: 1rem; color: rgba(245,245,240,0.72); line-height: 1.75; }
.article-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.article-content a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.3); transition: border-color 0.2s; }
.article-content a:hover { border-color: var(--gold); }
.article-cta-box { background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.2); border-radius: 16px; padding: 32px 36px; margin: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-cta-box__text { font-size: 1rem; color: white; font-weight: 600; max-width: 500px; line-height: 1.5; }
.related-posts { padding: 80px 0; background: var(--black-surface); }
.related-posts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 40px; }
.related-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(212,175,55,0.12); border-radius: 16px; padding: 28px; text-decoration: none; transition: border-color 0.25s, transform 0.25s; display: block; }
.related-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-4px); }
.related-card__cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 12px; }
.related-card__title { font-size: 1.05rem; font-weight: 700; color: white; line-height: 1.35; margin-bottom: 10px; }
.related-card__read { font-size: 0.78rem; color: rgba(245,245,240,0.4); }
.breadcrumb { font-size: 0.75rem; color: rgba(245,245,240,0.35); margin-bottom: 32px; letter-spacing: 0.05em; }
.breadcrumb a { color: rgba(245,245,240,0.35); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
