@font-face {
    font-family: system-ar;
    src: local("Tahoma");
}
:root {
    --ink: #153c50;
    --teal: #087f88;
    --muted: #617887;
    --line: #dfe9ed;
    --soft: #eef6f7;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font:
        15px/1.9 system-ui,
        Tahoma,
        Arial,
        sans-serif;
    color: var(--ink);
    background: #fcfefe;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
.container {
    width: min(1200px, 90%);
    margin: auto;
}
.top {
    background: #153c50;
    color: #d7e8ec;
    font-size: 12px;
    padding: 6px 0;
}
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fffffff5;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
}
nav {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.brand small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
}
.logo {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: var(--teal);
    border-radius: 14px;
    color: white;
    font-size: 30px;
}
.navigation {
    display: flex;
    gap: 3px;
    padding: 5px;
    background: #f0f5f7;
    border-radius: 12px;
}
.navigation a {
    padding: 10px 13px;
    font-size: 13px;
    border-radius: 8px;
    white-space: nowrap;
}
.navigation a:hover,
.navigation a.active {
    background: white;
    color: var(--teal);
    box-shadow: 0 2px 8px #153c5010;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 11px 23px;
    border: 1px solid var(--teal);
    border-radius: 9px;
    background: var(--teal);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}
.btn:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}
.btn.light {
    background: white;
    border-color: var(--line);
    color: var(--ink);
}
.danger {
    background: #fff0f0;
    color: #a42e3d;
    border-color: #f1d1d6;
}
.menu {
    display: none;
}
.hero {
    background:
        radial-gradient(ellipse at 90% 10%, #dceff2, transparent 65%),
        linear-gradient(110deg, #eef4f7, #f4faf8);
    padding: 45px 0;
}
.hero-grid {
    min-height: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}
.hero h1 {
    font-size: 53px;
    line-height: 1.5;
    margin: 18px 0;
}
.hero em {
    color: var(--teal);
    font-style: normal;
}
.hero img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border: 7px solid #ffffffa0;
    border-radius: 130px 130px 20px 20px;
}
.eyebrow {
    color: var(--teal);
    font-size: 13px;
    font-weight: 600;
}
.hero p {
    font-size: 17px;
    margin-bottom: 28px;
}
p {
    color: var(--muted);
}
h1,
h2,
h3 {
    line-height: 1.5;
}
h2 {
    font-size: 31px;
    margin: 10px 0 20px;
}
h3 {
    font-size: 20px;
}
section {
    padding: 70px 0;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}
.section-head > a,
.text-link {
    color: var(--teal);
}
.quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    background: white;
}
.quick > a {
    padding: 25px 30px;
    border-left: 1px solid var(--line);
    font-weight: 600;
}
.quick > a:last-child {
    border: 0;
}
.quick span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.card {
    border: 1px solid var(--line);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.2s;
}
.card:hover {
    box-shadow: 0 10px 28px #153c5010;
    transform: translateY(-3px);
}
.card > img {
    width: 100%;
    height: 215px;
    object-fit: cover;
}
.card-body {
    padding: 24px;
}
.card-body h3 {
    margin: 8px 0;
}
.card small {
    color: var(--teal);
}
.soft {
    background: var(--soft);
}
.about-grid,
.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
}
.about-grid {
    align-items: center;
}
.about-grid > img {
    width: 100%;
    border-radius: 20px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.photo {
    border: 0;
    padding: 0;
    background: transparent;
    position: relative;
    width: 100%;
    display: block;
}
.photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 13px;
}
.photo span {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #153c50b5;
    color: white;
    padding: 6px 14px;
    border-radius: 7px;
}
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 45px;
    border-radius: 20px;
    background: linear-gradient(120deg, #153c50, #087f88);
    color: white;
}
.cta p {
    color: #d3e9e9;
}
.page-title {
    padding: 35px 0;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}
.page-title h1 {
    font-size: 38px;
    margin: 10px 0;
}
.article {
    max-width: 850px;
}
.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}
.prose {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 2.1;
    margin-bottom: 25px;
}
.lead {
    font-size: 19px;
}
.panel {
    display: block;
    background: white;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 22px;
}
.panel h3 {
    margin-top: 0;
}
label {
    display: block;
    margin: 14px 0 6px;
    font-size: 14px;
}
input,
textarea,
select {
    font: inherit;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d5e2e8;
    border-radius: 8px;
    color: var(--ink);
    background: #fcfefe;
}
textarea {
    min-height: 110px;
    resize: vertical;
}
.editor {
    min-height: 320px;
}
.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkbox input {
    width: auto;
}
.panel > .btn {
    margin-top: 20px;
}
.validation {
    color: #ad2439;
}
.validation ul {
    padding-right: 20px;
}
.notice {
    background: #e4f6ef;
    color: #156b50;
    padding: 15px;
    border-radius: 9px;
    margin-top: 20px;
}
.empty {
    padding: 35px;
    text-align: center;
    background: var(--soft);
    border-radius: 10px;
}
.auth {
    max-width: 530px;
}
.auth h1 {
    font-size: 29px;
}
.honeypot {
    position: absolute;
    /* Keep the anti-spam field in bounds: negative left creates RTL root overflow. */
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
}
.whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    border-radius: 50px;
    background: #18874c;
    color: white;
    padding: 12px 20px;
    z-index: 30;
    box-shadow: 0 6px 22px #083d3c30;
}
.whatsapp span {
    font-size: 22px;
    margin-left: 7px;
}
footer {
    background: #123447;
    color: #edf5f8;
    padding: 55px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}
