* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Serif', serif;
  margin: 0;
  overflow-x: hidden;
  padding-top: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Prumo Deck', 'Roboto Serif', serif;
  font-weight: bold;
  font-style: italic;
}


nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #0F285C;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  /* <- necesario para el menú móvil */
  z-index: 100;
}


.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #F9D342;
}

/* ... (todo lo anterior igual) ... */

.logo img {
  height: 50px;
  object-fit: contain;
}

.logo-ediasa img {
  height: 50px;
  /* Tamaño original */
  object-fit: contain;
  image-rendering: crisp-edges;
  transform: scale(4);
  /* Aumenta el tamaño en un 50% */
  padding-left: 20px;
}

.logo-marea img {
  height: 50px;
  /* Tamaño original */
  object-fit: contain;
  image-rendering: crisp-edges;
  transform: scale(3.5);
  /* Aumenta el tamaño en un 50% */
  padding-left: 20px;
}

.logo-centro img {
  height: 50px;
  /* Tamaño original */
  object-fit: contain;
  image-rendering: crisp-edges;
  transform: scale(2.5);
  /* Aumenta el tamaño en un 50% */
  padding-left: 20px;
}

.logo-manavision img {
  height: 50px;
  /* Tamaño original */
  object-fit: contain;
  image-rendering: crisp-edges;
  transform: scale(1.5);
  /* Aumenta el tamaño en un 50% */
  padding-left: 30px;
}

.logo-radioamiga img {
  height: 50px;
  /* Tamaño original */
  object-fit: contain;
  image-rendering: crisp-edges;
  transform: scale(5);
  /* Aumenta el tamaño en un 50% */
  padding-left: 20px;
}

.carrusel-section {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.carrusel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carrusel-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.carrusel-item {
  min-width: 100%;
  height: 600px;
  /* Ajusta esta altura según lo que necesites */
  object-fit: cover;
}

.marcas {
  padding: 4rem 0rem;
  text-align: center;
  background-color: #fff;
  width: 100%;
  overflow: hidden;
}

.marcas h2 {
  font-size: 2rem;
  color: #0F285C;
  margin-bottom: 2rem;
}

.marcas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.marcas-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  animation: scrollMarcas 50s linear infinite;
  align-items: center;
  justify-content: center;
}

.marca {
  flex: 0 0 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
}

.marca img {
  width: 120%;
  height: 200%;
  object-fit: contain;
  /*filter: grayscale(100%);*/
}


.menu-toggle {
  display: none;
}

.estadisticas {
  background-color: #F4F6FA;
  padding: 4rem 2rem;
  text-align: center;
}

.estadisticas h2 {
  font-size: 2rem;
  color: #0F285C;
  margin-bottom: 3rem;
}

.estadisticas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  flex: 1 1 200px;
}

.card:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4396D3;
}

.numero {
  font-size: 3rem;
  font-weight: bold;
  color: #0a2351;
  margin-bottom: 10px;
}

.texto {
  color: #4d4d4d;
  font-size: 1rem;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 50px 20px;
  background: white;
  /* Antes: #0F285C */
  color: #0F285C;
  /* Texto azul oscuro */
  text-align: center;
  border-radius: 15px;
}


.contact-title {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #0F285C;
}


.contact-form h3 {
  color: #0F285C !important;
  text-shadow: none;
  background: #f5f5f5;
}

.form-info {
  flex: 1;
  max-width: 400px;
  text-align: center;
  color: #0F285C;
}

.form-info img {
  width: 100%;
  max-width: 300px;
  margin-top: 1rem;
  border-radius: 5px;
}

.form-image {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}

.contact-form-modern {
  background: #f4f6f8;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.form-container {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0a2351;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Roboto Serif', serif;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #4a90e2;
}

#contact-form button {
  width: 100%;
  padding: 15px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #3b78c3;
}

#form-status {
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
  color: green;
}


.footer-contacto {
  flex: 1;
  min-width: 220px;
  font-size: 0.95rem;
}

.footer-contacto a {
  color: white;
  text-decoration: none;
}

