/* TEMA VIIVALTY SAS ESP - Basado en colores del logo */

:root {
  /* Colores principales del logo - Verde y Azul */
  --color-primary: #2e7d32; /* Verde oscuro del logo */
  --color-primary-light: #4caf50; /* Verde claro */
  --color-primary-dark: #1b5e20; /* Verde muy oscuro */

  --color-secondary: #1976d2; /* Azul del logo */
  --color-secondary-light: #42a5f5;
  --color-secondary-dark: #0d47a1;

  --color-accent: #66bb6a; /* Verde acento */
  --color-accent-alt: #64b5f6; /* Azul acento */

  /* Colores de soporte */
  --color-success: #4caf50;
  --color-warning: #ff9800;
  --color-danger: #f44336;
  --color-info: #2196f3;

  /* Grises y neutros */
  --color-text: #212121;
  --color-text-light: #757575;
  --color-text-lighter: #9e9e9e;
  --color-background: #ffffff;
  --color-background-light: #f5f5f5;
  --color-background-dark: #e0e0e0;
  --color-border: #bdbdbd;

  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
  --gradient-secondary: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(46, 125, 50, 0.9) 0%,
    rgba(25, 118, 210, 0.9) 100%
  );

  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Espaciado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Tipografía */
  --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

::selection {
  background: rgba(25, 118, 210, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Navbar */
.navbar {
  background: white;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--color-primary);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.navbar-logo {
  height: 50px;
  width: auto;
}

.navbar-company {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.navbar-menu {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-background-light);
}

.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-background-light);
  font-weight: 700;
}

.navbar-item {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  margin-top: var(--spacing-sm);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: var(--spacing-md);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-content a:hover {
  background-color: var(--color-background-light);
  color: var(--color-primary);
  padding-left: var(--spacing-lg);
}

.navbar-item:hover .dropdown-content {
  display: block;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

/* Hero */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-2xl);
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

/* Botones */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* Secciones */
.section {
  padding: var(--spacing-3xl) 0;
}

.section.bg-light {
  background-color: var(--color-background-light);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title h2 {
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
}

.card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  position: relative;
  margin-top: auto;
  background-color: white;
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 100%
    ),
    url("../img/image.png");
  background-repeat: no-repeat, no-repeat;
  background-position:
    center,
    center top 1.5rem;
  background-size:
    100% 100%,
    clamp(180px, 18vw, 320px) auto;
  color: #0f172a;
  padding-top: var(--spacing-lg);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(160px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  align-items: start;
}

.footer-column h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary-dark);
}

.footer-column p {
  margin-bottom: var(--spacing-xs);
  line-height: 1.45;
}

.footer-column a:not(.social-icon) {
  display: block;
  color: rgba(15, 23, 42, 0.92);
  text-decoration: none;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: var(--transition-fast);
}

.footer-column a:not(.social-icon):hover {
  color: var(--color-secondary-dark);
  padding-left: var(--spacing-sm);
}

.footer-logo {
  width: min(140px, 100%);
  height: auto;
  margin-bottom: var(--spacing-xs);
  filter: none;
  display: block;
  object-fit: fill;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
  align-items: center;
}

.footer .footer-social .social-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-full);
  color: #0f172a;
  transition: var(--transition-base);
  margin-bottom: 0;
  padding: 0;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.footer .footer-social .social-icon:hover {
  padding-left: 0;
}