.footer-grid a {
    display: block;
    margin: 8px 0;
}
.footer-grid p {
    color: #b2c9d4;
}
.copyright {
    border-top: 1px solid #ffffff20;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 12px;
}
dialog {
    border: 0;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    padding: 20px;
}
dialog::backdrop {
    background: #0e293ddb;
}
dialog img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
}
.close-photo {
    float: left;
    background: var(--soft);
    border: 0;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 24px;
}
.hidden {
    display: none !important;
}
.slide-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: #edf6f7;
    padding: 12px;
}
.slide-controls button {
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background: white;
    color: var(--teal);
}
.admin {
    background: #f1f5f9;
}
.admin aside {
    width: 250px;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    background: #123447;
    color: #d9e6ee;
    padding: 28px 20px;
}
.admin aside .brand {
    color: white;
    font-size: 18px;
    margin-bottom: 35px;
}
.admin aside > small {
    display: block;
    color: #83a8bc;
    margin: 20px 10px 10px;
}
.admin aside > a:not(.brand) {
    display: block;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 3px 0;
}
.admin aside > a:hover {
    background: #ffffff12;
}
.admin aside form {
    margin-top: 20px;
}
.admin-main {
    margin-right: 250px;
    padding: 30px 35px;
}
.admin-bar {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
    margin-bottom: 30px;
}
.admin-bar span {
    font-size: 12px;
    color: var(--muted);
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stats strong {
    display: block;
    font-size: 38px;
}
.stats span {
    font-size: 12px;
    color: var(--teal);
}
table {
    border-collapse: collapse;
    width: 100%;
    text-align: right;
}
td,
th {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
th {
    background: #f4f8fa;
}
.table-wrap {
    overflow: auto;
}
.thumb {
    width: 65px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}
.badge {
    font-size: 12px;
    border-radius: 5px;
    background: #e5f3ef;
    color: #22715f;
    padding: 4px 10px;
}
.row-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.row-actions .btn {
    padding: 7px 15px;
}
.edit-image {
    max-width: 100%;
    max-height: 200px;
    margin-top: 15px;
    border-radius: 10px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #dfad65;
    outline-offset: 3px;
}
@media (max-width: 1100px) {
    .nav-cta {
        display: none;
    }
    .navigation a {
        padding: 10px;
    }
    .brand {
        font-size: 19px;
    }
    .hero h1 {
        font-size: 43px;
    }
    .hero-grid {
        gap: 30px;
    }
}
@media (max-width: 750px) {
    nav {
        height: 80px;
    }
    .menu {
        display: block;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: white;
        color: var(--ink);
        font-size: 24px;
        width: 44px;
        height: 44px;
    }
    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        right: 5%;
        left: 5%;
        background: white;
        border: 1px solid var(--line);
        padding: 12px;
        box-shadow: 0 15px 30px #153c5020;
        flex-direction: column;
    }
    .navigation.open {
        display: flex;
    }
    .navigation a {
        padding: 13px;
    }
    .hero-grid,
    .about-grid,
    .grid2 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .hero h1 {
        font-size: 37px;
    }
    .hero img {
        height: 320px;
    }
    .quick {
        grid-template-columns: 1fr;
    }
    .quick > a {
        padding: 18px 20px;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .cards,
    .gallery {
        grid-template-columns: 1fr;
    }
    .section-head {
        align-items: start;
    }
    .section-head h2 {
        font-size: 25px;
    }
    .section-head > a {
        font-size: 12px;
        white-space: nowrap;
    }
    section {
        padding: 45px 0;
    }
    .cta {
        display: block;
        padding: 28px;
    }
    .cta .btn {
        margin-top: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .admin aside {
        position: static;
        width: auto;
        padding: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        align-items: center;
    }
    .admin aside .brand {
        width: 100%;
        margin-bottom: 10px;
    }
    .admin aside > small {
        display: none;
    }
    .admin aside > a:not(.brand) {
        padding: 5px 10px;
        font-size: 12px;
    }
    .admin aside form {
        margin: 0;
    }
    .admin aside .btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    .admin-main {
        margin: 0;
        padding: 20px 5%;
    }
    .admin-bar {
        gap: 15px;
        flex-wrap: wrap;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .panel {
        padding: 20px;
    }
    .stats strong {
        font-size: 30px;
    }
    .admin h1 {
        font-size: 25px;
    }
    .whatsapp {
        bottom: 15px;
        left: 15px;
    }
    .row-actions {
        flex-wrap: wrap;
    }
}
