/* =========================================================
   DGA Comercial — Premium Industrial CSS
   ========================================================= */

/* --- Variables --- */
:root {
  --black: #0d0e10;
  --dark: #141519;
  --dark-mid: #1c1d22;
  --dark-light: #252830;
  --steel: #9aa0ab;
  --steel-light: #c8cdd5;
  --white: #f4f2ef;
  --yellow: #f0c220;
  --yellow-dark: #c9a118;
  --yellow-glow: rgba(240, 194, 32, 0.12);
  --yellow-glow-strong: rgba(240, 194, 32, 0.28);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --shadow-card: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-yellow: 0 0 48px rgba(240, 194, 32, 0.18);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow-dark); border-radius: 3px; }

/* =========================================================
   TOP STRIP
   ========================================================= */
.topstrip {
  background: var(--yellow);
  padding: 8px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 201;
}
.topstrip a, .topstrip span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--black);
}
.topstrip a:hover { text-decoration: underline; }
.topstrip .sep { opacity: 0.3; }

/* =========================================================
   NAVBAR
   ========================================================= */
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: rgba(13, 14, 16, 0.75);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(240, 194, 32, 0.25);
  transition: all 0.4s var(--ease-out);
}
nav.main-nav.scrolled {
  height: 60px;
  background: rgba(13, 14, 16, 0.96);
  border-bottom-color: var(--yellow);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(240, 194, 32, 0.08);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s var(--ease-out);
}
nav.main-nav.scrolled .nav-logo img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-light);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 11px 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: transparent;
  color: var(--yellow) !important;
}

/* 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: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 14, 16, 0.98);
  backdrop-filter: blur(24px);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-mobile.open { opacity: 1; pointer-events: all; display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-light);
  padding: 14px 32px;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--yellow); }
.nav-mobile .nav-mobile-cta {
  margin-top: 24px;
  background: var(--yellow);
  color: var(--black) !important;
  font-size: 18px;
  padding: 16px 48px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 54% 46%;
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 194, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 194, 32, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s var(--ease-out) forwards;
}
.hero-eyebrow-line { width: 40px; height: 2px; background: var(--yellow); }
.hero-eyebrow-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--yellow);
}

/* Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0px;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.hero-title .yellow { color: var(--yellow); }
.hero-title .ghost {
  -webkit-text-stroke: 2px var(--steel);
  color: transparent;
}

/* Sub */
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--steel-light);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s var(--ease-out) forwards;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease-out) forwards;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  padding: 16px 34px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-yellow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,194,32,0.35); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 16px 34px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,194,32,0.12);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(240, 194, 32, 0.18);
  opacity: 0;
  animation: fadeUp 0.8s 0.65s var(--ease-out) forwards;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero Right — Image */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1200&q=85');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroImgReveal 1.4s 0.2s var(--ease-out) forwards;
}
@keyframes heroImgReveal {
  to { transform: scale(1); }
}

/* Overlays on hero image */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 14, 16, 1) 0%,
    rgba(13, 14, 16, 0.6) 30%,
    rgba(13, 14, 16, 0.1) 65%,
    rgba(13, 14, 16, 0.4) 100%
  );
  z-index: 1;
}
.hero-img-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(240, 194, 32, 0.06) 0%, transparent 60%);
  z-index: 2;
}

/* Floating badge on hero */
.hero-badge {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 3;
  background: rgba(13, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 194, 32, 0.35);
  padding: 18px 24px;
  animation: floatY 4s ease-in-out infinite;
  opacity: 0;
  animation: floatAppear 0.8s 1s var(--ease-out) forwards, floatY 4s 1.8s ease-in-out infinite;
}
@keyframes floatAppear {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
.hero-badge-text {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-top: 4px;
}

/* =========================================================
   YELLOW SEPARATOR
   ========================================================= */
.yellow-bar {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--yellow) 20%, var(--yellow-dark) 80%, transparent);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 96px 80px; }
.section-dark { background: var(--dark); }
.section-darker { background: var(--dark-mid); }

.sec-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sec-label-line { width: 32px; height: 2px; background: var(--yellow); }
.sec-label-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--yellow);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  line-height: 1;
  margin-bottom: 56px;
}
.sec-title .ghost {
  -webkit-text-stroke: 2px var(--steel);
  color: transparent;
}

/* =========================================================
   PRODUCTS GRID
   ========================================================= */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.prod-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-light);
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  transform-style: preserve-3d;
  border-top: 2px solid transparent;
}
.prod-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(240, 194, 32, 0.2), var(--shadow-yellow);
  border-top-color: var(--yellow);
  z-index: 2;
}

