/* ========================================
   LARWA — Libra Avenue Residents Welfare Association
   Complete Site Styles — Navy + Amber Theme
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --navy-900: #0c1322;
    --navy-800: #151f33;
    --navy-700: #1c2a44;
    --navy-600: #253755;
    --navy-500: #2f4466;
    --navy-400: #3d5a85;
    --navy-300: #5a7aa8;
    --navy-200: #8ea8cc;
    --navy-100: #c4d4e8;
    --navy-50:  #edf2f8;

    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50:  #f9fafb;

    --red-500: #ef4444;
    --red-100: #fee2e2;
    --orange-500: #ff9f3f;
    --orange-400: #FFBA5A;
    --orange-100: #fff4e5;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-gray: #55677f;
    --lime: #b3c938;

    --primary: var(--navy-700);
    --primary-dark: var(--navy-800);
    --primary-light: var(--navy-50);
    --accent: var(--orange-400);

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
    --transition: .25s ease;
    --font: 'Source Sans Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: 'Noto Serif', Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.section-alt { background: #f7f7f7; }
.text-danger { color: var(--red-500); }
.text-success { color: var(--lime); }
.muted { color: var(--gray-500); font-size: .9rem; }
.loading { color: var(--gray-400); text-align: center; padding: 2rem; }
.no-data { color: var(--gray-400); text-align: center; padding: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.5rem; border: 2px solid transparent;
    border-radius: var(--radius); font-size: .95rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-align: center;
    min-height: 44px; /* minimum touch target */
    text-transform: uppercase; letter-spacing: 1.5px;
}
.btn-primary {
    background: var(--accent); color: var(--navy-900); border-color: var(--accent);
}
.btn-primary:hover { background: var(--orange-500); border-color: var(--orange-500); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,186,90,.4); }
.btn-outline {
    background: transparent; color: var(--navy-700); border-color: var(--navy-700);
}
.btn-outline:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn-secondary {
    background: var(--blue-gray); color: #fff; border-color: var(--blue-gray);
}
.btn-secondary:hover { background: var(--navy-600); border-color: var(--navy-600); transform: translateY(-2px); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; letter-spacing: 1px; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky; top: 0; z-index: 900;
    background: var(--navy-800);
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.nav-container {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: .5rem 1.25rem;
}
.nav-brand {
    display: flex; align-items: center; gap: .6rem; color: #fff;
}
.nav-logo { width: 44px; height: 44px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: 2px; font-family: var(--font-heading); }
.brand-sub { font-size: .6rem; opacity: .8; letter-spacing: .5px; }
.nav-toggle {
    display: none; background: none; border: none; color: #fff;
    font-size: 1.5rem; cursor: pointer;
}
.nav-menu {
    display: flex; gap: .25rem;
}
.nav-menu a {
    display: flex; align-items: center; gap: .4rem;
    padding: .55rem .9rem; border-radius: 8px;
    color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
    transition: var(--transition);
    min-height: 44px; /* touch target */
    -webkit-tap-highlight-color: transparent;
}
.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255,255,255,.15); color: #fff;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #fff; text-align: center; padding: 2.5rem 1rem 2rem;
}
.page-header h1 { font-size: 2rem; margin-bottom: .3rem; font-family: var(--font-heading); }
.page-header p { opacity: .85; font-size: 1.05rem; }

/* ---------- Hero Section (Home) ---------- */
.hero {
    position: relative;
    background: url('hero-bg.jpg') center/cover no-repeat;
    color: #fff; text-align: center;
    padding: 8rem 1rem 7rem; overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(100,130,160,0.35) 0%, rgba(40,60,80,0.55) 40%, rgba(15,25,40,0.8) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 5rem; margin-bottom: .5rem; font-family: var(--font-heading); font-weight: 400; letter-spacing: 8px; }
.hero-tagline { font-size: 1.3rem; opacity: .85; font-family: var(--font-heading); font-style: italic; font-weight: 400; }

