
/* =========================
MCB Properties – Clean CSS
========================= */

:root{
--accent-color:#f28c28;
}

/* RESET */

*{
box-sizing:border-box;
}

body{
margin:0;
font-family: 'Inter', sans-serif;
background:#fafafa;
color:#222;
line-height:1.6;
padding-bottom:90px;
}

h1,h2,h3{
margin:0 0 15px;
font-weight:600;
}

p{
margin:0 0 10px;
}

a{
text-decoration:none;
color:inherit;
}

html{
scroll-behavior:smooth;
}

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

.container{
max-width:1100px;
margin:0 auto;
padding:0 16px;
}

.site-header{
position:sticky;
top:0;
background:white;
z-index:2000;
padding:20px 0;
box-shadow:0 2px 6px rgba(0,0,0,.05);
transition:box-shadow .3s ease;
}

.site-header.scrolled{
box-shadow:0 6px 20px rgba(0,0,0,0.12);
}

.site-footer {
  position: relative;
  background: #0f1113;
  color: #ccc;
  padding: 50px 20px 30px;
  text-align: center;
  overflow: hidden;
}

/* finom narancs top glow */
.site-footer::before {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #f58220, #ff9a3c);
  opacity: 1;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

/* tagline */
.footer-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 20px;
}

.footer-tagline strong {
  color: #f58220;
}

/* narancs divider (erősebb) */
.footer-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #f58220, #ff9a3c);
  margin: 0 auto 25px;
  border-radius: 2px;
}

/* linkek */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #f58220;
}



.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background: #f58220;
  transition: width 0.25s ease;
}

.footer-links a:hover::after {
  width: 100%;
}




/* trust blokk */
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 25px;
}

.footer-trust span {
  display: block;
}

.footer-trust span::before {
  content: "✔";
  color: #f58220;
  margin-right: 8px;
  font-weight: bold;
}

/* social */
.footer-social {
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 🔥 nagyobb */
  width: 56px;
  height: 56px;

  border-radius: 50%;

  /* 🔥 erősebb háttér */
  background: radial-gradient(circle, rgba(245,130,32,0.25) 0%, rgba(245,130,32,0.15) 60%, rgba(245,130,32,0.1) 100%);

  color: #f58220;

  /* 🔥 erősebb shadow */
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);

  transition: all 0.25s ease;
} all 0.25s ease;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

/* hover */
.footer-social a:hover {
  background: #f58220;
  color: #fff;

  /* 🔥 erősebb animáció */
  transform: translateY(-3px) scale(1.05);

  /* 🔥 glow */
  box-shadow: 0 8px 25px rgba(245,130,32,0.5);
}

/* copyright */
.footer-copy {
  font-size: 12px;
  color: #666;
}

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

.header-inner{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1100px;
margin:auto;
padding:0 16px;
position:relative;
}

.logo a{
font-weight:700;
font-size:20px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}


/* =========================
NAVIGATION DESKTOP
========================= */

.main-nav{
display:flex;
gap:25px;
}

.main-nav a{
font-weight:600;
}

/* =========================
HAMBURGER
========================= */

.menu-toggle{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.menu-toggle span{
width:26px;
height:3px;
background:#333;
display:block;
transition:all .3s ease;
}

/* hamburger animation */

.menu-toggle.open span:nth-child(1){
transform:translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2){
opacity:0;
}

.menu-toggle.open span:nth-child(3){
transform:translateY(-8px) rotate(-45deg);
}

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

@media (max-width:768px){

.menu-toggle{
display:flex;
}

.main-nav{
position:absolute;
top:70px;
left:50%;
transform:translate(-50%, -20px);

flex-direction:column;

width:90%;
max-width:380px;

background:rgba(255,255,255,0.85);
backdrop-filter:blur(8px);

padding:25px 20px;

border-radius:14px;

box-shadow:0 15px 40px rgba(0,0,0,0.2);

opacity:0;
pointer-events:none;

transition:
opacity .25s ease,
transform .25s ease;
}

.main-nav.active{
opacity:1;
pointer-events:auto;
transform:translate(-50%,0);
}

.main-nav a{
display:block;
padding:14px 0;
text-align:center;
font-size:18px;
border-bottom:1px solid rgba(0,0,0,0.08);
}

.main-nav a:last-child{
border-bottom:none;
}

}

/* =========================
GRID
========================= */

.grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
gap:30px;
}

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