/* Card image */
.prod-img {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--dark-mid);
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: saturate(0.7) brightness(0.75);
}
.prod-card:hover .prod-img img {
  transform: scale(1.08);
  filter: saturate(1) brightness(0.9);
}

/* Image overlay */
.prod-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(13, 14, 16, 0.7) 100%
  );
  z-index: 1;
  transition: opacity 0.3s;
}
.prod-card:hover .prod-img::after { opacity: 0.6; }

/* Yellow glow overlay on hover */
.prod-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(240, 194, 32, 0.15) 0%, transparent 70%);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s;
}
.prod-card:hover .prod-img::before { opacity: 1; }

/* Card body */
.prod-body {
  padding: 24px 22px 28px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, var(--dark-light), rgba(28, 29, 34, 0.95));
}
.prod-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.prod-desc {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.7;
  flex: 1;
}
.prod-badge {
  display: inline-block;
  margin-top: 16px;
  background: var(--yellow-glow);
  border: 1px solid rgba(240, 194, 32, 0.25);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  text-transform: uppercase;
  align-self: flex-start;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.prod-badge:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: translateY(-1px);
}
.prod-card:hover .prod-badge {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* Products CTA */
.prod-actions {
  text-align: center;
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image side */
.about-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}
.about-img-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.8) brightness(0.85);
  transition: filter 0.6s, transform 0.6s var(--ease-out);
}
.about-img-wrap:hover .about-img-frame img {
  filter: saturate(1) brightness(0.95);
  transform: scale(1.03);
}

/* Gradient overlay on image */
.about-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(240, 194, 32, 0.08) 0%,
    transparent 50%,
    rgba(13, 14, 16, 0.5) 100%
  );
  pointer-events: none;
}

/* Glow + border accent */
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--yellow), transparent 50%, transparent 50%, rgba(240,194,32,0.3));
  border-radius: 4px;
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.4s;
}
.about-img-wrap:hover::before { opacity: 1; }

/* Corner accents */
.about-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--yellow);
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}
.about-corner.tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.about-corner.tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
.about-corner.bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; }
.about-corner.br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

/* Floating label */
.about-img-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(13, 14, 16, 0.88);
  backdrop-filter: blur(12px);
  border-left: 3px solid var(--yellow);
  padding: 12px 18px;
  z-index: 2;
}
.about-img-label-top {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
.about-img-label-bot {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-top: 4px;
}

/* Text side */
.about-text {
  font-size: 15px;
  color: var(--steel-light);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-valores {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.valor {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--steel-light);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.valor::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  flex-shrink: 0;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.valor:hover { color: var(--white); }
.valor:hover::before { transform: rotate(90deg); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: var(--yellow);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'DGA';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -8px;
}
.cta-band::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: rgba(0,0,0,0.15);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
  letter-spacing: -1px;
}
.cta-sub {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 10px;
  font-weight: 400;
}
.btn-black {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 18px 38px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid var(--black);
  transition: all 0.25s;
  flex-shrink: 0;
}
.btn-black:hover {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}
.contact-item:hover { padding-left: 8px; }
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--yellow-glow);
  border: 1px solid rgba(240, 194, 32, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.contact-item:hover .contact-icon {
  background: var(--yellow);
  border-color: var(--yellow);
}
.contact-lbl {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 5px;
}
.contact-val { font-size: 15px; color: var(--white); line-height: 1.6; }
.contact-val a { color: var(--white); transition: color 0.2s; }
.contact-val a:hover { color: var(--yellow); }

.contact-map {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--dark-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.25) contrast(1.15) brightness(0.85);
}
.contact-map::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(240, 194, 32, 0.25);
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(240,194,32,0.04);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 52px 80px 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo img { height: 40px; }
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }

.footer-socials { display: flex; gap: 10px; }
.social {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: 16px;
  transition: all 0.2s;
}
.social:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-glow);
  transform: translateY(-2px);
}
.footer-copy {
  font-size: 12px;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.6;
}
.footer-copy span { color: var(--yellow); }

/* =========================================================
   WHATSAPP BUTTON
   ========================================================= */
/* WhatsApp SVG icon — usado em botões e links */
.wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}
.wa-btn .wa-icon,
.social .wa-icon { width: 26px; height: 26px; }
.contact-icon .wa-icon { width: 22px; height: 22px; }

