/* AMFA: landing page, application form, receipts. Palette from the logo via CSS variables. */
:root { --navy: var(--color-primary, #15244F); --navy-dark: var(--color-primary-dark, #0B1838); --magenta: var(--color-secondary, #CD0B66); --gold: var(--color-accent, #CF942C); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-family, 'Raleway', sans-serif); color: var(--color-text, #14182B); background: var(--color-background, #F8F6FA); }
h1, h2, h3, .lp-title, .lp-brand span { font-family: var(--font-heading, 'Cormorant Garamond', serif); }
.btn, .lp-nav a, .lp-link, .lp-badge, .lp-eyebrow { font-family: var(--font-ui, 'Montserrat', sans-serif); }
em { color: var(--gold); font-style: italic; }
.btn-apply { background: var(--magenta); border-color: var(--magenta); color: #fff; font-weight: 600; letter-spacing: .3px; }
.btn-apply:hover, .btn-apply:focus { background: #a8084f; border-color: #a8084f; color: #fff; }

/* Header */
.lp-topbar { background: var(--navy-dark); color: #dfe3f2; font-size: .8rem; padding: 6px 0; position: fixed; top: 0; left: 0; right: 0; z-index: 1031; transition: transform .3s; }
.lp-topbar.is-hidden { transform: translateY(-100%); }
@media (max-width: 767px) { .lp-topbar { display: none; } }
.lp-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(21,36,79,.08); padding: 10px 0; margin-top: 30px; transition: padding .25s, box-shadow .25s, margin .3s; }
.lp-header.is-scrolled { padding: 5px 0; box-shadow: 0 4px 18px rgba(11,24,56,.12); margin-top: 0; }
@media (max-width: 767px) { .lp-header { margin-top: 0; } }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.35rem; font-weight: 700; }
.lp-nav { gap: 22px; }
.lp-nav a { position: relative; text-decoration: none; color: var(--navy); font-size: .82rem; font-weight: 600; letter-spacing: .4px; padding: 6px 0; }
.lp-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.lp-nav a:hover::after { width: 100%; }
.lp-actions { display: flex; align-items: center; gap: 14px; }
.lp-link { font-size: .78rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.lp-burger { background: none; border: 0; font-size: 1.8rem; color: var(--navy); }
.lp-mobile-nav { display: flex; flex-direction: column; padding: 10px 12px 16px; }
.lp-mobile-nav a { padding: 10px 0; color: var(--navy); text-decoration: none; border-bottom: 1px solid #eee; font-weight: 600; }

/* Hero */
.lp-hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, #3a1550); }
.lp-hero-slides, .lp-slide { position: absolute; inset: 0; }
.lp-slide { opacity: 0; transition: opacity 1.2s ease; }
.lp-slide.is-active { opacity: 1; }
.lp-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.lp-hero[data-zoom="1"] .lp-slide.is-active img { animation: lpZoom 10s ease-out forwards; }
@keyframes lpZoom { from { transform: scale(1); } to { transform: scale(1.15); } }
.lp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,24,56,.88), rgba(11,24,56,.45)); }
.lp-hero-content { position: relative; z-index: 2; padding: 90px 12px 120px; }
.lp-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; line-height: 1.05; }
.lp-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; font-weight: 600; }
.lp-lead { max-width: 620px; font-size: 1.1rem; opacity: .92; margin: 16px 0 28px; }
.lp-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-hero-controls { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; }
.lp-hero-controls button { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 50%; }
.lp-dots { display: flex; gap: 8px; }
.lp-dots button { width: 10px; height: 10px; padding: 0; background: rgba(255,255,255,.45); }
.lp-dots button.is-active { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .lp-hero .lp-slide.is-active img { animation: none !important; } html { scroll-behavior: auto; } .lp-slide { transition: none; } }

