:root {
  --ink: #101A14;
  --green-950: #071910;
  --green-900: #0B2417;
  --green-800: #0F2E1B;
  --green-700: #164227;
  --green-600: #1B6B37;
  --green-550: #1E7A3E;
  --green-500: #2A9650;
  --green-400: #4CC172;
  --green-300: #8FDDA6;
  --tint: #F3F8F5;
  --tint-alt: #EBF4EE;
  --white: #FFFFFF;
  --gray-700: #3E4B43;
  --gray-600: #57685E;
  --gray-400: #95A39B;
  --border: #DDE7E0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.06;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* CONTENEDOR CENTRAL */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green-550);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(30, 122, 62, .45);
}

.btn-primary:hover {
  background: var(--green-600);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-800);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .06);
}

.btn-secondary:hover {
  background: var(--tint);
  border-color: var(--green-550);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
}

/* ======================== */
/* ENCABEZADO Y NAVEGACIÓN  */
/* ======================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.logo-img-footer {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .15s ease;
}

.nav-links a:hover,
.nav-links a.active-nav {
  color: var(--green-600);
  font-weight: 600;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* ======================== */
/* HERO FULL WIDTH          */
/* ======================== */
.hero {
  position: relative;
  width: 100%;
  padding: 52px 0 56px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 35%, rgba(255, 255, 255, 0.40) 65%, rgba(255, 255, 255, 0) 100%),
    url('img/BannerCNC.png') center right / cover no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 380px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.badge-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--green-300);
  color: var(--green-700);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(32px, 3.4vw, 50px);
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.05;
}

.hero p.lede {
  margin-top: 14px;
  max-width: 520px;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat b {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}

.stat span {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 2px;
  display: block;
}

@media (max-width: 920px) {
  .hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 65%, rgba(255, 255, 255, 0.7) 100%),
      url('img/BannerCNC.png') center center / cover no-repeat;
    padding: 34px 0;
  }

  .hero-grid {
    min-height: auto;
  }

  .stats-row {
    gap: 20px;
  }
}

/* ======================== */
/* BANNER DE PÁGINA (CATÁLOGOS) */
/* ======================== */
.page-banner {
  background: linear-gradient(150deg, var(--green-900), var(--green-800));
  color: var(--white);
  padding: 48px 0 42px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-banner h1 {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--white);
  margin-top: 6px;
}

.page-banner-desc {
  max-width: 680px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  line-height: 1.55;
}

/* ======================== */
/* SECCIONES COMUNES        */
/* ======================== */
.section {
  padding: 52px 0;
  width: 100%;
}

.bg-tint {
  background: var(--tint);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head-center {
  text-align: center;
  margin-bottom: 32px;
}

.section-head-center .eyebrow {
  display: block;
  margin-bottom: 6px;
}

.section-head-center h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--ink);
}

.section-head-center p {
  max-width: 600px;
  margin: 8px auto 0;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}

.eyebrow.light {
  color: var(--green-300);
}

.section-head h2 {
  font-size: clamp(23px, 2.1vw, 32px);
  color: var(--ink);
}

.section-desc {
  max-width: 460px;
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.45;
}

/* ======================== */
/* ABOUT SECTION REDESIGN   */
/* ======================== */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 70px;
  background: #FFFFFF;
}

.about-decor-tl {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 40px solid #EAF6EE;
  pointer-events: none;
  opacity: 0.8;
}

.about-decor-br {
  position: absolute;
  bottom: -90px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 45px solid #EAF6EE;
  pointer-events: none;
  opacity: 0.8;
}

.about-pill {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  background: #EBF7EE;
  color: #1E7A3E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-head {
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  color: #0F2E1B;
  line-height: 1.08;
  font-weight: 800;
}

.about-head h2 .text-green-lead {
  color: #1E7A3E;
  display: block;
}

.about-head p {
  max-width: 660px;
  margin: 14px auto 0;
  font-size: 13.5px;
  color: #57685E;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.about-card {
  background: #FFFFFF;
  border: 1px solid #DCE6DF;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -10px rgba(11, 36, 23, 0.12);
  border-color: #A8D5B5;
}

