/* ============================================================
   KGM Engenharia e Serviços Industriais — about.css
   Mesmo design system do index-new.css, escopo: body.about-page
   Dark mode fixo. Mobile-first. CSS puro.
   ============================================================ */

:root {
  --kgm-bg:          #020709;
  --kgm-bg-2:        #040e13;
  --kgm-surface:     #060f15;
  --kgm-surface-2:   #0c2d38;
  --kgm-line:        rgba(0, 180, 204, 0.12);
  --kgm-line-strong: rgba(0, 180, 204, 0.28);
  --kgm-text:        #F2F1EE;
  --kgm-text-dim:    rgba(242, 241, 238, 0.62);
  --kgm-text-faint:  rgba(242, 241, 238, 0.38);
  --kgm-accent:      #0e798f;
  --kgm-accent-soft: rgba(0, 180, 204, 0.14);

  --kgm-radius:    6px;
  --kgm-radius-sm: 4px;

  --kgm-font-display: "Oswald", "Barlow Condensed", "Impact", system-ui, sans-serif;
  --kgm-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.about-page {
  margin: 0;
  background: var(--kgm-bg);
  color: var(--kgm-text);
  font-family: var(--kgm-font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity .35s ease;
}
body.about-page.page-ready { opacity: 1; }

html:has(body.about-page) { scroll-behavior: smooth; }

body.about-page * { box-sizing: border-box; }
body.about-page img { max-width: 100%; display: block; }
body.about-page a { color: var(--kgm-text); text-decoration: none; transition: color .2s; }

/* ============================================================
   CONTAINER
   ============================================================ */
.kgm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .kgm-container { padding: 0 2rem; } }

/* ============================================================
   NAV
   ============================================================ */
.kgm-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(180deg, rgba(12,13,15,.85), rgba(12,13,15,.4));
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
  animation: kgmFadeDown .6s ease-out both;
}

.kgm-nav.scrolled {
  background: rgba(12,13,15,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--kgm-line-strong);
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.kgm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.kgm-logo { display: flex; align-items: center; flex-shrink: 0; }
.kgm-logo img { height: 56px; width: auto; }
@media (min-width: 768px) { .kgm-logo img { height: 72px; } }

.kgm-nav-links {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: 2rem;
  align-items: center;
}

.kgm-nav-links a {
  color: var(--kgm-text-dim);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  position: relative;
  padding: .25rem 0;
}

.kgm-nav-links a:hover { color: var(--kgm-text); }

.kgm-nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--kgm-accent);
}

@media (min-width: 992px) { .kgm-nav-links { display: flex; } }

.kgm-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--kgm-accent);
  color: #fff;
  border-radius: 4px;
  border: 1px solid var(--kgm-accent);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  will-change: transform;
}
.kgm-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(0,180,204,.55); color: #fff; }

.kgm-nav-cta--desktop { display: none; }
@media (min-width: 992px) { .kgm-nav-cta--desktop { display: inline-flex; } }

.kgm-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--kgm-line-strong);
  color: var(--kgm-text);
  cursor: pointer;
  transition: background .2s;
}
.kgm-mobile-toggle:hover { background: var(--kgm-surface); }
@media (min-width: 992px) { .kgm-mobile-toggle { display: none; } }

.kgm-mobile-menu {
  display: none;
  border-top: 1px solid var(--kgm-line);
  background: rgba(12,13,15,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.kgm-mobile-menu.open { display: block; }
.kgm-mobile-menu ul {
  list-style: none; margin: 0;
  padding: 1rem 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.kgm-mobile-menu a {
  display: block;
  padding: .85rem 0;
  color: var(--kgm-text);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--kgm-line);
}
.kgm-mobile-menu a:last-child { border-bottom: 0; }
.kgm-mobile-cta { color: var(--kgm-accent) !important; font-weight: 600 !important; }
@media (min-width: 992px) { .kgm-mobile-menu { display: none !important; } }

/* ============================================================
   PAGE HEADER (about)
   ============================================================ */
.about-header {
  padding: 5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--kgm-line);
}

@media (min-width: 768px) { .about-header { padding: 7rem 0 4.5rem; } }

.about-header-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-header h1 {
  font-family: var(--kgm-font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 1.25rem 0 1.25rem;
  color: var(--kgm-text);
}

.about-header h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--kgm-accent);
}

