/* =====================================================
   TIPOGRAFÍA Y TEXTO BASE
===================================================== */
@font-face {
  font-family: News Cycle;
  src: url('../fonts/NewsCycle-Regular.eot');
  src: local("News Cycle"), url('../fonts/NewsCycle-Regular.ttf');
}

html {
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font: normal 90% Arial, Helvetica, sans-serif;
  color: #000;
}

p {
  padding: 0 0 10px 0;
  line-height: 1.7em;
  font-size: 100%;
}

span {
  color: #B1521A;
  text-shadow: none;
}

/* Titulares */
h1, h2, h3, h4, h5, h6 {
  font: normal 175% 'News Cycle', Arial, sans-serif;
  color: #000;
  letter-spacing: -1px;
  margin: 0 0 10px 0;
}

h2 { font: normal 165% 'News Cycle', Arial, sans-serif; }
h3 { font: normal 130% 'News Cycle', Arial, sans-serif; }
h4, h5, h6 {
  font: normal 150% 'News Cycle', Arial, sans-serif;
  color: #FFF;
  line-height: 1.5em;
}
h5, h6 {
  font: normal 95% 'News Cycle', Arial, sans-serif;
  color: #888;
  padding-bottom: 15px;
}

/* =====================================================
   LISTAS Y ENLACES
===================================================== */
ul {
  margin: 2px 0 22px 30px;
  line-height: 1.7em;
}

ol {
  margin: 8px 0 22px 20px;
}

ol li {
  margin: 0 0 11px 0;
}

a, a:hover {
  color: #000;
  background: transparent;
  font-weight: bold;
  text-decoration: underline;
  outline: none;
}

a:hover {
  text-decoration: none;
}

/* =====================================================
   ESTRUCTURA GENERAL
===================================================== */
#main, header, #banner, #menubar, #site_content, footer, #content_grey, nav, #slideshow_container {
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   CABECERA Y NAVEGACIÓN
===================================================== */

header {
  position: relative;
  width: 940px;
  min-height: 200px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 40px 0 40px;
  background: linear-gradient(to top right, #a0e7ff, #002b45);
}

.logo img {
  position: relative;
  top: 0;
  left: 5px;
  max-height: 100px; /* Aumenta el tamaño máximo del logo */
  width: auto;
  height: auto;
}

#strapline, #welcome_slogan, #menubar {
  width: 940px;
  margin: 0 auto;
}

#welcome_slogan {
  float: left;
  height: 70px;
  padding-top: 10px;
}

#welcome_slogan h3 {
  font: bold 300% 'News Cycle', Arial, sans-serif;
  letter-spacing: -3px;
  color: #FFF;
}

nav {
  display: flex;
  align-items: flex-end;
}

#menubar {
  display: flex;
  align-items: flex-end;
  background: none;
  box-shadow: none;
  justify-content: flex-end;
  width: auto;
  margin: 0;
  padding: 0;
}

ul#nav {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul#nav li {
  display: block;
}

ul#nav li a {
  display: block;
  font: bold 110% 'News Cycle', Arial, sans-serif; /* tamaño de fuente más pequeño */
  padding: 4px 10px 6px 10px; /* menos padding horizontal y vertical */
  margin: 4px 4px 0 0;       /* menos margen entre botones */
  background: transparent;
  color: #FFF;
  border-radius: 7px;
  text-shadow: 0px 1px 0px #000;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;        /* fuerza el texto en una sola línea */
}

ul#nav li.current a,
ul#nav li a:hover {
  background: linear-gradient(#43A9FF, #0043A8);
  text-shadow: none;
}

/* =====================================================
   SLIDESHOW
===================================================== */
/* SLIDESHOW RESPONSIVE */
#slideshow_container {
  width: 100%;
  max-width: 940px;
  height: auto;
  margin: 0 auto 20px auto;
  padding-top: 20px;
  /*background: linear-gradient(#2E2EFE, #08088A);*/
  position: relative;
  overflow: hidden;
}