.hero{
position:relative;
background:url('../images/hero.jpg') center/cover no-repeat;
padding:120px 20px;
text-align:center;
color:white;
}



.hero h2{
position:relative;
z-index:2;
font-size:40px;
margin:0 auto 40px auto;
max-width:650px;
color:white;
text-shadow:0 3px 12px rgba(0,0,0,.5);
}


/* =========================
PROPERTY CARD
========================= */

.property-card{
display:block;
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 4px 12px rgba(0,0,0,.08);
transition:transform .2s ease, box-shadow .2s ease;
}

.property-card:hover{
transform:translateY(-4px);
box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.property-card img{
width:100%;
height:200px;
object-fit:cover;
}

.card-body{
padding:16px;
}

.price{
font-size:22px;
font-weight:700;
color:var(--accent-color);
margin-bottom:8px;
background:#f3f7fb;
display:inline-block;
padding:6px 12px;
border-radius:6px;
}

/* =========================
MAP
========================= */

.property-map-home{
margin:80px 0;
text-align:center;
}

.map-wrapper{
position:relative;
max-width:800px;
margin:40px auto;
}

.map-wrapper img{
width:100%;
border-radius:10px;
}

.map-point{
position:absolute;
transform:translate(-50%,-50%);
}

.map-point a{
background:var(--accent-color);
color:white;
padding:4px 10px;
border-radius:20px;
font-size:12px;
font-weight:600;
}

/* city positions */

.map-point.alicante{top:56%;left:38%;}
.map-point.benidorm{top:41%;left:47%;}
.map-point.altea{top:36%;left:51%;}
.map-point.moraira{top:28%;left:55%;}
.map-point.torrevieja{top:78%;left:41%;}

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

@media (max-width:768px){

.hero h2{
font-size:30px;
}

}

/* anchor offset fix */

#relocation{
scroll-margin-top:100px;
margin-bottom: 60px;
}

.top-locations{
margin:70px 0;
text-align:center;
}

.top-locations h2{
margin-bottom:30px;
}

.location-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
gap:20px;
max-width:800px;
margin:auto;
}

.location-grid a{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
font-weight:600;
transition:all .2s ease;
}

.location-grid a:hover{
background:var(--accent-color);
color:white;
transform:translateY(-3px);
}

.relocation-guide{
margin:80px 0;
text-align:center;
}

.relocation-intro{
max-width:600px;
margin:0 auto 30px auto;
color:#555;
}

.relocation-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
max-width:900px;
margin:auto;
}

.relocation-grid a{
background:white;
padding:18px;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
font-weight:600;
transition:all .2s ease;
}

.relocation-grid a:hover{
background:var(--accent-color);
color:white;
transform:translateY(-3px);
}

/* =========================
RELOCATION ICON NAV
========================= */

.relocation-icons{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
gap:20px;
max-width:800px;
margin:30px auto 40px auto;
}

.relocation-icons a{
background:white;
padding:20px;
border-radius:12px;
text-align:center;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
font-weight:600;
transition:all .25s ease;
display:flex;
flex-direction:column;
align-items:center;
gap:8px;
}

.relocation-icons span{
font-size:28px;
}

.relocation-icons a:hover{
background:var(--accent-color);
color:white;
transform:translateY(-4px);
}
.relocation-grid a:last-child{
background:var(--accent-color);
color:white;
}

/* =========================
PROPERTY FINDER CTA
========================= */

