@font-face {
  font-family: 'Exo';
  src: url('Exo-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900; /* rango completo de la variable font */
  font-style: normal;
  font-display: swap;

}

body {font-family:Exo, sans-serif; font-size:14px;margin:0px;background-color:white}
A {text-decoration:none}
img { border:0px }
select {font-size:10px}
* { box-sizing: border-box; }


/* contenedor reutilizable */
.inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
#arriba{
    background:#16471a;
}


.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100px;
  gap: 24px;
}

/* MENU */
.menu {
  text-align: right;
  font-weight: bold;
}

/* CTA */
.menu .cta {
  margin-bottom: 12px;
}
.menu .cta a{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    text-decoration:none;
    color:white;
}

.menu .cta a::before{
    content:"PARA EMPRESAS";
    font-size:11px;
    letter-spacing:2px;
    color:#f2d74e;
    margin-bottom:6px;
}

/* LINKS */
.menu .links a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-size: 14px;
}

.menu .links a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .logo img {
    max-width: 95%;
    height: auto;
  }
  .inner {
    padding: 18px;
  }

  .header-flex {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
  }

  .menu {
    text-align: left;
    width: 100%;
  }

  .menu .cta a {
    font-size: 16px;
  }

  .menu .links a {
    display: inline-block;
    margin-left: 0;
    margin-top: 8px;
  }
}

.titulo-provincia {
    font-size: clamp(17px, 3vw, 26px);
    /* Explicación:
       17px = mínimo tamaño en móvil
       3vw  = tamaño relativo al ancho de pantalla
       26px = máximo tamaño en escritorio
    */
    line-height: 1.2;
    text-align: center; /* opcional */
}


/* CONTENIDO */
#contenido {
  background-color: #f4faf7;
   color: #444;
  min-height: 60vh;
  font-weight:650;
  padding:15px;
}
#contenido A {color:#1b8744; font-weight:700}

#contenido.home {
  padding: 0;
  background:
    linear-gradient(180deg, #e8f5e9 0%, #f8fef9 48%, #e8f5e9 100%);
}

.home-hero {
  padding: 54px 20px 36px;
  text-align: center;
}

.home-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 7px 14px;
border: 1px solid #16471a;
  border-radius: 999px;
  background: #f8fef9;
  
  color: #16471a;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.home h1 {
  max-width: 820px;
  margin: 0 auto;
  color: #111;
  font-size: clamp(30px, 5vw, 32px);
  line-height: 1.08;
  font-weight: 850;
}

.home-intro {
  max-width: 780px;
  margin: 18px auto 0;
     color: #16471a;
  font-size: 18px;
  line-height: 1.55;
}

.home-links {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 42px;
  padding: 24px;
  border: 1px solid #b7ddb9;
  border-radius: 8px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 45px rgba(27,94,32,0.10);
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #c8e6c9;
  text-align: left;
}

