/* ==========================================================================
   Coomulpinort Modern Design System & CSS Stylesheet
   ========================================================================== */

/* Import Premium Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Harmonious Color Palette & Tokens */
:root {
  /* === Paleta Oficial Coomulpinort === */
  --lima1:  #CED600;   /* Lima 1  - Pantone 381C  */
  --verde1: #3FAE29;   /* Verde 1 - Pantone 361C  */
  --lima2:  #94D500;   /* Lima 2  - Pantone 375C  */
  --verde2: #00953A;   /* Verde 2 - Pantone 355C  */

  /* Aliases funcionales (apuntan a la paleta oficial) */
  --primary:       var(--verde2);   /* Color principal */
  --primary-hover: var(--verde1);   /* Hover del principal */
  --secondary:     var(--lima2);    /* Secundario */
  --accent:        var(--lima1);    /* Acento / destacado */

  /* Neutros puros (sin azul) */
  --slate-900: #111111;
  --slate-800: #222222;
  --slate-700: #333333;
  --slate-100: #f2f2f2;
  --slate-50:  #fafafa;
  --text-dark:  #111111;
  --text-light: #fafafa;
  --text-muted: #666666;
  --border-color: #e6e6e6;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(12px);
}

/* Reset and Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--slate-50);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--slate-700);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  margin-bottom: 1.25rem;
  margin-left: 1.5rem;
  color: var(--slate-700);
}

li {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-primary, input[type="submit"] {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 149, 58, 0.3);
}

.btn-primary:hover, input[type="submit"]:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 149, 58, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--slate-900);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background-color: white;
  color: var(--slate-900);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 24px;
  gap: 1rem;
}

.top-bar-info-rotator {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.top-bar-panel {
  display: none;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar-panel.tb-visible {
  display: flex;
}

.top-bar-panel span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-panel i {
  color: var(--primary);
}

.top-bar-socials {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.top-bar-socials a {
  color: var(--verde2);
  font-size: 0.92rem;
}

.top-bar-socials a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

/* Header contact row (phone/address + socials, next to the logo) */
.header-contact-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-700);
  padding-right: 1.5rem;
}

/* Header & Glassmorphic Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-top-row {
  padding: 0.18rem 1rem;
}

.header-bottom-row {
  padding: 0.1rem 1.25rem 0.02rem;
  background-color: var(--verde2);
  line-height: 1;
}

.header-bottom-row .desktop-navigation {
  transform: translateY(6px);
}

.desktop-navigation {
  flex: 1;
  justify-self: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.main-navigation-menu {
  min-width: 0;
}

.branding-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.branding-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.branding-text {
  display: flex;
  flex-direction: column;
}

.site-title-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-desc-text {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Desktop Menu Navigation */
.main-navigation-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.menu-item-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
}

.menu-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--lima1);
  transition: var(--transition-smooth);
}

.menu-item-link:hover, .menu-item-active .menu-item-link {
  color: var(--lima1);
}

.menu-item-link:hover::after, .menu-item-active .menu-item-link::after {
  width: 100%;
}

/* Dropdowns */
.menu-item-has-dropdown {
  position: relative;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  min-width: 230px;
  list-style: none;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1001;
}

.menu-item-has-dropdown:hover .menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item-link {
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.dropdown-item-highlight {
  font-weight: 700 !important;
  color: var(--primary) !important;
}

.dropdown-item-link:hover {
  background-color: var(--slate-100);
  color: var(--primary);
  padding-left: 1.1rem;
}

/* Sub-dropdowns */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-menu {
  position: absolute;
  top: 0;
  left: 100%;
  transform: translateX(10px);
  background-color: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  list-style: none;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.dropdown-submenu:hover .dropdown-submenu-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Menu Toggle (Burger) */
.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-900);
  cursor: pointer;
}

/* Breadcrumb Banner */
.page-banner {
  background: linear-gradient(135deg, rgba(0, 149, 58, 0.95), rgba(0, 75, 29, 0.95)), url('/wp-content/uploads/2022/09/barra.png') no-repeat center center/cover;
  padding: 4rem 1rem;
  color: white;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.page-banner h1 {
  color: white;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.breadcrumbs-container {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  background-color: rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.breadcrumbs-container a {
  color: var(--accent);
}

.breadcrumbs-container span.separator {
  opacity: 0.5;
}

/* Main Content Container */
.main-wrapper {
  flex-grow: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.content-section {
  background-color: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* Table styling for financial and structured data */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

th, td {
  padding: 1rem 1.25rem;
  text-align: left;
}

th {
  background-color: var(--slate-900);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

td {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  color: var(--slate-700);
  font-size: 0.95rem;
}

tr:nth-child(even) td {
  background-color: var(--slate-50);
}

tr:hover td {
  background-color: rgba(0, 149, 58, 0.05);
}

/* Content Lists */
.content-section ul, .content-section ol {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.content-section li {
  margin-bottom: 0.75rem;
}

/* Card layout blocks */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 149, 58, 0.3);
}

.card:hover::before {
  background-color: var(--secondary);
}

/* Image styles */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.content-section img {
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
  transition: var(--transition-smooth);
}

.content-section img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

/* Videos / Maps Iframes */
iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
  background-color: var(--slate-100);
}

/* Responsive Embed Wrapper */
.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 2rem 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Form layouts */
form {
  margin: 1.5rem 0;
}

.form-group, .form-fields > span {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--slate-800);
}

input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--slate-800);
  background-color: var(--slate-50);
  transition: var(--transition-fast);
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(0, 149, 58, 0.15);
}

.the7-form-terms-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin-bottom: 1.5rem;
}