.property-finder{
margin:90px auto;
padding:50px 30px;
text-align:center;

background:linear-gradient(
135deg,
var(--accent-color),
#ff9f3a
);

color:white;

border-radius:14px;

max-width:900px;

box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.property-finder h2{
margin-bottom:15px;
font-size:28px;
color:white;
}

.property-finder p{
max-width:550px;
margin:0 auto 30px auto;
opacity:0.95;
}

.finder-btn{
display:inline-block;

background:white;
color:#333;

padding:14px 28px;

border-radius:8px;

font-weight:700;

transition:all .25s ease;

box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

.finder-btn:hover{
transform:translateY(-3px);
box-shadow:0 12px 25px rgba(0,0,0,0.25);
}


/* CONTACT HERO */

.contact-hero{
padding:80px 20px 40px 20px;
text-align:center;
background:#f5f5f5;
}

.contact-hero h1{
font-size:34px;
margin-bottom:10px;
}

.contact-hero p{
max-width:600px;
margin:auto;
color:#555;
}


/* FORM CARD */

.contact-wrapper{
margin-top:-40px;
}

.property-form{

background:white;

max-width:650px;
margin:auto;

padding:40px;

border-radius:12px;

box-shadow:0 20px 50px rgba(0,0,0,0.12);

}


/* GRID */

.form-grid{

display:grid;

grid-template-columns:1fr;

gap:15px;

margin-bottom:25px;

}

.form-grid select,
.form-grid input{

padding:14px;

border-radius:8px;

border:1px solid #ddd;

font-size:15px;

}


/* BUTTON */

.form-submit{

width:100%;

background:var(--accent-color);

color:white;

border:none;

padding:16px;

font-size:16px;

font-weight:600;

border-radius:8px;

cursor:pointer;

transition:.2s;

}

.form-submit:hover{
opacity:.9;
}


@media (min-width:700px){

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

}

/* PROPERTY CARD IMAGE OVERLAY */

.card-image{
position:relative;
}

.card-image img{
width:100%;
height:200px;
object-fit:cover;
display:block;
}


/* PRICE OVER IMAGE */

.card-price{

position:absolute;

bottom:12px;
left:12px;

background:rgba(0,0,0,0.75);

color:white;

padding:6px 12px;

border-radius:6px;

font-size:16px;
font-weight:600;

}


/* BADGE OVER IMAGE */

.card-image .badge{

position:absolute;

top:12px;
left:12px;

padding:5px 10px;

font-size:12px;

border-radius:4px;

font-weight:600;

z-index:2;

}

.card-image .badge.sale{
background:var(--accent-color);
color:white;
}

.card-image .badge.rent{
background:#2f6fed;
color:white;
}

.card-image .badge.holiday{
background:#22c55e;
color:white;
}


/* =========================
PRICE HOVER
========================= */

.property-card:hover .card-price{
background:var(--accent-color);
}


/* FEATURED BADGE */

.card-image .badge.featured{

position:absolute;

top:12px;
right:12px;
left:auto;

background:#111;
color:#fff;

padding:5px 10px;

font-size:12px;
font-weight:600;

border-radius:4px;

display:inline-block;
width:auto;
max-width:fit-content;

z-index:2;

}

/* PREMIUM FEEL */

.property-card.featured{
box-shadow:0 12px 30px rgba(0,0,0,0.2);
}

.card-image .badge.sale,
.card-image .badge.rent,
.card-image .badge.holiday{
top:12px;
left:12px;
}

.card-image{
position:relative;
}
/* PROPERTY GALLERY FIX */

.gallery{
position:relative;
margin:20px 0 30px;
}

.gallery img{
width:100%;
max-height:420px;
object-fit:cover;
border-radius:10px;
display:block;
}


/* GALLERY ARROWS */

.gallery-btn{

position:absolute;
top:50%;
transform:translateY(-50%);

background:rgba(0,0,0,0.6);
color:white;

border:none;

width:40px;
height:40px;

border-radius:50%;

font-size:20px;

cursor:pointer;

display:flex;
align-items:center;
justify-content:center;

transition:.2s;

}

.gallery-btn:hover{
background:var(--accent-color);
}

.gallery-btn.prev{
left:10px;
}

.gallery-btn.next{
right:10px;
}

/* =========================
PROPERTY GALLERY PRO
========================= */

.gallery{
margin:30px 0;
}

.gallery-main{
position:relative;
}

.gallery-main img{
width:100%;
border-radius:12px;
display:block;
}

.gallery-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
border:none;
color:white;
font-size:26px;
width:42px;
height:42px;
border-radius:50%;
cursor:pointer;
}

.gallery-btn.prev{
left:10px;
}

.gallery-btn.next{
right:10px;
}

/* THUMBNAILS */

.gallery-thumbs{
display:flex;
gap:10px;
margin-top:12px;
overflow-x:auto;
}

.gallery-thumbs img{
width:90px;
height:70px;
object-fit:cover;
border-radius:6px;
cursor:pointer;
opacity:.7;
transition:.2s;
aspect-ratio:4/3;
}

.gallery-thumbs img:hover{
opacity:1;
}

.gallery-thumbs img.active{
border:3px solid var(--accent-color);
opacity:1;
}
/* PROPERTY CONTACT MOBILE BAR */

.property-contact{

position:fixed;
bottom:0;
left:0;
width:100%;

background:white;
padding:10px 12px;

box-shadow:0 -4px 12px rgba(0,0,0,0.15);
border-top:2px solid #f08a24;

z-index:999;

}

/* kisebb cím */

.property-contact h3{
font-size:13px;
margin:0 0 6px 0;
text-align:center;
}

/* reference kisebb */

.property-contact p{
font-size:11px;
margin:2px 0 8px 0;
text-align:center;
color:#666;
}

/* gomb sor */

.contact-buttons{
display:flex;
gap:8px;
}

/* gombok kisebbek */

.contact-btn{
flex:1;
text-align:center;
padding:10px 6px;

border-radius:8px;
font-size:14px;
font-weight:600;

background:#f08a24;
color:white;
text-decoration:none;
}

/* whatsapp */

.contact-btn.whatsapp{
background:#25D366;
}

/* call */

.contact-btn.call{
background:#333;
}

/* =========================
LIGHTBOX GALLERY
========================= */

.lightbox{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.9);

display:none;

align-items:center;
justify-content:center;

z-index:9999;

}