.slideshow,
ul.slideshow {
  width: 100%;
  max-width: 940px;
  height: 240px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
}

ul.slideshow li {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}

ul.slideshow li.show {
  display: block;
  z-index: 500;
}

ul.slideshow li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

ul.slideshow li .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 12px 24px;
  font-size: 1.1em;
  box-sizing: border-box;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  text-align: left;
}
/* Responsive: ajusta la altura en pantallas más pequeñas */
@media (max-width: 900px) {
  .slideshow,
  ul.slideshow {
    height: 180px;
    max-width: 100%;
  }
  ul.slideshow li img {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .slideshow,
  ul.slideshow {
    height: 120px;
  }
  ul.slideshow li img {
    height: 120px;
  }
}
/*#slideshow_container {
  height: 260px;
  padding-top: 20px;
  background: -moz-linear-gradient(#2E2EFE, #08088A);
}

.slideshow {
  width: 940px;
  height: 240px;
  margin: 0 auto;
}

ul.slideshow {
  list-style: none;
  position: relative;
  width: 940px;
  height: 240px;
  overflow: hidden;
}

ul.slideshow li {
  position: absolute;
  left: 0;
  right: 0;
}

ul.slideshow li.show {
  z-index: 500;
}

/* Pie de imagen *//*
#slideshow-caption {
  width: 940px;
  height: 38px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 500;
}

#slideshow-caption .slideshow-caption-container {
  padding: 10px 25px;
  background: transparent url(../images/transparent.png) repeat;
}

#slideshow-caption p {
  font: normal 130% Arial, sans-serif;
  color: #FFF;
  text-shadow: 1px 1px #000;
}
*/


/* =====================================================
   CONTENIDO Y SIDEBAR
===================================================== */
#site_content {
  width: 940px;
  overflow: hidden;
}

.sidebar_container {
  float: right;
  width: 240px;
  margin: 20px 0 0 10px;
}

.sidebar, .sidebar_item {
  float: left;
  width: 240px;
}

.sidebar h2 {
  font: normal 140% 'News Cycle', Arial, sans-serif;
  padding: 5px 0 0 0;
  height: 30px;
}

#content, .content_item {
  float: left;
  width: 680px;
  margin: 0 0 20px 0;
}

.content_container {
  float: left;
  width: 330px;
  margin: 20px 10px 0 0;
}