.home-section-heading span {
 color: #16471a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}

.local-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-links-grid li {
  min-width: 0;
  padding: 13px 15px;
border: 1px solid #d8ebe3;
  background: #f9fcfb;
  border-radius: 8px;

  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.local-links-grid a {
  display: inline-block;
  color: #111 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  border-bottom:1px dotted #1b8744 ;
}

.local-links-grid li:hover {
 border-color: #16471a;
  background: #eef7f3;
  box-shadow: 0 8px 18px rgba(27,94,32,0.13);
  transform: translateY(-2px);
}

.local-links-grid p {
  margin: 8px 0 0;
  color: #444;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.home-empty {
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  background: #f4fff5;
  color: #111;
  text-align: center;
}

@media (max-width: 760px) {
  .home-hero {
    padding: 38px 16px 28px;
  }

  .home-intro {
    font-size: 16px;
  }

  .home-links {
    width: calc(100% - 24px);
    padding: 16px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .home-section-heading h2 {
    font-size: 22px;
  }

  .local-links-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTENEDOR MENU */
.menu-wrapper {
  background: #444;/* verde oscuro */
  padding: 10px;
  font-weight:550;
}

/* ITEM */
.menu-item {
  margin-bottom: 10px;
  text-align:left;
}

/* TÍTULO */
.menu-title {
  width: 100%;
  background: #16471a;/* verde principal */
  color: #ffffff;
  border: none;
  padding: 14px 12px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  font-family: Exo, sans-serif !important;
}

/* HOVER TÍTULO */
.menu-title:hover {
   background: #2c8266;/* verde hover */
}

/* SUBMENU */
.submenu {
  display: none;
  background: #f1f8f4; /* verde muy claro */
  margin: 0;
  padding: 12px;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  font-weight: 550;
}

/* ESPACIADO */
.submenu li + li {
  margin-top: 4px;
}

/* LINKS */
.submenu li a {
  display: block;
  padding: 12px 10px 12px 22px;
  font-size: 14px;
  color: #111 !important; /* verde oscuro accesible */
  text-decoration: none;
  border-bottom: 1px dotted #a5d6a7;
  position: relative;
  font-family: Exo, sans-serif;
}

/* PRIMERA LETRA */
.submenu li a::first-letter {
  text-transform: uppercase;
}

/* BULLET */
.submenu li a::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
background-color: #16471a;
}

/* HOVER LINK */
.submenu li a:hover {
  background: #e0f2e9; /* hover suave */
}

/* SUBMENU ABIERTO */
.menu-item.open > .submenu {
  display: grid;
  grid-template-columns: 1fr;
}

/* ESCRITORIO: 2 COLUMNAS */
@media (min-width: 1024px) {
  .menu-item.open > .submenu {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    max-height: 420px;
  }
}

/* FOOTER */
.site-footer {
  background-color: #111 !important; /* verde más oscuro */
  color: white;
  margin:auto;
  text-align:center;
  padding:1%;

}
.site-footer  A {color:white;font-weight:600}

/* Tarjeta general de empresa */
.resultados_empresas {
    display: flex;
    flex-direction: column; /* apila los hijos verticalmente */
    font-size: 14px;
    background-color: #388e3c0f;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    width: 85%;
    max-width: 600px;
}


/* Datos de la empresa */
.empresa_datos {
    flex: 1 1 60%;  /* ocupa 60% en escritorio */
    min-width: 200px; /* para que no se encoja demasiado */
    margin-bottom: 10px; /* separación en móvil */
	
}
.empresa_datos h3 {margin:3px; font-size:15px}
/* Contacto / enlaces */
.empresa_contacto {
    flex: 1 1 35%; /* ocupa 35% en escritorio */
    min-width: 150px;
    text-align: center;
}

/* Enlaces con emoji estilo botón */
.empresa_contacto a {
    display: inline-block;
    margin: 4px 0;
    padding: 4px 8px;
    background-color: #111;
    border-radius: 5px;
    text-decoration: none;
    color: white !important;
    transition: all 0.2s ease;
}


/* Responsive móvil */
@media (max-width: 700px) {
    .empresa_contacto {
        text-align: left;
        flex-basis: 100%;
    }
    .empresa_datos {
        flex-basis: 100%;
    }
}

.resultados_titulo { background-color:#395D91; color:white; font-weight:bold; padding:2 0 2 0px }
.resultados_abajo { background-color:#AEC6EA }

.links_alfabetica { color:black }
.links_alfabetica:hover { background-color:#456524;color:white;padding:2px}
.activity A { font-size:11px; color:black }
.azuln { color:black }
.azulp { color:black }

.div_general {width:938px;text-align:left;background-color:white;color:black}


.menu A {text-decoration:none; color:white; font-size:13px;font-weight:bold; letter-spacing:1px;}

h2 {font-weight:700;  text-align:center; font-size:18px; color:#444;
  border-bottom:1px dotted #444;}

.destacados-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.destacados-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.destacados-list li {
    background-color: #f0fff1; /* verde claro */
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.destacados-list li:hover {
    background-color: #e8f5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.destacados-list li a {
    font-weight: 600;
   color: #444; /* verde oscuro */
    text-decoration: none;
}

.destacados-list li a:hover {
    text-decoration: underline;
}

/* Responsivo móvil */
@media (max-width: 600px) {
    .destacados-list {
        grid-template-columns: 1fr;
    }
}
.footer-logo {
    max-width: 320px !important;
    
    height: auto;
    margin: 10px auto;
    display: block;
}

@media (max-width: 480px) {
    .footer-logo {
        max-width: 300px;
    }
}


/* contenedor de todas las tarjetas */
.empresas-destacadas {
    display: grid;
    grid-template-columns: 1fr; /* en móvil: 1 columna */
    gap: 20px; /* espacio entre tarjetas */
    max-width: 1200px; /* límite en escritorio */
    margin: 0 auto; /* centrado */
    padding: 10px;
}

/* en pantallas medianas: 2 columnas */
@media (min-width: 768px) {
    .empresas-destacadas {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* en pantallas grandes: 3 columnas */
@media (min-width: 1200px) {
    .empresas-destacadas {
        grid-template-columns: repeat(3, 1fr);
    }
}

.empresa_ficha2 {
    background: #ffffff; /* fondo blanco */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 15px 18px;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* hover sutil */
.empresa_ficha2:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.empresa_ficha2 h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #2966a3;
}

.empresa_ficha2 a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 500;
}

.empresa_ficha2 a:hover {
    text-decoration: underline;
}

.sd-cmp-inD2m {
    display: flex;
    flex-direction: column-reverse!important;
}

#abajo {
	background-color:#111;
  padding: 22px 16px 30px;
  text-align: center;
  color:white;
}
#abajo A {color:white;text-decoration:underline}
.footer-text {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px;
  line-height: 1.7;
  text-align: left;
}

#contenido.home {padding-bottom:20px}
#contenido.home .home-hero {
  padding: 54px 20px 36px;
  text-align: center;
 
}

#contenido.home .home-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}

#contenido.home .home-links {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 42px;
  padding: 24px;
  border: 1px solid #b7ddb9;
  border-radius: 8px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 45px rgba(27,94,32,0.10);

}

#contenido.home .local-links-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

#contenido.home .local-links-grid li {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #1b8744;
  border-radius: 8px;
  background: #f4fff5;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  list-style: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#contenido.home .local-links-grid a {
  display: inline-block;
  color: #1b8744 !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.28;
}

#contenido.home .local-links-grid li:hover {
  border-color: #2e7d32;
  background: #e8f5e9;
  box-shadow: 0 8px 18px rgba(27,94,32,0.13);
  transform: translateY(-2px);
}

#contenido.home .local-links-grid p {
  margin: 8px 0 0;
  color: #444;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 760px) {
  #contenido.home .home-links {
    width: calc(100% - 24px);
    padding: 16px;
  }

  #contenido.home .local-links-grid {
    grid-template-columns: 1fr;
  }
}

/* INCORPORADO DESDE POSNEG */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  background: #fff;
  padding: 32px 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: #111;
}