.lightbox img{

max-width:90%;
max-height:85%;
border-radius:8px;

}

.lightbox.active{
display:flex;
}

/* arrows */

.lightbox-btn{

position:absolute;
top:50%;
transform:translateY(-50%);

background:rgba(255,255,255,0.2);
border:none;

color:white;

font-size:34px;

width:50px;
height:50px;

border-radius:50%;

cursor:pointer;

}

.lightbox-btn.prev{
left:20px;
}

.lightbox-btn.next{
right:20px;
}

/* close */

.lightbox-close{

position:absolute;
top:20px;
right:20px;

background:none;
border:none;

color:white;

font-size:40px;

cursor:pointer;

}

/* =========================
GALLERY DOTS + COUNTER
========================= */

.gallery-counter{
position:absolute;
bottom:12px;
right:12px;
background:rgba(0,0,0,0.6);
color:white;
font-size:14px;
padding:4px 8px;
border-radius:6px;
}

.gallery-dots{
display:flex;
justify-content:center;
gap:6px;
margin-top:10px;
}

.gallery-dots span{
width:8px;
height:8px;
border-radius:50%;
background:#ccc;
cursor:pointer;
transition:.2s;
}

.gallery-dots span.active{
background:var(--accent-color);
transform:scale(1.2);
}

/* =========================
PROPERTY GALLERY FIX HEIGHT
========================= */

.gallery-main{
position:relative;
width:100%;
aspect-ratio:16/9;
overflow:hidden;
border-radius:12px;
}

.gallery-main img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}


.badge.holiday{
background:#2ecc71;
color:white;
}

.property-contact{
padding:10px 10px;
}

.contact-btn{
padding:10px 6px;
font-size:13px;
}

#pagination {
display:flex;
gap:8px;
justify-content:center;
margin-top:20px;
flex-wrap:wrap;
}

#pagination button{
padding:8px 12px;
border:none;
background:#eee;
cursor:pointer;
border-radius:6px;
}

#pagination button.active{
background:#ff7a00;
color:#fff;
}

.secondary-btn{
    margin-top:10px;
    background:#eee;
    color:#333;
}

