.ep-ortho-main{
--navy:#071426;
--gold:#d3b06d;
--cream:#fbf7ef;
--text:#344054;
font-family:Arial,Helvetica,sans-serif;
background:var(--cream);
color:var(--text);
}

.ep-ortho-wrap{
width:min(1150px,calc(100% - 40px));
margin:auto;
}

.ep-ortho-section{
padding:90px 0;
}

.ep-ortho-h2{
font-family:Georgia,"Times New Roman",serif;
font-size:clamp(32px,4vw,48px);
font-weight:500;
line-height:1.2;
color:var(--navy);
margin-bottom:25px;
}

.ep-ortho-p{
font-size:18px;
line-height:1.9;
color:#344054;
}


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

.ep-ortho-main-hero{
position:relative;
min-height:850px;
display:flex;
align-items:center;
overflow:hidden;
color:white;
background:#071426;
}

.ep-ortho-main-hero picture{
position:absolute;
inset:0;
z-index:0;
}

.ep-ortho-main-hero img{
width:100%;
height:100%;
object-fit:cover;
}

.ep-ortho-main-overlay{
position:absolute;
inset:0;
background:
linear-gradient(
90deg,
rgba(4,12,25,.98),
rgba(4,12,25,.75),
rgba(4,12,25,.18)
);
z-index:1;
}

.ep-ortho-main-content{
position:relative;
z-index:2;
max-width:800px;
}

.ep-ortho-kicker{
font-size:12px;
font-weight:800;
letter-spacing:.18em;
color:#f0d79f;
text-transform:uppercase;
margin-bottom:25px;
}

.ep-ortho-main-hero h1{
font-family:Georgia,"Times New Roman",serif;
font-size:clamp(50px,6vw,88px);
line-height:1;
font-weight:500;
letter-spacing:-.04em;
margin:0 0 30px;
}


/* SUBTÍTULO CORREGIDO */

.ep-ortho-main-hero h1 span{
display:block;
max-width:720px;
margin-top:18px;
color:#f3d993;
font-family:Arial,Helvetica,sans-serif;
font-size:clamp(22px,2.3vw,34px);
font-weight:700;
line-height:1.3;
letter-spacing:-.01em;
text-shadow:
0 2px 8px rgba(0,0,0,.92),
0 4px 18px rgba(0,0,0,.65);
}

.ep-ortho-lead{
font-size:21px;
line-height:1.7;
max-width:720px;
color:#fff;
text-shadow:
0 2px 8px rgba(0,0,0,.85),
0 4px 18px rgba(0,0,0,.55);
}

.ep-ortho-actions{
display:flex;
gap:15px;
flex-wrap:wrap;
margin-top:40px;
}

.ep-btn-ortho{
padding:17px 35px;
border-radius:50px;
font-size:13px;
font-weight:800;
text-decoration:none;
text-transform:uppercase;
letter-spacing:.08em;
}

.ep-btn-primary{
background:#f0d79f;
color:#071426;
}

.ep-btn-secondary{
border:1px solid rgba(255,255,255,.4);
color:white;
background:rgba(255,255,255,.08);
}

.ep-proof-box{
display:flex;
margin-top:45px;
background:rgba(255,255,255,.1);
border:1px solid rgba(255,255,255,.2);
border-radius:18px;
overflow:hidden;
max-width:700px;
}

.ep-proof-box div{
padding:18px 25px;
flex:1;
border-right:1px solid rgba(255,255,255,.15);
}

.ep-proof-box div:last-child{
border:none;
}

.ep-proof-box strong{
display:block;
font-family:Georgia,serif;
font-size:22px;
color:#f0d79f;
}

.ep-proof-box span{
font-size:12px;
color:white;
}


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

.ep-patient-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:50px;
}

.ep-patient-card{
background:white;
padding:35px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
border-top:4px solid var(--gold);
}

.ep-patient-card h3{
font-family:Georgia,serif;
font-size:27px;
color:var(--navy);
}

.ep-patient-card p{
font-size:16px;
line-height:1.8;
}


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

@media(max-width:768px){

.ep-ortho-main-hero{
min-height:800px;
}

.ep-ortho-main-content{
padding:0 20px;
}

.ep-ortho-main-hero h1{
font-size:42px;
}

.ep-ortho-main-hero h1 span{
max-width:100%;
margin-top:14px;
font-size:22px;
line-height:1.35;
color:#f5dda3;
text-shadow:
0 2px 8px rgba(0,0,0,.95),
0 4px 16px rgba(0,0,0,.75);
}

.ep-ortho-main-overlay{
background:
linear-gradient(
90deg,
rgba(4,12,25,.98),
rgba(4,12,25,.88) 55%,
rgba(4,12,25,.52)
);
}

.ep-ortho-lead{
font-size:17px;
}

.ep-proof-box{
display:block;
}

.ep-proof-box div{
border-right:none;
border-bottom:1px solid rgba(255,255,255,.2);
}

.ep-patient-grid{
grid-template-columns:1fr;
}

}