h1 {
  font-size: 34px;
  margin-bottom: 16px;
}

h2 {
  font-size: 26px;
  margin-top: 40px;
}

h3 {
  font-size: 21px;
  margin-top: 24px;
}

h4 {
  font-size: 17px;
  margin-top: 0;
}

.lead {
  font-size: 18px;
  color: #444;
  max-width: 850px;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: #555;
}

.breadcrumb a {
  color: #1b8744;
}

.azul {color:#1b8744;border-bottom:1px dotted #1b8744}
.azulh2 {background-color:#1b8744;color:white;border-radius:8px; padding:6px; padding-left:10px; font-size:22px;}

.hero {
  background: #ffffff;
  border: 1px solid #d8e5ff;
  padding: 28px;
  border-radius: 14px;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary {
  background: #1b8744;
  color: #fff !important;
}

.btn-secondary {
  background: #fff;
  color: #1b8744;
  border: 1px solid #1b8744;
}

.highlight-card {
  border: 2px solid #1b8744;
  border-radius: 16px;
  padding: 28px;
  background: #ffffff;
  margin: 28px 0;
}

.highlight-card h2 {
color: #1b8744;
}

.badge {
  display: inline-block;
  background: #1b8744;
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 12px;
}

.business-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  font-weight:550;
  font-size:15px;

}

.business-meta li {
  background: #fff;
  border: 1px solid #1b8744;
  border-radius: 10px;
  padding: 12px;
  font-size:13px;
  overflow-wrap: anywhere;
}

.service-grid,
.town-grid,
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.box {
  background: white;
  border: 1px solid #bbbbbb;
  border-radius: 12px;
  padding: 18px;
}

.company-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.company {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.company h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.company p {
  margin: 4px 0;
}

.faq details {
  border: 1px solid #1b8744;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
}

.geo-block {
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  margin-top: 42px;
}

.geo-block h2 {
  color: #fff;
  margin-top: 0;
}

.geo-block a {
  color: #fff;
}

.note {
  font-size: 14px;
  color: #555;
}

.imagen-pagina {
  text-align: center;
  margin: 34px 0;
}

.imagen-pagina img {
  width: 95%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
}

@media (max-width: 680px) {
  h1 {
    font-size: 28px;
  }

  .hero,
  .highlight-card,
  .geo-block {
    padding: 20px;
  }
}