.hero-small{
    height: 220px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-small h2{
    font-size:24px;
    margin-bottom:10px;
}

.hero-small .search-box{
    margin-top:10px;
    padding:15px;
}

.filter-bar{
    margin-top:-40px;
    margin-bottom:20px;
}

.filter-bar .search-box{
    background:#fff;
    border-radius:12px;
    padding:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}


/* FILTER BAR FIX */

.filter-bar{
    margin-top:-40px;
    margin-bottom:20px;
}

.filter-bar .search-box{
    background:#fff;
    border-radius:12px;
    padding:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* HERO SMALL */

.hero-small{
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-small h2{
    font-size:24px;
}

/* =========================
SEARCH BOX GRID (MOBILE FIX)
========================= */

/* RESET gomb */
#clear-btn{
    grid-column: span 2;
}

/* =========================
DESKTOP vissza 1 sorba
========================= */



/* CLEAR FILTERS - subtle button */

#clear-btn{
grid-column:span 2;
background:none;
border:none;
color:#666;
text-decoration:underline;
font-size:14px;
cursor:pointer;
}

.clear-btn:hover{
    background: #f5f5f5;
    color: #000;
}


/* HERO FIXED */
.hero {
padding: 80px 20px 120px;
text-align: center;
background: linear-gradient(
rgba(0,0,0,0.25),
rgba(0,0,0,0.65)
),
url('../images/hero.jpg') center/cover no-repeat;
color: white;
position: relative;
}

/* HERO CONTENT */
.hero-content {
max-width: 700px;
margin: 0 auto 30px;
}

/* HEADLINE */
.hero h1 {
font-family: 'Montserrat', sans-serif;
font-weight: 600;
letter-spacing: -0.5px;
text-shadow: 0 4px 20px rgba(0,0,0,0.35);
font-size: 32px;
line-height: 1.25;
max-width: 600px;
margin: 0 auto 15px;
}

/* SUBTEXT */
.hero-sub {
max-width: 600px;
margin: 0 auto 25px;
opacity: 0.95;
font-size: 15px;
}

/* CTA BUTTONS */
.hero-cta {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 30px;
margin-top: 40px;
}

/* PRIMARY BUTTON */
.btn-primary {
background: #f28c28;
color: white;
padding: 14px 22px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* SECONDARY BUTTON */
.btn-secondary {
border: 2px solid #f28c28;
color: #f28c28;
padding: 12px 20px;
border-radius: 10px;
text-decoration: none;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(6px);
}

/* SEARCH BOX */

/* SEARCH INTRO TEXT */
.search-intro {
color: #333;
font-size: 14px;
margin-bottom: 15px;
text-align: center;
}

/* INPUTS */


/* SEARCH BUTTON */


/* TRUST */
.trust-strip {
margin-top: 50px;
}

.trust-strip h2{
text-align: center;
padding: 15px 10px;
}

.trust-grid {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
text-align: center;
}

.trust-grid h3 {
margin-bottom: 5px;
}

/* STEPS */
.steps-grid {
display: grid;
gap: 20px;
margin-top: 20px;
}

.step {
background: #f9f9f9;
padding: 20px;
border-radius: 12px;
}

/* CENTER */
.center {
text-align: center;
margin-top: 20px;
}

/* RELOCATION */
.relocation-soft {
text-align: center;
margin-top: 40px;
}

/* FINAL CTA */
.final-cta {
background: linear-gradient(135deg, #f28c28, #ff9f43);
color: white;
text-align: center;
padding: 40px 20px;
border-radius: 12px;
margin: 40px 0;
}

.final-cta h2 {
margin-bottom: 10px;
}

/* RESPONSIVE */
@media (min-width: 768px) {

.hero {
padding: 100px 20px 140px;
}

.hero h1 {
font-size: 40px;
}

.trust-grid {
grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
grid-template-columns: repeat(3, 1fr);
}


/* SEARCH GRID FIX */

grid-column: span 2;
}


.search-intro {
grid-column: span 2;
text-align: center;
font-size: 14px;
color: #444;
margin-bottom: 5px;
}

/* =========================
SEARCH BOX – FINAL SYSTEM
========================= */

/* BASE (mindenhol) */
.search-box {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;

background: rgba(255,255,255,0.96);
padding: 18px;
border-radius: 16px;

max-width: 700px;
margin: 0 auto;

box-shadow: 0 12px 30px rgba(0,0,0,0.2);
position: relative;
z-index: 5;
}

/* INTRO */
.search-intro {
grid-column: span 2;
text-align: center;
font-size: 14px;
color: #444;
}

/* INPUTS */
.search-box select,
.search-box input {
width: 100%;
padding: 12px;
border-radius: 10px;
border: 1px solid #ddd;
font-size: 14px;
background: #fff;
}

/* FIXED GRID LOGIC */
#search-status,
#search-location,
#search-min,
#search-max,
#search-beds,
#search-baths {
grid-column: span 1;
}

/* BUTTON */
.search-box button {
grid-column: span 2;
background: #f28c28;
color: white;
padding: 14px;
border: none;
border-radius: 10px;
font-weight: 600;
cursor: pointer;
font-size:16px;
font-weight:700;
}


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

.hero .search-box {
margin-top: 25px;
}


/* =========================
LISTING VARIATION
========================= */

.search-box-inline {
background: #fff;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* listing button NE legyen féloldalas */
.search-box-inline button {
grid-column: span 2;
}

/* clear filters */
.search-box-inline #clear-btn {
grid-column: span 2;
text-align: center;
font-size: 14px;
color: #666;
}


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

@media (max-width: 520px){

.search-box {
grid-template-columns: 1fr 1fr;
}

/* full width elemek */
.search-intro,
.search-box button {
grid-column: span 2;
}

}


.section-title {
text-align: center;
font-size: 26px;
line-height: 1.3;
margin-top: 25px;
margin-bottom: 20px;
}

.section-title span {
display: block;
font-size: 16px;
font-weight: 400;
color: #666;
margin-top: 5px;
}



.section-title::before {
content: "";
display: block;
width: 60px;
height: 3px;
background: linear-gradient(90deg, #f58220, #ff9a3c);
margin: 0 auto 15px;
border-radius: 2px;
}


  

/* =========================
HOW IT WORKS – PREMIUM BLOCK
========================= */

.how-it-works {
text-align: center;
padding: 60px 20px;
}

/* kis narancs vonal */
.section-divider {
width: 60px;
height: 4px;
background: #f28c28;
margin: 0 auto 20px;
border-radius: 3px;
}

/* cím */
.how-it-works h2 {
font-size: 28px;
font-weight: 700;
line-height: 1.3;
margin-bottom: 35px;
color: #1e2a38;
}

/* grid */
.steps-grid {
display: flex;
flex-direction: column;
gap: 20px;
}

/* kártya */
.step {
display: flex;
align-items: center;
gap: 20px;

background: #f9f9f9;
padding: 20px;
border-radius: 16px;

box-shadow: 0 8px 20px rgba(0,0,0,0.05);
text-align: left;
}




/* ikon kör nem*/
.step-icon {
min-width: 70px;
display: flex;
align-items: center;
justify-content: center;
}

.step-icon img {
width: 70px;
height: 70px;
}

/* szöveg */
.step-content h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 5px;
color: #1e2a38;
}

/* szám narancs */
.step-content h3 span {
color: #f28c28;
margin-right: 5px;
}

.step-content p {
font-size: 15px;
color: #555;
line-height: 1.5;
}

/* CTA */
.center {
margin-top: 30px;
}

.btn-primary {
display: inline-block;
background: #f28c28;
color: white;
padding: 14px 28px;
border-radius: 10px;
font-weight: 600;
text-decoration: none;
transition: 0.3s;
}

.btn-primary:hover {
background: #d9771f;
}



.property-form {
  background: #f7f7f7;
  padding: 28px;
  border-radius: 20px;
}

.form-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 8px;
}

.form-subtitle {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 25px;
}

/* GRID */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.form-grid input,
.form-grid select {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
}

/* SECTION */
.form-section {
  margin-bottom: 22px;
}

.section-label {
  font-size: 14px;
  margin-bottom: 10px;
  color: #444;
}

/* PILLS */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid #ddd;
  padding: 10px 14px;
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.pill:hover {
  border-color: #f58220;
  color: #f58220;
}

.pill.active {
  background: #f58220;
  color: #fff;
  border-color: #f58220;
}

/* TRUST */
 
.form-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.form-trust span {
  white-space: nowrap;
}

/* harmadik elem új sor */
.form-trust span:nth-child(3) {
  width: 100%;
  text-align: center;
}


/* CTA */
.form-submit {
  width: 100%;
  background: linear-gradient(135deg, #f58220, #ff9a3c);
  color: white;
  border: none;
  padding: 18px;
  font-size: 17px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(245,130,32,0.45);
  transition: all 0.25s ease;
  margin-bottom: 30px;
}

.form-submit:hover {
  transform: translateY(-3px) scale(1.01);
}
/* MOBILE */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}



.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: 0.2s;
}