.wa-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 300;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform 0.2s;
  color: #fff;
}
.wa-btn:hover { transform: scale(1.12); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger for cards */
.prod-card:nth-child(1) { transition-delay: 0s; }
.prod-card:nth-child(2) { transition-delay: 0.07s; }
.prod-card:nth-child(3) { transition-delay: 0.14s; }
.prod-card:nth-child(4) { transition-delay: 0.21s; }
.prod-card:nth-child(5) { transition-delay: 0.28s; }
.prod-card:nth-child(6) { transition-delay: 0.35s; }
.prod-card:nth-child(7) { transition-delay: 0.42s; }
.prod-card:nth-child(8) { transition-delay: 0.49s; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 52px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Loading bar */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 9999;
  transform-origin: left;
  animation: loadBar 0.8s var(--ease-out) forwards;
}
@keyframes loadBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); opacity: 0; }
}

/* =========================================================
   CATALOG PAGE SPECIFIC
   ========================================================= */
.page-header {
  background: var(--dark-mid);
  padding: 64px 80px 56px;
  border-bottom: 3px solid var(--yellow);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: 'CATÁLOGO';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 700;
  color: rgba(240, 194, 32, 0.045);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -4px;
}
.ph-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ph-line { width: 32px; height: 2px; background: var(--yellow); }
.ph-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--yellow);
}
.ph-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  line-height: 1;
}
.ph-title .ghost { -webkit-text-stroke: 2px var(--steel); color: transparent; }
.ph-sub {
  font-size: 15px;
  color: var(--steel-light);
  margin-top: 16px;
  max-width: 520px;
  line-height: 1.75;
}

/* Catalog layout */
.catalog-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}
.sidebar {
  background: var(--dark);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(240,194,32,0.25); }