.about-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--kgm-text-dim);
  line-height: 1.65;
}

/* ============================================================
   NOSSA HISTÓRIA — STORY
   ============================================================ */
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-story-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

.about-story-text .kgm-eyebrow { margin-bottom: 1rem; }
.about-story-text .kgm-section-title { text-align: left; margin-bottom: 1.5rem; }

.about-story-text p {
  color: var(--kgm-text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

/* ============================================================
   CARROSEL DE FOTOS
   ============================================================ */
.about-carousel {
  position: relative;
  border-radius: var(--kgm-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--kgm-surface);
}

.about-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(12,13,15,.6) 75%,
    rgba(12,13,15,.92) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.about-carousel-btn,
.about-carousel-dots { z-index: 3; }

.about-carousel-track {
  position: relative;
  height: 100%;
}

.about-carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}

.about-carousel-track img.active {
  opacity: 1;
}

.about-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(12,13,15,.7);
  border: 1px solid var(--kgm-line-strong);
  color: var(--kgm-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.about-carousel-btn:hover { background: var(--kgm-accent); border-color: var(--kgm-accent); }

.about-carousel-prev { left: .75rem; }
.about-carousel-next { right: .75rem; }

.about-carousel-dots {
  position: absolute;
  bottom: .75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 2;
}

.about-carousel-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(242,241,238,.35);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.about-carousel-dots button.active {
  background: var(--kgm-accent);
  transform: scale(1.3);
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--kgm-line);
  border-radius: var(--kgm-radius);
  overflow: hidden;
  background: var(--kgm-line);
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.5rem 1.25rem;
  background: var(--kgm-surface);
}

.about-fact strong {
  font-family: var(--kgm-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kgm-accent);
  line-height: 1;
  letter-spacing: -.01em;
}

.about-fact span {
  font-size: .88rem;
  color: var(--kgm-text-dim);
  line-height: 1.4;
}

/* ============================================================
   BADGE
   ============================================================ */
.kgm-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem;
  border: 1px solid var(--kgm-line-strong);
  border-radius: 4px;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kgm-text-dim);
  background: rgba(255,255,255,.02);
  animation: kgmFadeDown .7s ease-out .1s both;
}

.kgm-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--kgm-accent);
  box-shadow: 0 0 0 4px var(--kgm-accent-soft);
  animation: kgmBlink 2s ease-in-out infinite;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.kgm-section { padding: 4.5rem 0; }
@media (min-width: 768px) { .kgm-section { padding: 6rem 0; } }

.kgm-section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.kgm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--kgm-font-body);
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kgm-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.kgm-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--kgm-accent);
}

.kgm-section-title {
  font-family: var(--kgm-font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--kgm-text);
  margin: 0 0 1.25rem;
}
.kgm-section-title em { font-style: normal; font-weight: 500; color: var(--kgm-accent); }

.kgm-section-sub {
  color: var(--kgm-text-dim);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.kgm-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .kgm-timeline { grid-template-columns: repeat(2, 1fr); }
}

.kgm-timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}

@media (min-width: 640px) {
  .kgm-timeline-item { padding: 0 1.5rem 2.5rem 1.5rem; }
}

.kgm-timeline-line {
  position: absolute;
  left: .35rem;
  top: .6rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--kgm-accent), transparent);
  opacity: .35;
}
@media (min-width: 640px) { .kgm-timeline-line { display: none; } }

.kgm-timeline-dot {
  position: absolute;
  left: 0;
  top: .55rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--kgm-accent);
  box-shadow: 0 0 0 3px var(--kgm-accent-soft);
}
@media (min-width: 640px) {
  .kgm-timeline-dot {
    position: relative;
    left: auto; top: auto;
    margin-bottom: 1.25rem;
  }
}

.kgm-timeline-card {
  padding: 1.5rem;
  background: var(--kgm-surface);
  border: 1px solid var(--kgm-line);
  border-radius: var(--kgm-radius);
  transition: border-color .3s ease, transform .3s ease;
}

.kgm-timeline-card:hover {
  border-color: var(--kgm-line-strong);
  transform: translateY(-3px);
}