.input-group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #888;
  pointer-events: none;
  transition: 0.2s;
  background: #fff;
  padding: 0 5px;
}

.input-group input:focus {
  border-color: #f58220;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 11px;
  color: #f58220;
}


.property-form {
  position: relative;
}
.property-form::before {
  content: "";
  display: block;
  height: 4px;
  width: 60px;
  background: #f58220;
  border-radius: 2px;
  margin: 0 auto 15px;
}

.contact-wrapper {
  padding-top: 100px;
}



.hero-partner .hero-content{
    padding-top:120px;
}

@media(max-width:768px){

.hero-partner .hero-content{
    padding-top:100px;
}

}


.hero-cta-padding{
    padding-top:30px;
}


.partner-regions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:22px 26px;
    margin-top:35px;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}

.partner-regions span{
    position:relative;
    font-size:1.1rem;
    font-weight:600;
    color:#222;
    padding-bottom:8px;
}

.partner-regions span::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:2px;
    background:#f39a2d;
    opacity:0.35;
}

.partner-note{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;

    margin-top:40px;

    color:#8a8a8a;
    font-size:0.95rem;
    letter-spacing:0.4px;
}

.partner-note::before,
.partner-note::after{
    content:"";
    width:40px;
    height:1px;
    background:rgba(242,140,40,0.35);
}


