/* VARIABLES GLOBALES */
:root {
  --primary: #128e9b;
  --primary-hover: #0e6f79;
  --dark-blue: #14213d;
  --text-color: #333333;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* NAVBAR */
.navbar {
  padding: 15px 40px;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.navbar img { height: 35px; }

/* HERO */
.hero {
  position: relative;
  height: 80vh;
  background: url('img/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 10%;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.15);
}
.hero-content {
  position: relative;
  color: var(--white);
  max-width: 500px;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* BOTONES */
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.btn-primary:hover { background-color: var(--primary-hover); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
}

.btn-light {
  display: inline-block;
  background: var(--white);
  color: var(--dark-blue);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

/* INTRO */
.intro { text-align: center; max-width: 700px; }
.intro p { color: #666; font-size: 1.05rem; }

/* SOBRE MÍ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}
.about-img img {
  width: 100%;
  border-radius: 50%;
  max-width: 280px;
  display: block;
  margin: 0 auto;
}
.about-info h3 { font-size: 1.5rem; }
.about-info .subtitle { color: #888; margin-bottom: 15px; font-size: 0.9rem; }
.about-info ul { margin-top: 15px; padding-left: 20px; font-size: 0.95rem; }

/* TRATAMIENTOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.card {
  text-align: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }

/* DÍAS DE ATENCIÓN */
.schedule {
  background-color: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.schedule h2 { color: var(--white); }
.schedule .days { font-size: 1.2rem; margin-bottom: 5px; }
.schedule .hours { font-size: 1.5rem; font-weight: bold; margin-bottom: 25px; }
.schedule .phone { margin-top: 15px; opacity: 0.8; }

/* UBICACIÓN */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.location-map img { width: 100%; border-radius: 8px; }
.location-info { text-align: left; }
.location-info h2 { text-align: left; }
.location-info p { margin-bottom: 20px; }

/* FOOTER */
.footer {
  background-color: #0b1325;
  padding: 30px;
  text-align: center;
}
.footer-logo img { height: 30px; margin-bottom: 15px; }
.social-links a {
  color: var(--white);
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid, .location { grid-template-columns: 1fr; text-align: center; }
  .location-info { text-align: center; }
  .location-info h2 { text-align: center; }
  .hero-content h1 { font-size: 2rem; }
}