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

body{
font-family:Arial,sans-serif;
background:#f8fafc;
color:#111827;
}

.agent-page{
max-width:900px;
margin:auto;
padding:20px;
}

.profile{
background:white;
border-radius:25px;
overflow:hidden;
text-align:center;
box-shadow:0 15px 40px rgba(0,0,0,.08);
margin-bottom:25px;
}

.cover{
height:260px;
background:linear-gradient(135deg,#020617,#0f172a);
}

.avatar{
width:120px;
height:120px;
border-radius:50%;
background:#d4a63a;
color:white;
font-size:50px;
font-weight:bold;
display:flex;
align-items:center;
justify-content:center;
margin:-60px auto 15px;
border:5px solid white;
}

.profile h1{
font-size:32px;
margin-bottom:5px;
}

.role{
color:#64748b;
}

.agency{
color:#d4a63a;
font-weight:bold;
margin-top:5px;
}

.actions{
display:flex;
justify-content:center;
gap:10px;
padding:25px;
flex-wrap:wrap;
}

.actions a{
text-decoration:none;
padding:12px 18px;
border-radius:10px;
background:#0f172a;
color:white;
font-weight:bold;
}

.actions .whatsapp{
background:#16a34a;
}

.about,
.properties{
background:white;
padding:25px;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
margin-bottom:25px;
}

.about h2,
.properties h2{
margin-bottom:15px;
}

.property-card{
border:1px solid #e5e7eb;
border-radius:20px;
overflow:hidden;
margin-top:20px;
}

.property-image{
height:220px;
background:linear-gradient(135deg,#d4a63a,#f4d57d);
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:22px;
}

.property-content{
padding:20px;
}

.property-content h3{
margin-bottom:10px;
}

.price{
font-size:28px;
font-weight:bold;
color:#d4a63a;
margin-bottom:10px;
}

.property-content a{
display:inline-block;
margin-top:15px;
padding:12px 18px;
background:#16a34a;
color:white;
text-decoration:none;
border-radius:10px;
font-weight:bold;
}

footer{
text-align:center;
padding:30px;
color:#64748b;
}

@media(max-width:768px){

.profile h1{
font-size:28px;
}

.actions{
flex-direction:column;
}

.actions a{
width:100%;
}

.property-image{
height:180px;
}

.price{
font-size:24px;
}

}

.avatar-img{
width:220px;
height:220px;
border-radius:50%;
object-fit:cover;
margin:-110px auto 20px;
display:block;
border:6px solid white;
box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.property-image{
width:100%;
height:250px;
object-fit:cover;
display:block;
}

.why{
background:white;
padding:25px;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
margin-bottom:25px;
}

.why h2{
margin-bottom:20px;
}

.why-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.why-grid div{
background:#f8fafc;
padding:20px;
border-radius:15px;
text-align:center;
}

.why-grid strong{
font-size:28px;
color:#d4a63a;
}

@media(max-width:768px){
.why-grid{
grid-template-columns:1fr;
}
}

.back-link{
display:inline-block;
margin-bottom:20px;
color:#d4a63a;
text-decoration:none;
font-weight:bold;
}

.gallery{
background:white;
padding:15px;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
margin-bottom:25px;
display:grid;
gap:15px;
}

.gallery img{
width:100%;
height:260px;
object-fit:cover;
border-radius:15px;
}

.big-whatsapp{
display:block;
margin-top:20px;
background:#16a34a;
color:white;
text-align:center;
padding:15px;
border-radius:12px;
text-decoration:none;
font-weight:bold;
}

.section-top{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
margin-bottom:25px;
}

.section-label{
color:#d4a63a;
font-weight:bold;
font-size:14px;
text-transform:uppercase;
letter-spacing:.08em;
}

.see-all-btn,
.see-all-mobile{
background:#0f172a;
color:white;
text-decoration:none;
padding:12px 18px;
border-radius:12px;
font-weight:bold;
}

.see-all-mobile{
display:none;
text-align:center;
margin-top:25px;
}

.property-tag{
display:inline-block;
background:#fff7df;
color:#b38318;
padding:6px 12px;
border-radius:20px;
font-size:13px;
font-weight:bold;
margin-bottom:10px;
}

.property-meta{
color:#64748b;
font-weight:bold;
}

.property-actions{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin-top:18px;
}

.property-actions a{
text-align:center;
padding:12px;
border-radius:12px;
text-decoration:none;
font-weight:bold;
}

.whatsapp-property{
background:#16a34a;
color:white;
}

.details-property{
background:#0f172a;
color:white;
}

.kartimmo-note{
background:#fffaf0;
border:1px solid #f3d37a;
padding:22px;
border-radius:22px;
margin-bottom:25px;
text-align:center;
color:#1f2937;
}

@media(max-width:768px){
.section-top{
align-items:flex-start;
}

.see-all-btn{
display:none;
}

.see-all-mobile{
display:block;
}

.property-actions{
grid-template-columns:1fr;
}
}