.sidebar-title {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 0 24px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--steel);
  transition: all 0.2s;
  border-left: 3px solid transparent;
  cursor: pointer;
}
.sidebar-item:hover, .sidebar-item.active {
  color: var(--yellow);
  background: rgba(240, 194, 32, 0.05);
  border-left-color: var(--yellow);
}
.sidebar-item span { display: flex; align-items: center; }
.cat-content {
  padding: 56px 72px;
  background: var(--black);
}
.cat-section { margin-bottom: 80px; scroll-margin-top: 100px; }
.cat-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--yellow);
}
.cat-section-icon { display: flex; align-items: center; }
.cat-section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cat-section-badge {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  text-transform: uppercase;
}
.table-group { margin-bottom: 36px; }
.table-group-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  padding-left: 8px;
  border-left: 3px solid var(--yellow);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 14px;
  text-align: left;
}
.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--steel-light);
}
.data-table tr:hover td { background: rgba(240,194,32,0.04); color: var(--white); }
.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.018); }
.tables-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tables-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.inline-cta {
  background: var(--yellow-glow);
  border: 1px solid rgba(240,194,32,0.25);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.inline-cta p { font-size: 14px; color: var(--steel-light); }
.inline-cta p strong { color: var(--yellow); }
.btn-sm-yellow {
  background: var(--yellow);
  color: var(--black);
  padding: 11px 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-sm-yellow:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.cat-footer {
  background: var(--dark-mid);
  border-top: 2px solid var(--yellow);
  padding: 36px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cat-footer img { height: 38px; }
.cat-footer-copy { font-size: 12px; color: var(--steel); }
.cat-footer-copy span { color: var(--yellow); }

/* =========================================================
   IA SECTION
   ========================================================= */
.ia-section {
  position: relative;
  background: #09090b;
  overflow: hidden;
}
.ia-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,194,32,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,194,32,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.ia-section::after {
  content: 'IA';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 320px;
  font-weight: 700;
  color: rgba(240,194,32,0.022);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -12px;
}

.ia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left — text */
.ia-desc {
  font-size: 15px;
  color: var(--steel-light);
  line-height: 1.9;
  margin: 22px 0 38px;
  max-width: 460px;
}
.ia-desc strong { color: var(--white); }

.ia-features {
  display: flex;
  flex-direction: column;
  margin-bottom: 44px;
}
.ia-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: padding-left 0.2s;
}
.ia-feat:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.ia-feat:hover { padding-left: 8px; }
.ia-feat-icon {
  width: 42px;
  height: 42px;
  background: var(--yellow-glow);
  border: 1px solid rgba(240,194,32,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.ia-feat:hover .ia-feat-icon { background: var(--yellow); border-color: var(--yellow); }
.ia-feat-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.ia-feat-sub { font-size: 13px; color: var(--steel); line-height: 1.55; }

.btn-ia-open {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--black);
  padding: 18px 38px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-ia-open::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-ia-open:hover::before { transform: translateX(100%); }
.btn-ia-open:hover {
  background: transparent;
  color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(240,194,32,0.28);
}
.btn-ia-open svg { width: 18px; height: 18px; stroke: var(--black); transition: stroke 0.25s; }
.btn-ia-open:hover svg { stroke: var(--yellow); }

/* Right — mock chat */
.ia-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ia-preview::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(240,194,32,0.13) 0%, transparent 65%);
  pointer-events: none;
}

.ia-mockup {
  background: #16181c;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.85),
    0 0 0 1px rgba(240,194,32,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

.ia-mock-header {
  background: #0d0e10;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ia-mock-hinfo { display: flex; align-items: center; gap: 10px; }
.ia-mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ia-mock-name {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
}
.ia-mock-ai { font-size: 10px; color: var(--yellow); font-weight: 600; margin-top: 2px; }
.ia-mock-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--steel);
}

.ia-mock-disclaimer {
  background: rgba(240,194,32,0.07);
  border-bottom: 1px solid rgba(240,194,32,0.14);
  padding: 6px 14px;
  font-size: 10.5px;
  color: var(--steel);
  text-align: center;
}
.ia-mock-disclaimer strong { color: var(--yellow); font-weight: 600; }

.ia-mock-feed {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ia-mock-row { display: flex; align-items: flex-end; gap: 7px; }
.ia-mock-row-user { flex-direction: row-reverse; }
.ia-mock-bavatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ia-mock-bubble {
  max-width: 80%;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  border-radius: 14px;
  word-break: break-word;
}
.ia-mock-bubble-bot {
  background: #22252c;
  color: #dde1e7;
  border-bottom-left-radius: 3px;
  border: 1px solid rgba(255,255,255,0.05);
}
.ia-mock-bubble-bot strong { color: var(--yellow); }
.ia-mock-bubble-user {
  background: var(--yellow);
  color: #0d0e10;
  border-bottom-right-radius: 3px;
  font-weight: 500;
}
.ia-mock-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0d0e10;
}
.ia-mock-input {
  flex: 1;
  background: #22252c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--steel);
}
.ia-mock-send {
  width: 34px;
  height: 34px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Floating "online" badge */
.ia-badge-float {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,14,16,0.92);
  border: 1px solid rgba(72,187,120,0.3);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 12px;
  color: #68d391;
  font-weight: 500;
  margin-top: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(72,187,120,0.1);
}
.ia-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #48bb78;
  animation: dgacBlink 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 88vh;
    background-image: url('https://images.pexels.com/photos/1381938/pexels-photo-1381938.jpeg?auto=compress&cs=tinysrgb&w=900');
    background-size: cover;
    background-position: center;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(13, 14, 16, 0.93) 0%,
      rgba(13, 14, 16, 0.80) 60%,
      rgba(13, 14, 16, 0.70) 100%
    );
    z-index: 1;
    pointer-events: none;
  }
  .hero-left { position: relative; z-index: 2; }
  .hero-right { display: none; }
  .hero-left { padding: 72px 40px 72px 40px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ia-grid { grid-template-columns: 1fr; gap: 56px; }
  .ia-mockup { max-width: 420px; }
  .section { padding: 72px 40px; }
  nav.main-nav { padding: 0 28px; }
  .cta-band { padding: 56px 40px; flex-direction: column; align-items: flex-start; }
  footer { padding: 40px 40px 24px; }
  .catalog-wrap { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .sidebar-title { display: none; }
  .cat-content { padding: 40px 28px; }
  .tables-2col, .tables-3col { grid-template-columns: 1fr; }
  .page-header { padding: 48px 28px 40px; }
  .cat-footer { padding: 28px 28px; }
}

@media (max-width: 768px) {
  .prod-grid { grid-template-columns: 1fr; }
  .about-valores { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .ia-mockup { max-width: 100%; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 20px; }
  .cta-band { padding: 44px 20px; }
  footer { padding: 32px 20px 20px; }
  .topstrip { padding: 8px 16px; gap: 10px; }
  .hero-left { padding: 60px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .footer-links { display: none; }
}

/* =========================================================
   CHAT WIDGET
   ========================================================= */
#dgac { position: fixed; bottom: 0; right: 0; z-index: 9000; font-family: var(--font-body); }

/* Toggle button */
.dgac-toggle {
  position: fixed;
  bottom: 108px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(240, 194, 32, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 9001;
}
.dgac-toggle svg { width: 24px; height: 24px; stroke: var(--black); }
.dgac-toggle:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(240, 194, 32, 0.75); }
.dgac-toggle.open svg { display: none; }
.dgac-toggle.pulse { animation: dgacPulse 2s ease-in-out infinite; }

/* IA tag on toggle */
.dgac-ai-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d0e10;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}

/* Badge */
.dgac-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  background: #e53e3e;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  border: 2px solid var(--black);
}

/* Panel */
.dgac-panel {
  position: fixed;
  bottom: 178px;
  right: 20px;
  width: 360px;
  max-height: 520px;
  background: #16181c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(240,194,32,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
  z-index: 9000;
}
.dgac-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.dgac-header {
  background: #0d0e10;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.dgac-hinfo { display: flex; align-items: center; gap: 10px; }
.dgac-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.dgac-hname {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}
.dgac-hai {
  font-size: 10px;
  color: var(--yellow);
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 1px;
}
.dgac-hstatus {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--steel);
  margin-top: 1px;
}
.dgac-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48bb78;
  display: inline-block;
  animation: dgacBlink 2s ease-in-out infinite;
}
.dgac-hbtns { display: flex; gap: 4px; }
.dgac-close-btn, .dgac-end-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.dgac-close-btn svg, .dgac-end-btn svg { width: 16px; height: 16px; stroke: var(--steel); }
.dgac-close-btn:hover { background: rgba(255,255,255,0.08); }
.dgac-close-btn:hover svg { stroke: var(--white); }
.dgac-end-btn:hover { background: rgba(229,62,62,0.15); }
.dgac-end-btn:hover svg { stroke: #e53e3e; }

/* Disclaimer bar */
.dgac-disclaimer {
  background: rgba(240,194,32,0.07);
  border-bottom: 1px solid rgba(240,194,32,0.15);
  padding: 7px 14px;
  font-size: 11px;
  color: var(--steel);
  text-align: center;
  flex-shrink: 0;
  line-height: 1.4;
}
.dgac-disclaimer strong { color: var(--yellow); font-weight: 600; }

/* Feed */
.dgac-feed {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.dgac-feed::-webkit-scrollbar { width: 3px; }
.dgac-feed::-webkit-scrollbar-thumb { background: rgba(240,194,32,0.2); border-radius: 2px; }

/* Message rows */
.dgac-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.dgac-row.visible { opacity: 1; transform: translateY(0); }
.dgac-row-user { flex-direction: row-reverse; }
.dgac-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

/* Bubbles */
.dgac-bubble {
  max-width: 78%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  border-radius: 16px;
  word-break: break-word;
}
.dgac-bubble-bot {
  background: #22252c;
  color: #e2e4e8;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
}
.dgac-bubble-user {
  background: var(--yellow);
  color: #0d0e10;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* Typing indicator */
.dgac-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  flex-shrink: 0;
}
.dgac-typing.visible { opacity: 1; transform: translateY(0); }
.dgac-typing-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.dgac-typing-dots {
  background: #22252c;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.dgac-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--steel);
  display: inline-block;
  animation: dgacDot 1.2s ease-in-out infinite;
}
.dgac-typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.dgac-typing-dots span:nth-child(3) { animation-delay: 0.36s; }

/* Footer / input */
.dgac-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0d0e10;
  flex-shrink: 0;
}
.dgac-input {
  flex: 1;
  background: #22252c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.dgac-input::placeholder { color: var(--steel); }
.dgac-input:focus { border-color: rgba(240,194,32,0.45); }
.dgac-input:disabled { opacity: 0.4; cursor: not-allowed; }
.dgac-send {
  width: 38px;
  height: 38px;
  background: var(--yellow);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.15s;
}
.dgac-send svg { width: 16px; height: 16px; stroke: var(--black); }
.dgac-send:hover { transform: scale(1.08); background: var(--yellow-dark); }
.dgac-send:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

/* Chat widget animations */
@keyframes dgacPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(240,194,32,0.55); }
  50% { box-shadow: 0 6px 44px rgba(240,194,32,0.85), 0 0 0 10px rgba(240,194,32,0.1); }
}
@keyframes dgacDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
@keyframes dgacBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mobile chat adjustments */
@media (max-width: 400px) {
  .dgac-panel { right: 8px; left: 8px; width: auto; bottom: 170px; }
  .dgac-toggle { right: 16px; bottom: 100px; }
}
