:root{
  --bg-0: #fff9f0; /* Soft cream background */
  --bg-1: #fef5e8; /* Slightly darker cream */
  --muted: #000000; /* Pure black */
  --primary: #0b8a2a; /* Deep green */
  --accent-red: #d32f2f; /* Strong red */
  --accent-red-600: #b71c1c;
  --primary-600: #088620;
  --glass: rgba(0,0,0,0.02);
  --glass-2: rgba(0,0,0,0.01);
  --modal-bg: rgba(255,255,255,0.99);
  --panel-bg: rgba(255,255,255,0.99);
  --modal-text: #000000;
  --card-pink: #f8e8eb;
  --card-blue: #e8f4ff;
  --card-green: #e8f5e9;
}

/* Reset & base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto;color:#000000;background:linear-gradient(180deg,#fff9f0 0%, #fef5e8 100%);-webkit-font-smoothing:antialiased;font-weight:500}
/* constrain images globally to avoid accidental oversized images */
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:1280px;margin:0 auto;padding:28px 28px}

/* optional inner content width to preserve readability */
.content-inner{max-width:1320px;margin:0 auto}

/* slightly reduce backdrop intensity for cleaner look */
.backdrop{opacity:0.9}

/* Backdrop decorative layer */
.backdrop{position:fixed;inset:0;z-index:-2;background:
  radial-gradient(ellipse at 10% 18%, rgba(11,138,42,0.01) 0%, transparent 12%),
  radial-gradient(ellipse at 92% 78%, rgba(11,138,42,0.01) 0%, transparent 18%),
  linear-gradient(120deg,#fff9f0 0%, #fef5e8 100%);
  filter:saturate(0.98)}
.backdrop::after{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(transparent 50%, rgba(0,0,0,0.01) 50%);background-size:100% 4px;opacity:0.01}

/* Glass base */
.glass{background:linear-gradient(180deg, #ffffff, #f9f9f9);border:1px solid rgba(0,0,0,0.12);backdrop-filter:blur(8px) saturate(110%);-webkit-backdrop-filter:blur(8px) saturate(110%);border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.08);padding:18px;color:var(--muted)}
.glass-sm{background:linear-gradient(180deg, #ffffff, #f9f9f9);border:1px solid rgba(0,0,0,0.10);backdrop-filter:blur(6px);border-radius:10px;padding:12px;box-shadow:0 1px 4px rgba(0,0,0,0.06)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;padding:14px 0;background:linear-gradient(180deg, rgba(255,249,240,0.98), rgba(254,245,232,0.96));border-bottom:1px solid rgba(0,0,0,0.10)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:64px;height:64px;border-radius:12px;object-fit:cover;box-shadow:0 2px 6px rgba(0,0,0,0.08);border:1px solid rgba(0,0,0,0.08)}
.brand-text h1{margin:0;font-size:20px;color:var(--primary);letter-spacing:0.6px;font-weight:800}
.brand-text .tag{margin:0;color:#666;font-size:12px;font-weight:500}

/* navigation */
.nav-list{display:flex;gap:10px;list-style:none;margin:0;padding:0}
.nav-list a{padding:8px 10px;border-radius:10px;color:#000000;font-weight:700}
.nav-list a:hover{background:rgba(11,138,42,0.08);transform:translateY(-1px);transition:all .15s ease}
#nav-toggle{display:none;background:none;border:none;color:var(--primary);font-size:20px}

/* HERO */
.hero{display:flex;gap:20px;align-items:stretch;margin:28px 0}
.hero-left{flex:1;display:flex;flex-direction:column;justify-content:center;gap:12px}
.hero-right{width:320px;display:flex;flex-direction:column;gap:12px}
.hero h2{margin:0;font-size:32px;color:#000000;line-height:1.05;font-weight:900}
.accent{color:var(--primary);text-shadow:none;font-weight:800}
.lead{margin:0;color:#000000;font-weight:600;font-size:1.05em;line-height:1.6}
.hero-cta{display:flex;gap:12px;margin-top:8px}

/* subtle utilities */
.muted { color: var(--muted); }


/* Buttons */
.btn{display:inline-block;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer}
.btn-primary{background:linear-gradient(90deg,var(--primary),var(--primary-600));color:#fff;box-shadow:0 4px 12px rgba(11,138,42,0.2);border:none}
.btn-ghost{background:transparent;border:1px solid rgba(0,0,0,0.2);color:#1a1a1a}

/* danger / attention */
.btn-danger{background:linear-gradient(90deg,var(--accent-red),var(--accent-red-600));color:#fff;border:none;box-shadow:0 4px 12px rgba(211,47,47,0.2)}

/* accent button for stats */
.btn-accent{background:linear-gradient(90deg,#4caf50,var(--primary));color:#fff;border:none;box-shadow:0 4px 12px rgba(11,138,42,0.15)}

/* outlined button (used for external links) */
.btn-outline{background:transparent;border:2px solid var(--primary);color:var(--primary);padding:9px 12px;border-radius:10px;font-weight:700}
.btn-outline:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(11,138,42,0.15);}

/* small button variant */
.btn.small, .btn.smallish{padding:8px 10px;font-size:13px;border-radius:8px}

/* subtle pulse to draw attention (used sparingly) */
.pulse{animation:pulse 2200ms infinite ease-in-out}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(199,227,74,0.0)}50%{box-shadow:0 8px 30px 6px rgba(199,227,74,0.03)}100%{box-shadow:0 0 0 0 rgba(199,227,74,0)}}

/* modal embed iframe */
.embed-frame{width:100%;height:70vh;border:0;border-radius:8px;background:#fff}
.embed-fallback{padding:18px;color:var(--modal-text);display:flex;flex-direction:column;gap:12px}
.embed-actions{display:flex;gap:8px;align-items:center}

/* ensure acc-info shows svg and hide accidental text fallback (single-letter 'i') */
.acc-info{font-size:0;line-height:0;padding:0}
.acc-info svg{width:100%;height:100%;display:block}

/* hide tiny single-letter info markers that may be present in legacy markup */
.small-info-text{font-size:0 !important;opacity:0 !important}

/* Hide any acc-info elements entirely (user requested removing the small 'i' icons) */
.acc-info{display:none !important}

/* Pricing controls */
.pricing-controls{display:flex;align-items:center;gap:10px;margin:10px 0 6px 0}
.pricing-controls input[type="search"]{flex:1;min-width:220px;padding:10px 12px;border-radius:10px;border:1px solid rgba(0,0,0,0.2);background:#fff;color:#1a1a1a}
.pricing-actions{display:flex;gap:8px}

@media(max-width:880px){
  .pricing-controls{flex-direction:column;align-items:stretch}
  .pricing-actions{justify-content:flex-start}
}


/* Stats panel inside modal */
.qr-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:12px}
.qr-card .qr-title{font-weight:700;color:var(--primary);font-size:13px}
.qr-img{width:140px;max-width:100%;height:auto;object-fit:contain;border-radius:6px;border:1px solid rgba(0,0,0,0.1);background:#fff}
.qr-actions{display:flex;gap:8px;align-items:center}
.qr-card.contact-qr{max-width:240px;margin-left:auto}

@media(max-width:880px){
  .qr-img{width:120px;height:120px}
  .qr-card.contact-qr{max-width:100%;margin-left:0}
}

/* contact grid: info + QR side-by-side */
.contact-grid{display:flex;gap:18px;align-items:center;justify-content:space-between}
@media(max-width:880px){.contact-grid{flex-direction:column;gap:12px}}

/* small visual tweak for hero QR to match hero-right width */
.hero-right .qr-card{width:100%;box-sizing:border-box}

/* Sort select & filter */
.sort-select{background:#fff;border:1px solid rgba(0,0,0,0.2);color:#1a1a1a;padding:9px 10px;border-radius:8px}
.filter-input{width:140px;padding:9px 10px;border-radius:8px;border:1px solid rgba(0,0,0,0.2);background:#fff;color:#1a1a1a}

/* highlight for search matches */
.match-highlight{background:rgba(11,138,42,0.2);padding:0 4px;border-radius:4px;color:#0b8a2a;font-weight:600}

/* theme light-mode override (simple) */
.light-mode{ --bg-0:#eeeeee; --bg-1:#e8e8e8; --muted:#000000; --primary:#0b8a2a; --modal-text:#000000; }
.light-mode body{background:linear-gradient(180deg,#eeeeee 0%, #e8e8e8 100%); color:#000000;font-weight:600}

/* Theme toggle small styling */
#theme-toggle{margin-left:12px}

/* Additional light-mode readability fixes */
.light-mode .acc-head h4,
.light-mode .price-card h4,
.light-mode .hero h2,
.light-mode .brand-text h1{
  color: #000000 !important;
  font-weight:900 !important;
}

.light-mode .acc-head span{background:rgba(11,138,42,0.15); color:var(--primary);}

.light-mode .match-highlight{background:rgba(11,138,42,0.2);padding:0 4px;border-radius:4px;color:#0b8a2a;font-weight:700}

.light-mode .pricing-controls input[type="search"],
.light-mode .sort-select,
.light-mode .filter-input,
.light-mode .qr-card,
.light-mode .qr-img{background:#ffffff;border:1px solid rgba(0,0,0,0.2);color:#000000}

.light-mode input::placeholder, .light-mode textarea::placeholder{color:#333;opacity:1}

.light-mode .btn-ghost{color:#000000;border-color:rgba(0,0,0,0.3)}
.light-mode .btn-outline{color:var(--primary);border-color:var(--primary)}

/* Ensure accordion bodies and tables use readable text in light mode */
.light-mode .acc-body, .light-mode .price-table td, .light-mode .price-table th, .light-mode .rules-list li{color:#000000;font-weight:600}

/* Slightly stronger separation for panels in light mode */
.light-mode .glass, .light-mode .glass-sm, .light-mode .modal, .light-mode .side-panel{background:linear-gradient(180deg, #ffffff, #f5f5f5);border:1px solid rgba(0,0,0,0.15);box-shadow:0 4px 12px rgba(0,0,0,0.12)}

/* Floating Action Button */
.fab{position:fixed;right:18px;bottom:100px;z-index:240;display:flex;flex-direction:column;align-items:end;gap:8px}
.fab-btn{width:56px;height:56px;border-radius:12px;background:linear-gradient(90deg,var(--primary),var(--primary-600));border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:6px}
.fab-img{width:36px;height:36px;object-fit:contain;border-radius:6px}
.fab-actions{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.fab .btn{white-space:nowrap}
.fab .hidden{display:none}

/* toast message */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:28px;background:rgba(0,0,0,0.72);color:#fff;padding:10px 14px;border-radius:10px;z-index:260}

/* subtle improvement for footer note readability */
.footer-note{color:#000000;font-size:14px;font-weight:600;line-height:1.6}

/* Hotline floating button */
.hotline-btn{position:fixed;right:18px;bottom:170px;z-index:245;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--primary-600));color:#fff;text-decoration:none;box-shadow:0 4px 12px rgba(11,138,42,0.2);font-weight:800}
.hotline-btn .hotline-icon{font-size:18px;display:inline-block}
.hotline-btn .hotline-label{display:inline-block;font-size:13px}
.hotline-btn:active{transform:translateY(1px)}

/* Keep hotline compact on small screens and stack with FAB */
@media(max-width:520px){
  .hotline-btn{right:16px;bottom:140px;padding:10px;border-radius:12px}
  .fab{right:16px;bottom:72px}
  .hotline-btn .hotline-label{display:none}
  .fab .fab-img{width:32px;height:32px}
}

@media(max-width:360px){
  .hotline-btn{right:12px;bottom:120px}
  .fab{right:12px;bottom:62px}
}

.stats-panel{display:flex;flex-direction:column;gap:12px}
.stats-panel .tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.stats-panel .tools .small{padding:8px 10px;font-size:14px;font-weight:700}
.stats-panel .summary{display:block;color:#000000;font-weight:600}
.stats-table{width:100%;border-collapse:collapse;margin-top:6px}
.stats-table th,.stats-table td{padding:12px 8px;border-bottom:1px solid rgba(0,0,0,0.2);text-align:left;color:#000000;font-weight:600}
.stats-table thead th{color:#0b8a2a;font-weight:900;background:rgba(11,138,42,0.1);font-size:14px}
.stats-table tbody tr:hover{background:rgba(11,138,42,0.08)}
.stats-table td.numeric{text-align:right;color:var(--primary);font-weight:900}

/* compact mode for tighter export view */
.compact .glass, .compact .glass-sm, .compact .modal, .compact .side-panel{padding:8px;border-radius:8px}
.compact body, .compact .modal-content{font-size:13px}

/* clickable phone links in contact area */
.contact-phone{color:var(--primary);font-weight:700;text-decoration:underline;cursor:pointer}
.contact-phone:hover{opacity:0.95}



/* feature */
.feature{color:#000000;font-weight:600}
.feature p{margin:6px 0 0 0;color:#000000;font-weight:600;line-height:1.5}

/* CONTENT */
main.container{padding-bottom:60px}
section.card{margin-bottom:18px}
h3.section-title{margin:0 0 8px 0;color:var(--primary);font-size:20px;font-weight:900}
p.note{color:var(--primary);font-weight:800}

/* PRICING */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:14px}
.price-card{background:#ffffff;border:2px solid var(--primary);border-radius:8px;padding:14px}
.price-card h4{margin:0 0 8px 0;color:#000000;font-size:17px;font-weight:900}
.price-table{width:100%;border-collapse:collapse;color:#000000}
.price-table th,.price-table td{padding:12px 8px;border-bottom:1px solid rgba(0,0,0,0.1);text-align:left;font-size:15px;font-weight:600}
.price-table thead th{color:#ffffff;font-weight:900;font-size:14px;background:var(--primary)}
.price-table td:nth-child(2){color:var(--primary);font-weight:900;font-size:1.05em}

/* table row hover */
.price-table tbody tr:hover{background:rgba(11,138,42,0.04);transform:translateY(-1px);transition:all .14s ease}


/* ACCORDION */
.accordion{margin-top:12px}
.acc-item{margin-bottom:8px;border-radius:10px;overflow:hidden;border:1px solid rgba(0,0,0,0.1)}
.acc-head{background:var(--primary);padding:14px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-bottom:1px solid rgba(0,0,0,0.08)}
.acc-head h4{margin:0;color:#ffffff;font-size:16px;font-weight:800}
.acc-head:hover{background:rgba(11,138,42,0.9)}

/* smooth accordion: animate max-height rather than toggling display */
.acc-body{max-height:0;overflow:hidden;padding:0 14px;transition:max-height .32s cubic-bezier(.2,.9,.2,1),padding .18s linear;background:#f9f9f9;color:#000000;font-weight:600}
.acc-body.open{padding:14px;max-height:1400px}

/* +/- indicator style */
.acc-head span{display:inline-block;width:26px;height:26px;border-radius:6px;background:rgba(11,138,42,0.12);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:900}

.rules-list li{margin:8px 0;color:#000000;font-weight:600;line-height:1.6}

.violations th,.violations td{padding:12px;border:1px solid rgba(0,0,0,0.1);font-size:15px;font-weight:600}
.violations thead th{background:var(--accent-red);font-weight:900;color:#ffffff}

/* Rules section styling */
.rules-section .rules-grid{display:grid;grid-template-columns:280px 1fr;gap:18px;align-items:start}
.rules-section .rules-summary{padding:14px}
.rules-section .rules-items{padding:6px}
.rules-section .rules-list{counter-reset:rule;list-style:none;padding-left:0;margin:0}
.rules-section .rules-list li{background:linear-gradient(180deg,#ffffff,#fbfbfb);border:1px solid rgba(0,0,0,0.04);padding:10px 12px;border-radius:8px;margin-bottom:10px;font-weight:600;color:#111}
.rules-section .rules-list li::marker, .rules-section .rules-list li::before{content:none}
.rules-section .rules-list li::before{counter-increment:rule;content:counter(rule) ". ";display:inline-block;width:28px;height:28px;border-radius:6px;background:var(--primary);color:#fff;font-weight:900;text-align:center;margin-right:10px;line-height:28px}
.rules-section .rules-summary .btn{width:100%;text-align:center}

@media (max-width:880px){
  .rules-section .rules-grid{grid-template-columns:1fr}
  .rules-section .rules-summary{order:2}
  .rules-section .rules-items{order:1}
}
/* highlight important cells (use red for penalties) */
.violations td:nth-child(3){color:var(--accent-red);font-weight:900}

/* accessibility: focus states */
.nav-list a:focus, .btn:focus, .acc-head:focus{outline:3px solid rgba(11,138,42,0.3);outline-offset:3px}

/* small smoothing for common elements */
button, a.btn{transition:transform .12s ease, box-shadow .12s ease}

.contact .footer-note{color:#000000;margin-top:8px;font-weight:600;line-height:1.6}

/* responsive */
@media(max-width:880px){
  .hero{flex-direction:column}
  .hero-right{width:100%;flex-direction:row;flex-wrap:wrap}
  .hero-right .feature{flex:1 1 48%}
  #nav-toggle{display:block}
  .nav-list{display:none;position:fixed;right:12px;top:70px;background:rgba(255,255,255,0.99);padding:12px;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,0.15);flex-direction:column;gap:6px;z-index:260;max-width:86vw;border:1px solid rgba(0,0,0,0.15)}
  .nav-list.show{display:flex}
}
@media(max-width:520px){
  .price-table thead{display:none}
  .price-table tr{display:block;margin-bottom:12px;border-radius:8px;background:rgba(255,255,255,0.01);padding:10px}
  .price-table td{display:flex;justify-content:space-between;padding:6px 0;border-bottom:none}
  .price-table td:before{content:attr(data-label) ": ";font-weight:700;color:rgba(200,220,240,0.7);margin-right:8px}
}

/* stronger mobile optimizations */
@media (max-width:880px){
  /* make nav items full-width and easier to tap */
  .nav-list a{display:block;padding:12px 14px;border-radius:8px}
  .brand-text h1{font-size:18px}
  .logo{width:56px;height:56px}
  .hero-right{order:2}
  .hero-left{order:1}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .pricing-controls{gap:10px}
  .pricing-controls input[type="search"]{padding:12px}
  .pricing-actions .btn{padding:10px 12px}
  .acc-head{padding:10px}
  .acc-head h4{font-size:14px}
  .acc-body{padding:10px}
  .side-panel{display:none}
}

@media (max-width:520px){
  /* make accordions and tables touch-friendly */
  .acc-head span{width:34px;height:34px;border-radius:8px}
  .price-table td{font-size:14px}
  .price-card h4{font-size:15px}
  /* reduce large shadows to keep layout light */
  .glass, .glass-sm{box-shadow:none;border:1px solid rgba(255,255,255,0.03)}
  /* FAB and hotline spacing to avoid overlapping bottom UI */
  .fab{right:12px;bottom:88px}
  .hotline-btn{right:12px;bottom:150px}
  /* ensure the footer isn't blocked by fixed UI */
  main.container{padding-bottom:160px}
}

@media (max-width:360px){
  .nav-list{top:64px;right:8px;max-width:92vw}
  .hero h2{font-size:17px}
  .hero-cta .btn{padding:10px}
}

/* make long headings wrap nicely rather than pushing layout */
.acc-head h4{word-break:break-word;white-space:normal}

/* improve tap targets */
.btn, .fab-btn, .hotline-btn{touch-action:manipulation}

/* ensure modal & side panel are usable on small screens */
.modal{width:95%;max-height:86vh}
.side-panel{width:92%;right:4%;top:72px}

/* smooth scroll behavior */
html { scroll-behavior: smooth; }

/* back to top */
.back-to-top{position:fixed;right:22px;bottom:26px;width:44px;height:44px;border-radius:10px;background:linear-gradient(180deg,var(--primary),var(--primary-600));color:#fff;border:none;box-shadow:0 4px 12px rgba(11,138,42,0.2);z-index:120;display:flex;align-items:center;justify-content:center;font-weight:800;cursor:pointer}
.back-to-top.hidden{display:none}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(11,138,42,0.25)}

/* active nav link */
.nav-list a.active{background:linear-gradient(90deg, rgba(11,138,42,0.1), rgba(11,138,42,0.05));color:var(--primary);box-shadow:inset 0 -2px 0 var(--primary)}

/* Overlay, Modal and Side-panel styles */
.hidden{display:none}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,0.4);backdrop-filter:blur(3px);z-index:120}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.98);width:min(980px,94%);max-height:86vh;overflow:auto;background:linear-gradient(180deg,#ffffff, #f9f9f9);border-radius:14px;border:1px solid rgba(0,0,0,0.08);box-shadow:0 10px 40px rgba(0,0,0,0.15);z-index:130;padding:18px;transition:transform .18s ease,opacity .18s ease}
.modal.hidden{opacity:0;pointer-events:none}
.modal:not(.hidden){opacity:1;transform:translate(-50%,-50%) scale(1)}
.modal-close{position:absolute;right:12px;top:8px;background:transparent;border:0;color:#000000;font-size:22px;padding:6px;border-radius:8px;cursor:pointer}
.modal-body{padding:12px 6px 18px}
.modal-content{color:#000000;font-weight:600}

/* When modal is open, hide floating UI to avoid obstruction on small screens */
body.modal-open .fab,
body.modal-open .hotline-btn,
body.modal-open .back-to-top { display: none !important; }

/* Improve modal table responsiveness for narrow portrait screens */
@media (max-width:520px) {
  .modal { width: calc(100% - 24px); left: 50%; top: 50%; transform: translate(-50%,-50%); }
  .modal .modal-content table,
  .modal .modal-content thead,
  .modal .modal-content tbody,
  .modal .modal-content tr,
  .modal .modal-content th,
  .modal .modal-content td { display: block; width: 100%; }
  .modal .modal-content thead { display: none; }
  .modal .modal-content tr { margin-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .modal .modal-content td { padding: 8px 6px; border-bottom: none; }
  .modal .modal-content td:first-child { font-weight:700; color:var(--primary); }
}

.side-panel{position:fixed;right:20px;top:70px;width:360px;max-width:92%;height:calc(100vh - 120px);background:linear-gradient(180deg,#ffffff, #f9f9f9);border-radius:12px;border:1px solid rgba(0,0,0,0.1);box-shadow:0 20px 60px rgba(0,0,0,0.15);z-index:125;display:flex;flex-direction:column;transform:translateX(10px);transition:transform .22s cubic-bezier(.2,.9,.2,1),opacity .18s ease;overflow:auto}
.side-panel.hidden{opacity:0;pointer-events:none;transform:translateX(12px)}
.side-header{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid rgba(0,0,0,0.1)}
.side-close{background:transparent;border:0;color:#000000;font-size:20px;padding:6px;border-radius:8px;cursor:pointer}
.side-content{padding:12px;color:#000000;overflow:auto;font-weight:600}
.side-actions{display:flex;gap:8px;align-items:center}
.side-zoom{margin-left:6px}

@media(max-width:880px){
  .side-panel{right:12px;top:84px;width:320px}
}

/* Additional mobile polish: make controls and layout friendlier on phones */
@media (max-width:880px){
  .container{padding:20px}
  .hero h2{font-size:24px}
  .hero-cta .btn{flex:1 1 auto}
  .pricing-controls input[type="search"], .sort-select, .filter-input{width:100%;min-width:0}
  .pricing-actions{justify-content:flex-start;flex-wrap:wrap}
  .acc-head h4{font-size:14px}
  .price-table th,.price-table td{font-size:13px}
  .fab-btn{width:64px;height:64px}
  .hotline-btn{padding:12px 14px}
}

@media (max-width:520px){
  .container{padding:12px}
  .hero{gap:12px}
  .hero h2{font-size:20px}
  .hero-right{order:2;width:100%}
  .hero-left{order:1}
  .hero-cta{flex-direction:column}
  .hero-cta .btn{width:100%}
  .qr-img{max-width:220px}
  .pricing-controls{gap:8px}
  .pricing-controls input[type="search"]{padding:10px}
  .fab{right:12px;bottom:72px}
  .hotline-btn{right:12px;bottom:140px}
  .nav-list{right:12px;top:72px}
}

/* Edit Mode Styles */
html.edit-mode {
  --editable-highlight: rgba(199, 227, 74, 0.15);
  --editable-border: rgba(199, 227, 74, 0.5);
}

html.edit-mode [data-editable] {
  position: relative;
  background: var(--editable-highlight);
  border: 1px dashed var(--editable-border);
  border-radius: 4px;
  padding: 2px 6px;
  cursor: text;
  transition: all 0.2s ease;
}

html.edit-mode [data-editable]:hover {
  background: rgba(199, 227, 74, 0.25);
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(199, 227, 74, 0.2);
}

html.edit-mode [data-editable].editing {
  background: rgba(199, 227, 74, 0.1);
  border: 2px solid var(--primary);
  outline: none;
  box-shadow: 0 0 12px rgba(199, 227, 74, 0.3);
  padding: 4px 8px;
}

html.edit-mode [data-editable].saved-pulse {
  animation: saved-pulse 0.6s ease-out;
}

html [data-editable].content-updated {
  animation: content-updated 0.8s ease-out;
}

@keyframes saved-pulse {
  0% {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4caf50;
  }
  100% {
    background: var(--editable-highlight);
    border-color: var(--editable-border);
  }
}

@keyframes content-updated {
  0% {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
  }
  100% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
}

.admin-login-form {
  max-width: 400px;
  margin: 0 auto;
}

.admin-login-form input {
  box-sizing: border-box;
}

.editable-element {
  transition: all 0.15s ease;
}

/* very small devices */
@media (max-width:360px){
  .hero h2{font-size:18px}
  .qr-img{max-width:180px}
  .fab-btn{width:58px;height:58px}
}

/* Payment contact small styles */
.payment-list .payment-item .btn{padding:8px 10px}
.payment-list .payment-item .copy-phone{border-color:rgba(0,0,0,0.12)}
.payment-list .payment-item{padding:10px;border-radius:8px;border:1px solid rgba(0,0,0,0.04);background:linear-gradient(180deg,#fff,#fbfbfb)}
.payment-list .payment-item div{min-width:0}
.payment-list .payment-item a{white-space:nowrap}

/* Extra mobile polish for small phones: tighten layout and improve tap targets */
@media (max-width:480px){
  /* Reduce container padding so content fits without horizontal scroll */
  .container{padding:10px}

  /* Header: reduce height and avoid covering content -- add top padding on main */
  .site-header{padding:8px 0}
  .header-inner{padding:0 10px}
  .brand-text h1{font-size:16px}
  main.content-inner{padding-top:82px}

  /* Hero: stack and make CTA buttons larger and comfortable to tap */
  .hero{gap:10px;padding:6px 0}
  .hero-left{padding:6px}
  .hero-right{display:block;width:100%;padding:6px}
  .hero-right .feature{flex-basis:100%;margin-bottom:8px}
  .hero-cta{display:flex;flex-direction:column;gap:8px}
  .hero-cta .btn{width:100%;padding:12px;border-radius:10px;font-size:15px}

  /* QR card: center and reduce size */
  .qr-card{padding:10px}
  .qr-img{width:120px;height:auto}

  /* Navigation: make toggle visible and nav panel full screen overlay */
  #nav-toggle{display:block}
  .nav-list{display:none}
  .nav-list.show{display:flex;position:fixed;inset:64px 12px auto 12px;padding:12px;border-radius:10px;flex-direction:column;background:linear-gradient(180deg,#fff,#f9f9f9);max-height:calc(100vh - 120px);overflow:auto}
  .nav-list a{padding:14px 12px;font-size:16px}

  /* Pricing and routes: ensure cards stack and values align nicely */
  .price-grid{grid-template-columns:1fr}
  .price-card{padding:12px}
  .price-table thead{display:none}
  .price-table tr{display:flex;flex-direction:column;margin-bottom:10px;border-radius:8px;background:transparent;padding:6px}
  .price-table td{display:flex;justify-content:space-between;align-items:center;padding:10px 6px;border-bottom:none;font-size:15px;white-space:normal}
  .price-table td:last-child{justify-content:flex-end}
  .price-table td strong, .price-table td b{font-weight:900;color:var(--primary)}

  /* Accordion and lists: increase spacing and tap target */
  .acc-head{padding:12px}
  .acc-body{padding:12px}

  /* Floating UI: shrink and reposition to avoid covering text */
  .fab{right:10px;bottom:110px}
  .fab-btn{width:48px;height:48px;border-radius:10px}
  .hotline-btn{right:10px;bottom:170px;padding:8px 10px}

  /* If screen is very small, hide secondary floating action to avoid obstruction */
  @media (max-width:380px){
    .fab .fab-actions{display:none}
    .hotline-btn{display:none}
  }

  /* Ensure hero heading doesn't overflow */
  .hero h2{font-size:20px;line-height:1.15}

  /* Reduce large shadows and heavy borders for performance */
  .glass, .glass-sm{box-shadow:none}
}

/* Portrait-focused squeezing for very tall/narrow screens (16:9 portrait) */
@media (max-width:420px){
  html,body{font-size:14px}
  .container{padding-left:8px;padding-right:8px}

  /* Further tighten hero and header */
  .site-header{padding:6px 0}
  .header-inner{gap:8px}
  .brand-text h1{font-size:15px}
  .brand-text .tag{font-size:11px}
  .hero h2{font-size:18px}
  .lead{font-size:14px}

  /* Make CTA compact and stacked; reduce margins so more content visible vertically */
  .hero-cta{gap:6px;margin-top:6px}
  .hero-cta .btn{padding:10px;font-size:14px}

  /* Compress price blocks so each item uses less vertical space and wraps cleanly */
  .price-card{padding:10px}
  .price-table td{padding:8px 6px;font-size:14px}
  .price-table tr{margin-bottom:8px}

  /* Prevent long price text from overflowing by breaking words and wrapping numbers */
  .price-table td, .price-card, .feature p{word-break:break-word;white-space:normal}

  /* Push floating UI slightly up to avoid covering bottom content */
  .fab{bottom:120px}
  .hotline-btn{bottom:180px}
}

@media (max-width:360px){
  html,body{font-size:13px}
  .hero h2{font-size:16px}
  .lead{font-size:13px}
  .price-table td{font-size:13px;padding:7px 6px}
  .brand-text h1{font-size:14px}
  .qr-img{width:100px}
}
