*{box-sizing:border-box} :root{--ink:#202820;--muted:#68736b;--green:#344c3d;--deep:#263a2e;--sage:#e9eee7;--paper:#fbfcfa;--line:#e1e7df;--gold:#c89b55;--radius:18px}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Abhaya Libre",serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.topbar{height:76px;padding:0 max(5vw,22px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;gap:11px;align-items:center;font-weight:800;letter-spacing:-.4px}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--green);color:white;display:grid;place-items:center;font-size:25px}.topbar nav{display:flex;gap:30px;align-items:center;font-size:14px;font-weight:600}.topbar nav a:hover{color:var(--gold)}.nav-call,.btn{background:var(--green);color:#fff!important;border:0;border-radius:999px;padding:12px 22px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:9px;cursor:pointer}.menu-toggle{display:none;background:none;border:0;font-size:24px}.container{width:min(1160px,90%);margin:auto}.hero{padding:62px 0 48px;display:grid;grid-template-columns:1.08fr .92fr;gap:55px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:#718071}.hero h1{font-size:clamp(36px,5vw,62px);line-height:1.06;letter-spacing:-2px;margin:14px 0 20px}.hero p{color:var(--muted);max-width:580px}.hero-photo{height:470px;width:100%;object-fit:cover;border-radius:26px}.hero-actions{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}.btn-outline{border:1px solid var(--green);color:var(--green);background:transparent}.section{padding:66px 0}.section-head{max-width:650px;margin-bottom:30px}.section-head h2{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:8px 0}.section-head p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.property-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s}.property-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #243b2a12}.property-card img{width:100%;height:220px;object-fit:cover;background:var(--sage)}.property-card-body{padding:19px}.property-card h3{margin:4px 0 7px;font-size:20px;line-height:1.25}.muted{color:var(--muted)}.price{font-weight:800;color:var(--green);font-size:20px;margin-top:12px}.tag{display:inline-block;background:var(--sage);color:var(--green);border-radius:99px;padding:5px 11px;font-size:12px;font-weight:700}.empty{padding:55px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:18px}.form-shell{padding:55px 0 75px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}label{font-weight:700;font-size:14px}input,select,textarea{font:inherit;border:1px solid #d8e0d7;border-radius:11px;padding:13px 14px;background:#fff;width:100%;min-height:48px;color:var(--ink)}textarea{min-height:120px;resize:vertical}.help{font-size:13px;color:var(--muted)}.consent{display:flex;gap:10px;align-items:flex-start;margin:12px 0}.consent input{width:18px;min-height:18px;margin-top:4px}.notice{padding:15px 18px;border-radius:12px;background:#eef4ec;color:#2d4936;margin:16px 0}.error{background:#fff0ed;color:#9d3425;padding:12px;border-radius:10px}.detail-hero{padding:36px 0 20px}.detail-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:28px;align-items:start}.gallery-main{width:100%;height:460px;object-fit:cover;border-radius:20px;background:var(--sage)}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.thumbs img{height:95px;width:100%;object-fit:cover;border-radius:10px;cursor:pointer}.detail-title h1{font-size:clamp(30px,4vw,48px);line-height:1.1;margin:10px 0}.detail-content{padding:35px 0;max-width:850px}.detail-content h2{margin-top:32px}.feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature{background:#fff;border:1px solid var(--line);padding:15px;border-radius:12px}.floorplan{width:100%;max-height:600px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:16px}.contact-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;position:sticky;top:95px}.contact-box h2{font-size:24px;margin:0 0 8px}.contact-box .price{font-size:28px;margin:15px 0}.contact-box form{display:grid;gap:12px}.contact-box .btn{width:100%}.footer{background:var(--deep);color:#fff;padding:40px 5vw;display:grid;grid-template-columns:1fr auto;gap:20px}.footer p,.footer small{color:#c7d1c8}.footer>div:nth-child(2){display:grid;gap:8px}.footer small{grid-column:1/-1;border-top:1px solid #ffffff22;padding-top:15px}.admin-body{background:#f3f6f2}.admin-layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#22362a;color:#fff;padding:25px 16px}.sidebar h2{font-size:17px;padding:0 12px 20px}.sidebar a{display:block;padding:11px 12px;border-radius:9px;color:#d8e2d9;font-size:14px}.sidebar a:hover,.sidebar a.active{background:#ffffff18;color:white}.admin-main{padding:32px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.stat strong{font-size:30px;display:block;color:var(--green)}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;margin:18px 0;overflow:auto}.table{width:100%;border-collapse:collapse;min-width:700px}.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}.table th{color:var(--muted);font-size:12px;text-transform:uppercase}.actions{display:flex;gap:8px;flex-wrap:wrap}.small-btn{padding:7px 11px;border-radius:8px;background:var(--sage);font-size:12px;font-weight:700;border:0;cursor:pointer}.danger{background:#ffebe7;color:#9d3425}.login-card{max-width:420px;margin:10vh auto;background:#fff;padding:32px;border-radius:18px;border:1px solid var(--line)}.login-card h1{margin-top:0}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.admin-form .full{grid-column:1/-1}.admin-form .field{min-width:0}.badge{background:#edf3ed;color:#31513b;border-radius:30px;padding:4px 9px;font-size:12px;font-weight:700}.badge.warn{background:#fff4df;color:#805b1a}.badge.red{background:#ffebe7;color:#963b2d}.upload-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.upload-list img{height:110px;width:100%;object-fit:cover;border-radius:9px}@media(max-width:850px){.hero,.detail-grid{grid-template-columns:1fr}.hero-photo{height:350px}.cards{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.contact-box{position:static}.admin-layout{grid-template-columns:1fr}.sidebar{display:flex;gap:4px;overflow:auto;padding:10px}.sidebar h2{display:none}.sidebar a{white-space:nowrap}.admin-main{padding:18px}.topbar nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;padding:20px;flex-direction:column}.topbar nav.open{display:flex}.menu-toggle{display:block}}@media(max-width:560px){.cards{grid-template-columns:1fr}.form-grid,.admin-form{grid-template-columns:1fr}.field.full,.admin-form .full{grid-column:auto}.hero{padding-top:35px}.hero-photo{height:280px}.feature-list{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.admin-top{align-items:flex-start;gap:10px;flex-direction:column}.footer{grid-template-columns:1fr}.thumbs{grid-template-columns:repeat(4,1fr)}.thumbs img{height:65px}}

/* Sinhala-first design system and accessible button contrast */
:root{--ink:#202d27;--muted:#68766e;--green:#315c47;--deep:#304b3b;--sage:#e8efe8;--paper:#fbfcfa;--line:#dfe7df;--gold:#c9aa78}
body{font-family:"Abhaya Libre",serif;font-size:18px;color:var(--ink);background:#fff}
button,input,select,textarea{font-family:"Abhaya Libre",serif}
.topbar{height:68px;padding-inline:max(calc((100% - 1240px)/2),5vw)}
.topbar nav{font-size:17px}.brand{font-size:19px}
.btn,.nav-call{background:#315c47!important;color:#fff!important;border:1px solid #315c47!important;font-size:17px;font-weight:700;text-shadow:none;line-height:1.25}
.btn:hover,.nav-call:hover{background:#203f30!important;color:#fff!important}
.btn-outline{background:#fff!important;color:#315c47!important;border:1px solid #b8c9bc!important}
.btn-outline:hover{background:#eaf1eb!important;color:#203f30!important}
button:not(.menu-toggle):not(.gallery-thumb),input[type=submit]{color:#fff}
.menu-toggle{color:#263a2e}
.hero{padding-top:70px;padding-bottom:72px;grid-template-columns:1fr 1fr;gap:64px}
.hero h1{font-size:clamp(42px,5vw,66px);letter-spacing:0;line-height:1.12}
.hero p,.section-head p,.muted{line-height:1.55}
.hero-photo{height:490px;border-radius:20px}
.section-head h2{font-size:clamp(30px,3.5vw,44px);letter-spacing:0}
.property-card h3{font-size:23px}
.owner-page{padding:38px 0 60px}
.owner-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:65px;align-items:start}
.owner-intro{padding:22px 0}
.owner-intro h1{font-size:clamp(42px,5vw,64px);line-height:1.12;margin:16px 0}
.owner-intro h1 span{display:block;color:var(--green)}
.intro-copy{font-size:19px;color:var(--muted);line-height:1.6;max-width:610px}
.check-list{list-style:none;padding:0;margin:26px 0;display:grid;gap:10px}
.check-list li:before{content:"✓";display:inline-grid;place-items:center;background:var(--green);color:#fff;width:22px;height:22px;border-radius:50%;margin-right:10px;font-weight:800}
.owner-illustration{height:225px;position:relative;overflow:hidden;border-radius:20px;background:linear-gradient(#dcebe0,#f1f4e9);margin-top:25px;box-shadow:0 14px 32px #203b2a12}
.owner-illustration .sun{position:absolute;right:16%;top:12%;width:54px;height:54px;border-radius:50%;background:#f3d995}
.hill{position:absolute;bottom:-70px;width:120%;height:180px;border-radius:50% 50% 0 0}
.hill-one{left:-15%;background:#8fb59a;transform:rotate(-8deg)}
.hill-two{right:-30%;bottom:-100px;background:#477c60;transform:rotate(9deg)}
.road{position:absolute;bottom:-50px;left:45%;width:95px;height:140px;background:#d9c99e;transform:rotate(35deg);border-radius:50%}
.owner-illustration span{position:absolute;left:18px;bottom:16px;background:#fff;color:#315c47;border-radius:30px;padding:6px 14px;font-size:15px}
.owner-illustration {
    width: 100%;
    height: auto;
    background: transparent;
    overflow: hidden;
}

.property-process-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}
.owner-form-card{background:#fff;border:1px solid #dce6dd;border-radius:22px;padding:30px;box-shadow:0 16px 45px #1e392a0d}
.owner-form-card h2{font-size:32px;line-height:1.15;margin:5px 0}
.owner-form-card>.muted{margin:6px 0 20px}
.owner-form{display:grid;gap:14px}
.owner-form .form-grid{gap:12px}
.owner-form input,.owner-form select,.owner-form textarea{background:#fbfdfb;border-color:#d2dfd4}
.owner-form label{font-size:16px}
.owner-form .consent{font-size:15px;line-height:1.35;color:#69766e}
.owner-submit{width:100%;border-radius:9px;min-height:52px}
.owner-callout{margin-top:56px;padding:26px 30px;background:#eaf1eb;border-radius:20px;display:flex;align-items:center;gap:22px}
.owner-callout h2{margin:0;font-size:29px}.owner-callout p{margin:2px 0}
.call-icon{width:58px;height:58px;flex:0 0 58px;border-radius:15px;background:#315c47;color:white;display:grid;place-items:center;font-size:27px}
.owner-callout .btn{margin-left:auto;white-space:nowrap}
.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}
.success-card{max-width:720px;margin:70px auto;padding:55px 35px;text-align:center;background:#f6f8f4;border:1px solid var(--line);border-radius:24px}
.success-card h1{font-size:42px;line-height:1.15}.success-card .btn{margin:12px auto}
.success-icon{width:62px;height:62px;margin:0 auto 18px;border-radius:50%;background:#315c47;color:white;display:grid;place-items:center;font-size:34px}
.text-link{display:inline-block;margin-top:18px;color:var(--green);text-decoration:underline}
.property-hero{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding-top:48px;padding-bottom:45px}
.property-hero-photo{position:relative}.property-hero-photo .gallery-main{width:100%;height:500px;object-fit:cover;border-radius:20px;box-shadow:0 16px 35px #1b302019}
.photo-label{position:absolute;left:16px;bottom:16px;background:#fff;color:#315c47;border-radius:30px;padding:6px 14px;font-size:15px}
.property-hero-copy h1{font-size:clamp(38px,4.4vw,58px);line-height:1.12;margin:8px 0 15px}
.property-hero-copy>.muted{font-size:18px}
.hero-price-card{background:#f5f5ef;border-radius:14px;padding:14px 18px;display:inline-grid;gap:3px;margin-top:12px;min-width:185px}
.hero-price-card small{color:var(--muted)}.hero-price-card strong{font-size:27px;color:var(--green)}
.hero-price-card span{font-size:14px;color:var(--muted)}
.hero-meta{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:20px;padding-top:14px;color:var(--muted);font-size:15px}
.trust-strip{background:#31513f;color:#fff;text-align:center;padding:13px 20px;display:flex;justify-content:center;gap:40px;font-size:15px}
.property-details{padding-top:60px;padding-bottom:60px}
.feature-list{grid-template-columns:repeat(3,1fr);gap:14px}
.feature{border-radius:15px;background:#fbfcfa;padding:20px;border:1px solid #e3e9e2;min-height:112px}
.feature-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eaf1eb;color:#315c47;margin-bottom:10px}
.feature strong{font-size:18px}
.feature-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.feature-tags span{background:#f1f5ef;border-radius:30px;padding:8px 13px;color:#315c47;font-size:15px}
.floor-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:35px;align-items:center;background:#f6f5ef;border-radius:18px;padding:35px;margin-bottom:60px}
.floor-section h2,.nearby-section h2,.why-section h2,.contact-section h2{font-size:34px;line-height:1.15}
.floor-image{background:white;border-radius:12px;padding:14px;max-height:480px}
.floorplan{max-height:450px;width:100%;object-fit:contain;border:0}
.nearby-section{background:#f7f6f0;padding:65px 0}
.nearby-list{border-top:1px solid #e1e4da;margin-top:25px}
.nearby-list>div{display:flex;justify-content:space-between;align-items:center;padding:16px 8px;border-bottom:1px solid #e1e4da}
.nearby-list strong{color:var(--green)}
.gallery-section{padding-top:65px;padding-bottom:65px}
.property-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery-thumb{border:0;padding:0;background:#edf1eb;border-radius:13px;overflow:hidden;position:relative;cursor:pointer;text-align:left}
.gallery-thumb img{width:100%;height:220px;object-fit:cover}
.gallery-thumb span{position:absolute;left:10px;bottom:10px;background:#fff;color:#263a2e;padding:4px 10px;border-radius:20px;font-size:14px}
.why-section{background:#f8f9f5;padding:65px 0}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:25px}
.why-grid>div{border:1px solid #dfe8df;border-radius:15px;padding:22px;background:#f2f5ee;text-align:center}
.why-grid strong{color:#b69a68}.why-grid h3{font-size:22px;margin:8px 0}.why-grid p{color:var(--muted);margin:0}
.contact-section{background:#304b3b;color:white;padding:65px 0}
.contact-layout{display:grid;grid-template-columns:1fr .85fr;gap:55px;align-items:center}
.contact-section .eyebrow,.contact-section .help{color:#d3dfd4}
.contact-section h2{font-size:38px}.contact-phone{font-size:27px;font-weight:800;display:inline-block;margin-top:20px}
.contact-form-card{background:#fff;color:var(--ink);border-radius:18px;padding:25px}
.contact-form-card h2{font-size:28px;margin:0 0 18px}
.contact-form-card form{display:grid;gap:12px}
.contact-form-card .btn{width:100%;border-radius:9px}
.contact-form-card .btn-outline{margin-top:8px}
.footer{font-size:17px}
.admin-body{font-family:"Abhaya Libre",serif}
.admin-body .sidebar a,.admin-body .admin-top a,.admin-body label,.admin-body .table th,.admin-body .table td{font-size:16px}
.admin-body .btn,.admin-body .small-btn{font-family:"Abhaya Libre",serif;color:#fff!important;background:#315c47!important}
.admin-body .small-btn{border:0;padding:8px 13px;border-radius:8px}
.admin-body .small-btn.danger{background:#a33b32!important;color:#fff!important}
.admin-body input,.admin-body select,.admin-body textarea{font-size:16px}
@media(max-width:850px){.owner-layout,.property-hero,.floor-section,.contact-layout{grid-template-columns:1fr}.owner-intro{padding-bottom:0}.owner-illustration{height:190px}.property-hero{gap:25px}.property-hero-photo .gallery-main{height:380px}.floor-section{padding:25px}.contact-layout{gap:25px}}
@media(max-width:600px){.owner-page{padding-top:20px}.owner-layout{gap:25px}.owner-form-card{padding:20px}.owner-intro h1{font-size:39px}.owner-callout{align-items:flex-start;flex-wrap:wrap;padding:22px}.owner-callout .btn{margin-left:0;width:100%}.success-card{margin:30px auto;padding:35px 20px}.success-card h1{font-size:32px}.property-hero{padding-top:25px}.property-hero-photo .gallery-main{height:300px}.property-hero-copy h1{font-size:37px}.trust-strip{flex-direction:column;gap:4px}.feature-list,.why-grid{grid-template-columns:1fr 1fr}.property-gallery{grid-template-columns:1fr 1fr}.gallery-thumb img{height:150px}.floor-section{margin-bottom:35px}.contact-section h2{font-size:31px}.hero{gap:25px}.hero h1{font-size:42px}}
