/*
HOME STYLES
tpl_couplestherapy
Se carga solo en layout home
*/

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

.hero{
position:relative;
height:100vh;
min-height:500px;
display:flex;
align-items:center;
justify-content:center;
background-image:url('/images/main/couples-therapy-center-bg.webp');
background-size:cover;
background-position:center 20%;
filter:saturate(.95);
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
180deg,
rgba(7,36,57,.18),
rgba(255,255,255,.06)
);
}

/* =========================
LOGO PLATE
========================= */

.logo-plate{
position:relative;
z-index:2;
width:760px;
max-width:90%;
border-radius:18px;
background:rgba(155,176,199,.60);
border:2px solid rgba(173,216,230,.95);
display:flex;
align-items:center;
justify-content:center;
gap:22px;
padding:12px 22px;
box-shadow:var(--soft-shadow);
backdrop-filter:blur(4px);
}

.logo-plate img.logo{
max-height:200px;
width:auto;
display:block;
}


/* HERO TITLE BLOCK */

.hero-inner{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
position:relative;
z-index:2;
text-align:center;
gap:20px;
padding:20px;
}

.hero-title{
color:var(--text-clear);
max-width:800px;
}

.hero-title h1{
color:var(--text-clear);
margin:0;
}

.hero-title p{
color:var(--text-clear);
font-size:1.2rem;
margin:0;
}


/* RESPONSIVE */

@media (max-width:768px){

.hero-inner{
gap:15px;
}

.hero-title h1{
font-size:1.8rem;
}

.hero-title p{
font-size:1rem;
}

}

/* ===============================
UTILIDADES
=============================== */

.center{
text-align:center;
}

/* =========================
PILLS NAV
========================= */

.pills{
display:flex;
gap:0;
width:100%;
height:120px;
position:absolute;
bottom:0;
left:0;
z-index:3;
}

.pill{
flex:1 1 25%;
display:flex;
align-items:center;
justify-content:center;
gap:12px;
padding:16px;
font-weight:600;
color:var(--text-dark);
border-top:6px solid transparent;
cursor:pointer;
font-size:18px;
text-decoration:none;
}

.pill img{
width:20px;
height:20px;
}

.pill:nth-child(1){
background:var(--blue-mid);
color:var(--text-dark);
}

.pill:nth-child(2){
background:var(--accent);
color:var(--text-clear);
}

.pill:nth-child(3){
background:var(--blue-dark);
color:var(--text-clear);
}

.pill:nth-child(4){
background:var(--blue-light);
color:var(--text-dark);
}

/* =========================
INTRO
========================= */

.intro{
padding:22px;
display:flex;
justify-content:center;
background:transparent;
}

.intro .box{
width:50%;
background:linear-gradient(
180deg,
var(--blue-mid),
var(--blue-light)
);
border-radius:18px;
border:4px solid rgba(255,255,255,.6);
padding:18px 22px;
line-height:1.8rem;
color:var(--text-dark);
box-shadow:0 6px 10px rgba(20,40,60,.06) inset;
text-align:center;
}

/* =========================
CAPSULES
========================= */

.section-capsules{
padding:60px 48px;
background:#f6f8ff;
}

.section-capsules h2{
text-align:center;
margin-bottom:40px;
font-size:2rem;
color:var(--blue-dark);
}

.capsules-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
max-width:1200px;
margin:0 auto;
}

.capsule{
background:var(--card);
border-radius:var(--radius);
padding:30px;
box-shadow:var(--soft-shadow);
transition:transform .3s ease;
display:flex;
flex-direction:column;
height:100%;
}

.capsule:hover{
transform:translateY(-5px);
}

.capsule h3{
color:var(--blue-dark);
margin-bottom:15px;
font-size:1.4rem;
}

.capsule p{
color:var(--text-dark);
margin-bottom:20px;
flex-grow:1;
}

.capsule-link{
display:inline-block;
background:var(--accent);
color:var(--text-clear);
padding:10px 20px;
border-radius:30px;
text-decoration:none;
font-weight:600;
text-align:center;
transition:background .3s ease;
margin-top:auto;
}

