* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Top bar */
.top-bar {
  background-color: #e6f7ff;
  color: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  font-size: 14px;
}

.top-info span {
  margin-right: 15px;
}

.top-bar a {
  color: #0059b3;
  margin-left: 10px;
  text-decoration: none;
  font-weight: bold;
}

.social-links a {
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.social-links a:hover {
  transform: scale(1.15);
}


/* Navbar */
header {
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0059b3;
}

.logo img {
  height: 50px; /* Ajustá el tamaño */
  width: auto;
}
nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  background: url("imagenes/fondoterapia.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* cambia el texto a la izquierda */
  padding-left: 8%;
}

.hero-content {
  color: #003366;
  text-align: left;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.8);
  padding: 25px;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #333;
}

.cta {
  display: inline-block;
  background: #4da6ff;
  color: white;
  padding: 12px 25px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

/* Responsive */
/* Menú desplegable móvil */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1100;
    background: #0059b3;
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
  }
}




/* Formulario */
.contact-form {
  padding: 50px 20px;
  background-color: #e6f7ff;
  background-image: url("imagenes/fondoformulario.jpg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  text-align: center;
  color: #003366;
  font-family: Arial, sans-serif;
}

.contact-form form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  color: #003366;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #668cb3;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4da6ff;
  box-shadow: 0 0 5px rgba(77, 166, 255, 0.5);
}

.contact-form button {
  padding: 12px;
  background: #4da6ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #3399ff;
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px;
    }
}
/* ---------- Sección general ---------- */
/* Fondo general con estilo sobrio */
/* ===== Presentación ===== */
#presentacion {
  background: #f0f9ff;
  padding: 80px 20px;
}

.presentacion-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
  text-align: left;
}

/* Imagen del profesional */
.presentacion-img img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  ;
}

/* Texto */
.presentacion-texto {
  max-width: 600px;
  font-family: 'Arial', sans-serif;
}

.presentacion-texto h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 15px;
}

.presentacion-texto p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== Servicios ===== */
.servicios {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.servicios-header h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 3px solid #4da6ff;
  display: inline-block;
  padding-bottom: 8px;
}

.servicios-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.servicio-card {
  background: #e6f7ff;
  border: 1px solid #b3e0ff;
  border-radius: 12px;
  padding: 25px 20px;
  width: 280px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.servicio-card img {
  width: 50px;
  margin-bottom: 15px;
}

.servicio-card h3 {
  color: #003366;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.servicio-card p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-consulta {
  display: inline-block;
  background: #4da6ff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-consulta:hover {
  background: #3399ff;
}





footer {
  background-color: #e6f7ff;
  color: #003366;
  padding: 50px 20px 30px;
  font-family: Arial, sans-serif;
  border-top: 3px solid #4da6ff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 250px;
  margin: 15px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #003366;
  border-bottom: 2px solid #4da6ff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #003366;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #4da6ff;
}

.footer-col p {
  margin: 8px 0;
  font-size: 14px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 26px;
  height: 26px;
  filter: brightness(1);
}

.social-icons a:hover {
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #b3d9ff;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 14px;
  color: #003366;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    margin-top: 10px;
  }
}


/* ========================= */
/*   OPTIMIZACIÓN MOBILE    */
/* ========================= */
@media (max-width: 768px) {

  /* ---------- TOP BAR ---------- */
  .top-bar {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    font-size: 13px;
  }

  /* ---------- HEADER ---------- */
  header {
    padding: 12px 15px;
  }

  .logo img {
    height: 40px;
  }

  /* ---------- HERO ---------- */
  .hero {
    height: auto;
    padding: 40px 15px;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .cta {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* ---------- FORMULARIO ---------- */
  .contact-form {
    padding: 40px 15px;
    background-image: none; /* sacamos imagen en móvil */
  }

  .contact-form form {
    max-width: 100%;
  }

  /* ---------- PRESENTACIÓN ---------- */
  .presentacion-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .presentacion-texto {
    max-width: 100%;
  }

  .presentacion-texto h2 {
    font-size: 1.6rem;
  }

  .presentacion-texto p {
    font-size: 1rem;
  }

  /* ---------- SERVICIOS ---------- */
  .servicios {
    padding: 40px 15px;
  }

  .servicios-header h2 {
    font-size: 1.6rem;
  }

  .servicio-card {
    width: 100%;
    max-width: 320px;
  }

  /* ---------- FOOTER ---------- */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin: 10px 0;
  }
}