.footer .footer-social .social-icon i {
  margin: 0;
  line-height: 1;
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.footer-legal {
  border-top: 1px solid rgba(15, 23, 42, 0.18);
  padding: var(--spacing-sm) 0;
  text-align: center;
}

.footer-bottom {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid rgba(15, 23, 42, 0.18);
  padding: var(--spacing-sm) 0;
  background-image: url("../img/cesped.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.footer-bottom-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
  color: #000;
}

.footer-legal-links {
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
}

.footer-legal-links a {
  display: inline;
  color: rgba(15, 23, 42, 0.92);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin: 0 0.35rem;
}

.footer-legal-links span {
  color: rgba(15, 23, 42, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    background-position:
      center,
      center top 0.75rem;
    background-size:
      100% 100%,
      120px auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: white;
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-background-dark);
    box-shadow: var(--shadow-md);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar {
    position: sticky;
  }

  .navbar .container {
    position: relative;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REDISEÑO 2026 - ESTILO UNIFICADO
   ============================================ */

:root {
  --color-primary: #2e7d32;
  --color-primary-light: #4caf50;
  --color-primary-dark: #1b5e20;
  --color-secondary: #1976d2;
  --color-secondary-light: #42a5f5;
  --color-secondary-dark: #0d47a1;
  --color-text: #111813;
  --color-text-light: #4a5c50;
  --color-background: #f5f7fb;
  --color-background-light: #ffffff;
  --color-background-dark: #dce7f3;
  --color-border: #d9e3ef;
  --gradient-primary: linear-gradient(135deg, #2e7d32 0%, #1976d2 100%);
  --gradient-secondary: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  --gradient-hero: linear-gradient(
    120deg,
    rgba(46, 125, 50, 0.92) 0%,
    rgba(25, 118, 210, 0.82) 100%
  );
  --shadow-sm: 0 6px 15px rgba(13, 71, 161, 0.08);
  --shadow-md: 0 12px 26px rgba(13, 71, 161, 0.12);
  --shadow-lg: 0 18px 35px rgba(13, 71, 161, 0.16);
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
}

.container {
  max-width: 1280px;
}

.section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-title h2 {
  color: var(--color-text);
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
}

.section-title.left {
  text-align: left;
}

.section-title p {
  color: var(--color-text-light);
}

.navbar {
  background: rgba(246, 248, 246, 0.9);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.nav-shell {
  min-height: 86px;
  gap: 1rem;
}

.navbar-brand {
  gap: 0.75rem;
}

.navbar-logo-modern {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar-brand-text small {
  display: block;
  color: var(--color-text-light);
  font-size: 0.73rem;
  line-height: 1.1;
}

.navbar-company {
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 800;
}

.navbar-company em {
  color: var(--color-secondary);
  font-style: normal;
}

.navbar-menu {
  gap: 0.35rem;
}

.nav-link {
  color: var(--color-text);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-secondary-dark);
  background: #e8f1fb;
}

.nav-link.nav-link-cta {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
}

.nav-link.nav-link-cta:hover {
  filter: brightness(0.96);
}

.navbar-item {
  position: relative;
}

.dropdown-content {
  min-width: 260px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.dropdown-content a {
  font-size: 0.9rem;
}

.dropdown-content a.active {
  color: var(--color-secondary-dark);
  background: #e8f1fb;
  font-weight: 700;
}

.hero-modern {
  min-height: unset;
  text-align: left;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-modern::before {
  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(66, 165, 245, 0.22),
      transparent 35%
    ),
    radial-gradient(circle at 5% 10%, rgba(76, 175, 80, 0.15), transparent 30%),
    var(--gradient-hero);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5.3vw, 4.15rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-copy h1 span {
  color: var(--color-primary);
  font-style: italic;
}

.hero-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-buttons {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-impact {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  color: var(--color-text);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
}

.hero-impact i {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 118, 210, 0.15);
  color: var(--color-primary-dark);
}

.hero-impact p {
  margin: 0;
  line-height: 1.1;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.hero-impact strong {
  font-size: 1.1rem;
}

.card,
.value-card,
.sidebar-widget,
.law-section,
.pqr-type,
.component-card,
.subsidy-card,
.contrib-card,
.tool-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.modern-cards {
  gap: 1.25rem;
}

.service-card {
  text-align: left;
}

.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(46, 125, 50, 0.14);
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card h3,
.tool-card h3 {
  color: var(--color-text);
}

.quick-route {
  background: var(--gradient-primary);
  color: #fff;
  padding: 2.5rem 0;
}

.quick-route-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.quick-route-wrap p {
  opacity: 0.84;
}

.quick-route-form {
  display: flex;
  gap: 0.5rem;
  width: min(520px, 100%);
}

.quick-route-form input {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 600;
}

.quick-route-form input:focus {
  outline: 3px solid rgba(16, 34, 22, 0.35);
}

.btn {
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  box-shadow: none;
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: #fff;
}

.btn-outline {
  border-color: #c9dff7;
  color: var(--color-secondary);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  background: #eef6ff;
  color: var(--color-secondary-dark);
}

.page-header {
  color: #fff;
  text-align: left;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: var(--gradient-primary) !important;
}

.page-header p {
  opacity: 0.88;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  gap: 1.2rem;
}

.content-main > article,
.content-main > .legal-content,
.pqr-form-section,
.intro-box,
.intro-tariff,
.service-components,
.tariff-tables,
.subsidies-section,
.channels-section,
.faq-section,
.commitment-section,
.response-times,
.tracking-section,
.rights-section,
.duties-section,
.procedures-section,
.municipality-grid,
.ccu-intro,
.table-wrap,
.document-categories,
.filters,
.certifications-grid,
.faq-grid {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.2vw, 1.7rem);
}

.content-main > article + article,
.content-main > article + section,
.content-main section + section,
.section .table-container,
.section .tariff-notes,
.section .response-card,
.section .tracking-form {
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

table thead tr,
.coverage-table th,
.tariff-table th {
  background: #e9f7ed;
  color: var(--color-secondary);
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid #edf3ee;
  text-align: left;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d7e3db;
  background: #fff;
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.footer {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1f2937;
  margin-top: 0;
  padding-top: 2.8rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.footer-title {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.footer-title h3 {
  color: #111827;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.footer-title p {
  color: #475569;
  margin: 0;
}

.footer-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 75px;
  filter: saturate(0.9);
}

.footer-column h4 {
  color: #111827;
}

.footer-column a:not(.social-icon),
.footer-column p {
  color: #334155;
}

.footer-column a:not(.social-icon):hover {
  color: var(--color-primary);
}

.footer .footer-social .social-icon {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.footer .footer-social .social-icon:hover {
  background: var(--color-secondary);
  color: #fff;
}

.footer-legal {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  color: #475569;
}

.footer-bottom {
  position: relative;
  border-top: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image: url("../img/cesped.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.12) 100%
  );
  pointer-events: none;
}

.footer-bottom-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.footer-bottom-content,
.footer-legal-links a {
  color: #1f2937;
}

.footer-legal-links a:hover {
  color: var(--color-primary);
}

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-shell {
    min-height: 72px;
  }

  .navbar-brand-text small {
    display: none;
  }

  .hero-grid,
  .quick-route-wrap,
  .quick-route-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-impact {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