.about-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EBF7EE;
  border: 1px solid #D0EBDA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E7A3E;
  margin: 0;
}

.about-card-num {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #9FD3AF;
  line-height: 1;
}

.about-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #0F2E1B;
  margin-bottom: 0;
}

.about-card-divider {
  width: 28px;
  height: 2.5px;
  background: #1E7A3E;
  border-radius: 2px;
  margin: 10px 0 14px;
}

.about-card p {
  font-size: 12.5px;
  color: #607066;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ======================== */
/* SPLIT SECTION (text+img) */
/* ======================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse>* {
  direction: ltr;
}

.split-text h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--ink);
  margin-bottom: 10px;
}

.split-text p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 12px;
}

.split-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--tint);
  border: 1px solid var(--border);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {

  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
  }
}

/* ======================== */
/* SECTORES INDUSTRIALES    */
/* ======================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}

.sector-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-400);
}

.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  margin: 0 auto 10px;
}

.sector-card h4 {
  font-size: 14.5px;
  color: var(--green-900);
  margin-bottom: 4px;
}

.sector-card p {
  font-size: 11.5px;
  color: var(--gray-600);
  line-height: 1.4;
}

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

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

/* ======================== */
/* TABS (SUBPESTAÑAS)       */
/* ======================== */
.tabs-group {
  width: 100%;
  margin-top: 6px;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .16s ease;
}

.tab-btn svg {
  color: var(--green-600);
  transition: color .16s ease;
}

.tab-btn:hover {
  background: var(--tint-alt);
  color: var(--ink);
}

.tab-btn.active {
  background: var(--green-550);
  color: var(--white);
  border-color: var(--green-550);
  box-shadow: 0 4px 12px -4px rgba(30, 122, 62, .4);
}

.tab-btn.active svg {
  color: var(--white);
}

.tab-panel {
  display: none;
  animation: fadeIn .2s ease forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================== */
/* PILARES (MISIÓN/VISIÓN)  */
/* ======================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.pillar-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(11, 36, 23, .1);
}

.pillar-box.highlight {
  border-color: var(--green-550);
  background: linear-gradient(160deg, var(--white), var(--tint));
}

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

.pillar-svg-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}

.pillar-svg-icon.highlight {
  background: var(--green-550);
  color: var(--white);
  border-color: var(--green-550);
}

.p-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tint-alt);
  color: var(--gray-700);
}

.p-badge.badge-green {
  background: #E8F5E9;
  color: #1B5E20;
}

.pillar-box h3 {
  font-size: 22px;
  color: var(--green-900);
}

.pillar-box p {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
}

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

/* ======================== */
/* POLÍTICAS CORPORATIVAS   */
/* ======================== */
.policy-expanded-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.policy-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-pill {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pill-orange {
  background: #FFF3E0;
  color: #D84315;
}

.pill-green {
  background: #E8F5E9;
  color: #2E7D32;
}

.pill-blue {
  background: #E3F2FD;
  color: #1565C0;
}

.policy-main h3 {
  font-size: 22px;
  color: var(--ink);
}

.policy-main p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
}

.policy-side {
  background: var(--tint);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border);
}

.policy-side h4 {
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 8px;
}

.policy-list {
  padding-left: 16px;
  list-style: disc;
}

.policy-list li {
  font-size: 12px;
  color: var(--gray-700);
  margin-bottom: 6px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .policy-expanded-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ======================== */
/* PROFESIONALES            */
/* ======================== */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pro-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color .15s ease, transform .18s ease;
}

.pro-card:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.pro-icon-svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}

.pro-card h4 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}

.pro-card p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.45;
}

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

/* ======================== */
/* TARJETAS DE CATÁLOGO     */
/* ======================== */
.grid-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

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

@media (max-width: 560px) {
  .grid-cards-3 {
    grid-template-columns: 1fr;
  }
}

.card-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 3px 10px -4px rgba(0, 0, 0, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(11, 36, 23, .12);
}

.card-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}

.item-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--green-700);
  letter-spacing: 0.3px;
}

.item-tag.tag-highlight {
  background: #E8F5E9;
  color: #1B5E20;
}

.card-item h4 {
  font-size: 17px;
  color: var(--green-900);
}