/* =====================================================
   PIE DE PÁGINA
===================================================== */
footer {
  width: 940px;
  height: 80px;
  padding: 25px 0 20px 0;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  text-shadow: 1px 1px #000;
  background: -webkit-linear-gradient(#43A9FF, #0043A8);
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}

footer a {
  color: #FFF;
  text-decoration: none;
  text-shadow: 1px 1px #000;
}

footer a:hover {
  text-decoration: underline;
}

/* =====================================================
   BOTONES Y FORMULARIOS
===================================================== */
.button_small {
  font: normal 110% Arial, Helvetica, sans-serif;
  float: left;
  height: 15px;
  padding: 5px 10px 7px 8px;
  background: -webkit-linear-gradient(#43A9FF, #0043A8);
  color: #FFF;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}

.button_small a {
  color: #FFF;
  padding-left: 5px;
  text-shadow: 1px 1px #000;
}

.form_settings {
  margin-top: 15px;
}

.form_settings p {
  padding-bottom: 4px;
}

.form_settings span {
  float: left;
  width: 280px;
  text-align: left;
  color: #000;
}

.form_settings input,
.form_settings textarea {
  padding: 2px;
  width: 299px;
  font: 100% Arial;
  background: #FFF;
  border: 1px solid #E5E5DB;
  color: #47433F;
}

.form_settings input[type="checkbox"] {
  width: 15px;
  margin: 28px 0;
  border: none;
}

.form_settings .submit {
  width: 99px;
  margin-left: 206px;
  height: 26px;
  padding: 2px 0 3px;
  background: -webkit-linear-gradient(#43A9FF, #0043A8);
  color: #FFF;
  border-radius: 7px;
  border: 1px solid;
  cursor: pointer;
}

/* =====================================================
   ESTILOS ADAPTATIVOS
===================================================== */

/* Estructura general adaptativa */
header,
#site_content,
footer,
#slideshow_container,
.slideshow,
#slideshow-caption {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Header y navegación responsive */
header {
  min-height: 140px; /* Aumenta la altura mínima del header */
  padding: 32px 5vw 0 5vw; /* Más espacio arriba y abajo */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to top right, #a0e7ff, #002b45);
  width: 100%;
  max-width: 940px;
  box-sizing: border-box;
}

.logo img {
  max-height: 120px; /* Logo más grande */
  width: auto;
  height: auto;
}

/* Ajustes responsivos para que el logo siga viéndose grande en móviles */
@media (max-width: 900px) {
  header {
    min-height: 100px;
    padding: 24px 2vw 0 2vw;
  }
  .logo img {
    max-height: 90px;
  }
}

@media (max-width: 700px) {
  header {
    min-height: 80px;
    padding: 16px 2vw 0 2vw;
    flex-direction: column;
    align-items: flex-start;
  }
  .logo img {
    max-height: 70px;
  }
}

@media (max-width: 480px) {
  header {
    min-height: 60px;
    padding: 10px 1vw 0 1vw;
  }
  .logo img {
    max-height: 50px;
  }
}

#menubar {
  display: flex;
  align-items: center;
  background: none;
  box-shadow: none;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  width: auto;
}

ul#nav {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

ul#nav li {
  display: block;
}

ul#nav li a {
  display: block;
  font: bold 1em 'News Cycle', Arial, sans-serif;
  padding: 6px 10px;
  margin: 2px 0;
  background: transparent;
  color: #FFF;
  border-radius: 7px;
  text-shadow: 0px 1px 0px #000;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  font-size: 1em;
}

ul#nav li.current a,
ul#nav li a:hover {
  background: linear-gradient(#43A9FF, #0043A8);
  text-shadow: none;
}


/* Contenido y sidebar responsive */
#site_content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 940px;
  box-sizing: border-box;
}

.sidebar_container,
.sidebar,
.sidebar_item {
  width: 100%;
  max-width: 240px;
  box-sizing: border-box;
}

#content,
.content_item {
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
  margin: 0 auto 20px auto;
}

/* Footer responsive */
footer {
  width: 100%;
  max-width: 940px;
  padding: 25px 0 20px 0;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  text-shadow: 1px 1px #000;
  background: -webkit-linear-gradient(#43A9FF, #0043A8);
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  margin: 0 auto;
}

/* Media Queries para móviles y tablets */
@media (max-width: 900px) {
  .logo img {
    max-height: 80px; /* Más grande en tablets */
  }
}

@media (max-width: 700px) {
  .logo img {
    max-height: 60px; /* Más grande en móviles */
  }
}

@media (max-width: 480px) {
  .logo img {
    max-height: 48px; /* Más grande en móviles pequeños */
  }
}
/* Solo para la página de contacto */
body.contact-page #site_content {
  display: block;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

body.contact-page #content,
body.contact-page .content_item {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 20px auto;
  float: none;
  box-sizing: border-box;
}

body.contact-page .sidebar_container,
body.contact-page .sidebar,
body.contact-page .sidebar_item {
  display: none !important;
}/* Ajuste solo para la página de contacto */
body.contact-page #site_content {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 0 20px 0;
}

body.contact-page #content,
body.contact-page .content_item {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  float: none;
  box-sizing: border-box;
}/* Ajuste solo para la página de contacto */
body.contact-page #site_content {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 0 20px 0;
}