.partner-form{
display:flex;
flex-direction:column;
gap:14px;

max-width:600px;
margin:35px auto 0;
}

.partner-form input,
.partner-form textarea{

width:100%;

padding:16px;

border:none;

border-radius:14px;

background:rgba(255,255,255,0.14);

backdrop-filter:blur(8px);

color:white;

font-size:15px;
}

.partner-form input::placeholder,
.partner-form textarea::placeholder{
color:rgba(255,255,255,0.75);
}

.partner-form textarea{
min-height:130px;
resize:vertical;
}

.partner-form button{

background:white;
color:#f28c28;

border:none;

padding:16px;

border-radius:14px;

font-weight:700;
font-size:16px;

cursor:pointer;

transition:0.25s ease;
}

.partner-form button:hover{
transform:translateY(-2px);
}

#partner-form{
scroll-margin-top:120px;
}

.hidden-field{
display:none;
}

#success-message{
background:rgba(255,255,255,0.15);
border:1px solid rgba(255,255,255,0.25);
padding:14px 18px;
border-radius:12px;
margin:25px auto;
max-width:500px;
font-weight:600;
backdrop-filter:blur(6px);
}

.success-message{
  background:#e8fff0;
  color:#178344;
  padding:16px 20px;
  border-radius:16px;
  margin-bottom:25px;
  font-weight:600;
  text-align:center;
  border:1px solid #bde5cb;
}

.error-message{
  background:#fff1f1;
  color:#c0392b;
  padding:16px 20px;
  border-radius:16px;
  margin-bottom:25px;
  font-weight:600;
  text-align:center;
  border:1px solid #f0b4b4;
}

/* =========================
NEW BUILD BADGE
========================= */


.card-image .badge.new-build{

position:absolute !important;

right:12px !important;
bottom:12px !important;
left:auto !important;
top:auto !important;

background:#8b5cf6;
color:#fff;

padding: 5px 10px;

font-size:10px;
font-weight:700;

text-transform:uppercase;
letter-spacing:.6px;

border-radius:6px;

z-index:20;

box-shadow:0 4px 12px rgba(0,0,0,0.22);
}

/* =========================
ADVANCED SEARCH FILTERS
========================= */

.more-filters-btn{
grid-column:span 2;

background:#f7f7f7;
color:#555;

border:1px solid #ddd;
border-radius:12px;

padding:12px;

font-size:14px;
font-weight:600;

cursor:pointer;

box-shadow:none;

transition:0.25s ease;
}


.more-filters-btn:hover{
opacity:0.92;
transform:translateY(-1px);
}

.advanced-filters{

grid-column:span 2;

max-height:0;
overflow:hidden;

opacity:0;

transition:
max-height .45s ease,
opacity .3s ease,
margin-top .3s ease;

display:flex;
flex-direction:column;
gap:18px;
}

.advanced-filters.open{
max-height:700px;
opacity:1;
margin-top:5px;
}

.filter-group{
display:flex;
flex-direction:column;
gap:10px;
}

.filter-group label{
font-size:14px;
font-weight:600;
color:#555;
}