.kgm-timeline-year {
  display: inline-block;
  font-family: var(--kgm-font-display);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--kgm-accent);
  margin-bottom: .6rem;
  background: var(--kgm-accent-soft);
  border: 1px solid rgba(0,180,204,.25);
  padding: .2rem .65rem;
  border-radius: 100px;
}

.kgm-timeline-card h3 {
  font-family: var(--kgm-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--kgm-text);
  margin: 0 0 .65rem;
  line-height: 1.1;
}

.kgm-timeline-card p {
  margin: 0;
  font-size: .98rem;
  color: var(--kgm-text-dim);
  line-height: 1.6;
}

/* ============================================================
   FORMULÁRIO WHATSAPP
   ============================================================ */
.kgm-form-section {
  position: relative;
  padding: 6rem 0;
  border-top: 1px solid var(--kgm-line);
  isolation: isolate;
  overflow: hidden;
}

.kgm-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--kgm-surface);
  z-index: -2;
}

.kgm-form-section::after { display: none; }

.kgm-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .kgm-form-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 4rem;
  }
}

.kgm-form-headline { padding-top: .5rem; }

.kgm-form-guarantees {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.kgm-form-guarantees li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: var(--kgm-text-dim);
}

.kgm-form-guarantees li svg { color: var(--kgm-accent); flex-shrink: 0; }

.kgm-whatsapp-form {
  background: var(--kgm-surface);
  border: 1px solid var(--kgm-line-strong);
  border-radius: calc(var(--kgm-radius) * 2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kgm-form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.kgm-form-field label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kgm-text-dim);
}

.kgm-form-field label span { color: var(--kgm-accent); }

.kgm-form-field input,
.kgm-form-field select,
.kgm-form-field textarea {
  background: var(--kgm-surface-2);
  border: 1px solid var(--kgm-line-strong);
  border-radius: var(--kgm-radius);
  color: var(--kgm-text);
  font-family: var(--kgm-font-body);
  font-size: 1rem;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.kgm-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F1EE' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.kgm-form-field select option {
  background: var(--kgm-surface-2);
  color: var(--kgm-text);
}

.kgm-form-field textarea { resize: vertical; min-height: 90px; }

.kgm-form-field input:focus,
.kgm-form-field select:focus,
.kgm-form-field textarea:focus {
  border-color: var(--kgm-accent);
  box-shadow: 0 0 0 3px rgba(0,180,204,.18);
}

.kgm-form-field input::placeholder,
.kgm-form-field textarea::placeholder { color: var(--kgm-text-faint); }

/* ============================================================
   BOTÕES
   ============================================================ */
.kgm-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1.05rem 1.8rem;
  border-radius: 4px;
  font-family: var(--kgm-font-body);
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}

.kgm-btn-primary {
  background: var(--kgm-accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(0,180,204,.6);
}
.kgm-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(0,180,204,.75);
  color: #fff;
}

.kgm-btn-lg { padding: 1.1rem 1.85rem; font-size: 1.05rem; }

.kgm-btn-wa {
  background: #188d43;
  color: #fff;
  border-color: #188d43;
}
.kgm-btn-wa:hover { transform: translateY(-3px); opacity: .9; color: #fff; }


/* ============================================================
   CTA SECTION
   ============================================================ */
.kgm-cta-section {
  padding: 4rem 0 6rem;
}

.kgm-cta-box {
  position: relative;
  border: 1px solid var(--kgm-line-strong);
  border-radius: var(--kgm-radius);
  overflow: hidden;
  isolation: isolate;
  padding: 4rem 2rem;
  text-align: center;
}

.kgm-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/galeria/05-estrutura-metalica.jpeg');
  background-size: cover;
  background-position: center;
  filter: grayscale(.4) brightness(.3) contrast(1.1);
  z-index: -2;
}

.kgm-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,180,204,.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(12,13,15,.5), rgba(12,13,15,.88));
  z-index: -1;
}

@media (min-width: 768px) { .kgm-cta-box { padding: 5.5rem 3rem; } }

.kgm-cta-content { position: relative; z-index: 1; }
.kgm-cta-content .kgm-eyebrow { margin-bottom: 1rem; }