body.contact-page #content,
body.contact-page .content_item {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  float: none;
  box-sizing: border-box;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
/* Modern Empresa Section */
.empresa-modern {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 32px 24px;
  margin: 32px auto;
  max-width: 940px;
  box-sizing: border-box;
}

.empresa-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 18px;
  color: #222;
  letter-spacing: -1px;
}

.empresa-lead {
  font-size: 1.18em;
  color: #444;
  margin-bottom: 32px;
  line-height: 1.6;
}

.empresa-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.benefit {
  flex: 1 1 220px;
  background: #f6faff;
  border-radius: 10px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 2px 8px rgba(0,120,215,0.05);
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.benefit h3 {
  font-size: 1.15em;
  margin-bottom: 8px;
  color: #0078d7;
}

.benefit p {
  font-size: 1em;
  color: #333;
  margin-bottom: 14px;
}

.empresa-btn {
  background: linear-gradient(90deg, #0078d7 60%, #43A9FF 100%);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.2s;
  margin-top: auto;
}
.empresa-btn:hover {
  background: linear-gradient(90deg, #005fa3 60%, #43A9FF 100%);
}

.empresa-contacto {
  text-align: center;
  margin-top: 24px;
}

.empresa-btn-contact {
  background: #43A9FF;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.15em;
  margin-bottom: 10px;
  display: inline-block;
  transition: background 0.2s;
}
.empresa-btn-contact:hover {
  background: #0078d7;
}

.empresa-contacto-info {
  margin-top: 12px;
  font-size: 1.05em;
  color: #222;
}

@media (max-width: 900px) {
  .empresa-benefits {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .benefit {
    max-width: 100%;
    min-width: 0;
  }
  .empresa-modern {
    padding: 18px 6vw;
  }
}
/* Minimalista, sobrio y corporativo para Empresa */
.empresa-corp {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 40px 32px 32px 32px;
  margin: 40px auto 32px auto;
  max-width: 940px;
  box-sizing: border-box;
}

.empresa-corp-title {
  font-size: 2em;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-align: left;
}

.empresa-corp-lead {
  font-size: 1.15em;
  color: #444;
  margin-bottom: 36px;
  line-height: 1.7;
  text-align: left;
}

.empresa-corp-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
  justify-content: space-between;
}

.corp-benefit {
  flex: 1 1 200px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  min-width: 200px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.corp-benefit:hover {
  box-shadow: 0 4px 16px rgba(0,120,215,0.08);
}

.corp-icon {
  font-size: 2em;
  margin-bottom: 12px;
  color: #0078d7;
}

.corp-benefit h3 {
  font-size: 1.08em;
  margin-bottom: 8px;
  color: #222;
  font-weight: 500;
}

.corp-benefit p {
  font-size: 0.98em;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.5;
}

.corp-btn {
  background: #0078d7;
  color: #fff;
  padding: 7px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
  margin-top: auto;
  transition: background 0.2s;
  box-shadow: none;
  border: none;
}
.corp-btn:hover {
  background: #005fa3;
}

.empresa-corp-contacto {
  text-align: center;
  margin-top: 18px;
}

.corp-btn-contact {
  background: #222;
  color: #fff;
  padding: 12px 32px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08em;
  margin-bottom: 10px;
  display: inline-block;
  transition: background 0.2s;
  border: none;
}
.corp-btn-contact:hover {
  background: #0078d7;
}

.empresa-corp-info {
  margin-top: 12px;
  font-size: 1em;
  color: #222;
}

@media (max-width: 900px) {
  .empresa-corp-benefits {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .corp-benefit {
    max-width: 100%;
    min-width: 0;
  }
  .empresa-corp {
    padding: 18px 4vw;
  }
}
.empresa-corp-bio {
  font-size: 1.08em;
  color: #333;
  margin-bottom: 32px;
  line-height: 1.7;
  background: #f8fafc;
  border-radius: 8px;
  padding: 18px 22px;
  box-sizing: border-box;
}