:root {
    --navy: #0f1c2e;
    --navy-mid: #1a2b44;
    --charcoal: #1c1c1c;
    --saffron: #e8781a;
    --saffron-dark: #c46212;
    --ink: #1f2a37;
    --muted: #5c6570;
    --paper: #f5f6f8;
    --white: #ffffff;
    --line: #e4e7ec;
    --shadow: 0 10px 28px rgba(15, 28, 46, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
body.web-body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.55;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
.web-topbar {
    background: var(--navy);
    color: #d7deea;
    font-size: 13px;
    padding: 7px 0;
}
.web-topbar a { color: #fff; text-decoration: none; }
.web-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1040;
}
.web-brand {
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: .2px;
    max-width: min(62vw, 360px);
    line-height: 1.15;
}
.web-brand span { color: var(--navy); }
.web-crumbs { background: var(--white); border-bottom: 1px solid var(--line); font-size: 13px; }
.web-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 0; }
.web-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.web-crumbs a { color: var(--muted); text-decoration: none; }
.web-crumbs a:hover { color: var(--saffron); }
.web-nav .nav-link {
    color: var(--ink);
    text-decoration: none;
    padding: 8px 11px;
    font-weight: 650;
    font-size: 14px;
    border-radius: 8px;
}
.web-nav .nav-link:hover, .web-nav .nav-link.active { color: var(--saffron); background: #fff4ea; }
.admin-icon {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
}
.admin-icon:hover { border-color: var(--saffron); color: var(--saffron); }
.web-header .navbar-toggler { border: 1px solid var(--line); padding: 4px 8px; }
.web-header .navbar-toggler-icon {
    width: 1.3em; height: 1.3em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,28,46,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-saffron { background: var(--saffron); color: #fff; border: none; border-radius: 10px; font-weight: 650; padding: .55rem 1.1rem; }
.btn-saffron:hover { background: var(--saffron-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: none; border-radius: 10px; font-weight: 650; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-ghost { border: 1px solid #fff; color: #fff; border-radius: 10px; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-wa { background: #1fa855; color: #fff; border: none; border-radius: 10px; }
.btn-wa:hover { background: #188f47; color: #fff; }

.hero {
    min-height: 70vh;
    background: linear-gradient(125deg, rgba(15,28,46,.88), rgba(15,28,46,.55) 55%, rgba(232,120,26,.28)), var(--navy);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 800; max-width: 18em; color: #fff; }
.hero p { max-width: 38rem; font-size: 1.08rem; opacity: .95; }
.hero .eyebrow { color: #f3c48a; }

.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-soft { background: var(--paper); }
.eyebrow {
    color: var(--saffron);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
}
.web-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.web-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,28,46,.1); }
.web-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cover-ph { height: 200px; background: linear-gradient(135deg, var(--navy), #3d4f6b 60%, var(--saffron)); }
.icon-dot {
    width: 48px; height: 48px; border-radius: 12px;
    background: #fff3e8; color: var(--saffron);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; margin-bottom: 12px;
}
.step { text-align: center; }
.step .num {
    width: 44px; height: 44px; margin: 0 auto 10px;
    border-radius: 50%; background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step:nth-child(even) .num { background: var(--saffron); }
.badge-pub { background: #fff3e8; color: var(--saffron-dark); font-weight: 600; }
.badge-done { background: #e8eef6; color: var(--navy); font-weight: 600; }
.web-footer { background: var(--navy); color: #d5dce8; padding: 56px 0 22px; }
.web-footer h5, .web-footer h6 { color: #fff; }
.web-footer a { color: #f0c48a; text-decoration: none; }
.web-footer a:hover { color: #fff; }

.float-cta {
    position: fixed; right: 14px; bottom: 16px; z-index: 1050;
    display: flex; flex-direction: column; gap: 8px;
}
.float-cta a, .chat-toggle {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-weight: 700; border: 0;
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.float-call { background: var(--saffron); }
.float-wa { background: #1fa855; }
.chat-toggle { position: fixed; left: 14px; bottom: 16px; z-index: 1050; background: var(--navy); cursor: pointer; }
.chat-box {
    position: fixed; left: 14px; bottom: 76px; z-index: 1051;
    width: min(340px, calc(100vw - 28px));
    height: 420px; background: #fff; border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15,28,46,.22);
    display: none; flex-direction: column; overflow: hidden;
}
.chat-box.open { display: flex; }
.chat-head { background: var(--navy-mid); color: #fff; padding: 12px 14px; font-weight: 700; border-bottom: 3px solid var(--saffron); }
.chat-log { flex: 1; overflow-y: auto; padding: 12px; background: #f6f7f9; }
.chat-msg { max-width: 90%; margin-bottom: 8px; padding: 8px 10px; border-radius: 12px; font-size: 13px; }
.chat-bot { background: #fff; border: 1px solid var(--line); }
.chat-user { background: #fff3e8; margin-left: auto; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chat-chips button {
    border: 1px solid var(--line); background: #fff; border-radius: 999px;
    font-size: 12px; padding: 4px 8px; cursor: pointer;
}
.chat-form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 0; }
.chat-form button { background: var(--saffron); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; }

table { max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.stars { color: var(--saffron); letter-spacing: 1px; }
.page-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

@media (max-width: 991px) {
    .hero { min-height: 58vh; padding: 40px 0; }
    .hero h1 { max-width: none; }
    .section { padding: 44px 0; }
    .web-nav { padding-bottom: 12px; }
}
@media (max-width: 575px) {
    body.web-body { padding-bottom: 76px; }
    .float-cta { right: 10px; bottom: 12px; }
    .chat-toggle { left: 10px; bottom: 12px; }
    .chat-box { left: 10px; bottom: 72px; height: min(420px, 70vh); }
    .btn { min-height: 40px; }
    .web-brand { max-width: min(52vw, 200px); font-size: 15px; }
}