.card-item p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* FOTOS EN CARDS */
.item-photo-slot {
  margin-top: auto;
  padding-top: 10px;
}

.photo-placeholder-clean {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--tint);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 8px;
}

.photo-placeholder-clean svg {
  color: var(--green-600);
  opacity: .75;
}

.item-photo-slot.has-img {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.card-item:hover .slot-img {
  transform: scale(1.03);
}

.img-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--green-800);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
}

.item-spec-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.item-spec-tags span {
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--tint);
  border: 1px solid var(--border);
  color: var(--gray-700);
}

/* ======================== */
/* SUMINISTROS INDUSTRIALES */
/* ======================== */
.supplies-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.supplies-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

.supply-photo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.supply-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px -8px rgba(11, 36, 23, 0.12);
  border-color: var(--green-400);
}

.supply-circle-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3.5px solid var(--tint-alt);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.14);
  margin-bottom: 16px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.supply-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.supply-photo-card:hover .supply-circle-img img {
  transform: scale(1.06);
}

.supply-photo-card h4 {
  font-size: 19px;
  color: var(--green-600);
  margin-bottom: 8px;
}

.supply-photo-card p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.45;
}

/* ======================== */
/* NUESTRAS LÍNEAS (INGENIERÍA Y SERVICIOS) */
/* ======================== */
.lines-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.line-card-horizontal {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 260px;
}

.line-card-horizontal:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(11, 36, 23, 0.12);
  border-color: var(--green-400);
}

.line-card-media {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
  background: var(--green-950);
  align-self: stretch;
}

.line-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}

.line-card-horizontal:hover .line-card-media img {
  transform: scale(1.05);
}

.line-content-body {
  flex: 1;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.line-tag-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green-600);
  background: var(--tint-alt);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 5px;
  border: 1px solid var(--green-300);
}

.line-content-body h3 {
  font-size: 22px;
  color: var(--green-600);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.line-content-body p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-700);
}

.line-items-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.line-item-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  transition: background .15s ease, border-color .15s ease;
}

.line-card-horizontal:hover .line-item-chip {
  background: #FFFFFF;
  border-color: var(--green-300);
}

.line-services-block {
  margin-top: 8px;
}

.line-services-label {
  font-size: 12px;
  color: var(--gray-700);
  margin-bottom: 4px;
  line-height: 1.35;
}

.line-services-label strong {
  color: var(--green-700);
  font-weight: 700;
}

.line-notice-callout {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 12px;
  background: #E8F5E9;
  border-left: 3px solid var(--green-550);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--green-800);
}

.line-notice-callout svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-600);
}

.line-notice-callout strong {
  color: var(--green-900);
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .line-card-horizontal {
    flex-direction: column;
    min-height: auto;
  }

  .line-card-media {
    width: 100%;
    height: 220px;
    min-width: 100%;
    max-width: 100%;
  }

  .line-content-body {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  .supplies-photo-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 540px) {
  .supplies-clean-grid {
    grid-template-columns: 1fr;
  }
}

.supply-clean-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .04);
  transition: border-color .15s ease, transform .18s ease;
}

.supply-clean-item:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.s-icon-svg {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}

.s-content h4 {
  font-size: 15.5px;
  color: var(--green-900);
  margin-bottom: 4px;
}

.s-content p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.45;
}

/* ======================== */
/* MAQUINARIA               */
/* ======================== */
.machinery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.mach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(11, 36, 23, .12);
  border-color: var(--green-400);
}

.mach-card.mach-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--tint) 100%);
  border: 1.5px solid var(--green-550);
  box-shadow: 0 6px 18px -8px rgba(30, 122, 62, .18);
}

.mach-card.mach-card-featured h4 {
  font-size: 21px;
  color: var(--green-900);
}

.mach-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 12px;
}

.mach-card.mach-card-cnc {
  border-color: var(--green-400);
  background: linear-gradient(145deg, #FFFFFF, var(--tint-alt));
}

.mach-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mach-icon-lg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}

.mach-icon-lg.cnc {
  background: var(--green-550);
  color: var(--white);
  border-color: var(--green-550);
}

