/* ===== RESET ===== */

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

body{
font-family:'Poppins', sans-serif;
color:#1a1a1a;
line-height:1.6;
}

/* ===== LAYOUT ===== */

.container{
width:90%;
max-width:1200px;
margin:auto;
}


/* ===== TIPOGRAFÍA ===== */

h1{
font-size:64px;
font-weight:700;
line-height:1.05;
}

h2{
font-size:42px;
font-weight:600;
color:#2b4c7e;
margin-bottom:20px;
}

h3{
font-size:26px;
font-weight:600;
}

p{
font-size:18px;
margin-bottom:20px;
}

/* ===== BOTÓN ===== */

.btn{
background:#4bb0d1;
padding:16px 30px;
border-radius:40px;
color:white;
text-decoration:none;
font-weight:600;
display:inline-block;
}

/* ===== SECCIONES ===== */

section{
padding:100px 0;
}

/* ===== HEADER ===== */

.header{
background:white;
padding:20px 0;
box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.header-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
}

.header-center img{
height:70px;
display:block;
}

.logo p{
margin:0;
font-size:15px;
color:#2b4c7e;
font-weight:500;
}
.logo{
font-size:28px;
font-weight:700;
color:#2b4c7e;
}
.header-info{
display:flex;
flex-direction:column;
align-items:flex-end;
gap:8px;
font-size:15px;
}
.header-info span{
display:flex;
align-items:center;
gap:8px;
margin-left:25px;
font-size:15px;
}
.header-info a{
color:#2b4c7e;
text-decoration:none;
}

.header-info a:hover{
text-decoration:underline;
}

.header-contact-row{
display:flex;
gap:25px;
}

.header-contact-row a{
display:flex;
align-items:center;
gap:8px;
text-decoration:none;
color:#2b4c7e;
font-weight:500;
}

.header-contact-row a:hover{
opacity:.7;
}


@media(max-width:900px){

.header-top{
flex-direction:column;
text-align:center;
}


.header-info{
order:4;
align-items:center;
text-align:center;
}

.header-contact-row{
flex-direction:column;
align-items:center;
text-align:center;
gap:6px;
}
	
	
.header-center{
order:3;
margin:10px 0;
}

.logo{
order:1;
}


}



/* ===== HERO ===== */

.hero{
position:relative;
background:
linear-gradient(rgba(43,76,126,.82),rgba(43,76,126,.82)),
url("../img/Alejandro Muller-Gynes.jpg") center/cover no-repeat;
height:720px;
overflow:hidden;
display:flex;
}

.hero .container{
display:grid;
grid-template-columns:1.1fr 1fr;
align-items:center;
height:100%;
}

/* TEXTO */

.hero-text{
position:relative;
z-index:5;
color:white;
}

.hero-label{
letter-spacing:3px;
font-size:15px;
opacity:.9;
margin-bottom:20px;
}

.hero-text h1{
color:white;
}

.hero-text p{
color:white;
max-width:520px;
}

/* DOCTOR */

.hero-img{
position:relative;
z-index:1;
display:flex;
justify-content:flex-end;
margin-top:auto;
padding-right:12px;
}

.hero-img img{
display:block;
max-height:640px;
height:auto;
width:auto;
}

/* ===== STATS ===== */

.stats{
background:
linear-gradient(rgba(43,76,126,.85),rgba(43,76,126,.85)),
url("../img/Alejandro Muller-Gynes.jpg") center/cover no-repeat;
color:white;
}

.stats-grid{
display:flex;
justify-content:space-between;
text-align:center;
}

.stats h3{
font-size:56px;
}

.stats p{
font-size:18px;
}

/* ===== CARDS ===== */

.cards{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;
}