.the7-form-terms-wrap input {
  margin-top: 0.25rem;
}

/* Homepage Hero Slider */
.hero-slider-container {
  width: 100%;
  height: 550px;
  position: relative;
  overflow: hidden;
  background-color: var(--slate-900);
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.slide-active {
  opacity: 1;
  visibility: visible;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, rgba(10, 20, 15, 0.88) 0%, rgba(10, 20, 15, 0.55) 45%, rgba(10, 20, 15, 0.15) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  text-align: left;
  color: white;
  margin-right: auto;
  margin-left: 10%;
}

.slide-cta-row {
  margin-top: auto;
}

.slide-content h2 {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.slide-content p {
  color: var(--slate-100);
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 560px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.slider-controls {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dots {
  display: none;
}

.slider-btn {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 149, 58, 0.4);
}

/* Home Section Layouts */
.home-section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3.5rem;
  font-size: 2.25rem;
  font-weight: 800;
}

.home-section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 10px;
}

/* Interactive E.D.S. Zone Selector styles */
.eds-zones-widget {
  background-color: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.eds-mobile-select {
  display: none;
}

.eds-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.eds-tab-btn {
  background-color: var(--slate-100);
  color: var(--slate-800);
  border: 1px solid var(--border-color);
  padding: 0.55rem 0.9rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eds-tab-btn:hover, .eds-tab-btn.tab-active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 149, 58, 0.3);
}

.eds-stations-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zone-muni-group {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.zone-muni-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  background-color: var(--slate-50);
}

.zone-muni-count {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--slate-600, #64748b);
}

.zone-muni-toggle {
  flex-shrink: 0;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.zone-muni-toggle:hover {
  background-color: var(--primary-dark, #007a2e);
}

.zone-muni-cards {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1.25rem;
}

.zone-muni-cards.expanded {
  display: grid;
}

.station-card {
  background-color: var(--slate-50);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.station-card:hover {
  background-color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 149, 58, 0.2);
}

.station-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 149, 58, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.station-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}

.station-card a.station-link-btn {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.5rem;
}

/* Home blog section cards */
.home-blog-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 149, 58, 0.25);
}

.blog-card-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #d4d4d4;
}

.blog-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image-wrap img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-body h3 a {
  color: var(--slate-900);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p.excerpt {
  color: var(--slate-700);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.8rem;
}

.blog-card-more-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card-more-btn:hover {
  color: var(--primary-hover);
  padding-left: 4px;
}

/* Pagination container */
.paginator-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0 1rem 0;
}

.paginator-container a, .paginator-container span {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--slate-800);
  background-color: white;
  transition: var(--transition-fast);
}

.paginator-container a:hover, .paginator-container span.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 3px 8px rgba(0, 149, 58, 0.2);
}

/* Policy & Sarlaft page special styling */
.policy-box {
  background-color: var(--slate-50);
  border-radius: 12px;
  border: 1px dashed var(--primary);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-icon {
  font-size: 2rem;
  color: var(--primary);
}

.policy-details h4 {
  margin-bottom: 0.25rem;
}

.policy-details p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-700);
}

/* Responsive Footer */
footer.site-footer {
  background: linear-gradient(180deg, #007a30 0%, #005c24 100%);
  color: white;
  margin-top: 4rem;
  border-top: 4px solid var(--lima1);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem 3rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.footer-column h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--lima1);
}

.footer-column p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--lima1);
  padding-left: 4px;
}

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

.footer-contact-item i {
  color: var(--lima1);
  margin-top: 0.2rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.2);
}

.footer-social-links a:hover {
  background-color: var(--lima1);
  border-color: var(--lima1);
  transform: translateY(-3px);
  color: #111111;
  padding: 0;
}

.footer-bottom {
  background-color: #004a1e;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Side Menu Overlay Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.drawer-open {
  right: 0;
}

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

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-900);
  cursor: pointer;
}

.mobile-menu-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-item-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-900);
  display: block;
}

.mobile-submenu-items {
  list-style: none;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 0 0;
}

