﻿/* ==========================================================================
   ACUEDUCTO TRES QUEBRADAS - V2: ECO, COMMUNITY & HIGH VISUAL IMPACT
   ========================================================================== */

:root {
  /* Vibrant Eco Palette */
  --eco-dark: #064E3B;
  /* Deep Forest */
  --eco-main: #059669;
  /* Vibrant Green */
  --eco-light: #34D399;
  /* Bright Leaf */
  --eco-bg: #ECFDF5;
  /* Very light mint */

  --water-dark: #1E3A8A;
  --water-main: #0284C7;
  /* River Blue */
  --water-light: #38BDF8;

  --text-main: #111827;
  /* Near black for ultra legibility */
  --text-mut: #4B5563;
  /* Dark gray */
  --bg-cream: #F8FAFC;
  /* Off-white */
  --white: #FFFFFF;

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 20px 25px -5px rgba(5, 150, 105, 0.1), 0 8px 10px -6px rgba(5, 150, 105, 0.05);
}

/* =========================================
   RESET & TYPOGRAPHY
   ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  color: var(--eco-dark);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-mut);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.text-white {
  color: var(--white) !important;
}

.text-white-light {
  color: rgba(255, 255, 255, 0.85) !important;
}

.bg-light {
  background-color: var(--bg-cream);
}

.bg-water {
  background-color: var(--water-bg, #E0F2FE);
  color: var(--water-main);
}

.bg-green {
  background-color: var(--eco-bg);
  color: var(--eco-main);
}

.bg-blue {
  background-color: #EEF2FF;
  color: #4F46E5;
}

.bg-purple {
  background-color: #F3E8FF;
  color: #9333EA;
}

/* =========================================
   BUTTONS
   ========================================= */
button,
.btn-primary,
.btn-outline,
.btn-nav,
.pse-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary,
.btn-nav {
  background: var(--eco-main);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover,
.btn-nav:hover {
  background: var(--eco-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--white);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--eco-dark);
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  padding: 1rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.up {
  padding: 0.7rem 0;
  box-shadow: var(--shadow-card);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo svg {
  width: 40px;
  height: 40px;
}

.brand-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--eco-dark);
  letter-spacing: -0.02em;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--eco-main);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn-nav) {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mut);
  transition: color 0.2s;
}

.nav-links a:not(.btn-nav):hover {
  color: var(--eco-main);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--eco-dark);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 2rem 5%;
  box-shadow: var(--shadow-card);
  z-index: 999;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-nav-mobile {
  background: var(--eco-main);
  color: white;
  padding: 12px;
  border-radius: 8px;
}

/* =========================================
   HERO - LANDSCAPE VISUAL
   ========================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  /* La Calera Andes Mountains placeholder background */
  background: url('https://images.unsplash.com/photo-1549416878-b9ca95e1bb34?auto=format&fit=crop&q=80&w=2000&ixlib=rb-4.0.3') center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.9) 0%, rgba(6, 78, 59, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 60px;
}

.hero-chip {
  display: inline-block;
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #A7F3D0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: #A7F3D0;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--eco-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--eco-dark);
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 0.95rem;
}

/* =========================================
   GLOBAL SECTIONS
   ========================================= */
.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--eco-main);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-mut);
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 4rem;
}

/* =========================================
   ABOUT US
   ========================================= */
.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-mut);
}

.check-list li::before {
  content: '✓';
  color: var(--white);
  background: var(--eco-main);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list strong {
  color: var(--text-main);
  font-weight: 700;
}

.about-images {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border-radius: 16px;
  background: url('https://images.unsplash.com/photo-1433086966358-54859d0ed716?auto=format&fit=crop&q=80&w=800') center/cover;
  box-shadow: var(--shadow-card);
}

.img-sub {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 50%;
  border-radius: 16px;
  border: 8px solid var(--white);
  background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=600') center/cover;
  box-shadow: var(--shadow-card);
}

/* =========================================
   SERVICES
   ========================================= */
.services-section {
  padding: 6rem 0;
}

.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.svc-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(5, 150, 105, 0.2);
}

.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.svc-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.svc-card p {
  font-size: 0.95rem;
}

/* =========================================
   NEWS & COMMUNITY SECTION
   ========================================= */