.footer-contacto a:hover {
  text-decoration: underline;
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.footer-button {
  background: white;
  color: #0F285C;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-button:hover {
  background: #ddd;
}

.social-footer {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.social-footer a {
  font-size: 1.6rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-footer a:hover {
  transform: scale(1.2);
  color: #000;
  /* Negro al pasar el mouse */
}

.social-media {
  background: linear-gradient(to right, #0f0f0fe8, #3e3e3e);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.social-media h2 span {
  color: #ff8c00;
  font-size: 1.5rem;
  font-weight: bold;
}

.social-media h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0;
}

.social-media p {
  color: #bbb;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.social-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.box {
  width: 280px;
  padding: 2rem;
  border-radius: 12px;
  color: white;
  font-weight: bold;
}

.box i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.box h4 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.box p {
  font-size: 1rem;
}

.social-boxes a {
  text-decoration: none;
  /* Elimina el subrayado */
}

/* Colores personalizados */
.box.facebook {
  background: linear-gradient(to bottom, #6db3f2, #1e69de);
}

.box.instagram {
  background: linear-gradient(to bottom right, #f09433, #bc1888);
}

.box.x-twitter {
  background: linear-gradient(to bottom, #000000, #1a1a1a);
}

.box.x-twitter i {
  color: white;
}

.box.tiktok {
  background: linear-gradient(to bottom, #000000, #000000);
  /* Fondo negro similar a X */
}

.box.tiktok i {
  color: white;
  /* Icono blanco */
}



/* Responsive */
@media (max-width: 768px) {
  .social-boxes {
    flex-direction: column;
    align-items: center;
  }

  .contact-section {
    flex-direction: column;
  }

  .footer-contacto,
  .footer-center,
  .social-footer {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-button {
    background: white;
    color: #0F285C;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin: 0 auto;
  }

  .social-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .social-footer a {
    font-size: 1.5rem;
  }
}


.redes-sociales .card {
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

.redes-sociales img {
  margin-bottom: 0.5rem;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.redes-sociales a:hover img {
  filter: none;
}

.footer {
  margin-top: 1rem;
  background-color: #0F285C;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #4396D3;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease-in-out;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-email {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #fff;
  margin-top: 20px;
  padding: 20px;
  font-size: 15px;
}

/* Contenedor de redes en footer */
.social-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Estilo de íconos */
.social-footer a {
  font-size: 1.5rem;
  color: #4396D3;
  /* O blanco: #ffffff */
  transition: transform 0.3s ease;
}

.social-footer a:hover {
  transform: scale(1.2);
  color: #ffffff;
}

.footer .col-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Menú hamburguesa oculto en escritorio */
@media (max-width: 768px) {
  .menu-container {
    display: none;
    flex-direction: column;
    background-color: #0F285C;
    position: absolute;
    top: 100%;
    /* ← esto alinea justo debajo del nav */
    right: 0;
    width: 100%;
    padding: 1rem 2rem;
    text-align: right;
    z-index: 99;
  }

  .menu {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .btn-suscribirse {
    margin-top: 1rem;
  }

  .menu-container.show {
    display: flex;
  }
}



/* Responsive para carrusel de productos */
@media (max-width: 768px) {
  .carrusel-item {
    max-height: 300px;
  }

  .carrusel-btn {
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Responsive para marcas aliadas */
@media (max-width: 768px) {
  .slider-track {
    display: flex;
    animation: scrollMarcas 50s linear infinite;
  }

  .marca {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.1rem;
  }

  .marca img {
    width: 120%;
    height: 200%;
  }

  .marcas h2 {
    font-size: 2rem;
  }
}


@media (max-width: 480px) {
  .marca {
    max-width: 60px;
    /* Tamaño aún más pequeño en pantallas pequeñas */
    max-height: 60px;
  }

  .marca img {
    width: 120%;
    height: 200%;
  }

  .marcas h2 {
    font-size: 2rem;
  }

  .marcas-grid {
    gap: 0.1rem;
    /* Aún menos espacio entre iconos en pantallas muy pequeñas */
  }

}


@font-face {
  font-family: 'Prumo Deck';
  src: url('../fonts/PrumoDeck-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Serif';
  src: url('../fonts/RobotoSerif-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.mediakit-formatos {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #F4F6FA;
}

.mediakit-formatos h1 {
  font-family: 'Prumo Deck', serif;
  font-weight: bold;
  font-style: italic;
  color: #0F285C;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.mediakit-formatos p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.formatos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* Ajuste dinámico */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.formato {
  background-color: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.formato:hover {
  transform: scale(1.05);
}

.formato img {
  width: 100%;
  max-height: 350px;
  /* Aumentar tamaño */
  object-fit: contain;
  border-radius: 8px;
}

.formato h3 {
  font-family: 'Roboto Serif', serif;
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #0F285C;
}

/* QUITAR ESPACIO BLANCO DEBAJO DEL FOOTER */
body {
  margin: 0;
  background-color: #ffffff;
}

.footer {
  margin-top: 4rem;
  /* Espacio antes del footer */
}

.contact-section {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.grid img:hover {
  transform: scale(1.03);
}

.switch-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.switch-buttons button {
  padding: 0.7rem 1.5rem;
  border: none;
  background-color: #ddd;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.switch-buttons button.active {
  background-color: #0F285C;
  color: white;
}

.hidden {
  display: none !important;
}

.visible {
  display: grid !important;
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: left;
  position: relative;
  font-family: 'Roboto Serif', serif;
}

.popup-content h2 {
  font-family: 'Prumo Deck', serif;
  font-style: italic;
  color: #0F285C;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}



.mediakit-formatos {
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer {
  margin-top: 0;
}

#popup-anuncio {
  animation: fadeIn 0.4s ease-in-out;
  transition: all 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 600px;
  overflow: hidden;
}

.contact-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%) brightness(50%);
  z-index: 0;
}

.contact-map-overlay {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  background: rgba(255, 255, 255, 0.9);
  /* Claro y elegante */
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  background: lightgray;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
}

.contact-left,
.contact-right {
  flex: 1;
  padding: 2rem;
  min-width: 300px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-left h3,
.contact-right h3 {
  color: #0F285C;
  font-family: 'Prumo Deck', serif;
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-left p {
  color: #333;
  line-height: 1.6;
}

.contact-left a {
  color: #4396D3;
  text-decoration: none;
}

.contact-left a:hover {
  text-decoration: underline;
}

/* Estilo limpio para inputs */
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Roboto Serif', serif;
  color: #333;
  background-color: #fff;
  transition: border 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #4396D3;
  outline: none;
  box-shadow: 0 0 5px rgba(67, 150, 211, 0.3);
}

#contact-form button {
  background-color: #4396D3;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-family: 'Roboto Serif', serif;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#contact-form button:hover {
  background-color: #357ABD;
}

#mensaje-estado {
  font-size: 1rem;
  text-align: center;
  color: #d9534f;
}


@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    text-align: center;
  }
}


.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 600px;
  overflow: hidden;
}

.contact-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%) brightness(50%);
  z-index: 0;
}

.contact-map-overlay {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  background: rgba(255, 255, 255, 0.9);
  /* Claro y elegante */
}

.mediakit-diario,
.mediakit-redes {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #f4f6fa;
}

.mediakit-diario h2,
.mediakit-redes h2 {
  font-family: 'Prumo Deck', serif;
  font-style: italic;
  color: #0F285C;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.mediakit-diario p,
.mediakit-redes p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  color: #333;
}

.mediakit-diario .formato,
.mediakit-redes .formato {
  background-color: white;
  padding: 2rem;
  margin: auto;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mediakit-diario .formato img,
.mediakit-redes .formato img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin-bottom: 1rem;
}


.btn-contacto {
  background-color: white;
  color: black !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-family: 'Roboto Serif', serif;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border-radius: 999px;
  /* ovalado completo */

}

.btn-contacto:hover {
  background-color: #e6c932;
}

.ciudad-select {
  padding: 5px 10px;
  border-radius: 10px;
  border: none;
  font-family: 'Roboto Serif', serif;
  font-size: 0.9rem;
  margin-left: 15px;
}

.whatsapp-float {
  position: fixed;
  bottom: 15px;
  /* Más abajo */
  right: 20px;
  /* Mantener en la esquina */
  background-color: #25d366;
  color: white;
  padding: 20px 24px;
  /* Más ancho: padding horizontal aumentado */
  border-radius: 50%;
  font-size: 32px;
  z-index: 1000;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}


.diario-fisico-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.imagen-diario {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}