/* ═══════════════════════════════════════════════════
   T DOTAMOS INDUSTRIALES — Design System Landing Page
   Paleta derivada del logo TDI · Fondo crema · Nunito
═══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  /* Brand */
  --color-accent:      #4CB848;
  --color-accent-dark: #3A9438;
  --color-accent-ink:  #FFFFFF;
  --color-primary:     #1A3C25;

  /* Text */
  --color-text:        #2C2C2C;
  --color-text-muted:  #7A7A7A;

  /* Surfaces */
  --color-bg:          #FAF7F2;
  --color-bg-alt:      #F2EDE6;
  --color-bg-tint:     #EEF7ED;
  --color-border:      #E4DFD8;

  /* Typography */
  --font: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --lh-body: 1.65;
  --lh-heading: 1.15;
  --text-xs:   12px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-lg:   20px;
  --text-xl:   28px;
  --text-2xl:  38px;
  --text-3xl:  52px;

  /* Spacing (8px scale) */
  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-6: 48px; --sp-8: 64px; --sp-10: 80px;

  /* Shape */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 9999px;

  /* Elevation */
  --shadow:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 6px 20px rgba(0,0,0,.10);

  /* Layout */
  --container: 1200px;
  --nav-h:     76px;

  /* Motion */
  --t-fast: .15s;
  --t-move: .22s;
}

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

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
@media (max-width: 600px) { .container { padding: 0 var(--sp-2); } }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
}
.eyebrow--light { color: rgba(255,255,255,.7); }

.section-header {
  margin-bottom: var(--sp-6);
  max-width: 640px;
}
.section-header--center { text-align: center; max-width: none; }
.section-header--light h2 { color: #fff; }
.section-header--light .section-sub { color: rgba(255,255,255,.6); }

h2 {
  font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
  font-weight: 800;
  line-height: var(--lh-heading);
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}
h2 em { font-style: italic; font-weight: 300; color: var(--color-accent); }
h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: var(--lh-heading);
  margin-bottom: var(--sp-1);
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--sp-1);
}
.section-sub--light { color: rgba(255,255,255,.55); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast), transform .05s, box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76,184,72,.35);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 9px 22px;
}
.btn--secondary:hover { background: var(--color-bg-alt); }

.btn--ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.25); }

.btn--nav {
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  padding: 9px 20px;
}
.btn--nav:hover { background: var(--color-accent); }

.btn--lg { padding: 14px 32px; font-size: var(--text-base); }

/* Focus rings */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ════════════════════════════
   NAV
════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-4);
  gap: var(--sp-3);
}

.nav__logo img {
  height: 62px;
  width: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.nav__links {
  display: flex;
  gap: var(--sp-3);
  margin-left: auto;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--color-accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--t-move), opacity var(--t-fast);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  z-index: 850;
  display: flex;
  flex-direction: column;
  padding: var(--sp-3);
  gap: var(--sp-2);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--t-move) ease, opacity var(--t-fast);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-primary);
  padding: var(--sp-1) 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
}

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-10);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  pointer-events: none;
  user-select: none;
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,24,16,.94) 0%,
    rgba(10,24,16,.68) 40%,
    rgba(10,24,16,.25) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-10) var(--sp-4) 0;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2.8rem, 8vw, var(--text-3xl));
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--sp-3);
  max-width: 700px;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
}

.hero__sub {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: rgba(255,255,255,.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.hero__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ════════════════════════════
   EDITORIAL PHOTOS — no-click
════════════════════════════ */
.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  display: block;
  -webkit-user-drag: none;
}

/* ════════════════════════════
   ABOUT (Quiénes somos)
════════════════════════════ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.about__img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* contain = se ve la foto completa, sin cortar el texto que trae impreso */
.about__img-wrap .editorial-img {
  object-fit: contain;
  object-position: center;
}

.about__content {
  padding: var(--sp-10) var(--sp-8) var(--sp-10) var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__content h2 { margin-bottom: var(--sp-3); }

.about__content p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--lh-body);
  margin-bottom: var(--sp-2);
}

