:root {
  --verde-salvia: #95BF9E;
  --crema-suave: #F5F2EA;
  --crema-tarjeta: #FAF8F3;
  --oliva-suave: #D4D979;
  --marron-oscuro: #3B2314;
  --marron-hover: #54331E;
  --blanco: #FFFFFF;
  --radio: 18px;
}

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

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--marron-oscuro);
  line-height: 1.5;
}

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

.contenedor {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ================= BOTONES PÍLDORA MARRÓN ================= */
.btn-pildora {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--marron-oscuro);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-pildora:hover {
  background-color: var(--marron-hover);
  transform: translateY(-2px);
}

.respaldo-foto {
  width: 100%;
  height: 100%;
  background-color: #E2E8DF;
  color: var(--marron-oscuro);
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

/* ================= BLOQUE 1 Y 2: HEADER + HERO ================= */
.hero-wrapper {
  background-color: var(--verde-salvia);
  padding-bottom: 4.5rem;
}

.navbar {
  padding: 1.5rem 0 2.5rem 0;
}

.nav-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--marron-oscuro);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-izquierda h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -1px;
}

.hero-imagen {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(250, 250, 250, 0.15);
}

.hero-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-derecha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-gancho {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ================= BLOQUE 3A: SERVICIOS MÉDICOS ================= */
.servicios-seccion {
  background-color: var(--crema-suave);
  padding: 5rem 0;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.consultorio-imagen {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
}

.consultorio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frase-equipos {
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.servicios-lista h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.servicios-lista ul {
  list-style: disc;
  padding-left: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.servicios-lista li {
  margin-bottom: 0.45rem;
}

/* ================= BLOQUE 3B: MODELOS DE MONTURAS ================= */
.modelos-seccion {
  background-color: var(--verde-salvia);
  padding: 5rem 0;
}

.modelos-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.modelos-titulo h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.modelos-tarjetas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tarjeta-montura {
  background-color: var(--crema-tarjeta);
  border-radius: var(--radio);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 6px 18px rgba(59, 35, 20, 0.08);
}

.montura-img {
  width: 100%;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
}

.montura-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.montura-texto h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.montura-texto p {
  font-size: 0.98rem;
  font-weight: 500;
}

/* ================= BLOQUE 4: MÉTODOS DE PAGO ================= */
.pagos-seccion {
  background-color: var(--oliva-suave);
  padding: 5rem 0;
}

.titulo-centrado {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 3rem;
}

.pagos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tarjeta-pago {
  background-color: var(--crema-tarjeta);
  border-radius: var(--radio);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(59, 35, 20, 0.08);
}

.pago-img {
  width: 100%;
  height: 180px;
}

.pago-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pago-cuerpo {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pago-cuerpo h3 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pago-cuerpo ul {
  list-style: disc;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pago-cuerpo li {
  margin-bottom: 0.35rem;
}

.btn-tarjeta {
  width: 100%;
}

/* ================= BLOQUE 5: CONTÁCTANOS Y MAPA ================= */
.contacto-seccion {
  background-color: var(--verde-salvia);
  padding: 5rem 0;
}

.contacto-seccion .titulo-centrado {
  margin-bottom: 0.5rem;
}

.subtitulo-contacto {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.caja-marron-info {
  background-color: var(--marron-oscuro);
  color: var(--blanco);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  padding: 2.25rem;
  border-radius: var(--radio);
  font-size: 1.1rem;
  line-height: 1.8;
  box-shadow: 0 10px 25px rgba(59, 35, 20, 0.2);
}

.contacto-botones {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-contacto {
  min-width: 220px;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.footer {
  background-color: var(--marron-oscuro);
  color: #FFFFFF;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.aviso-demo {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.9;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.aviso-demo a {
  color: #FBBF24; /* Dorado suave que resalta bien sobre fondos oscuros */
  font-weight: 700;
  text-decoration: underline;
}
/* ================= ADAPTACIÓN MÓVIL ================= */
@media (max-width: 820px) {
  .hero-grid,
  .servicios-grid,
  .modelos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tarjeta-montura {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .montura-img {
    height: 180px;
  }

  .btn-contacto {
    width: 100%;
    max-width: 340px;
  }
}