/* ---------- Action Bar ---------- */
.action-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    width: 100%;
}
.action-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem 1rem; font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: #fff; transition: var(--transition);
    text-align: center; min-height: 56px;
    -webkit-tap-highlight-color: transparent;
}
.action-btn.orange { background: var(--accent); color: var(--navy-900); }
.action-btn.orange:hover { background: var(--orange-500); }
.action-btn.bluegray { background: var(--blue-gray); }
.action-btn.bluegray:hover { background: #4a5b72; }
.action-btn.navy { background: var(--navy-800); }
.action-btn.navy:hover { background: var(--navy-700); }
.action-btn.yellow { background: #f5e06b; color: var(--navy-900); }
.action-btn.yellow:hover { background: #f0d54a; }
.action-btn.beige { background: #e4dfd1; color: var(--navy-900); }
.action-btn.beige:hover { background: #d9d2c0; }
.action-btn.green { background: #b5d68a; color: var(--navy-900); }
.action-btn.green:hover { background: #a3c975; }
.action-btn.steel { background: #7d8da0; }
.action-btn.steel:hover { background: #6b7c90; }

/* ---------- Notice Banner ---------- */
.notice-banner {
    background: linear-gradient(90deg, var(--orange-500), var(--accent));
    color: var(--navy-900); text-align: center; padding: .8rem 1rem;
    font-weight: 600; font-size: .95rem;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    flex-wrap: wrap;
}

/* ---------- Section Title ---------- */
.section-title {
    font-size: 1.5rem; font-weight: 700; color: var(--navy-800);
    margin-bottom: 1.5rem; display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-heading);
    position: relative; padding-bottom: .6rem;
    flex-wrap: wrap;
}
.section-title::after {
    content: ''; display: block; width: 50px; height: 3px; background: var(--accent);
    border-radius: 2px; position: absolute; bottom: 0; left: 0;
}
.section-title[style*="justify-content:center"]::after,
.section-title[style*="text-align:center"]::after {
    left: 50%; transform: translateX(-50%);
}

/* ---------- Layout + Defaulter Section ---------- */
.layout-defaulter-row {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start;
}

/* Home page interactive map (rotated horizontal on desktop) */
.home-map-wrapper {
    width: 100%; overflow: hidden; position: relative;
    border-radius: var(--radius); box-shadow: var(--shadow);
    background: #fff;
}
.home-map-inner {
    position: relative; width: 100%; line-height: 0;
}
.home-map-wrapper.rotated .home-map-inner {
    position: absolute; top: 0; left: 0;
}
.home-map-img {
    display: block; width: 100%; height: auto;
    user-select: none; pointer-events: none;
}
.home-hotspots {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 10;
}
.home-hotspots .plot-hotspot {
    pointer-events: all;
}
/* Hide text on home map hover (numbers are printed on image) */
.home-hotspots .plot-hotspot:hover,
.home-hotspots .plot-hotspot:active {
    color: transparent; text-shadow: none;
}
.home-map-hover {
    position: fixed; z-index: 800;
    background: rgba(0,0,0,.85); color: #fff;
    padding: .5rem .9rem; border-radius: 8px;
    font-size: .85rem; pointer-events: none;
    display: none; max-width: 260px; line-height: 1.5;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.home-map-hover .tt-due { color: #fca5a5; }
.home-map-hover .tt-paid { color: #86efac; }

.layout-preview-img {
    width: 100%; height: auto; border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.layout-preview-img:hover { box-shadow: var(--shadow-lg); transform: scale(1.01); }
.defaulter-col .section-title { font-size: 1.3rem; margin-bottom: 1rem; }
.defaulter-simple-list {
    list-style: decimal; padding-left: 1.5rem;
    display: flex; flex-direction: column; gap: .5rem;
    font-size: 1rem; color: var(--gray-700); line-height: 1.6;
}
.defaulter-simple-list li::marker { color: var(--gray-500); }
.view-all-link {
    display: inline-block; margin-top: 1rem;
    font-size: .9rem; color: var(--blue-gray); font-weight: 600;
    text-decoration: underline;
}
.view-all-link:hover { color: var(--accent); }

/* ---------- Feature Sections (two-column) ---------- */
.feature-section { padding: 4rem 0; }
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.feature-row.reverse { direction: ltr; }
.feature-row.reverse .feature-text { order: -1; }
.feature-visual { display: flex; justify-content: center; align-items: center; }
.feature-icon-circle {
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(165,206,199,0.25); display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: var(--navy-600);
}
.feature-icon-circle.green {
    background: rgba(179,201,56,0.15); color: var(--lime);
}
.feature-text h2 {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 400;
    color: var(--gray-800); line-height: 1.3; margin-bottom: .5rem;
}
.accent-line {
    width: 50px; height: 3px; background: var(--accent); border-radius: 2px;
    margin: 1rem 0;
}
.feature-text p {
    color: var(--gray-500); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem;
}

/* ---------- Hero Banner (full-width bg sections) ---------- */
.hero-banner {
    position: relative; text-align: center; color: #fff;
    padding: 6rem 1rem;
    background: linear-gradient(180deg, rgba(180,200,210,0.5) 0%, rgba(60,80,110,0.7) 40%, var(--navy-900) 100%);
}
.hero-banner.compact { padding: 4rem 1rem; }
.hero-banner-overlay {
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width="80" height="80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,.015)"/></svg>');
}
.hero-banner-content {
    position: relative; z-index: 1; max-width: 800px; margin: 0 auto;
}
.hero-banner-content h2 {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Amount Buttons */
.amount-buttons {
    display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap;
    margin-bottom: 2rem;
}
.amount-btn {
    padding: .6rem 1.5rem; border-radius: 6px; font-weight: 700;
    font-size: .95rem; letter-spacing: 1px; transition: var(--transition);
    background: var(--lime); color: var(--navy-900);
    min-height: 44px; display: flex; align-items: center;
    -webkit-tap-highlight-color: transparent;
}
.amount-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(179,201,56,.4); }
.amount-btn.other { background: var(--gray-500); color: #fff; }
.amount-btn.other:hover { background: var(--gray-600); }

/* Toggle/Accordion */
.toggle-group {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem; margin-bottom: 2rem;
}
.toggle-item {
    border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
    overflow: hidden; transition: var(--transition);
}
.toggle-header {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: .9rem 1.2rem; background: transparent;
    border: none; color: #fff; font-size: .85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.toggle-header:hover { background: rgba(255,255,255,.08); }
.toggle-header i { transition: transform .3s ease; }
.toggle-item.open .toggle-header i { transform: rotate(45deg); }
.toggle-body {
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
    padding: 0 1.2rem;
}
.toggle-item.open .toggle-body {
    max-height: 200px; padding: .5rem 1.2rem 1rem;
}
.toggle-body p { font-size: .9rem; opacity: .8; line-height: 1.5; }
.toggle-body a { color: var(--accent); text-decoration: underline; }

/* ---------- Events Circle Grid ---------- */
.events-circle-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.event-circle-item { text-align: center; }
.event-circle {
    width: 110px; height: 110px; border-radius: 50%;
    background: var(--gray-100); margin: 0 auto 1rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.06);
    transition: var(--transition);
}
.event-circle:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: scale(1.05); }
.event-circle .day {
    font-size: 1.8rem; font-weight: 400; color: var(--navy-700);
    font-family: var(--font-heading); line-height: 1;
}
.event-circle .month {
    font-size: .75rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--gray-500); font-weight: 600; margin-top: 2px;
}
.event-circle-item h4 {
    font-size: .95rem; color: var(--gray-800); margin-bottom: .3rem;
    font-weight: 600;
}
.event-link {
    font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--lime);
    transition: var(--transition);
}
.event-link:hover { color: var(--orange-500); }

/* ---------- Important Links Row ---------- */
.links-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem; text-align: center;
}
.link-item {
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    transition: var(--transition); color: var(--gray-700);
    -webkit-tap-highlight-color: transparent;
}
.link-item:hover { transform: translateY(-3px); color: var(--accent); }
.link-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--gray-100); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--navy-600); transition: var(--transition);
    border: 2px solid var(--gray-200);
}
.link-item:hover .link-icon { border-color: var(--accent); color: var(--accent); }
.link-item span { font-size: .85rem; font-weight: 600; }

/* ---------- Touch Form (Get In Touch) ---------- */
.touch-form { background: var(--gray-100); border-radius: var(--radius-lg); padding: 2rem; }
.touch-form .form-control {
    background: #fff; border-color: var(--gray-200);
}

/* ---------- Quick Access Grid (Home) ---------- */
.quick-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.quick-card {
    background: #fff; border-radius: var(--radius); padding: 1.5rem 1rem;
    text-align: center; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-400); }
.quick-icon { font-size: 2rem; color: var(--navy-600); margin-bottom: .5rem; }
.quick-card h3 { font-size: 1rem; margin-bottom: .25rem; color: var(--gray-800); }
.quick-card p { font-size: .8rem; color: var(--gray-500); }

/* ---------- Events Grid (Home) ---------- */
.events-grid { display: flex; flex-direction: column; gap: 1rem; }
.event-card {
    display: flex; gap: 1.25rem; align-items: flex-start;
    background: #fff; border-radius: var(--radius); padding: 1.25rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.event-card:hover { box-shadow: var(--shadow); }
.event-date {
    background: var(--navy-700); color: #fff; border-radius: var(--radius);
    padding: .8rem 1rem; text-align: center; min-width: 60px;
    flex-shrink: 0;
}
.event-date .day { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event-date .month { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.event-info h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.event-info p { font-size: .85rem; color: var(--gray-600); margin-bottom: .15rem; }

/* ---------- Two-Column Layout (Home) ---------- */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}

/* ---------- Card ---------- */
.card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; background: var(--navy-50); border-bottom: 1px solid var(--gray-200);
}
.card-header h2 { font-size: 1.1rem; color: var(--navy-800); display: flex; align-items: center; gap: .4rem; font-family: var(--font-heading); }
.view-all { font-size: .85rem; color: var(--orange-500); font-weight: 600; }
.view-all:hover { text-decoration: underline; color: var(--accent); }

/* ---------- Notice List ---------- */
.notice-list { padding: 1rem 1.25rem; }
.notice-item {
    padding: .8rem 0; border-bottom: 1px solid var(--gray-100);
}
.notice-item:last-child { border-bottom: none; }
.notice-item h4 { font-size: .95rem; margin-bottom: .3rem; }
.notice-item p { font-size: .85rem; color: var(--gray-600); }
.notice-date { font-size: .75rem; color: var(--gray-400); display: block; margin-top: .3rem; }
.notice-tag {
    display: inline-block; padding: .15rem .6rem; border-radius: 4px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    background: var(--red-500); color: #fff; margin-bottom: .3rem;
}
.notice-tag.info { background: var(--navy-600); }
.notice-inline {
    background: var(--orange-100); border-left: 4px solid var(--accent);
    padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 1.5rem; font-size: .95rem; color: var(--gray-700);
}

/* ---------- Defaulters Table (Home) ---------- */
.defaulters-list { padding: 1rem 1.25rem; overflow-x: auto; }
.defaulters-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.defaulters-table th { text-align: left; padding: .5rem; color: var(--gray-500); font-weight: 600; border-bottom: 2px solid var(--gray-200); }
.defaulters-table td { padding: .5rem; border-bottom: 1px solid var(--gray-100); }
.defaulters-table .high-due td { color: var(--red-500); font-weight: 600; }
.defaulters-table .due-amount { font-weight: 700; color: var(--red-500); }

/* ---------- Data Table (generic) ---------- */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th {
    text-align: left; padding: .75rem; background: var(--navy-50);
    color: var(--navy-800); font-weight: 700; border-bottom: 2px solid var(--navy-100);
}
.data-table td { padding: .75rem; border-bottom: 1px solid var(--gray-100); }
.data-table a { color: var(--navy-600); }
.data-table a:hover { text-decoration: underline; color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-900); color: rgba(255,255,255,.8); padding: 3.5rem 0 1rem;
    margin-top: 0;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; margin-bottom: 2rem;
}
.footer-logo { width: 50px; height: 50px; border-radius: 10px; margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; list-style: square; padding-left: 1.2rem; }
.footer-col ul li { color: var(--accent); }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-col h4 { color: var(--accent); margin-bottom: .75rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { font-size: .85rem; margin-bottom: .3rem; }
.footer-sub { opacity: .6; font-size: .8rem; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
    font-size: .8rem; opacity: .6; flex-wrap: wrap; gap: .75rem;
}
.footer-social {
    display: flex; gap: 1rem;
}
.footer-social a {
    color: rgba(255,255,255,.5); font-size: 1.2rem; transition: var(--transition);
}
.footer-social a:hover { color: #fff; opacity: 1; }

/* ================================================================
   MAP PAGE
   ================================================================ */

.map-page-container { padding: 1.5rem; max-width: 1600px; margin: 0 auto; }
.map-page-container.map-fullscreen {
    display: flex; flex-direction: column;
    height: calc(100vh - 60px); /* navbar height */
    padding: .5rem 1rem;
    max-width: 100%;
}
.map-fullscreen .map-legend { margin-bottom: .4rem; }
.map-fullscreen .image-wrapper {
    flex: 1; min-height: 0;
}

/* Map Legend */
.map-legend {
    display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem;
    flex-wrap: wrap;
}
.legend-dot {
    display: inline-block; width: 14px; height: 14px; border-radius: 50%;
    margin-right: .4rem; vertical-align: middle;
}
.legend-dot.paid { background: var(--lime); }
.legend-dot.pending { background: var(--orange-500); }
.legend-dot.rented { background: var(--blue-500); }
.legend-item { font-size: .9rem; color: var(--gray-600); display: flex; align-items: center; }

/* Layout & Image Wrapper */
.layout-container { position: relative; padding: 0; background: var(--gray-50); }
.image-wrapper {
    width: 100%; overflow: clip; position: relative;
    border: 2px solid var(--gray-300); border-radius: var(--radius);
    background: #fff;
    touch-action: pan-y pinch-zoom;
}
.image-wrapper.rotated {
    overflow: hidden;
}
.image-wrapper.rotated .zoom-target {
    position: absolute; top: 0; left: 0;
}
.image-wrapper.zoomed {
    overflow: auto;
    cursor: grab;
    touch-action: pan-x pan-y pinch-zoom;
}
.image-wrapper.zoomed:active { cursor: grabbing; }
.zoom-target {
    position: relative; display: inline-block;
    transform-origin: top left; width: 100%; line-height: 0;
}
.site-image {
    display: block; width: 100%; height: auto;
    user-select: none; pointer-events: none;
}
.hotspots-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 10;
}
.plot-hotspot, .amenity-hotspot {
    position: absolute; pointer-events: all; cursor: pointer;
    border: 2px solid transparent; transition: all .2s ease;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 16px;
    color: transparent; background: transparent;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation; box-sizing: border-box;
}
.plot-hotspot:hover, .plot-hotspot:active {
    background: rgba(255,186,90, 0.4);
    border: 3px solid var(--accent);
    box-shadow: 0 0 18px rgba(255,186,90, .7);
    z-index: 50; transform: scale(1.02);
    color: #fff; text-shadow: 1px 1px 4px rgba(0,0,0,.8);
    font-size: 18px;
}
.plot-hotspot[data-status="Pending"]:hover, .plot-hotspot[data-status="Pending"]:active {
    background: rgba(253, 126, 20, 0.45);
    border-color: var(--orange-500);
    box-shadow: 0 0 18px rgba(253, 126, 20, .8);
}
.amenity-hotspot:hover, .amenity-hotspot:active {
    background: rgba(59, 130, 246, 0.25);
    border: 2px solid var(--blue-500);
    box-shadow: 0 0 12px rgba(59, 130, 246, .6);
    z-index: 50; color: #fff; font-size: 14px;
}

/* Hover Tooltip (map) */
.map-hover-tooltip {
    position: fixed; z-index: 800;
    background: rgba(0,0,0,.85); color: #fff;
    padding: .5rem .9rem; border-radius: 8px;
    font-size: .85rem; pointer-events: none;
    display: none; max-width: 260px; line-height: 1.5;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.map-hover-tooltip .tip-plot { font-weight: 700; font-size: .95rem; }
.map-hover-tooltip .tip-owner { opacity: .9; }
.map-hover-tooltip .tip-due { margin-top: 2px; }
.map-hover-tooltip .tip-due.has-due { color: #fca5a5; }
.map-hover-tooltip .tip-due.all-clear { color: #86efac; }

/* Instruction Tooltip */
.instruction-tooltip {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    background: rgba(21,31,51,.9); color: #fff;
    padding: 14px 28px; border-radius: 25px;
    font-size: 1.1rem; font-weight: 600;
    z-index: 200; text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    animation: fadeInOut 4s ease-in-out forwards;
    pointer-events: none;
}
@keyframes fadeInOut {
    0% { opacity:0; transform: translate(-50%,-50%) scale(.85); }
    15% { opacity:1; transform: translate(-50%,-50%) scale(1); }
    85% { opacity:1; transform: translate(-50%,-50%) scale(1); }
    100% { opacity:0; transform: translate(-50%,-50%) scale(.85); }
}

/* ================================================================
   MODAL (Map Detail + Generic)
   ================================================================ */
.modal {
    display: none; position: fixed; z-index: 1000;
    inset: 0; background: rgba(0,0,0,.65);
    animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
.modal-content {
    background: #fff; margin: 4vh auto; border-radius: var(--radius-lg);
    width: 92%; max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: slideDown .3s ease;
    max-height: 92vh; overflow-y: auto;
}
@keyframes slideDown { from { transform: translateY(-40px); opacity:0 } to { transform: translateY(0); opacity:1 } }
.close {
    color: rgba(255,255,255,.7); float: right; font-size: 2rem;
    padding: .5rem 1rem; cursor: pointer; transition: var(--transition);
}
.close:hover { color: #fff; }
#modalBody { padding: 1.5rem; }
.detail-header {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: #fff; padding: 1.5rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -1.5rem -1.5rem 1.5rem;
}
.detail-header h2 { font-size: 1.7rem; margin-bottom: .3rem; font-family: var(--font-heading); }
.header-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.status-badge {
    display: inline-block; padding: .3rem .9rem; border-radius: 20px;
    font-weight: 700; font-size: .8rem;
}
.status-badge.paid { background: #22c55e; color: #fff; }
.status-badge.pending { background: var(--orange-500); color: #fff; }
.status-badge.rented { background: var(--blue-500); color: #fff; }
.status-badge.vacant { background: var(--gray-500); color: #fff; }

.detail-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem; margin-bottom: 1.25rem;
}
.detail-item {
    background: var(--gray-50); padding: .85rem;
    border-radius: 8px; border-left: 4px solid var(--accent);
}
.detail-item label { display: block; font-weight: 600; color: var(--gray-500); font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .15rem; }
.detail-item .value { font-size: 1.1rem; color: var(--gray-900); font-weight: 600; }
.detail-item .value a { color: var(--navy-600); }
.detail-item .value a:hover { text-decoration: underline; color: var(--accent); }

/* Payment Summary (modal) */
.payment-summary { background: var(--gray-50); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.total-due {
    display: flex; justify-content: space-between; align-items: center;
    padding: .85rem 1rem; border-radius: 8px; margin-bottom: .75rem;
}
.total-due.has-due { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.total-due.all-clear { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.due-label { font-weight: 700; }
.due-amount { font-size: 1.5rem; font-weight: 800; }
.payment-months { display: flex; gap: .5rem; }
.payment-month {
    flex: 1; text-align: center; padding: .7rem .5rem;
    border-radius: 8px; border: 2px solid var(--gray-200);
}
.payment-month.paid { background: #dcfce7; border-color: #22c55e; }
.payment-month.unpaid { background: #fee2e2; border-color: #ef4444; }
.month-name { display: block; font-size: .8rem; color: var(--gray-600); margin-bottom: .2rem; font-weight: 600; }
.month-status { font-size: 1.4rem; }

/* Action Buttons (modal) */
.action-buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.action-buttons button {
    flex: 1; min-width: 130px; padding: .85rem 1.25rem;
    border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn-call { background: var(--blue-500); color: #fff; }
.btn-call:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59,130,246,.4); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,211,102,.4); }

/* ================================================================
   PAYMENTS PAGE
   ================================================================ */
.pay-section { margin-bottom: 2rem; }
.pay-card {
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
    overflow: hidden;
}
.main-pay { border: 2px solid var(--accent); }
.pay-card-body { padding: 1.5rem; }
.pay-form { max-width: 480px; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; color: var(--gray-700); margin-bottom: .3rem; font-size: .9rem; }
.form-control {
    width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--gray-300);
    border-radius: 8px; font-size: 16px; color: var(--gray-800);
    font-family: var(--font); transition: var(--transition);
    min-height: 44px; /* touch target */
    -webkit-appearance: none; appearance: none;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,186,90,.15); }
textarea.form-control { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.owner-info-box {
    background: var(--navy-50); border: 1px solid var(--navy-100);
    border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem;
}
.owner-info-box .info-row { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .9rem; }
.pay-note { font-size: .8rem; color: var(--gray-500); margin-top: .75rem; }

/* Bill Cards Grid */
.bills-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.bill-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border-radius: var(--radius-lg); padding: 1.5rem 1rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
    transition: var(--transition); color: var(--gray-800);
    -webkit-tap-highlight-color: transparent;
}
.bill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bill-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.bill-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.bill-card p { font-size: .8rem; color: var(--gray-500); margin-bottom: .75rem; }
.bill-link { font-size: .85rem; font-weight: 600; }

.bill-card.electricity { border-top: 3px solid #eab308; }
.bill-card.electricity .bill-icon { color: #eab308; }
.bill-card.electricity .bill-link { color: #eab308; }
.bill-card.water { border-top: 3px solid #06b6d4; }
.bill-card.water .bill-icon { color: #06b6d4; }
.bill-card.water .bill-link { color: #06b6d4; }
.bill-card.tax { border-top: 3px solid #8b5cf6; }
.bill-card.tax .bill-icon { color: #8b5cf6; }
.bill-card.tax .bill-link { color: #8b5cf6; }
.bill-card.gas { border-top: 3px solid #f97316; }
.bill-card.gas .bill-icon { color: #f97316; }
.bill-card.gas .bill-link { color: #f97316; }
.bill-card.broadband { border-top: 3px solid #3b82f6; }
.bill-card.broadband .bill-icon { color: #3b82f6; }
.bill-card.broadband .bill-link { color: #3b82f6; }
.bill-card.other { border-top: 3px solid var(--gray-400); }
.bill-card.other .bill-icon { color: var(--gray-400); }
.bill-card.other .bill-link { color: var(--gray-500); }

/* ================================================================
   SERVICES PAGE
   ================================================================ */
.services-nav-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem; margin-bottom: 2.5rem;
}
.svc-nav-item {
    display: flex; align-items: center; gap: .5rem;
    background: var(--navy-50); color: var(--navy-800);
    padding: .7rem 1rem; border-radius: 8px;
    font-weight: 600; font-size: .85rem;
    border: 1px solid var(--navy-100);
    transition: var(--transition);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.svc-nav-item:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.svc-section { margin-bottom: 3rem; scroll-margin-top: 80px; }
.svc-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 1.5rem; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.svc-card > p { color: var(--gray-600); margin-bottom: 1rem; }
.svc-form { margin-top: 1rem; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.checkbox-label { display: flex; align-items: center; gap: .4rem; font-size: .9rem; cursor: pointer; color: var(--gray-700); }
.checkbox-label input { accent-color: var(--accent); }

.listings-area { border-top: 1px solid var(--gray-200); margin-top: 1.5rem; padding-top: 1rem; }
.listings-area h3 { font-size: 1rem; color: var(--gray-700); margin-bottom: .5rem; }

/* Bye Laws */
.byelaws-card { max-height: none; }
.bylaw-item { padding: .85rem 0; border-bottom: 1px solid var(--gray-100); }
.bylaw-item:last-child { border-bottom: none; }
.bylaw-item h4 { font-size: .95rem; color: var(--navy-800); margin-bottom: .3rem; font-family: var(--font-heading); }
.bylaw-item p { font-size: .9rem; color: var(--gray-600); margin-bottom: 0; }

/* Amenities Grid */
.amenities-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.amenity-item {
    text-align: center; background: var(--navy-50); border-radius: var(--radius);
    padding: 1.5rem 1rem; border: 1px solid var(--navy-100);
    transition: var(--transition);
}
.amenity-item:hover { box-shadow: var(--shadow); }
.amenity-item i { font-size: 2rem; color: var(--accent); margin-bottom: .5rem; }
.amenity-item h4 { margin-bottom: .2rem; }
.amenity-item p { font-size: .8rem; color: var(--gray-600); margin-bottom: .5rem; }
.amenity-rate { font-weight: 700; color: var(--navy-700); font-size: .85rem; }

/* ================================================================
   CONTACTS PAGE
   ================================================================ */
.contacts-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.contact-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 1.5rem; text-align: center;
    box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-icon { font-size: 2rem; margin-bottom: .5rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-name { font-size: .85rem; color: var(--gray-500); margin-bottom: .5rem; }
.contact-phone {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; font-size: 1rem; color: var(--navy-700);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.contact-phone:hover { color: var(--accent); }

.contact-card.committee { border-top: 3px solid var(--navy-600); }
.contact-card.committee .contact-icon { color: var(--navy-600); }
.contact-card.emergency { border-top: 3px solid var(--red-500); }
.contact-card.emergency .contact-icon { color: var(--red-500); }
.contact-card.utility { border-top: 3px solid var(--accent); }
.contact-card.utility .contact-icon { color: var(--accent); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ---------- Tablet (≤768px) ---------- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--navy-800);
        padding: .5rem; box-shadow: 0 6px 16px rgba(0,0,0,.2);
        z-index: 999;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: .75rem 1rem; min-height: 48px; }
    .brand-sub { display: none; }

    .hero { padding: 5rem 1rem 4rem; }
    .hero h1 { font-size: 3.5rem; letter-spacing: 4px; }
    .hero-tagline { font-size: 1.1rem; }

    .action-bar { grid-template-columns: repeat(2, 1fr); }
    .action-btn { font-size: .85rem; letter-spacing: 2px; padding: 1rem .75rem; }

    .feature-row { grid-template-columns: 1fr; gap: 2rem; }
    .feature-row.reverse .feature-text { order: 0; }
    .feature-text h2 { font-size: 1.6rem; }
    .feature-icon-circle { width: 150px; height: 150px; font-size: 3rem; }

    .hero-banner { padding: 4rem 1rem; }
    .hero-banner.compact { padding: 3rem 1rem; }
    .hero-banner-content h2 { font-size: 2rem; }

    .events-circle-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .event-circle { width: 90px; height: 90px; }
    .event-circle .day { font-size: 1.5rem; }

    .links-row { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

    .two-col { grid-template-columns: 1fr; }
    .layout-defaulter-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }

    .detail-grid { grid-template-columns: 1fr; }
    .action-buttons { flex-direction: column; }
    .action-buttons button { width: 100%; min-height: 48px; }
    .modal-content { width: 96%; margin: 3vh auto; }

    .page-header { padding: 1.5rem 1rem; }
    .page-header h1 { font-size: 1.5rem; }

    .section-title { font-size: 1.3rem; }
    .notice-banner { font-size: .85rem; padding: .7rem .75rem; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-bottom { justify-content: center; text-align: center; }

    .map-page-container { padding: 1rem; }
    .map-page-container.map-fullscreen { padding: .5rem .75rem; height: calc(100vh - 56px); }

    .payment-months { flex-wrap: wrap; }
    .payment-month { min-width: calc(33% - .5rem); }

    .toggle-group { grid-template-columns: 1fr; }
}

/* ---------- Phone (≤480px) ---------- */
@media (max-width: 480px) {
    .hero { padding: 4rem .75rem 3rem; }
    .hero h1 { font-size: 2.5rem; letter-spacing: 3px; }
    .hero-tagline { font-size: .95rem; }

    .action-bar { grid-template-columns: 1fr 1fr; }
    .action-btn { font-size: .75rem; letter-spacing: 1.5px; padding: .85rem .5rem; min-height: 48px; }

    .feature-section { padding: 2.5rem 0; }
    .feature-text h2 { font-size: 1.4rem; }
    .feature-text p { font-size: .95rem; }
    .feature-icon-circle { width: 120px; height: 120px; font-size: 2.5rem; }

    .hero-banner { padding: 3rem .75rem; }
    .hero-banner-content h2 { font-size: 1.6rem; }
    .amount-buttons { gap: .5rem; }
    .amount-btn { padding: .5rem 1rem; font-size: .85rem; }

    .events-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .event-circle { width: 80px; height: 80px; }
    .event-circle .day { font-size: 1.3rem; }
    .event-circle-item h4 { font-size: .85rem; }
    .event-link { font-size: .7rem; }

    .links-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .link-icon { width: 55px; height: 55px; font-size: 1.3rem; }
    .link-item span { font-size: .8rem; }

    .touch-form { padding: 1.25rem; }

    .section { padding: 2rem 0; }
    .container { padding: 0 .75rem; }

    .section-title { font-size: 1.15rem; }

    .quick-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .quick-card { padding: 1rem .75rem; }
    .quick-icon { font-size: 1.6rem; }
    .quick-card h3 { font-size: .9rem; }

    .notice-item h4 { font-size: .9rem; }
    .notice-item p { font-size: .8rem; }

    .card-header { padding: .75rem 1rem; }
    .card-header h2 { font-size: 1rem; }

    .bills-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .bill-card { padding: 1rem .75rem; }
    .bill-icon { font-size: 1.8rem; }

    .services-nav-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .svc-nav-item { font-size: .8rem; padding: .6rem .75rem; }

    .svc-card { padding: 1rem; }
    .svc-card > p { font-size: .9rem; }

    .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .amenity-item { padding: 1rem .75rem; }

    .contacts-grid { grid-template-columns: 1fr; }

    .map-page-container { padding: .5rem; }
    .map-page-container.map-fullscreen { padding: .25rem .5rem; height: calc(100vh - 52px); }
    .map-legend { gap: .75rem; font-size: .8rem; margin-bottom: .75rem; }

    .pay-card-body { padding: 1rem; }
    .owner-info-box { padding: .75rem; }

    .footer { padding: 2rem 0 1rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .footer-col h4 { font-size: .95rem; }
    .footer-bottom { font-size: .75rem; }

    .detail-header { padding: 1rem; margin: -1rem -1rem 1rem; }
    .detail-header h2 { font-size: 1.3rem; }
    #modalBody { padding: 1rem; }
    .detail-item .value { font-size: 1rem; }
    .total-due { padding: .65rem .75rem; }
    .due-amount { font-size: 1.2rem; }

    .checkbox-group { gap: .5rem; }
    .checkbox-label { font-size: .85rem; }
}

/* ---------- Small Phone (≤360px) ---------- */
@media (max-width: 360px) {
    .hero h1 { font-size: 2rem; letter-spacing: 2px; }
    .brand-name { font-size: 1.1rem; }
    .nav-logo { width: 36px; height: 36px; }

    .action-bar { grid-template-columns: 1fr 1fr; }
    .action-btn { font-size: .65rem; letter-spacing: 1px; padding: .75rem .4rem; }

    .events-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .event-circle { width: 70px; height: 70px; }
    .event-circle .day { font-size: 1.1rem; }

    .quick-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .quick-card { padding: .75rem .5rem; }
    .quick-icon { font-size: 1.3rem; margin-bottom: .3rem; }
    .quick-card h3 { font-size: .8rem; }
    .quick-card p { font-size: .7rem; }
    .bills-grid { grid-template-columns: 1fr; }
    .services-nav-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.05rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Landscape on small devices ---------- */
@media (max-height: 600px) and (orientation: landscape) {
    .modal-content { margin: 2% auto; max-height: 96vh; }
    .hero { padding: 2.5rem .75rem 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .page-header { padding: 1rem; }
}

/* ---------- Touch device adjustments ---------- */
@media (hover: none) and (pointer: coarse) {
    .plot-hotspot { min-width: 28px; min-height: 28px; }
    .quick-card:hover, .bill-card:hover, .contact-card:hover,
    .svc-nav-item:hover, .event-card:hover, .amenity-item:hover,
    .event-circle:hover, .link-item:hover {
        transform: none; /* disable hover lift on touch */
    }
    .quick-card:active, .bill-card:active, .contact-card:active,
    .svc-nav-item:active, .amenity-item:active {
        transform: scale(.97); /* press feedback instead */
    }
    .btn-primary:hover, .btn-outline:hover { transform: none; }
    .btn-primary:active, .btn-outline:active { transform: scale(.97); }
}