.mach-badge-featured {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green-700);
  background: #E8F5E9;
  border: 1px solid var(--green-300);
  padding: 3px 8px;
  border-radius: 999px;
}

.mach-pill-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--gray-600);
  border: 1px solid var(--border);
}

.mach-pill-tag.tag-cnc {
  background: var(--tint-alt);
  color: var(--green-700);
  border-color: var(--green-300);
}

.mach-card h4 {
  font-size: 17px;
  color: var(--green-900);
  margin-top: 2px;
}

.mach-card p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.5;
}

.mach-spec-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

.mach-spec-tags span {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .03);
  border: 1px solid var(--border);
  color: var(--gray-700);
}

@media (max-width: 960px) {
  .machinery-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mach-card.mach-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .machinery-full-grid {
    grid-template-columns: 1fr;
  }

  .mach-card.mach-card-featured {
    grid-column: span 1;
  }
}

/* ======================== */
/* CTA BANNER               */
/* ======================== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-banner h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--white);
  margin-top: 2px;
}

.cta-banner p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  max-width: 620px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

/* ======================== */
/* CONTACTO Y FOOTER        */
/* ======================== */
.footer-cta {
  background: var(--green-900);
  color: var(--white);
  padding: 48px 0 0;
  margin-top: 10px;
  width: 100%;
}

.fc-inner {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 34px;
  width: 100%;
}

.fc-inner h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 6px;
}

.fc-inner p {
  color: rgba(255, 255, 255, .8);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

.contact-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .15s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, .1);
}

.c-icon-svg {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-300);
  margin-bottom: 4px;
}

.contact-card b {
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: var(--green-300);
}

.contact-card a,
.contact-card span {
  font-size: 12px;
  color: var(--white);
  line-height: 1.35;
}

.contact-card a:hover {
  text-decoration: underline;
}

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

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

/* PIE DE PÁGINA */
footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, .7);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding: 30px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  width: 100%;
}

.footer-brand p {
  font-size: 11.5px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .6);
  max-width: 310px;
  line-height: 1.5;
}

.social-tags {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
}

.social-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-tag-item svg {
  color: var(--green-300);
  flex-shrink: 0;
}

.social-tags strong {
  color: var(--green-300);
}

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15.5px;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-col li {
  margin-bottom: 6px;
  font-size: 12px;
}

.footer-col a:hover {
  color: var(--white);
}

.contact-bullets li {
  color: rgba(255, 255, 255, .8);
}

