/* Verse Bella — estilo premium minimalista */
:root{
  --rosa: #d8a7a7;
  --rosa-dark: #DD319E;
  --azul: #a9c7e3;
  --gris: #dfe6ea;
  --texto: #333333;
  --blanco: #ffffff;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--blanco);
  color:var(--texto);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/*────────────── HEADER ──────────────*/
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 40px;
  border-bottom:1px solid #f0f0f0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  position:sticky;
  top:0;
  z-index:100;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  width:64px;
  height:64px;
  object-fit:contain;
}

.logo-placeholder.small{
  width:44px;
  height:44px;
  font-size:12px;
}

.brand-text h1{
  margin:0;
  font-size:18px;
  color:var(--rosa-dark);
}

.brand-text .tagline{
  margin:0;
  font-size:12px;
  color:#777;
}

/* NAV */
.main-nav a{
  margin:0 10px;
  text-decoration:none;
  color:#5f6b73;
  font-weight:600;
}

.main-nav a:hover{
  color:var(--rosa);
}

/* REDES SOCIALES */
.social-icons img{
  width:30px;
  height:30px;
  margin:0 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons img:hover{
  transform: scale(1.1);
  filter: brightness(1.2);
}

main{
  max-width:1100px;
  margin:32px auto;
  padding:0 20px;
}

/*────────────── TITULOS ──────────────*/
h2{
  font-size:50px;
  margin-bottom:10px;
  color: #DD319E;
  position:relative;
  padding-left:12px;
}

/*────────────── HERO ──────────────*/
.hero{
  text-align:center;
  padding:100px 20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:40px 0;
  border-radius:10px;
}

.hero .lead{
  font-size:20px;
  font-weight:300;
}

/*────────────── BOTONES ──────────────*/
.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:25px;
  background:var(--rosa-dark);
  color:white;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 6px 18px rgba(200,140,140,0.12);
  transition:transform .22s ease, box-shadow .22s ease;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(200,140,140,0.18);
}

.btn.outline{
  background:transparent;
  color:var(--rosa-dark);
  border:1px solid var(--gris);
  box-shadow:none;
}

.btn.small{
  padding:8px 12px;
  border-radius:18px;
  font-size:14px;
}

/*────────────── SECCIONES ──────────────*/
.about,
.features,
.services,
.contact{
  padding:28px 0;
  border-top:1px solid #fafafa;
}

/*────────────── DOCTORES ──────────────*/
.doctors-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:16px;
}

.doctor-card{
  background:#fff;
  border:1px solid #f3f3f3;
  padding:14px;
  border-radius:12px;
}

.photo {
  width: 260px;       /* tamaño del círculo */
  height: 260px;      /* debe ser IGUAL para que sea un círculo perfecto */
  margin: 0 auto 25px;
  border-radius: 50%; /* aquí se hace el círculo */
  overflow: hidden;   /* recorta con estilo */
  background: #f8e8ec; /* opcional: fondo rosita suave para elegancia */
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* mantiene proporción sin deformar */
  display: block;
}
/*────────────── SERVICIOS ──────────────*/
.service-card{
  background:#fff;
  border:1px solid #f3f3f3;
  padding:15px;
  border-radius:10px;
  margin-bottom:15px;
  overflow: visible;
}

.service-actions{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap: wrap;
}

.service-img {
  width: 100%;
  height: 162px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* INFO desplegable — versión correcta */
.service-info {
  display: none;
  margin-top: 12px;
  padding: 15px;
  background: #fdf0f6;
  border-left: 4px solid #d08aa8;
  border-radius: 10px;
  line-height: 1.6;
}

.service-info.active {
  display: block;
}
/*────────────── FOOTER ──────────────*/
.site-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 40px;
  border-top:1px solid #f0f0f0;
  margin-top:40px;
  background:#fff;
}

.site-footer nav a{
  margin-right:10px;
  color:#6d7276;
  text-decoration:none;
}

.site-footer .footer-socials a{
  margin-left:8px;
  text-decoration:none;
  color:var(--rosa);
}

/*────────────── ANIMACIONES ──────────────*/
.fade-in{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .9s ease, transform .9s ease;
}

.in-view{
  opacity:1;
  transform:translateY(0);
}

/*────────────── RESPONSIVE ──────────────*/
@media(max-width:800px){
  .main-nav{display:none;}
  .site-header{padding:12px 18px;}
  .brand-text h1{font-size:16px;}
  .logo-placeholder{width:52px;height:52px;}
}


/* ─────────────────────────────
   SECCIÓN RESERVA TU CITA
────────────────────────────── */
.reserva-section {
  max-width: 650px;
  margin: 60px auto;
  background: #fdf5f9;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #f2dce4;
  text-align: center;
}

.reserva-section h2 {
  font-size: 32px;
  color: var(--rosa-dark);
  font-weight: 700;
  margin-bottom: 25px;
}

.reserva-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reserva-form input,
.reserva-form select,
.reserva-form textarea {
  padding: 14px;
  border: 1px solid #d8b1c2;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  transition: .3s;
}

.reserva-form input:focus,
.reserva-form select:focus,
.reserva-form textarea:focus {
  border-color: var(--rosa-dark);
  box-shadow: 0 0 0 3px rgba(196,142,142,0.25);
  outline: none;
}

.reserva-btn {
  background: var(--rosa-dark);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.reserva-btn:hover {
  background: #b67676;
  transform: translateY(-3px);
}

/* ─────────────────────────────
   PERFIL DEL DOCTOR — PREMIUM
────────────────────────────── */
.doctor-info {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  border: 1px solid #eee;
}

.doctor-info h2 {
  text-align: center;
  font-size: 36px;
  color: var(--rosa-dark);
  margin-bottom: 30px;
  font-weight: 700;
}

.doctor-section {
  background: #fdf5f9;
  padding: 25px;
  border-left: 6px solid var(--rosa-dark);
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.doctor-section h3 {
  font-size: 22px;
  color: var(--rosa-dark);
  margin-bottom: 12px;
}

.doctor-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doctor-section ul li {
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-left: 18px;
}

.doctor-section ul li::before {
  content: "•";
  color: var(--rosa-dark);
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
}

.doctor-highlight {
  margin-top: 35px;
  background: var(--rosa-dark);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.doctor-highlight h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 15px;
}

.doctor-highlight ul li::before {
  content: "★";
  color: white;
  font-size: 16px;
}
.photo {
  width: 260px;       /* tamaño del círculo */
  height: 260px;      /* debe ser IGUAL para que sea un círculo perfecto */
  margin: 0 auto 25px;
  border-radius: 50%; /* aquí se hace el círculo */
  overflow: hidden;   /* recorta con estilo */
  background: #f8e8ec; /* opcional: fondo rosita suave para elegancia */
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* mantiene proporción sin deformar */
  display: block;
}

/* ======================
   📱 VISTA MÓVIL
====================== */
@media (max-width: 768px) {

  /* Header */
  .site-header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .brand-text h1 {
    font-size: 1.5rem;
  }

  /* Navegación */
  .main-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  /* Cards */
  .service-card {
    padding: 15px;
  }

  .service-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .service-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-right nav {
    flex-direction: column;
    gap: 8px;
  }
}
