:root {
    --color-bg: #fafafa;
    --color-text: #3D5566; 
    --color-details: #C7EBF0;
    --color-details2: #AB9144;
    --color-details3: #FDD34A;
    /* --font-main: bold 1em 'Courier New', monospace;
    --font-odd: normal italic 1rem 'Courier New', monospace;
    --font-text: 'Courier New', monospace;    */
}

/* ====== Estilos base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
}

body {
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg)
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-weight: 700;
}

section {
  padding: 40px 30px;
  max-width: 1100px;
  margin: auto;
}

/* ====== Main button ====== */
.btn-primary {
  display: inline-block;
  background: var(--color-details);
  color: var(--color-text);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s;
}

.btn-primary:hover {
  background: #065f9e;
  color: var(--color-bg);
}

/* ====== Header & Hero ====== */
header.hero {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 80px 80px 40px;
  position: relative;
}

header.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

header .logo {
  font-size: 1.4rem;
  font-weight: bold;
}

.hero-content {
  margin-top: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--color-bg);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-bg);
}

/* ====== Social Proof ====== */
/* .social-proof {
  text-align: center;
  background: var(--color-bg);
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
} */

/* ====== Services ====== */
.services h2 {
  text-align: center;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* grid-template-columns: 2fr; */
  gap: 20px;
}

.card {
  background: var(--color-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  font-weight: 600;
}


/* ====== benefits ====== */
.benefits ul {
  list-style: none;
  max-width: 600px;
  margin: auto;
}

.benefits li {
  background: var(--color-bg);
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ====== Testimonies ====== */
/* .testimonios blockquote {
  background: var(--color-bg);
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
} */

/* ====== Doctor ====== */
.doctor h2{
  margin-bottom: 10px;
}

.doctor-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.doctor-info img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 100px;
}

.doctor-info p {
  text-align: justify;
  line-height: 1.7;
}

/* ====== CTA ====== */
.cta {
  text-align: center;
  background: var(--color-details2);
  border-radius: 10px;
}

.cta h2 {
  margin-bottom: 5px;
  color: var(--color-bg);
}

/* ====== Contacto ====== */
/* .form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.form input,
.form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
} */

.mapa{
  margin-top: 30px;
}

.mapa iframe {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  border: none;
  margin-top: 20px;
}

.whatsapp{
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-content: center;
}

.whatsapp p{
  align-content: center;
}

.logo-whatsapp{
  width: 4rem;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 30px 0;
  color: #666;
}

/* ====== Responsivo ====== */
@media(max-width: 768px) {
  .hero .hero-btn{
    display: none !important;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .doctor-info {
    flex-direction: column;
    text-align: center;
  }
}