.about__mission {
  font-style: italic;
  font-weight: 600;
  color: var(--color-primary) !important;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--sp-2);
  margin: var(--sp-3) 0 !important;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.stat-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-2);
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-card--accent {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.stat-card--accent .stat-num,
.stat-card--accent .stat-plus,
.stat-card--accent p { color: #fff; }

.stat-num {
  display: block;
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;   /* evita que el ancho salte */
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), color .3s ease;
}

/* Mientras cuenta: crece y se pinta de acento */
.stat-num.is-counting {
  transform: scale(1.18);
  color: var(--color-accent);
}
.stat-card--accent .stat-num.is-counting { color: #8FE38B; }

/* Al terminar: rebote de asentamiento */
.stat-num.is-done { animation: statPop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes statPop {
  0%   { transform: scale(1.18); }
  55%  { transform: scale(.94); }
  100% { transform: scale(1); }
}

/* La tarjeta completa se realza mientras corre el número */
.stat-card {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1),
              box-shadow .35s ease, border-color .35s ease;
}
.stat-card.is-counting {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(76,184,72,.28);
  border-color: var(--color-accent);
}
.stat-card.is-done { transform: translateY(0); }
.stat-plus {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent);
}
.stat-card p {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-top: var(--sp-1);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__img-wrap { height: auto; aspect-ratio: 1377 / 768; }
  .about__content { padding: var(--sp-6) var(--sp-4); }
}

/* ════════════════════════════
   SECTORS
════════════════════════════ */
.sectors {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-10) 0;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

.sector-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-2);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform var(--t-move), box-shadow var(--t-move);
  cursor: default;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sector-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-tint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.sector-icon svg {
  width: 28px;
  height: 28px;
}

.sector-card p {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

@media (max-width: 900px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════
   PORTFOLIO CAROUSEL
════════════════════════════ */
.portfolio {
  padding: var(--sp-10) 0;
}

.carousel {
  position: relative;
  margin-top: var(--sp-6);
}

.carousel__stage {
  position: relative;
  height: 460px;
  overflow: hidden;
}

/* Each slide */
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50px);
  transition: opacity .45s ease, transform .45s ease;
}
.slide--active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}
.slide--exit {
  opacity: 0;
  transform: translateX(-50px);
  z-index: 1;
}

.slide__img-wrap {
  background: var(--color-bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--sp-3);
}
.slide__img-wrap img {
  max-height: 380px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform .4s ease;
}
.slide--active .slide__img-wrap img {
  transform: scale(1.02);
}

.slide__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-6) var(--sp-8);
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
}

.slide__info h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-2);
}
.slide__info p {
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  font-size: var(--text-base);
  margin-bottom: var(--sp-3);
}

.slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-bg-tint);
  border: 1px solid rgba(76,184,72,.3);
  color: var(--color-accent-dark);
}

/* Carousel nav buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.16);
  transition: background var(--t-move), box-shadow var(--t-move),
              transform var(--t-move), border-color var(--t-move);
}
.carousel__btn svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: color var(--t-fast), transform var(--t-fast);
}
.carousel__btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 6px 24px rgba(76,184,72,.45);
  transform: translateY(-50%) scale(1.08);
}
.carousel__btn:hover svg { color: #fff; }
.carousel__btn--prev:hover svg { transform: translateX(-2px); }
.carousel__btn--next:hover svg { transform: translateX(2px); }
.carousel__btn:active { transform: translateY(-50%) scale(.96); }

.carousel__btn--prev { left: var(--sp-3); }
.carousel__btn--next { right: var(--sp-3); }

/* Carousel dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-4);
  padding: 0 var(--sp-4);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast), width var(--t-move);
}
.dot--active {
  background: var(--color-accent);
  width: 24px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .carousel__stage { height: auto; min-height: 560px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 260px 1fr; }
  .slide__img-wrap { height: 260px; }
  .slide__info { padding: var(--sp-4); border-left: none; border-top: 1px solid var(--color-border); }
  .carousel__btn { width: 46px; height: 46px; }
  .carousel__btn svg { width: 20px; height: 20px; }
  .carousel__btn--prev { left: var(--sp-1); }
  .carousel__btn--next { right: var(--sp-1); }
}

@media (max-width: 480px) {
  .carousel__stage { min-height: 520px; }
  .slide { grid-template-rows: 220px 1fr; }
  .slide__img-wrap { height: 220px; }
  .slide__info h3 { font-size: var(--text-lg); }
}

/* ════════════════════════════
   EDITORIAL SECTION — guardia
════════════════════════════ */
.editorial-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.editorial-section__img-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.editorial-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,24,16,.88) 0%,
    rgba(10,24,16,.45) 55%,
    rgba(10,24,16,.1) 100%
  );
}
.editorial-section__text {
  position: relative;
  z-index: 2;
  padding: var(--sp-10) var(--sp-4) var(--sp-8);
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.editorial-section__eyebrow {
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--sp-2);
}
.editorial-section__headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  max-width: 600px;
}
.editorial-section__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
}