.filter-checkboxes{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.filter-checkboxes label{

display:flex;
align-items:center;
gap:8px;

padding:10px 14px;

background:#f7f7f7;

border:1px solid #e5e5e5;
border-radius:999px;

font-size:13px;
font-weight:500;

cursor:pointer;

transition:0.2s ease;
}

.filter-checkboxes label:hover{
border-color:#f28c28;
background:#fff8f1;
}

.filter-checkboxes input{
accent-color:#f28c28;
}

.advanced-filters select{
max-width:100%;
}

/* MOBILE POLISH */

@media(max-width:520px){

.filter-checkboxes{
gap:8px;
}

.filter-checkboxes label{
font-size:12px;
padding:9px 12px;
}

}


@media(max-width:768px){

.hero{
padding-top:35px;
padding-bottom:35px;
}

.hero-content{
margin-bottom:0;
}

/* =========================
HERO CTA CLEANER
========================= */

.hero-cta{
display:flex;
justify-content:center;
gap:12px;
margin-top:28px;
flex-wrap:nowrap;
}

/* mindkét gomb ugyanaz a stílus */

.hero-cta .btn-primary,
.hero-cta .btn-secondary{

display:flex;
align-items:center;
justify-content:center;

min-width:155px;

padding:14px 16px;

border-radius:14px;

font-size:15px;
font-weight:600;

text-align:center;

background:rgba(20,20,20,0.45);

border:2px solid #f28c28;

color:#f28c28;

backdrop-filter:blur(8px);

box-shadow:0 8px 20px rgba(0,0,0,0.18);

transition:all .25s ease;
}

/* hover */

.hero-cta .btn-primary:hover,
.hero-cta .btn-secondary:hover{

transform:translateY(-2px);

background:#f28c28;
color:white;

}

/* MOBILE */

@media(max-width:480px){

.hero-cta{
gap:10px;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary{

min-width:145px;

padding:13px 12px;

font-size:14px;

}

}

/* =========================
ADVANCED FILTERS
========================= */

.advanced-filters{

grid-column:span 2;

display:none;

flex-direction:column;
gap:18px;

padding-top:5px;

animation:fadeDown .25s ease;

}

.advanced-filters.open{
display:flex;
}

/* GROUP */

.advanced-group{
display:flex;
flex-direction:column;
gap:10px;
}

/* LABEL */

.advanced-group label{
font-size:14px;
font-weight:600;
color:#444;
}

/* FEATURE PILLS */

.feature-pills{
display:flex;
flex-wrap:wrap;
gap:10px;
}

/* PILL */

.filter-pill{
position:relative;
cursor:pointer;
}

.filter-pill input{
display:none;
}

.filter-pill span{

display:inline-flex;
align-items:center;
justify-content:center;

padding:10px 16px;

border-radius:999px;

background:#f4f4f4;

border:1px solid #ddd;

font-size:14px;
font-weight:500;

transition:.2s ease;

}

.filter-pill input:checked + span{
background:#f28c28;
border-color:#f28c28;
color:#fff;
}

/* MORE FILTERS BUTTON */

.more-filters-btn{
font-size:15px !important;
font-weight:600;
}

/* ANIMATION */

@keyframes fadeDown{

from{
opacity:0;
transform:translateY(-6px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* =========================
PARTNER HERO FIX
========================= */

.hero-partner{
padding-top:75px !important;
padding-bottom:65px !important;
}

/* teljes hero content lejjebb */
.hero-partner .hero-content{
padding-top:5px !important;
margin-bottom:0 !important;
}

/* CTA blokk */
.hero-cta-padding{
padding-top:20px !important;
}

/* partner button */
.hero-cta-padding .btn-primary{

background:rgba(255,255,255,0.15) !important;

color:#f28c28 !important;

border:2px solid #f28c28 !important;

backdrop-filter:blur(8px);

box-shadow:0 8px 24px rgba(0,0,0,0.10);

}

/* MOBILE */
@media(max-width:768px){

.hero-partner{
padding-top:70px !important;
padding-bottom:60px !important;
}

.hero-partner .hero-content{
padding-top:5px !important;
}

.hero-cta-padding{
padding-top:18px !important;
}

}

.form-disclaimer{

margin-top:18px;

font-size:13px;
line-height:1.6;

color:#666;

text-align:center;

max-width:500px;
margin-left:auto;
margin-right:auto;

}

.form-disclaimer a{

color:#f28c28;
font-weight:600;

text-decoration:none;

transition:0.2s ease;

}

.form-disclaimer a:hover{
opacity:0.8;
text-decoration:underline;
}


.form-disclaimer-partner{

margin-top:18px;

font-size:13px;
line-height:1.6;

color:#f7f7f7;

text-align:center;

max-width:500px;
margin-left:auto;
margin-right:auto;

}

.form-disclaimer-partner a{

color:#ffc278;
font-weight:600;

text-decoration:none;

transition:0.2s ease;

}

.form-disclaimer a:hover{
opacity:0.8;
text-decoration:underline;
}