/* Facts strip */
.lp-facts { background: var(--navy); color: #fff; padding: 22px 0; border-top: 3px solid var(--gold); }
.lp-facts strong { display: block; font-family: var(--font-heading, serif); font-size: 1.9rem; color: var(--gold); }
.lp-facts span { font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }

/* Sections */
.lp-section { padding: 84px 0; position: relative; }
.lp-alt { background: #fff; }
.lp-slant { clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); padding-top: 110px; margin-top: -28px; }
.lp-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.lp-h3 { font-size: 1.6rem; color: var(--navy); }
.lp-tag { font-family: var(--font-heading, serif); font-size: 1.6rem; color: var(--magenta); font-style: italic; }
.lp-checks, .lp-list { list-style: none; padding: 0; margin: 0; }
.lp-checks li, .lp-list li { padding: 9px 0; display: flex; gap: 10px; align-items: flex-start; }
.lp-checks i, .lp-list i { color: var(--magenta); margin-top: 3px; }
.lp-card { background: #fff; border-radius: 14px; padding: 30px; border-top: 4px solid var(--gold); box-shadow: 0 8px 30px rgba(21,36,79,.09); height: 100%; transition: transform .25s, box-shadow .25s; }
.lp-card:hover { transform: translateY(-5px); box-shadow: 0 14px 38px rgba(21,36,79,.15); }
.lp-card h3 { font-size: 2rem; color: var(--navy); margin: 8px 0; }
.lp-badge { background: var(--navy); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; }
.lp-meta { color: var(--color-muted, #5F6480); font-size: .9rem; }
.lp-price { font-family: var(--font-heading, serif); font-size: 2.2rem; color: var(--magenta); font-weight: 700; margin: 10px 0 4px; }
.lp-price small { font-size: .9rem; color: var(--color-muted, #5F6480); font-family: var(--font-family, sans-serif); }
.lp-step { background: #F8F6FA; border-radius: 14px; padding: 26px 22px; height: 100%; }
.lp-step span { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: var(--magenta); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.lp-step h3 { font-size: 1.45rem; color: var(--navy); }
.lp-fee { border: 2px solid var(--gold); border-radius: 14px; padding: 26px; background: #fff; }
.lp-gallery { columns: 3 220px; column-gap: 14px; }
.lp-gallery figure { margin: 0 0 14px; break-inside: avoid; }
.lp-gallery img { width: 100%; border-radius: 10px; }
.lp-gallery figcaption { font-size: .8rem; color: var(--color-muted, #5F6480); padding-top: 4px; }
.lp-cta { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding: 70px 0; text-align: center; }
.lp-cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lp-footer { background: var(--navy-dark); color: #cfd4ea; padding: 50px 0 20px; }
.lp-footer a { color: #cfd4ea; text-decoration: none; }
.lp-footer a:hover { color: var(--gold); }
.lp-footer-title { font-family: var(--font-heading, serif); color: #fff; font-size: 1.7rem; }
.lp-footer-h { color: var(--gold); font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-ui, sans-serif); }
.lp-copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .8rem; }
.lp-float-apply { position: fixed; right: 18px; bottom: 18px; z-index: 1040; background: var(--magenta); color: #fff; padding: 13px 24px; border-radius: 40px; text-decoration: none; font-weight: 700; box-shadow: 0 6px 20px rgba(205,11,102,.4); font-family: var(--font-ui, sans-serif); }
.lp-float-apply:hover { color: #fff; background: #a8084f; }

/* Application form */
.ap-wrap { max-width: 780px; margin: 0 auto; }
.ap-progress { height: 8px; background: #e6e2ee; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.ap-progress > div { height: 100%; width: 25%; background: linear-gradient(90deg, var(--magenta), var(--gold)); transition: width .3s; }
.ap-steps-label { font-size: .8rem; color: var(--color-muted, #5F6480); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.ap-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 8px 30px rgba(21,36,79,.08); }
.ap-step { display: none; }
.ap-step.is-active { display: block; }
.ap-no-js .ap-step { display: block; margin-bottom: 28px; }
.ap-choice { display: block; border: 2px solid #e1dde9; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.ap-choice:has(input:checked) { border-color: var(--magenta); background: #fff5fa; }
.ap-choice input { margin-right: 10px; }
.ap-choice small { display: block; color: var(--color-muted, #5F6480); }
.ap-fee { border: 2px solid var(--gold); border-radius: 12px; padding: 18px; background: #fffaf0; margin: 18px 0; }
.ap-fee strong { color: var(--navy); }
.form-control, .form-select { padding: .7rem .9rem; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ap-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.ap-invalid { border-color: var(--color-danger, #D6303A) !important; }
.ap-err { color: var(--color-danger, #D6303A); font-size: .85rem; margin-top: 4px; }

/* Receipt / result */
.res-icon { font-size: 4rem; }
.res-ok { color: var(--color-success, #1FA463); } .res-wait { color: var(--color-warning, #F5A623); } .res-bad { color: var(--color-danger, #D6303A); }
.pay-card, .status-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 8px 30px rgba(21,36,79,.08); }
.otp-input { letter-spacing: 12px; font-size: 1.8rem; }

/* Admin helpers */
.stat-card { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 2px 10px rgba(21,36,79,.07); border-left: 4px solid var(--gold); }
.stat-card strong { display: block; font-size: 1.6rem; color: var(--navy); }
.att-btn { min-width: 74px; }
.att-sticky { position: sticky; bottom: 0; background: #fff; padding: 12px; border-top: 1px solid #ddd; z-index: 5; }