/* ════════════════════════════
   CLIENTS
════════════════════════════ */
.clients {
  padding: var(--sp-10) 0;
  background: var(--color-bg);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.client-chip {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.client-chip:hover {
  background: var(--color-bg-tint);
  border-color: rgba(76,184,72,.4);
}

/* ════════════════════════════
   CONTACT
════════════════════════════ */
.contact {
  background: var(--color-primary);
  padding: var(--sp-10) 0;
}
.contact .section-header h2 { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-6) var(--sp-3);
  border-radius: var(--radius-lg);
  transition: transform var(--t-move), box-shadow var(--t-move);
  cursor: pointer;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }

.contact-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
}
.contact-card__icon svg { width: 28px; height: 28px; }

.contact-card__label {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}
.contact-card__value {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}
.contact-card__badge {
  font-size: var(--text-xs);
  font-weight: 700;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* Card colors */
.contact-card--wa {
  background: #25D366;
  color: #fff;
}
.contact-card--ig {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 40%, #E1306C 70%, #F77737 100%);
  color: #fff;
}
.contact-card--email {
  background: var(--color-accent);
  color: #fff;
}
.contact-card--fb.contact-card--soon {
  background: rgba(255,255,255,.07);
  border: 1.5px dashed rgba(255,255,255,.2);
  color: rgba(255,255,255,.4);
  cursor: default;
}
.contact-card--fb.contact-card--soon:hover { transform: none; box-shadow: none; }
.contact-card--fb .contact-card__icon svg { color: rgba(255,255,255,.4); fill: rgba(255,255,255,.4); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.footer {
  background: #0F2518;
  padding: var(--sp-8) 0 var(--sp-4);
  border-top: 1px solid rgba(76,184,72,.2);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer__logo {
  height: 52px;
  width: auto;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  pointer-events: none;
  user-select: none;
}
.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
}
.footer__nit { font-size: var(--text-xs) !important; color: rgba(255,255,255,.3) !important; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  align-items: center;
}
.footer__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.45);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: #fff; }

.footer__copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-4) 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ════════════════════════════
   FLOATING WA + MOBILE BAR
════════════════════════════ */
.fab-wa {
  position: fixed;
  bottom: var(--sp-3);
  right: var(--sp-3);
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 12px 20px 12px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
.fab-wa:focus-visible { outline-color: #25D366; }

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--color-primary);
  border-top: 1px solid rgba(76,184,72,.2);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.mobile-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color var(--t-fast);
}
.mobile-bar__btn:hover { color: #fff; }
.mobile-bar__btn svg { flex-shrink: 0; color: inherit; }

@media (max-width: 768px) {
  .fab-wa { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* ════════════════════════════
   SECTION PADDING RHYTHM
════════════════════════════ */
.portfolio,
.clients { padding: var(--sp-10) 0; }
.sectors { padding: var(--sp-8) 0; }

/* ════════════════════════════
   REDUCED MOTION
════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
