/* ==========================================================================
   Institut Al-Amana — Classic Islamic-Inspired Theme
   ========================================================================== */

:root {
    /* Palette */
    --c-green-900: #0c3a2c;
    --c-green-800: #0f4c3a;
    --c-green-700: #1a6b51;
    --c-gold-700: #a78240;
    --c-gold-600: #c8a55c;
    --c-gold-500: #d8b96d;
    --c-sand-100: #faf6ec;
    --c-sand-200: #f4ecd6;
    --c-sand-300: #e9deb7;
    --c-ink-900: #1f2a24;
    --c-ink-700: #3c4a43;
    --c-ink-500: #6b7771;
    --c-line: #e3d9bd;
    --c-white: #fffdf6;
    --c-danger: #b03a2e;
    --c-success: #1e7a55;

    /* Typography */
    --f-heading: "Cormorant Garamond", "Amiri", Georgia, serif;
    --f-arabic: "Amiri", "Cormorant Garamond", serif;
    --f-body: "Inter", "Open Sans", system-ui, -apple-system, Helvetica, sans-serif;

    /* Geometry */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 14px rgba(15, 76, 58, .07);
    --shadow-md: 0 12px 40px rgba(15, 76, 58, .12);
    --shadow-lg: 0 30px 80px rgba(15, 76, 58, .18);

    /* Layout */
    --container: 1180px;
    --nav-h: 78px;
}