.community-section {
  padding: 6rem 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.news-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.ni-1 {
  background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=800');
}

.ni-2 {
  background-image: url('https://images.unsplash.com/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&q=80&w=800');
}

.ni-3 {
  background-image: url('https://images.unsplash.com/photo-1550989460-0adf9ea622e2?auto=format&fit=crop&q=80&w=800');
}

.news-content {
  padding: 2rem;
}

.news-date {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eco-main);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.news-content p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.news-link {
  font-weight: 700;
  color: var(--eco-dark);
  font-size: 0.95rem;
}

.news-link:hover {
  color: var(--eco-main);
  text-decoration: underline;
}

/* =========================================
   BOT PROMO
   ========================================= */
.bot-promo {
  padding: 0 0 6rem 0;
}

.bot-promo-box {
  background: var(--eco-dark);
  border-radius: 24px;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.bot-promo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.bp-text {
  flex: 1;
  position: relative;
  z-index: 2;
}

.bp-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.bp-img svg {
  width: 100%;
  max-width: 300px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #0F172A;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--eco-main);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-p {
  color: #94A3B8;
  font-size: 1rem;
  max-width: 400px;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links li {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--white);
}

.pse-link {
  display: inline-block;
  background: var(--eco-main);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.pse-link:hover {
  background: var(--eco-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748B;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.footer-badges span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* =========================================
   VIRTUAL ASSISTANT OVERLAY
   ========================================= */
.chat-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--water-main);
  color: white;
  border: none;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
}

.chat-fab:hover {
  transform: scale(1.05);
  background: var(--water-dark);
}

.chat-fab svg {
  width: 28px;
  height: 28px;
}

.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 10000;
  width: 380px;
  height: 550px;
  background: var(--bg-cream);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.chat-header {
  background: var(--white);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ch-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ch-avatar {
  width: 40px;
  height: 40px;
  background: var(--eco-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.ch-name {
  font-size: 1rem;
  margin: 0;
  color: var(--eco-dark);
  font-weight: 700;
}

.ch-status {
  font-size: 0.75rem;
  color: var(--eco-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ch-status::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--eco-main);
  border-radius: 50%;
}

.ch-close {
  background: transparent;
  border: none;
  color: var(--text-mut);
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

.ch-close:hover {
  color: var(--eco-dark);
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}

.msg-bot {
  align-self: flex-start;
}

.msg-user {
  align-self: flex-end;
}

.msg-bubble {
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 16px;
}

.msg-bot .msg-bubble {
  background: var(--white);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.msg-user .msg-bubble {
  background: var(--water-main);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-options button {
  background: var(--white);
  border: 1px solid var(--water-light);
  color: var(--water-main);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.chat-options button:hover {
  background: var(--water-main);
  color: white;
  border-color: var(--water-main);
}

.chat-footer {
  padding: 16px 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-footer input {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  outline: none;
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 20px;
  transition: border 0.2s;
}

.chat-footer input:focus {
  border-color: var(--water-main);
}

.chat-footer button {
  background: var(--water-main);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
}

.chat-footer button:hover {
  background: var(--water-dark);
}

.chat-typing {
  align-self: flex-start;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 6px;
  box-shadow: var(--shadow-card);
}

.chat-typing span {
  width: 8px;
  height: 8px;
  background: var(--water-light);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.chat-typing span:nth-child(1) {
  animation-delay: -0.32s;
}

.chat-typing span:nth-child(2) {
  animation-delay: -0.16s;
}

/* REVEAL ANIMATION */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {

  .about-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bot-promo-box {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .bp-img {
    justify-content: center;
  }

  .about-images {
    min-height: 400px;
    margin-top: 2rem;
    display: none;
  }

  /* Hide on small screens for simplicity */
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .chat-window {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }

  .chat-fab {
    bottom: 1rem;
    right: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* =========================================
   VIRTUAL OFFICE & NEWS PAGES
   ========================================= */

/* Pagination & Tabs */
.tabs-nav { display: flex; gap: 1rem; border-bottom: 2px solid rgba(0,0,0,0.05); margin-bottom: 2rem; overflow-x: auto; }
.tab-btn { background: transparent; border: none; padding: 12px 24px; font-weight: 700; font-size: 1rem; color: var(--text-mut); cursor: pointer; border-bottom: 3px solid transparent; transition: 0.3s; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.05em; }
.tab-btn:hover { color: var(--eco-main); }
.tab-btn.active { color: var(--eco-dark); border-color: var(--eco-main); }
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Cards & Forms */
.card-box { background: var(--white); padding: 3rem; border-radius: 16px; box-shadow: var(--shadow-card); border: 1px solid rgba(0,0,0,0.04); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; font-family: var(--font-main); font-size: 1rem; transition: 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--eco-main); box-shadow: 0 0 0 3px rgba(5,150,105,0.1); }
.form-group textarea { resize: vertical; }

/* Documents Table */
.table-responsive { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; text-align: left; }
.doc-table th { background: var(--bg-cream); padding: 14px 20px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-mut); border-bottom: 2px solid rgba(0,0,0,0.05); }
.doc-table td { padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.95rem; vertical-align: middle; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Metrics Dash */
.metrics-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.kpi-col { display: flex; flex-direction: column; gap: 1rem; }
.kpi-card { background: var(--bg-cream); padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.03); text-align: center; }
.kpi-card h3 { font-size: 2.5rem; color: var(--eco-main); margin-bottom: 0.5rem; letter-spacing: -0.05em; line-height: 1; }
.kpi-card p { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; color: var(--text-mut); letter-spacing: 0.05em; margin: 0; }

/* News List */
.news-list-section { background: var(--white); }
.news-list-item { display: grid; grid-template-columns: 350px 1fr; gap: 2rem; background: var(--bg-cream); border-radius: 16px; overflow: hidden; margin-bottom: 2rem; border: 1px solid rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; }
.news-list-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.nli-img { background-size: cover; background-position: center; }
.nli-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.nli-tags { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.nli-date { font-size: 0.85rem; font-weight: 600; color: var(--text-mut); }
.nli-content h2 { margin-bottom: 1rem; font-size: 1.5rem; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .metrics-grid, .news-list-item { grid-template-columns: 1fr; }
  .nli-img { height: 250px; }
  .card-box { padding: 1.5rem; }
}


/* =========================================
   WhatsApp Floating Button
   ========================================= */
.wa-fab {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem; /* Next to the virtual assistant */
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.wa-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.wa-fab::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: pulseWa 2s infinite;
}

@keyframes pulseWa {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .wa-fab {
    bottom: 1.5rem;
    right: 5.5rem;
    width: 50px;
    height: 50px;
  }
}

