/* Erican Shine Empire — theme.css (v2, matched to the localhost design)
   Loaded after style.css. Fonts are system fonts (the site's CSP blocks web fonts). */
:root{--blue:#0b63d6;--red:#e5202f;--red-dark:#c81a27;--ink:#1b2430;--muted:#5f6b7a;--soft:#f4f8ff;--line:#dbe7fb;--serif:Georgia,"Times New Roman",serif}
*,*::before,*::after{box-sizing:border-box}
body{font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);line-height:1.6;background:#fff}
button,input,select,textarea{font-family:inherit}
img{max-width:100%}
a{color:var(--blue)}
.container{width:100%;max-width:1200px;margin:0 auto;padding-left:20px;padding-right:20px}

/* accessibility + honeypot */
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:var(--blue);padding:10px 16px;z-index:10000;border-radius:0 0 8px 0;font-weight:700}
.skip-link:focus{left:0}
.form-trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* top bar */
.top-bar{background:var(--blue);color:#fff;font-size:16px;padding:10px 0}
.top-bar a{color:#fff;text-decoration:none}
.top-divider{color:#ff5b66;margin:0 6px}

/* header */
.site-header{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid #e6ecf5}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand .logo{height:62px;width:auto}
.brand span{display:flex;flex-direction:column;color:var(--blue);font-weight:800;font-size:20px;letter-spacing:.14em;line-height:1.25;white-space:nowrap}
.brand small{display:block;font-size:17px;font-weight:600;letter-spacing:.2em}
.main-nav{display:flex;align-items:center;gap:34px;margin:0 auto}
.site-header nav a{margin-left:0;position:relative;color:#556070;font-weight:600;font-size:17px;text-decoration:none;padding:6px 0}
.site-header nav a:hover{color:var(--blue)}
.site-header nav a::after{background:var(--red);bottom:-6px}
.site-header nav a[aria-current="page"]{color:var(--blue)}
.site-header nav a[aria-current="page"]::after{width:100%}
.header-contact{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;background:var(--red);color:#fff;text-decoration:none;font-weight:700;font-size:17px;padding:17px 18px;border-radius:6px;white-space:nowrap}
.header-contact:hover{background:var(--red-dark)}
.menu-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer;color:var(--blue)}

/* buttons + links */
.btn-primary,.btn-submit{display:inline-flex;align-items:center;gap:22px;background:var(--red);color:#fff!important;border:0;padding:17px 24px;border-radius:6px;font-weight:700;font-size:17px;text-decoration:none;cursor:pointer;box-shadow:none;transition:background .2s,transform .2s}
.btn-primary:hover,.btn-submit:hover{background:var(--red-dark);transform:translateY(-1px)}
.text-link{display:inline-block;color:var(--blue);font-weight:700;text-decoration:none;border-bottom:1px solid #b7cff5;padding-bottom:3px}
.text-link:hover{border-bottom-color:var(--blue)}
.eyebrow{display:block;font-size:14px;font-weight:800;letter-spacing:.22em;color:#d4192a;margin-bottom:16px;text-transform:uppercase}
.muted{color:var(--muted)}

/* headings */
.hero-copy h1,.page-hero h1,.section-heading h2,.guidance-grid h2,.booking-copy h2{color:var(--blue);font-weight:800;letter-spacing:-.035em;line-height:1.08;margin:0 0 20px}

/* home hero */
.home-hero{background:var(--soft);padding:64px 0}
.hero-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero-copy h1{font-size:clamp(40px,5.4vw,68px)}
.hero-copy h1 em{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--red);letter-spacing:0}
.hero-copy p{font-size:19px;line-height:1.85;color:var(--muted);max-width:520px;margin:0 0 30px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:30px;margin:0 0 26px}
.hero-note{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:16px}
.note-mark{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e3edff;color:var(--blue);font-size:15px}
.hero-image{position:relative;height:490px;min-height:340px;overflow:hidden;border-radius:90px 22px 22px 22px;background:#1b1b1b}
.image-caption{position:absolute;left:30px;right:30px;bottom:92px;z-index:2;display:grid;grid-template-columns:1fr auto;column-gap:16px;align-items:center;color:#fff}
.image-caption span{grid-column:1;font-size:14px;letter-spacing:.2em;text-transform:uppercase;opacity:.92}
.image-caption strong{grid-column:1;font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.2}
.image-caption a{grid-column:2;grid-row:1/span 2;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.6);border-radius:50%;color:#fff;text-decoration:none}
.hero-counter{font-weight:700}

/* trust strip */
.trust-strip{background:#fff;border-bottom:1px solid #e6ecf5}
.trust-strip .container{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 30px;padding-top:26px;padding-bottom:26px;color:var(--muted);font-size:17px}
.trust-strip b{color:#d4192a;margin-right:12px}

/* sections + property cards */
.property-section{background:#fff;padding:64px 0}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:34px}
.section-heading h2{font-size:clamp(34px,4.4vw,52px);margin:0}
.section-heading .text-link{margin-bottom:10px}
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.property-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:none}
.property-card:hover{transform:none;box-shadow:0 14px 34px rgba(11,99,214,.1)}
.property-card-gallery{position:relative;aspect-ratio:4/3;background:#e8eef8;overflow:hidden}
.property-card-gallery>a{display:block;width:100%;height:100%}
.property-card-gallery img{display:block;width:100%;height:100%;object-fit:cover}
.property-card-gallery [data-gallery-prev],.property-card-gallery [data-gallery-next]{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--blue);font-size:22px;line-height:1;cursor:pointer}
.property-card-gallery [data-gallery-prev]{left:10px}
.property-card-gallery [data-gallery-next]{right:10px}
.gallery-count{position:absolute;right:12px;bottom:12px;z-index:4;background:rgba(0,0,0,.6);color:#fff;font-size:12px;padding:3px 10px;border-radius:999px}
.property-content{display:flex;flex-direction:column;gap:6px;flex:1;padding:22px 24px 24px}
.property-location{margin:0;color:#d4192a;font-size:14px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.property-content h3{margin:0;color:var(--blue);font-size:24px;font-weight:800;line-height:1.25}
.property-size{margin:0;color:var(--ink)}
.property-plan{margin:0;color:var(--muted)}
.property-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}
.property-bottom .price{color:var(--blue);font-size:20px;font-weight:800}
.view-btn{display:inline-block;background:#e3edff;color:var(--blue)!important;padding:10px 20px;border-radius:8px;font-weight:700;text-decoration:none;white-space:nowrap}
.view-btn:hover{background:var(--blue);color:#fff!important}
.empty-state{text-align:center;background:var(--soft);padding:50px 20px;border-radius:16px}

/* page hero (properties, about, ...) */
.page-hero{background:var(--soft);color:var(--ink);text-align:left;padding:76px 0 64px;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(38px,5vw,60px)}
.page-hero p{max-width:760px;margin:0;font-size:19px;color:var(--muted)}

/* filter */
.property-filter{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end;background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:28px}
.property-filter>div:first-child{flex:2}
.property-filter label{display:block;font-weight:700;font-size:15px;margin-bottom:8px}
.property-filter input,.property-filter select{width:100%;height:52px;padding:0 14px;border:1px solid #d3deef;border-radius:8px;font-size:16px;background:#fff;color:var(--ink)}
.property-filter .btn-primary{padding:15px 26px}
.property-filter .text-link{align-self:center}
p[role="status"]{color:var(--muted);font-size:18px}
p[role="status"] strong{color:var(--ink)}

/* guidance */
.guidance-section{background:var(--soft);padding:80px 0}
.guidance-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.guidance-grid h2{font-size:clamp(34px,4.4vw,52px)}
.guidance-grid>div:first-child p{color:var(--muted);font-size:18px;line-height:1.8;max-width:470px;margin:0 0 30px}
.guidance-points{display:block}
.guidance-points article{display:flex;gap:26px;align-items:flex-start;padding:22px 0;border-bottom:1px solid var(--line);background:none;border-radius:0}
.guidance-points article>span{width:auto;height:auto;background:none;color:#d4192a;display:block;font-weight:600;padding-top:6px}
.guidance-points h3{margin:0 0 6px;color:var(--blue);font-size:24px;font-weight:600}
.guidance-points p{margin:0;color:var(--muted)}

/* site visit */
.site-visit{background:var(--soft);padding:80px 0}
.booking-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.booking-copy h2{font-size:clamp(38px,5vw,62px)}
.booking-copy p{color:var(--muted);font-size:18px;line-height:1.8;max-width:430px}
.booking-phone{display:inline-block;margin-top:14px;color:var(--blue);font-size:28px;font-weight:600;text-decoration:none}
.booking-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:36px}
.booking-panel h3{color:var(--blue);font-size:30px;font-weight:800;margin:0 0 18px}
.visit-form label,.message-form label{display:block;font-weight:700;font-size:15px;margin:16px 0 8px}
.visit-form input,.visit-form select,.visit-form textarea,.message-form input,.message-form textarea{width:100%;height:54px;padding:0 16px;border:1px solid #d3deef;border-radius:10px;font-size:17px;background:#fafcff;color:#1d1a7a}
.visit-form select{color:var(--ink)}
.visit-form textarea,.message-form textarea{height:auto;padding:14px 16px}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.visit-form .btn-primary{width:100%;justify-content:center;margin-top:24px;padding:18px}
.form-note{text-align:center;color:var(--muted);font-size:15px;margin:16px 0 0}
.notice{padding:12px 16px;border-radius:8px;margin-bottom:16px;background:#eef4ff}
.notice-success{background:#e8f8ee;color:#14632f}
.notice-error,.error{background:#fdecee;color:#9b1c28}

/* misc helpers used by other pages */
.region-grid,.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px}
.region-card,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.detail-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;padding:48px 0}
.detail-price{color:var(--blue);font-size:30px;font-weight:800}
.property-gallery img{width:100%;border-radius:16px}
.property-detail-section{padding:40px 0}
.secondary{background:#fff;color:var(--blue)!important;border:2px solid var(--blue)}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.button{display:inline-block;padding:14px 24px;border-radius:6px;font-weight:700;text-decoration:none;background:var(--red);color:#fff}

/* footer */
.site-footer{background:#fff;color:var(--muted);border-top:3px solid var(--red);padding:60px 0 26px}
.site-footer .footer-content{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:40px;justify-content:normal;padding-bottom:30px}
.site-footer .footer-content>div:hover{transform:none}
.site-footer h3{font-family:var(--serif);font-weight:400;font-size:clamp(30px,3.4vw,42px);line-height:1.25;color:var(--blue);margin:14px 0 18px}
.site-footer h4{color:#d4192a;font-size:16px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin:0 0 18px}
.site-footer .eyebrow{color:#d4192a;margin-bottom:0}
.site-footer p{margin:0 0 14px;line-height:1.8}
.site-footer .footer-content a{display:block;color:var(--blue);text-decoration:none;padding:10px 0;font-size:17px}
.site-footer .footer-content a:hover{color:var(--red);transform:none}
.site-footer .social-link i{margin-right:6px}
.site-footer .footer-policy-row{border-top:0;padding-top:10px;padding-bottom:26px}
.site-footer .footer-policy-links a{color:var(--blue)}
.site-footer .footer-policy-links a:hover{color:var(--red)}
.site-footer .footer-bottom{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 24px;border-top:1px solid var(--line);margin-top:0;padding-top:28px;font-size:17px;color:#3a4352}
.site-footer .footer-bottom p{margin:0}
.site-footer .footer-bottom p+p{border-left:3px solid var(--blue);padding-left:22px}
.site-footer .footer-bottom a{color:var(--blue);font-weight:800;text-decoration:underline;text-decoration-thickness:2px}
.site-footer .footer-bottom a:hover{color:var(--red)}

/* floating buttons */
.whatsapp-float{background:#0b8a3c;color:#fff;font-weight:700;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.2)}

/* responsive */
@media(max-width:1000px){
 .property-grid{grid-template-columns:repeat(2,1fr)}
 .main-nav{gap:22px}
}
@media(max-width:900px){
 .hero-layout,.guidance-grid,.booking-layout,.detail-layout{grid-template-columns:1fr;gap:36px}
 .hero-image{height:360px;border-radius:60px 20px 20px 20px}
 .site-footer .footer-content{grid-template-columns:1fr;gap:20px}
 .menu-toggle{display:inline-block;margin-left:auto}
 .site-header .container{flex-wrap:wrap}
 .main-nav{display:none;flex-direction:column;align-items:flex-start;width:100%;order:5;gap:0;margin:0}
 .main-nav.is-open{display:flex}
 .site-header nav a{padding:13px 0;width:100%;border-top:1px solid #e6ecf5}
 .site-header nav a::after{display:none}
 .header-contact{display:none}
 .trust-strip .container{flex-direction:column}
}
@media(max-width:640px){
 .property-grid{grid-template-columns:1fr}
 .form-pair{grid-template-columns:1fr}
 .brand span{font-size:15px}
 .brand small{font-size:13px}
 .hero-copy h1{font-size:40px}
 .site-footer .footer-bottom p+p{border-left:0;padding-left:0}
}

/*
 * Erican Shine Empire — AVAILABLE badge overlap fix
 *
 * Add this file after the existing stylesheet(s), or copy these rules
 * to the very bottom of assets/css/theme.css.
 */

/* Keep the property status badge anchored to its property image/card. */
.property-card-gallery,
.property-image {
    position: relative;
}

.property-card-gallery > .badge,
.property-image > .badge,
.property-card-gallery .badge,
.property-image .badge {
    position: absolute;
    top: 16px;
    left: 16px;
    right: auto;
    bottom: auto;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.4;
}

/* Prevent long contact details in the footer from forcing overlap. */
.site-footer .footer-content > div {
    min-width: 0;
}

.site-footer .footer-content a {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Keep the footer's contact column within its available width. */
.site-footer .footer-content {
    min-width: 0;
}