.contact-bullets strong {
  color: var(--green-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11px;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

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

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

/* =================================== */
/* BARRA DE PROGRESO DE SCROLL         */
/* =================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--green-600) 0%, var(--green-500) 50%, var(--green-400) 100%);
  width: 0%;
  z-index: 9999;
  transition: width 0.12s ease-out;
  box-shadow: 0 0 10px rgba(76, 193, 114, 0.65);
}

/* ======================== */
/* WHATSAPP FLOTANTE        */
/* ======================== */
@keyframes pulseWpp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 6px 20px -4px rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 24px -4px rgba(37, 211, 102, .6);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px -4px rgba(37, 211, 102, .5);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px -4px rgba(37, 211, 102, .5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
  animation: pulseWpp 2.8s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, .65);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* =================================== */
/* ANIMACIONES FLUIDAS Y DE ENTRADA    */
/* =================================== */

/* Scroll Reveal base: subida suave con opacidad */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Entrada lateral izquierda */
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Entrada lateral derecha */
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Entrada con escala */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Cascada Stagger para tarjetas y elementos agrupados */
.stagger-group>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: opacity, transform;
}

.stagger-group.is-visible>*:nth-child(1) {
  transition-delay: 0.04s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(2) {
  transition-delay: 0.12s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(3) {
  transition-delay: 0.20s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(4) {
  transition-delay: 0.28s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(5) {
  transition-delay: 0.36s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(6) {
  transition-delay: 0.44s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(7) {
  transition-delay: 0.52s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(8) {
  transition-delay: 0.60s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(9) {
  transition-delay: 0.68s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(10) {
  transition-delay: 0.76s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(11) {
  transition-delay: 0.84s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-visible>*:nth-child(12) {
  transition-delay: 0.92s;
  opacity: 1;
  transform: translateY(0);
}

/* Animación de entrada fluida inicial del Hero */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content>* {
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content .badge-tag {
  animation-delay: 0.08s;
}

.hero-content h1 {
  animation-delay: 0.18s;
}

.hero-content .lede {
  animation-delay: 0.28s;
}

.hero-content .hero-cta {
  animation-delay: 0.38s;
}

.hero-content .stats-row {
  animation-delay: 0.48s;
}

/* Entrada para Banners de páginas secundarias */
.page-banner .wrap>* {
  animation: heroEntrance 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-banner .badge-tag {
  animation-delay: 0.06s;
}

.page-banner h1 {
  animation-delay: 0.16s;
}

.page-banner p {
  animation-delay: 0.26s;
}

/* =================================== */
/* MICRO-ANIMACIONES EN TODA LA WEB   */
/* =================================== */

/* Destello sutil en Badges / Pills */
@keyframes badgeShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.badge-tag,
.about-pill,
.line-tag-badge {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.badge-tag:hover,
.about-pill:hover,
.line-tag-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(42, 150, 80, 0.25);
}

/* Efectos de elevación e iluminación en tarjetas */
.about-card,
.pillar-card,
.sector-card,
.pro-card,
.line-card-horizontal,
.supply-photo-card,
.photo-card,
.supply-clean-item,
.contact-card,
.why-us-item {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease !important;
}

.about-card:hover,
.pillar-card:hover,
.sector-card:hover,
.pro-card:hover,
.supply-clean-item:hover,
.why-us-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 32px -10px rgba(11, 36, 23, 0.13) !important;
  border-color: rgba(42, 150, 80, 0.45) !important;
}

.line-card-horizontal:hover,
.supply-photo-card:hover,
.photo-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px -10px rgba(11, 36, 23, 0.14) !important;
  border-color: rgba(42, 150, 80, 0.45) !important;
}

/* Zoom suave en imágenes al interactuar */
.line-card-media img,
.photo-card-media img,
.supply-circle-img img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.line-card-horizontal:hover .line-card-media img,
.photo-card:hover .photo-card-media img,
.supply-photo-card:hover .supply-circle-img img {
  transform: scale(1.08) !important;
}

/* Micro-animación en Iconos */
.about-icon,
.sector-icon,
.card-icon-wrap,
.pro-icon-svg,
.supply-clean-item svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease !important;
}

.about-card:hover .about-icon,
.sector-card:hover .sector-icon,
.card-item:hover .card-icon-wrap,
.pro-card:hover .pro-icon-svg {
  transform: translateY(-4px) scale(1.12) rotate(-4deg) !important;
}

/* Chips y etiquetas interactivas */
.line-item-chip {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
}

.line-item-chip:hover {
  transform: translateY(-2.5px) !important;
  background: #FFFFFF !important;
  border-color: var(--green-400) !important;
  color: var(--green-700) !important;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.07) !important;
}

/* Botones: animaciones de hover y clic */
.btn {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease !important;
}

.btn:hover {
  transform: translateY(-2.5px);
}

.btn:active {
  transform: translateY(0) scale(0.97) !important;
}

.btn svg {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover svg {
  transform: translateX(3.5px);
}

/* Estadísticas Hero interactivas */
.stat {
  transition: transform 0.25s ease;
}

.stat:hover {
  transform: translateY(-2px);
}

.stat b {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.stat:hover b {
  transform: scale(1.08);
  color: var(--green-400);
}

/* Transición animada de pestañas */
@keyframes panelFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel.active {
  animation: panelFadeSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Decoraciones ambientales sutiles */
@keyframes decorFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-10px, -12px) scale(1.04);
  }
}

.about-decor-tl,
.about-decor-br {
  animation: decorFloat 9s ease-in-out infinite;
}

/* Enlaces de navegación */
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-550);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active-nav::after {
  width: 100%;
}

/* Inputs de formulario suaves */
input,
textarea,
select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green-500) !important;
  box-shadow: 0 0 0 3.5px rgba(42, 150, 80, 0.16) !important;
  outline: none;
}