.mobile-submenu-item-link {
  font-size: 0.95rem;
  color: var(--slate-700);
  display: block;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.drawer-overlay.overlay-visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .main-navigation-menu {
    display: none; /* Hide desktop nav menu */
  }
  
  .mobile-menu-toggle {
    display: block; /* Show menu burger toggle */
  }
  
  .header-bottom-row {
    display: none; /* Nav menu now lives in the mobile drawer */
  }
  
  .slide-content {
    margin-left: 5%;
    max-width: 90%;
  }
  
  .slide-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .top-strip {
    display: none; /* Hide decorative strip on mobile */
  }

  .header-contact-info {
    display: none; /* Hide phone/address block on mobile */
  }
  
  /* E.D.S. Station Finder — mobile gets a completely different, native-feeling control */
  .eds-tabs {
    display: none;
  }

  .eds-mobile-select {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-800);
    background-color: white;
    border: 2px solid var(--primary);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009639' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
  }

  .zone-muni-heading {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
  }

  .zone-muni-toggle {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }

  .zone-muni-cards {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }

  .hero-slider-container {
    height: 480px;
    margin-bottom: 1.5rem;
  }

  /* No arrows — swipe with your finger, or it auto-advances every 6s */
  .slider-controls {
    display: none !important;
  }

  /* Stronger reading overlay since the text sits directly on the photo now */
  .slide-overlay {
    background: linear-gradient(180deg, rgba(10,20,15,0.35) 0%, rgba(10,20,15,0.15) 45%, rgba(10,20,15,0.75) 100%);
  }

  /* Text sits directly over the image, in the upper area, minimal, no card */
  .slide-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 8%;
    bottom: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0 1.5rem;
    text-align: left;
    touch-action: pan-y;
  }

  .slide-content h2 {
    color: white;
    font-size: 1.6rem;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }

  .slide-content p {
    color: rgba(255,255,255,0.92);
    font-size: 0.92rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    margin-bottom: 0;
  }

  /* CTA buttons are dropped on mobile — swipe/tap the image itself */
  .slide-content .slide-cta-row,
  .slide-content > div {
    display: none !important;
  }

  /* Slide position dots fill the lower area of the image and replace
     the removed arrows as a way to see how many slides there are */
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    z-index: 10;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.45);
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.6);
  }

  .slider-dot.slider-dot-active {
    background-color: white;
    width: 32px;
    height: 12px;
    border-radius: 6px;
    border-color: white;
  }

  .content-section {
    padding: 1.5rem;
  }
  
  .footer-top {
    padding: 3rem 1rem 2rem 1rem;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .eds-tabs {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.4rem;
  }
  
  .eds-tab-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Share Buttons Widget (Facebook / X / WhatsApp) — legacy WordPress markup
   ========================================================================== */
.share-buttons, .single-share-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background-color: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.share-buttons a:hover {
  background-color: var(--primary);
  color: white;
}

.share-buttons a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.share-buttons .soc-font-icon {
  display: none;
}

/* Visually hide text meant only for screen readers, without removing it from the DOM */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fix invisible white social icons from legacy WordPress "Redes Sociales" shortcode widget */
.dt-shortcode-soc-icons .soc-font-icon,
.dt-shortcode-soc-icons .soc-icon,
.dt-shortcode-soc-icons a:not(:hover) .soc-font-icon,
.dt-shortcode-soc-icons a:not(:hover) .soc-icon {
  color: var(--primary) !important;
}

/* ==========================================================================
   Mobile-first redesign — distinct from desktop, not just a shrunk version
   ========================================================================== */

/* Fixed bottom quick-action bar (mobile only) */
.mobile-quickbar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 62px; /* keep content clear of the fixed bar */
  }

  .mobile-quickbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 1500;
    padding: 0.4rem 0;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
  }

  .mobile-quickbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--slate-700);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.3rem 0.2rem;
  }

  .mobile-quickbar-item i {
    font-size: 1.05rem;
    color: var(--primary);
  }

  .mobile-quickbar-item:active {
    color: var(--primary);
  }

  /* Simplified mobile header: drop the tagline, tighten spacing */
  .site-desc-text {
    display: none;
  }

  .branding-logo img {
    height: 38px;
  }

  .site-title-text {
    font-size: 1.1rem;
  }

  .nav-container {
    padding: 0.6rem 1rem;
  }

  /* Full width drawer on narrow phones instead of a fixed 300px sliver */
  .mobile-nav-drawer {
    width: 85%;
    max-width: 340px;
    right: -100%;
    padding: 1.5rem;
  }

  .mobile-nav-drawer.drawer-open {
    right: 0;
  }

  .mobile-menu-item-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  /* Buttons stack full-width — a native mobile pattern instead of
     side-by-side desktop-style button rows */
  .content-section .btn,
  .card .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Footer accordion: collapse each column behind its heading */
  .footer-column h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    padding: 1rem 0;
  }

  .footer-column h3::after {
    content: '\002B';
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    transition: var(--transition-fast);
  }

  .footer-column-open h3::after {
    content: '\2212';
  }

  .footer-column-content {
    display: none;
    padding-bottom: 1rem;
  }

  .footer-column-open .footer-column-content {
    display: block;
  }

  .footer-column {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .footer-top {
    gap: 0;
  }

  /* Touch-friendly form fields */
  input, select, textarea {
    min-height: 46px;
    font-size: 1rem !important;
  }

  textarea {
    min-height: 120px;
  }
}