.card{
background:#dde7f6;
padding:35px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

/* ===== FOOTER ===== */

.footer{
background:#395a86;
color:white;
padding:70px 0 25px;
}

.footer-logo{
text-align:center;
margin-bottom:40px;
}

.footer-logo img{
height:70px;
}

.footer-grid{
display:grid;
grid-template-columns:1fr 1fr 1fr;
align-items:start;
}

.footer-col{
text-align:center;
}

.footer-col h4{
margin-bottom:15px;
}

.footer-col p{
margin:8px 0;
}

.footer-col a{
color:white;
text-decoration:none;
}

.footer-social{
margin-top:15px;
display:flex;
justify-content:center;
gap:18px;
font-size:18px;
}

.subfooter{
margin-top:40px;
border-top:1px solid rgba(255,255,255,.2);
padding-top:20px;
text-align:center;
font-size:14px;
}

/* ===== MOBILE ===== */

@media(max-width:700px){
.header-top{
flex-direction:column;
align-items:center;   /* ← centrar */
text-align:center;    /* ← centrar texto */
gap:6px;
}

.header-info{
display:flex;
flex-direction:column;
align-items:center;   /* ← centrar */
gap:4px;
}

.logo{
font-size:26px;
line-height:1.2;
}
		
h1{
font-size:40px;
}

h2{
font-size:30px;
}

.container{
width:92%;
}

.hero{
display:flex;
flex-direction:column;
justify-content:flex-start;
min-height:calc(100vh - 90px); /* ← suelo real restando header */
padding:90px 0 0 0;
}

.hero .container{
display:flex;
flex-direction:column;
flex:1;
}

.hero-text{
margin-bottom:30px;
}

.hero-label{
font-size:14px;
letter-spacing:2px;
margin-bottom:15px;
}

.hero-text h1{
font-size:42px;
line-height:1.1;
}

.hero-text p{
font-size:18px;
}

/* DOCTOR */

.hero-img{
margin-top:auto;        /* ← CLAVE → lo pega abajo */
text-align:center;
padding-bottom:0px;
}

.hero-img img{
max-height:360px;
width:auto;
display:block;
margin:0 auto;
}



.cards{
grid-template-columns:1fr;
}

.stats-grid{
flex-direction:column;
gap:30px;
}

.footer-grid{
grid-template-columns:1fr;
gap:40px;
}

.footer-logo img{
height:80px;
}


}

/* ===== BLOQUE DOCTOR ===== */

.doctor-section{
background:white;
}

.doctor-narrow{
max-width:760px;
}
.doctor-grid{
display:grid;
grid-template-columns:420px 1fr;
gap:70px;
align-items:center;
}

.doctor-content p{
max-width:600px;
}

.doctor-list{
margin:25px 0 35px;
line-height:2;
font-size:18px;
}

/* MOBILE */

@media(max-width:900px){

.doctor-grid{
grid-template-columns:1fr;
gap:40px;
}

.doctor-photo{
text-align:center;
}

.doctor-photo img{
max-width:320px;
}

}

ul{
padding-left:22px;
margin-top:15px;
}

@media(max-width:900px){

section{
padding-left:20px;
padding-right:20px;
}

}

/* ===== Hero TABLET ===== */

@media (max-width:1100px) and (min-width:701px){

.hero{
height:700px;
flex-direction:column;
align-items:flex-start;
padding-top:80px;
}

.hero .container{
flex-direction:column;
height:100%;
}

.hero-text{
padding-bottom:0;
max-width:700px;
}

.hero-text h1{
font-size:52px;
}

.hero-img{
margin-top:auto;
text-align:center;
width:100%;
}

.hero-img img{
height:520px;
}

}

.footer-contact a{
color:white;
text-decoration:none;
}

.footer-contact a:hover{
text-decoration:underline;
}

.footer-social{
margin-top:15px;
}

.footer-social a{
color:white;
margin-right:15px;
font-size:18px;
}

/* ===== WHATSAPP FLOAT ===== */

.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:26px;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
  z-index:999;
}

/* ===== SCROLL TOP ===== */

#scrollTopBtn{
  position:fixed;
  bottom:90px;
  right:20px;
  width:45px;
  height:45px;
  border:none;
  border-radius:50%;
  background:#4bb0d1;
  color:white;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transition:0.3s;
  z-index:998;
}

#scrollTopBtn.show-scroll{
  opacity:1;
  visibility:visible;
}