.capsule-link:hover{
background:#e66a30;
}


/* =====================================
EVENT SECTION - LANDING STYLE
===================================== */

.event-section{
background:var(--blue-dark);
color:var(--text-clear);
padding:80px 48px;
}

.event-header{
text-align:center;
max-width:720px;
margin:0 auto 50px auto;
}

.event-tag{
color:var(--accent);
font-weight:600;
margin-bottom:5px;
}

.event-title{
font-size:1.3rem;
font-weight:600;
}

/* GRID */

.event-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
max-width:1100px;
margin:0 auto;
}

/* CARD */

.event-card{
background:rgba(255,255,255,0.08);
border-radius:18px;
padding:30px;
backdrop-filter:blur(3px);
}

.event-card h3{
margin-bottom:15px;
}

/* LISTA */

.event-list{
margin-top:15px;
padding-left:18px;
}

.event-list li{
margin-bottom:10px;
}

/* CTA */

.event-cta{
text-align:center;
margin-top:40px;
}

/* RESPONSIVE */

@media(max-width:980px){

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

.event-section{
padding:60px 24px;
}

}

.flyer{
width:600px;
background:#fff;
border-radius:18px;
padding:14px;
display:flex;
flex-direction:column;
gap:12px;
align-items:center;
box-shadow:0 10px 18px rgba(0,0,0,.08);
}

.flyer img{
width:400px;
height:auto;
border-radius:6px;
}


/* =========================
Invitación
========================= */

/* =========================
PROFILE
========================= */

.profile-wrap{
padding:46px 48px;
display:flex;
justify-content:center;
}

.profile{
width:92%;
background:linear-gradient(180deg,#d9e8f4,#c9d9ea);
border-radius:20px;
display:flex;
gap:24px;
padding:22px;
align-items:center;
border:4px solid rgba(255,255,255,.45);
box-shadow:0 12px 24px rgba(12,30,40,.06);
}

.portrait{
width:170px;
height:210px;
border-radius:14px;
overflow:hidden;
background:linear-gradient(180deg,#79a7c0,#5f90a8);
display:flex;
align-items:center;
justify-content:center;
padding:8px;
border:6px solid rgba(255,255,255,.3);
flex-shrink:0;
}

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

.bio{
flex:1;
line-height:1.8rem;
color:var(--text-dark);
}

.bio h3{
margin-bottom:8px;
font-size:16px;
font-weight:700;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:980px){

.logo-plate{
width:88%;
max-width:500px;
margin:0 auto;
}

/*.pills{
flex-wrap:wrap;
height:auto;
position:relative;
}*/

.pills{
flex-wrap:wrap;
height:auto;
position:relative;
bottom:auto;
left:auto;
}

.hero{
height:auto;
min-height:420px;
padding-bottom:20px;
}

/*.pills{
position:relative;
display:grid;
grid-template-columns:1fr 1fr;
height:auto;
bottom:auto;
left:auto;
margin-top:20px;
}

.hero{
height:auto;
min-height:420px;
padding-bottom:30px;
display:flex;
flex-direction:column;
justify-content:center;
}*/

.pill{
flex:1 1 50%;
min-width:50%;
}

.section-capsules{
padding:40px 24px;
}

.capsules-container{
grid-template-columns:1fr;
}

.event-section{
flex-direction:column;
gap:20px;
padding:28px;
}

.event-left{
max-width:100%;
margin:0;
}

.profile{
flex-direction:column;
align-items:center;
text-align:center;
}

.portrait{
width:140px;
height:188px;
}

}

@media(max-width:669px){

.logo-plate{
width:95%;
max-width:400px;
}

.logo-plate img.logo{
max-height:70px;
}

.intro .box{
width:100%;
padding:15px;
}

.flyer{
max-width:100%;
}

.flyer img{
width:100%;
max-width:350px;
}

}

/* eliminar espacio del navbar en home */

.home-page main{
margin-top:0;
}

