@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #0f172a;
  margin: 0;
  padding: 0;
}

/* === Links === */
a:link    { color: #9DDEDE; }
a:visited { color: #C2EBEB; }
a:hover   { color: #74D1D1; }
a:active  { color: #9DDEDE; }

/* === Typography === */
.Cuerpo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  font-style: normal;
  line-height: 1.5;
  font-weight: bold;
  color: #D4E4F2;
}

.Domicilio {
  font-family: Arial, Helvetica, sans-serif;
  font-size: medium;
  font-style: normal;
  line-height: 2;
  font-weight: bold;
  color: #D4E4F2;
}

.Domicilio2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
  font-style: normal;
  line-height: normal;
  font-weight: bold;
  color: #D4E4F2;
}

.Software {
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
  font-style: italic;
  line-height: normal;
  font-weight: bolder;
  color: #F3F7FB;
}

.Slogan {
  font-family: Arial, Helvetica, sans-serif;
  font-size: xx-large;
  font-style: italic;
  line-height: normal;
  font-weight: bolder;
  color: #FFFFFF;
}

.TituloLinea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  font-style: italic;
  line-height: normal;
  font-weight: bold;
  color: #BFD5FF;
  margin-bottom: 20px;
  display: block;
}

.Texto {
  font-family: Arial, Helvetica, sans-serif;
  font-size: medium;
  font-style: normal;
  line-height: 1.6;
  font-weight: normal;
  color: #F3F7FB;
}

.OpcionMenu {
  font-family: 'Roboto', sans-serif;
  font-size: large;
  font-style: normal;
  line-height: normal;
  font-weight: bold;
  color: #F3F7FB;
}

.TituloPagina {
  font-family: 'Roboto', sans-serif;
  font-size: xxx-large;
  font-style: normal;
  line-height: normal;
  font-weight: bold;
  color: #CBDCFF;
}

/* === Button === */
.button {
  font-family: Arial;
  color: #000000;
  font-size: 14px;
  padding: 3px 10px;
  text-decoration: none;
  border-radius: 28px;
  border: solid #BFD5FF 2px;
  background: #BFD5FF;
}
.button:hover {
  background: #CBDCFF;
}

/* === Nav links (menu.html) === */
.nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #c9d8f0;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
  letter-spacing: 0.3px;
  display: inline-block;
}
.nav-link:link, .nav-link:visited {
  color: #c9d8f0;
}
.nav-link:hover, .nav-link:active {
  background-color: rgba(191, 213, 255, 0.15);
  color: #BFD5FF;
  text-decoration: none;
}

/* === Hero section === */
.hero {
  padding: 8px 8% 12px;
  border-bottom: 1px solid #1e293b;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.hero-logo img {
  max-width: 240px;
  max-height: 160px;
  width: auto;
  height: auto;
}

/* === Contact section === */
.contact-section {
  padding: 22px 8%;
  border-bottom: 1px solid #1e293b;
}
.contact-section .Domicilio {
  max-width: 900px;
  margin: 0 auto;
  display: block;
}
.icon-contact {
  color: #9DDEDE;
  width: 22px;
  text-align: center;
  margin-right: 8px;
  display: inline-block;
}

/* === News section === */
.news-section {
  padding: 28px 8% 40px;
}
.news-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* === Timeline === */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 30px;
  margin: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, #BFD5FF, rgba(157, 221, 222, 0.15));
  border-radius: 2px;
}
.timeline > li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 14px;
}
.timeline > li::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #BFD5FF;
  border: 2px solid #0f172a;
  box-shadow: 0 0 0 2px rgba(191, 213, 255, 0.25);
}
.timeline > li > ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 6px;
  color: #94b4d4;
}
.timeline > li > ul > li {
  margin-bottom: 3px;
}

/* === WhatsApp floating button === */
.float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.float:link, .float:visited {
  color: #FFF;
}
.float:hover {
  background-color: #fff;
  color: #25d366;
  text-decoration: none;
}

/* === Images === */
img {
  max-width: 100%;
  height: auto;
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .hero-logo img {
    max-width: 200px;
  }
  .Cuerpo { font-size: large; }
  .TituloLinea { font-size: large; }
  .nav-link { font-size: 0.85rem; padding: 5px 8px; }

  /* Screenshot tables: stack to 1 column on mobile */
  table table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
}