.kgm-cta-content h2 {
  font-family: var(--kgm-font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .98;
  margin: 0 0 1.25rem;
  color: var(--kgm-text);
}
.kgm-cta-content h2 em { font-style: normal; font-weight: 500; color: var(--kgm-accent); }

.kgm-cta-content p {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  color: var(--kgm-text-dim);
  font-size: 1.1rem;
  line-height: 1.65;
}

.kgm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.kgm-footer {
  background: var(--kgm-bg-2);
  color: var(--kgm-text-dim);
  border-top: 1px solid var(--kgm-line);
}

.kgm-footer-top { padding: 4rem 1.25rem 2.5rem; }
@media (min-width: 768px) { .kgm-footer-top { padding: 5rem 2rem 3rem; } }

.kgm-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .kgm-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .kgm-footer-grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 3rem; } }

.kgm-footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: .5rem;
}

.kgm-footer-tagline { color: var(--kgm-text-dim); margin: 0 0 1.25rem; font-size: .95rem; }

.kgm-footer-contact p { margin: .2rem 0; font-size: .95rem; color: var(--kgm-text-dim); }
.kgm-footer-contact strong { color: var(--kgm-text); font-weight: 600; }

.kgm-footer-social { margin-top: 1.25rem; display: flex; gap: .5rem; }
.kgm-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--kgm-line-strong);
  color: var(--kgm-text-dim);
  font-size: 1.1rem;
  transition: color .2s, border-color .2s, transform .2s;
}
.kgm-footer-social a:hover { color: var(--kgm-accent); border-color: var(--kgm-accent); transform: translateY(-2px); }

.kgm-footer-links h4,
.kgm-footer-atendimento h4 {
  font-family: var(--kgm-font-display);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--kgm-text);
  margin: 0 0 1rem;
}

.kgm-footer-links ul { list-style: none; padding: 0; margin: 0; }
.kgm-footer-links li { margin: .35rem 0; }
.kgm-footer-links a { color: var(--kgm-text-dim); font-size: .95rem; transition: color .2s; }
.kgm-footer-links a:hover { color: var(--kgm-accent); }

.kgm-footer-atendimento p { font-size: .9rem; color: var(--kgm-text-dim); margin: 0 0 .4rem; }

.kgm-footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  background: #188d43;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: .65rem 1.25rem;
  border-radius: var(--kgm-radius);
  transition: opacity .2s;
}
.kgm-footer-wa-btn:hover { opacity: .85; color: #fff; }

.kgm-footer-bottom {
  border-top: 1px solid var(--kgm-line);
  padding: 1.5rem 0;
  font-size: .85rem;
  color: var(--kgm-text-faint);
}
.kgm-footer-bottom .kgm-container {
  display: flex; flex-direction: column;
  align-items: center; gap: .35rem; text-align: center;
}
@media (min-width: 768px) {
  .kgm-footer-bottom .kgm-container { flex-direction: row; justify-content: space-between; text-align: left; }
}
.kgm-footer-bottom p { margin: 0; }
.kgm-footer-credits a { color: var(--kgm-text-dim); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.kgm-footer-credits a:hover { color: var(--kgm-accent); border-bottom-color: var(--kgm-accent); }

/* ============================================================
   WHATSAPP WIDGET
   ============================================================ */
#whatsapp-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
#whatsapp-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background-color: #188d43; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
#whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,.6); }
#whatsapp-btn svg { width: 32px; height: 32px; color: #fff; }

#whatsapp-menu {
  display: none; flex-direction: column; background: #fff;
  border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.35);
  padding: 14px 16px; min-width: 260px; gap: 8px;
}
#whatsapp-menu.open { display: flex; }

.whatsapp-menu-title { font-size: 13px; font-weight: 600; color: #555; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .5px; }
.whatsapp-option {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 10px; text-decoration: none; transition: background .15s; color: #111;
}
.whatsapp-option:hover { background: #f0fdf4; color: #111; }
.whatsapp-option svg { width: 36px; height: 36px; color: #188d43; flex-shrink: 0; }
.whatsapp-option div { display: flex; flex-direction: column; }
.whatsapp-name { font-weight: 700; font-size: 14px; line-height: 1.3; color: #111; }
.whatsapp-label { font-size: 12px; color: #777; }

@media (max-width: 480px) {
  #whatsapp-widget { bottom: 18px; right: 18px; }
  #whatsapp-menu { min-width: calc(100vw - 36px); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes kgmFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes kgmFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes kgmBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .kgm-badge .dot { animation: none; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