/* Reset & base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-ink-900);
    background: var(--c-sand-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--c-green-800); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-gold-700); }
button { font-family: inherit; cursor: pointer; }
hr.ornament {
    border: 0;
    height: 32px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 32'><g fill='none' stroke='%23c8a55c' stroke-width='1.4'><circle cx='120' cy='16' r='6'/><circle cx='120' cy='16' r='10' opacity='.5'/><path d='M0 16 H100 M140 16 H240' stroke-dasharray='1 6'/><path d='M120 4 L124 12 L132 14 L124 18 L120 26 L116 18 L108 14 L116 12Z' fill='%23c8a55c' opacity='.6'/></g></svg>") center / 240px 32px no-repeat;
    margin: 28px auto;
    max-width: 320px;
}

h1, h2, h3, h4 {
    font-family: var(--f-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-green-900);
    letter-spacing: .01em;
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; color: var(--c-ink-700); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

/* Decorative arabesque section divider ----------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 16px;
}
.section-title .eyebrow {
    display: inline-block;
    color: var(--c-gold-700);
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-title h2 { margin-bottom: 14px; }
.section-title h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 24px;
    margin: 14px auto 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 24'><g fill='none' stroke='%23c8a55c' stroke-width='1.4'><path d='M0 12 H30'/><path d='M60 12 H90'/><path d='M45 2 L49 10 L57 12 L49 14 L45 22 L41 14 L33 12 L41 10Z' fill='%23c8a55c' opacity='.85'/></g></svg>") center / contain no-repeat;
}
.section-title p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--c-ink-500);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    transition: all .25s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--c-green-800);
    color: var(--c-white);
    border-color: var(--c-green-800);
    box-shadow: 0 8px 24px rgba(15, 76, 58, .25);
}
.btn-primary:hover {
    background: var(--c-green-900);
    color: var(--c-gold-500);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 76, 58, .35);
}
.btn-gold {
    background: linear-gradient(135deg, var(--c-gold-600), var(--c-gold-500));
    color: var(--c-green-900);
    border: none;
    box-shadow: 0 8px 24px rgba(168, 130, 64, .35);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--c-gold-700), var(--c-gold-600));
    color: var(--c-green-900);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--c-green-800);
    border-color: var(--c-green-800);
}
.btn-outline:hover {
    background: var(--c-green-800);
    color: var(--c-white);
}
.btn-success { background: var(--c-success); color: #fff; border-color: var(--c-success); }
.btn-danger  { background: var(--c-danger);  color: #fff; border-color: var(--c-danger); }
.btn-warning { background: var(--c-gold-600); color: var(--c-green-900); border-color: var(--c-gold-600); }
.btn-sm { padding: 7px 14px; font-size: .78rem; gap: 6px; }

/* Navigation ------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    background: rgba(250, 246, 236, .85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
    background: rgba(250, 246, 236, .96);
    border-bottom-color: var(--c-line);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-heading);
    font-size: 1.3rem;
    color: var(--c-green-900);
    font-weight: 600;
}
.nav-brand img { height: 46px; width: auto; }
.nav-brand small { display: block; font-family: var(--f-body); font-size: .68rem; letter-spacing: .25em; color: var(--c-gold-700); text-transform: uppercase; font-weight: 600;}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    display: inline-block;
    padding: 10px 16px;
    color: var(--c-ink-900);
    font-weight: 500;
    font-size: .92rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 999px;
    position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--c-green-800);
    background: var(--c-sand-200);
}
.nav-menu .nav-cta {
    margin-left: 8px;
    background: var(--c-green-800);
    color: var(--c-white) !important;
    padding: 10px 22px;
}
.nav-menu .nav-cta:hover { background: var(--c-green-900); color: var(--c-gold-500) !important; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px; height: 44px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: var(--c-green-900);
}
.nav-toggle:hover { background: var(--c-sand-200); }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s; }
.nav-toggle .bar::before, .nav-toggle .bar::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .25s, top .25s;
}
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after  { top:  7px; }
.nav.open .nav-toggle .bar { background: transparent; }
.nav.open .nav-toggle .bar::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle .bar::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; }
    .nav-menu {
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--c-white);
        border-bottom: 1px solid var(--c-line);
        padding: 12px;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .nav.open .nav-menu { max-height: 460px; }
    .nav-menu li { width: 100%; }
    .nav-menu a { display: block; padding: 14px 18px; border-radius: 8px; }
    .nav-menu .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 40px) 0 80px;
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.06);
    transition: opacity 1.2s ease;
    opacity: 0;
}
.hero-bg.active { opacity: 1; animation: kenburns 14s ease-in-out forwards; }
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12, 58, 44, .7) 0%, rgba(12, 58, 44, .55) 40%, rgba(12, 58, 44, .85) 100%);
    z-index: -1;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='none' stroke='%23c8a55c' stroke-width='.6' opacity='.18'><path d='M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z'/><circle cx='30' cy='30' r='15'/><path d='M30 15 L45 30 L30 45 L15 30 Z'/></g></svg>");
    background-size: 110px;
    z-index: -1;
    opacity: .55;
    pointer-events: none;
}
.hero-content { max-width: 880px; padding: 0 24px; position: relative; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--c-gold-500);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .42em;
    margin-bottom: 22px;
    font-weight: 600;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: ""; width: 36px; height: 1px; background: var(--c-gold-500); opacity: .7;
}
.hero h1 {
    color: var(--c-white);
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: .02em;
}
.hero h1 .accent { color: var(--c-gold-500); font-style: italic; font-weight: 500; }
.hero p.lead {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 620px;
    margin: 0 auto 36px;
    color: rgba(255, 253, 246, .92);
    font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px;
    z-index: 2;
}
.hero-dots button {
    width: 11px; height: 11px;
    border-radius: 50%;
    border: 1.5px solid var(--c-gold-500);
    background: transparent;
    padding: 0;
    transition: all .3s ease;
}
.hero-dots button.active { background: var(--c-gold-500); transform: scale(1.25); }

@keyframes kenburns {
    from { transform: scale(1.06); }
    to   { transform: scale(1.16); }
}

/* Page banner (small hero) ---------------------------------------------- */
.page-banner {
    position: relative;
    padding: calc(var(--nav-h) + 80px) 0 80px;
    color: var(--c-white);
    text-align: center;
    isolation: isolate;
    overflow: hidden;
}
.page-banner-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: -2;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12, 58, 44, .82), rgba(12, 58, 44, .92));
    z-index: -1;
}
.page-banner::after {
    content: ""; position: absolute; inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='none' stroke='%23c8a55c' stroke-width='.6' opacity='.16'><path d='M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z'/><circle cx='30' cy='30' r='15'/></g></svg>");
    background-size: 100px; opacity: .5; z-index: -1;
}
.page-banner h1 {
    color: var(--c-white);
    margin-bottom: 8px;
}
.page-banner h1 .accent { color: var(--c-gold-500); }
.page-banner .breadcrumb {
    color: var(--c-gold-500);
    font-size: .85rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}
.page-banner .breadcrumb a { color: rgba(255, 253, 246, .85); }
.page-banner .breadcrumb a:hover { color: var(--c-gold-500); }
.page-banner .breadcrumb span { margin: 0 10px; opacity: .6; }

/* Sections --------------------------------------------------------------- */
section { padding: 90px 0; }
section.tight { padding: 60px 0; }

.grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-2 { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Service cards ---------------------------------------------------------- */
.card {
    background: var(--c-white);
    border-radius: var(--radius-md);
    padding: 38px 28px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid transparent;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23c8a55c' stroke-width='.5' opacity='.3'><path d='M50 0 L100 25 L100 75 L50 100 L0 75 L0 25 Z'/><circle cx='50' cy='50' r='25'/></g></svg>");
    background-size: 200px;
    background-position: top right;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-line);
}
.card:hover::before { opacity: 1; }
.card .icon-circle {
    width: 84px; height: 84px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-sand-200), var(--c-sand-300));
    display: flex; align-items: center; justify-content: center;
    color: var(--c-green-800);
    font-size: 1.8rem;
    position: relative;
    transition: transform .35s ease;
}
.card .icon-circle::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1.5px dashed var(--c-gold-600);
    border-radius: 50%;
    opacity: .55;
    animation: spin 18s linear infinite;
}
.card:hover .icon-circle { transform: scale(1.05) rotate(-4deg); }
.card h3 { margin-bottom: 6px; color: var(--c-green-900); }
.card p { color: var(--c-ink-500); margin-bottom: 22px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Offer list (mini-feature) --------------------------------------------- */
.offer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.offer-item {
    display: flex; gap: 18px;
    padding: 24px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    transition: transform .25s ease, border-color .25s ease;
}
.offer-item:hover { transform: translateY(-3px); border-color: var(--c-gold-600); }
.offer-item .ico {
    flex: 0 0 56px; width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--c-green-800), var(--c-green-700));
    color: var(--c-gold-500);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.offer-item h3 { margin: 0 0 4px; font-size: 1.15rem; }
.offer-item p { margin: 0; color: var(--c-ink-500); font-size: .95rem; }

/* Counters --------------------------------------------------------------- */
.counters {
    position: relative;
    padding: 80px 0;
    background: var(--c-green-900);
    color: var(--c-white);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.counters::before {
    content: ""; position: absolute; inset: 0; opacity: .08; z-index: -1;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='none' stroke='%23ffffff' stroke-width='.6'><path d='M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z'/><circle cx='30' cy='30' r='15'/><path d='M30 15 L45 30 L30 45 L15 30 Z'/></g></svg>");
    background-size: 90px;
}
.counters .grid-4 { gap: 12px; }
.counter {
    padding: 18px;
}
.counter .num {
    font-family: var(--f-heading);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    color: var(--c-gold-500);
    font-weight: 600;
    line-height: 1;
}
.counter .label {
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .78rem;
    color: rgba(255, 253, 246, .85);
    margin-top: 10px;
}
.counter i { color: var(--c-gold-500); margin-bottom: 8px; }

/* Conditions / Join us -------------------------------------------------- */
.conditions {
    background: linear-gradient(135deg, var(--c-green-900), var(--c-green-800));
    color: var(--c-white);
    padding: 80px 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.conditions::before {
    content: ""; position: absolute; inset: 0; opacity: .08; z-index: -1;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><g fill='none' stroke='%23c8a55c' stroke-width='.6'><circle cx='40' cy='40' r='30'/><circle cx='40' cy='40' r='20'/><path d='M40 5 L75 40 L40 75 L5 40 Z'/></g></svg>");
    background-size: 120px;
}
.conditions h2 { color: var(--c-white); }
.conditions h2::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 24'><g fill='none' stroke='%23d8b96d' stroke-width='1.4'><path d='M0 12 H30'/><path d='M60 12 H90'/><path d='M45 2 L49 10 L57 12 L49 14 L45 22 L41 14 L33 12 L41 10Z' fill='%23d8b96d'/></g></svg>"); }
.conditions h3 { color: var(--c-gold-500); font-style: italic; }
.conditions p { color: rgba(255, 253, 246, .92); }
.conditions .conditions-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(216, 185, 109, .15);
    color: var(--c-gold-500);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    border: 1.5px dashed var(--c-gold-500);
}
.conditions-block {
    max-width: 760px; margin: 0 auto;
    background: rgba(0, 0, 0, .15);
    border-radius: var(--radius-md);
    padding: 36px 38px;
    border: 1px solid rgba(216, 185, 109, .2);
}

/* Forms ------------------------------------------------------------------ */
.form-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 44px 44px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
    position: relative;
}
.form-card::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><g fill='none' stroke='%230f4c3a' stroke-width='1.6' stroke-linecap='round'><path d='M16 6 L20 12 L26 14 L20 16 L16 22 L12 16 L6 14 L12 12 Z' fill='%230f4c3a' opacity='.9'/><circle cx='16' cy='16' r='10' opacity='.4'/></g></svg>") center / 28px 28px no-repeat,
        linear-gradient(135deg, var(--c-gold-600), var(--c-gold-500));
    box-shadow: var(--shadow-sm);
}
.form-card.with-icon { padding-top: 60px; }
.form-card-title { text-align: center; margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-green-800);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--c-line);
    background: var(--c-sand-100);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .96rem;
    color: var(--c-ink-900);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control::placeholder { color: var(--c-ink-500); }
.form-control:focus {
    outline: none;
    border-color: var(--c-gold-600);
    background: var(--c-white);
    box-shadow: 0 0 0 4px rgba(200, 165, 92, .15);
}

