/* ====== ESTILOS GENERALES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: #f4f6f9;
  color: #333;
}

/* ====== HEADER ====== */
header {
  background: #0f112b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: relative;
  z-index: 1000;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-header img {
  height: 55px;
}

.logo-header h1 {
  font-size: 1.5rem;
  color: #00c4ff;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
}

nav ul li a:hover {
  color: #00c3ff;
}

/* SUBMENÚ */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001a33;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 1200;
}

.submenu li a {
  padding: 10px 16px;
}

nav ul li:hover > .submenu {
  display: flex;
}

/* BOTONES */
.nav-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-login {
  background: #0095c8;
  color: white;
}

.btn-login:hover {
  background: #007ba3;
}

.btn-register {
  background: #d4a100;
  color: black;
}

.btn-register:hover {
  background: #b78900;
}

.toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* ====== HERO CONTACTO ====== */
.hero-contacto {
  text-align: center;
  background: #0f112b;
  color: #fff;
  padding: 60px 20px;
}

.hero-contacto h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00c4ff;
}

.hero-contacto p {
  font-size: 1.1rem;
  color: #ddd;
}

/* ====== CONTENEDOR PRINCIPAL ====== */
.contact-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* ====== FORMULARIO ====== */
.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #0f112b;
}

.input-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.input-group input,
.input-group textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #00c4ff;
  outline: none;
}

.btn-submit {
  background: #0095c8;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #007ba3;
}

/* ====== INFORMACIÓN DE CONTACTO ====== */
.contact-info {
  background: #1a1a2e;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-info h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #00c4ff;
}

.contact-info p {
  margin: 12px 0;
  font-size: 1rem;
}

.contact-info a {
  color: #00c4ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ====== FOOTER ====== */
.footer {
  background:#0a1128;
  color:#fff;
  padding:50px 20px 25px;
  margin-top:40px;
}

.footer-container {
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:40px;
  align-items:flex-start;
}

.footer-logo {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-logo img {
  width:60px;
  filter:brightness(0) invert(1);
}

.footer-logo h3 {
  margin:0;
  font-size:1.3rem;
  color:#fff;
}

.footer-logo p {
  margin:0;
  font-size:0.95rem;
  opacity:0.8;
}

.footer-contact h4,
.footer-admin h4 {
  margin-bottom:12px;
  font-size:1.1rem;
  color:#00c3ff;
}

.footer-contact p {
  margin:6px 0;
  font-size:0.95rem;
}

.footer-contact a {
  color:#000000;
  text-decoration:none;
  font-weight:500;
}

.footer-contact a:hover {
  text-decoration:underline;
}

.btn-whatsapp {
  display:inline-block;
  margin-top:10px;
  background:#25d366;
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
}

.footer-admin ul {
  list-style:none;
  padding:0;
  margin:0 0 12px 0;
}

.footer-admin li {
  margin-bottom:6px;
  font-size:0.95rem;
}

.phone-box {
  display:inline-block;
  background:#00b4d8;
  color:#fff;
  padding:6px 12px;
  border-radius:8px;
  font-weight:700;
  font-size:0.95rem;
}

.footer hr {
  border:0.5px solid rgba(255,255,255,0.15);
  margin:25px 0;
  width:100%;
}

.footer-bottom {
  text-align:center;
  font-size:0.9rem;
  opacity:0.8;
}

.footer-bottom .highlight {
  color:#f4a300;
  font-weight:700;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #1a1a2e;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    z-index: 1200;
  }

  nav ul.show {
    display: flex;
  }

  .toggle {
    display: block;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align:center;
  }

  .footer-logo {
    align-items:center;
  }

  .footer-admin {
    margin-top:20px;
  }
}
