/* ==== RESET ==== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: #111; background-color: #fff; }

/* ==== TITULARES ==== */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ==== CONTENEDOR ==== */
.container { width: min(1200px, 90%); margin: 0 auto; }

/* ==== OFFSET DE ANCLAS (para header fijo) ==== */
section, .anchor-offset { scroll-margin-top: 95px; }

/* =========================
   HEADER + NAVEGACIÓN
   ========================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: #fff; border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1); z-index: 1000;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; width: min(1200px, 90%); margin: 0 auto;
}
.logo { width: 170px; height: auto; }

/* Menú escritorio */
.nav { display: flex; align-items: center; gap: 40px; }
.nav a {
  text-transform: uppercase; font-weight: 600; font-family: 'Roboto', sans-serif;
  color: #000; text-decoration: none; letter-spacing: 0.5px; transition: color .2s ease;
}
.nav a:hover { color: #0072ce; }

/* Botón hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none; position: absolute; right: 25px; top: 50%;
  transform: translateY(-50%); cursor: pointer; z-index: 1001;
}
.menu-toggle img { width: 26px; height: auto; transition: transform .2s ease; }
.menu-toggle img:hover { transform: scale(1.08); }

/* =========================
   TÍTULO PRINCIPAL BAJO HEADER
   ========================= */
.header-title { text-align: center; margin: 95px 0 20px; }
.header-title h1 { font-size: 3rem; font-weight: 700; color: #000; line-height: 1.25; }

/* =========================
   HERO
   ========================= */
.hero-section { background: #fff; padding: 30px 0 40px; }
.hero-container { max-width: 90%; margin: auto; }
.hero-image {
  position: relative; height: 480px; overflow: hidden; border-radius: 12px;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: flex-start;
}
.hero-text { color: #fff; padding-left: 60px; max-width: 600px; }
.hero-text h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 10px; }
.hero-text h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 20px; }
.btn-dark {
  background: #000; color: #fff; text-decoration: none; padding: 12px 22px;
  border-radius: 4px; font-weight: 500; font-size: 0.95rem; transition: background .3s ease;
}
.btn-dark:hover { background: #0072ce; }

/* =========================
   PLANES
   ========================= */
.planes { background: #fff; text-align: center; padding: 80px 20px; }
.planes h2 { font-size: 2.4rem; font-weight: 700; color: #000; margin-bottom: 8px; }
.planes .subtitulo { color: #555; font-size: 1.1rem; margin-bottom: 40px; }

.planes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
  justify-content: center; max-width: 1000px; margin: 0 auto;
}
.plan-card {
  background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 32px 24px;
  max-width: 420px; margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.plan-icon img { width: 160px; height: auto; margin: 8px auto 6px; display: block; }
.plan-card h3 { font-size: 1.7rem; font-weight: 700; color: #000; margin-bottom: 10px; }
.plan-card .precio { font-size: 1.3rem; font-weight: 700; color: #b38600; margin-bottom: 12px; }

.plan-card ul { list-style: none; padding: 0; text-align: left; margin: 0 auto; width: 90%; }
.plan-card ul li {
  display: flex; align-items: flex-start; gap: 8px; margin: 8px 0;
  color: #002f6c; font-size: 0.95rem; line-height: 1.4;
}
.plan-card ul li::before {
  content: "✔"; color: #002f6c; font-weight: bold; flex-shrink: 0; margin-top: 2px;
}
.plan-card ul li div { display: flex; flex-direction: column; }
.plan-card ul li strong { display: block; font-size: 0.95rem; margin-bottom: 1px; }
.plan-card ul li span { display: block; font-family: 'Poppins', sans-serif; font-size: 0.9rem; }

/* =========================
   MISIÓN Y SERVICIOS
   ========================= */
.mision-servicios { position: relative; width: 100%; }
.mision-image { position: relative; height: 500px; overflow: hidden; }
.mision-photo { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.mision-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px;
}
.mision-text { color: #fff; max-width: 900px; backdrop-filter: blur(2px); }
.mision-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.mision-text p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; color: #f2f2f2; }

/* =========================
   CONTACTO
   ========================= */
.contacto-netpoint { background: #000; color: #fff; padding: 80px 40px; text-align: left; }
.contacto-contenido {
  display: flex; justify-content: space-evenly; align-items: center; gap: 30px;
  flex-wrap: wrap; max-width: 1100px; margin: 0 auto;
}
.contacto-info { display: flex; flex-direction: column; gap: 10px; font-size: 1.05rem; }
.contacto-logo img { width: 300px; transition: transform .3s ease; }
.contacto-logo img:hover { transform: scale(1.05); }

/* =========================
   COMUNICADOS
   ========================= */
.comunicados { margin-top: 80px; }
.banner-comunicados { display: block; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.banner-comunicados img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.banner-comunicados:hover img { transform: scale(1.03); filter: brightness(1.06); }
.banner-comunicados:hover { box-shadow: 0 0 20px rgba(0,0,0,0.25); cursor: pointer; }

.info-comunicados { background: #2b2b2b; color: #fff; padding: 60px 40px; }
.contenedor-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px 60px; max-width: 1200px; margin: 0 auto;
}
.info-item {
  display: flex; align-items: flex-start; gap: 15px;
  background: #2b2b2b; border-radius: 10px; padding: 20px;
  text-decoration: none; transition: all .3s ease; border: 1px solid transparent; color: inherit;
}
.info-item:hover {
  background: #3a3a3a; transform: translateY(-5px); border-color: #d4a02a;
  box-shadow: 0 5px 15px rgba(212,160,42,0.3);
}
.icono-info { width: 40px; height: 40px; object-fit: contain; transition: transform .3s ease; }
.info-item:hover .icono-info { transform: scale(1.1); }
.info-texto h3 { font-size: 1.2rem; color: #d4a02a; margin-bottom: 5px; }
.info-item:hover h3 { color: #ffd15e; }
.info-texto p { font-size: 1rem; color: #e0e0e0; line-height: 1.5; }

/* =========================
   FOOTER
   ========================= */
.footer {
  background: #fff; border-top: 1px solid #ddd; padding: 60px 20px;
  display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center;
}
.footer-logo { height: 100px; width: auto; margin-bottom: 12px; }
.footer p {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; color: #000; letter-spacing: 0.5px;
}

/* =========================
   MEDIA QUERIES
   ========================= */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 2.2rem; }
}

/* Móvil */
@media (max-width: 768px) {
  /* Header compacto */
  .nav-row { flex-direction: column; justify-content: center; height: auto; padding: 12px 0 8px; }
  .logo { width: 130px; }
  .menu-toggle { display: block; }

  /* Menú móvil oculto por defecto */
  .nav {
    display: none; flex-direction: column; background: #fff; width: 100%;
    border-top: 1px solid #ddd; text-align: center; padding: 12px 0; gap: 12px;
  }
  .nav.active { display: flex; }

  /* Título principal más compacto */
  .header-title { margin: 92px 0 14px; }
  .header-title h1 { font-size: 2.0rem; }

  /* Hero más bajo */
  .hero-image { height: 330px; }
  .hero-text { padding-left: 22px; }
  .hero-text h1 { font-size: 1.8rem; }

  /* Planes: una columna + tamaños */
  .planes { padding: 50px 12px; }
  .planes h2 { font-size: 1.8rem; }
  .planes .subtitulo { font-size: 1rem; margin-bottom: 25px; }
  .planes-grid { grid-template-columns: 1fr; gap: 22px; }
  .plan-card { width: 100%; padding: 20px 18px; }
  .plan-icon img { width: 80px; }
  .plan-card h3 { font-size: 1.4rem; }
  .plan-card .precio { font-size: 1.1rem; }
  .plan-card ul li { margin: 8px 0; font-size: 0.9rem; }
  .plan-card ul li strong { font-size: 0.9rem; }
  .plan-card ul li span { font-size: 0.85rem; }
  .plan-card ul li::before { font-size: 0.9rem; margin-top: 1px; }

  /* Misión */
  .mision-image { height: 420px; }
  .mision-text h2 { font-size: 1.6rem; }
  .mision-text p { font-size: 1rem; }

  /* Contacto */
  .contacto-contenido { flex-direction: column; text-align: center; }
  .contacto-logo img { width: 200px; }

  /* Comunicados */
  .contenedor-info { grid-template-columns: 1fr; gap: 25px; }
}

body {
  padding-top: 100px; /* 🔹 ajusta el valor hasta que se vea perfecto */
}