.radio-group {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 6px;
}
.radio {
    position: relative;
    flex: 0 1 auto;
}
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio label {
    display: inline-flex;
    align-items: center; gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--c-line);
    background: var(--c-sand-100);
    color: var(--c-ink-700);
    border-radius: 999px;
    cursor: pointer;
    margin: 0;
    text-transform: none;
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: all .2s ease;
}
.radio label::before {
    content: "";
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--c-ink-500);
    background: #fff;
    flex: 0 0 14px;
    transition: all .2s ease;
}
.radio input:checked + label {
    background: var(--c-green-800);
    color: var(--c-white);
    border-color: var(--c-green-800);
}
.radio input:checked + label::before {
    border-color: var(--c-gold-500);
    background: var(--c-gold-500);
    box-shadow: inset 0 0 0 3px var(--c-green-800);
}
.radio-stack { flex-direction: column; align-items: stretch; }
.radio-stack .radio { display: block; }
.radio-stack .radio label { display: flex; width: 100%; }

.form-actions {
    text-align: center;
    margin-top: 26px;
}

/* Tables (admin) --------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--c-white);
    border: 1px solid var(--c-line);
}
table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
    min-width: 980px;
}
table.data thead th {
    background: var(--c-green-900);
    color: var(--c-gold-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    padding: 14px 12px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid var(--c-gold-700);
}
table.data tbody td {
    padding: 12px;
    border-bottom: 1px solid var(--c-line);
    vertical-align: middle;
    color: var(--c-ink-700);
}
table.data tbody tr:hover td { background: var(--c-sand-100); }
table.data .actions { display: flex; gap: 6px; flex-wrap: nowrap; }
table.data .badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--c-sand-200);
    color: var(--c-green-900);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
table.data .badge.paid { background: var(--c-success); color: #fff; }
table.data .badge.unpaid { background: #fbe9d6; color: #a05a00; }

.icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: #fff;
    border: 0;
    font-size: .88rem;
    transition: transform .2s, background .2s;
}
.icon-btn:hover { transform: scale(1.08); color: #fff; }
.icon-btn.success { background: var(--c-success); }
.icon-btn.warning { background: var(--c-gold-700); }
.icon-btn.danger  { background: var(--c-danger); }

/* Status / result message ----------------------------------------------- */
.status-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.status-card.success { border-top: 4px solid var(--c-success); }
.status-card.error { border-top: 4px solid var(--c-danger); }
.status-card h3 { color: var(--c-green-900); margin-bottom: 18px; }
.status-card .summary {
    margin: 18px 0;
    background: var(--c-sand-100);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    font-size: .94rem;
}
.status-card .summary dt { font-weight: 600; color: var(--c-green-800); }
.status-card .summary dd { margin: 0 0 8px; color: var(--c-ink-700); }
.status-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
    background: var(--c-green-900);
    color: rgba(255, 253, 246, .85);
    padding: 70px 0 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.site-footer::before {
    content: ""; position: absolute; inset: 0; opacity: .06; z-index: -1;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='none' stroke='%23ffffff' stroke-width='.6'><circle cx='30' cy='30' r='15'/><path d='M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z'/></g></svg>");
    background-size: 110px;
}
.site-footer h4 {
    color: var(--c-gold-500);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .8rem;
    margin-bottom: 18px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 50px;
}
@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { width: 90px; margin-bottom: 16px; filter: brightness(1.05); }
.footer-brand p { color: rgba(255, 253, 246, .75); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 5px 0; color: rgba(255, 253, 246, .82); display: flex; align-items: center; gap: 10px; }
.footer-list li i { color: var(--c-gold-500); }
.footer-tags a {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 5px 13px;
    background: rgba(255, 253, 246, .06);
    color: rgba(255, 253, 246, .85);
    border-radius: 999px;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.footer-tags a:hover { background: var(--c-gold-600); color: var(--c-green-900); }
.social {
    display: flex; gap: 10px;
    margin-top: 16px;
}
.social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 253, 246, .08);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: rgba(255, 253, 246, .85);
    transition: all .2s ease;
}
.social a:hover { background: var(--c-gold-600); color: var(--c-green-900); transform: translateY(-2px); }

.copyright {
    border-top: 1px solid rgba(255, 253, 246, .08);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
    color: rgba(255, 253, 246, .65);
}
.copyright a { color: rgba(255, 253, 246, .85); }
.copyright a:hover { color: var(--c-gold-500); }

/* Animation helpers ----------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .32s; }

/* Utilities ------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Small screens tweaks -------------------------------------------------- */
@media (max-width: 720px) {
    section { padding: 64px 0; }
    .form-card { padding: 38px 22px 28px; }
    .conditions-block { padding: 28px 22px; }
    .hero { min-height: 80vh; }
}
