/* ════════════════════════════════════════════════
   ASA – Associação dos Cirurgiões de Angola
   style.css – CI3 / PHP 7.4
   ════════════════════════════════════════════════ */
:root {
  --navy:      #0c2340;
  --navy2:     #163458;
  --navy3:     #1d4a7a;
  --gold:      #b8860b;
  --gold2:     #d4a017;
  --gold-light:#fdf3dc;
  --teal:      #0f6e56;
  --teal-light:#e1f5ee;
  --red:       #a32d2d;
  --red-light: #fcebeb;
  --gray:      #f4f6f9;
  --border:    #dde3ed;
  --muted:     #5a6a82;
  --dark:      #0a1628;
  --white:     #fff;
  --font:      'Sora', sans-serif;
  --serif:     'DM Serif Display', Georgia, serif;
  --r:         6px;
  --rl:        12px;
  --sh:        0 2px 16px rgba(12,35,64,.1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 14px; line-height: 1.7; color: var(--dark); background: #f0f4f8; }
a { color: var(--navy); transition: .2s; }
a:hover { color: var(--gold); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Topbar ─────────────────────────────────── */
.topbar { background: var(--navy); padding: 5px 20px; font-size: 11px; color: rgba(255,255,255,.7); }
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.7); text-decoration: none; margin-left: 14px; }
.topbar a:hover { color: var(--gold2); }

/* ── Navbar ─────────────────────────────────── */
.mnav { background: var(--white); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 100; box-shadow: var(--sh); }
.mnav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-seal { width: 48px; height: 48px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.brand-seal svg { width: 28px; height: 28px; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 15px; color: var(--navy); }
.brand-text span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mnav-links { display: flex; align-items: center; flex: 1; flex-wrap: wrap; }
.mnav-links a { font-size: 12.5px; font-weight: 600; color: var(--navy); padding: 8px 10px; border-bottom: 3px solid transparent; text-decoration: none; transition: .2s; white-space: nowrap; margin-bottom: -3px; }
.mnav-links a:hover, .mnav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.mnav-links .nav-patients { color: var(--teal); }
.mnav-links .nav-patients:hover, .mnav-links .nav-patients.active { color: var(--teal); border-bottom-color: var(--teal); }
.mnav-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy); }

/* ── Buttons ─────────────────────────────────── */
.btn-s { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: var(--r); font-size: 12px; font-weight: 600; font-family: var(--font); cursor: pointer; border: none; text-decoration: none; transition: .2s; }
.btn-gold { background: var(--gold); color: #fff; } .btn-gold:hover { background: var(--gold2); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy2); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); } .btn-outline:hover { background: var(--navy); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; } .btn-teal:hover { opacity: .9; color: #fff; }
.btn-hero-gold { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #fff; padding: 11px 22px; border-radius: var(--r); font-size: 13px; font-weight: 700; border: none; cursor: pointer; text-decoration: none; transition: .2s; }
.btn-hero-gold:hover { background: var(--gold2); transform: translateY(-1px); color: #fff; }
.btn-hero-outline { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 10px 20px; border-radius: var(--r); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: .2s; }
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-submit-gold { background: var(--gold); color: #fff; border: none; padding: 11px 28px; border-radius: var(--r); font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font); transition: .2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-submit-gold:hover { background: var(--gold2); }
.btn-cta-w { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--navy); padding: 11px 24px; border-radius: var(--r); font-size: 13px; font-weight: 700; border: none; cursor: pointer; text-decoration: none; transition: .2s; }
.btn-cta-w:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); color: var(--navy); }
.btn-cta-o { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 10px 20px; border-radius: var(--r); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: .2s; }
.btn-cta-o:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Flash messages ──────────────────────────── */
.flash-msg { padding: 12px 18px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; border-radius: 0; position: relative; }
.flash-success { background: #dcfce7; color: #166534; border-bottom: 2px solid #86efac; }
.flash-error   { background: #fee2e2; color: #991b1b; border-bottom: 2px solid #fca5a5; }
.flash-warning { background: #fef9c3; color: #854d0e; border-bottom: 2px solid #fde047; }
.flash-info    { background: #e0f2fe; color: #075985; border-bottom: 2px solid #7dd3fc; }
.flash-close   { margin-left: auto; background: none; border: none; font-size: 18px; cursor: pointer; line-height: 1; opacity: .6; }
.flash-close:hover { opacity: 1; }

/* ── Layout helpers ──────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 20px; }
.section--gray { background: var(--gray); }
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.cadastro-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
@media (max-width: 900px) { .two-col, .cadastro-grid { grid-template-columns: 1fr; } }

/* ── Section headers ─────────────────────────── */
.sec-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: var(--gold-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.sec-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.sec-sub { color: var(--muted); font-size: 13.5px; max-width: 540px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

/* ── Page header ─────────────────────────────── */
.page-hdr { background: var(--navy); padding: 36px 20px; color: #fff; }
.page-hdr .wrap { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.ph-breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 11px; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.ph-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.ph-breadcrumb a:hover { color: var(--gold2); }
.ph-breadcrumb span { color: rgba(255,255,255,.3); }
.ph-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: #fff; }
.ph-sub { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 6px; max-width: 520px; }
.ph-gold-bar { height: 4px; background: var(--gold); }

/* ── Hero ─────────────────────────────────────── */
.hero { background: var(--navy); padding: 64px 20px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,35,64,.95) 0%, rgba(22,52,88,.85) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-kicker { display: inline-block; background: rgba(212,160,23,.2); border: 1px solid rgba(212,160,23,.4); color: var(--gold2); padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; color: #fff; margin-bottom: 14px; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto 28px; }
.hero-ctas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── Audience bar ────────────────────────────── */
.audience-bar { display: grid; grid-template-columns: 1fr 1fr; }
.aud-surgeon, .aud-patient { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; text-decoration: none; transition: .2s; }
.aud-surgeon { background: var(--navy); color: #fff; } .aud-surgeon:hover { background: var(--navy2); color: #fff; }
.aud-patient { background: var(--gold); color: #fff; } .aud-patient:hover { background: var(--gold2); color: #fff; }

/* ── Stats ───────────────────────────────────── */
.stats-bar { background: var(--navy2); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 18px 12px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 2rem; color: var(--gold2); line-height: 1; }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }

/* ── Quick links ─────────────────────────────── */
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); margin: 24px 0; }
.ql-item { background: var(--white); padding: 20px 14px; text-align: center; cursor: pointer; transition: .2s; border-bottom: 3px solid transparent; text-decoration: none; display: block; }
.ql-item:hover { border-bottom-color: var(--gold); background: var(--gold-light); }
.ql-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 10px; }
.ql-icon--blue  { background: #e8f0fe; color: #185fa5; }
.ql-icon--gold  { background: var(--gold-light); color: var(--gold); }
.ql-icon--teal  { background: var(--teal-light); color: var(--teal); }
.ql-icon--red   { background: var(--red-light); color: var(--red); }
.ql-title { font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ql-sub   { font-size: 11px; color: var(--muted); }

/* ── Event featured ──────────────────────────── */
.event-featured { background: var(--navy); border-radius: var(--rl); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 32px; }
.event-featured__body { padding: 32px; color: #fff; }
.event-featured__kicker { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold2); margin-bottom: 8px; }
.event-featured__title { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 14px; }
.event-featured__meta { list-style: none; margin-bottom: 18px; }
.event-featured__meta li { font-size: 12.5px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.event-featured__meta i { color: var(--gold2); }
.event-featured__visual { background: linear-gradient(135deg, #163458, var(--teal)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; }

/* ── News ─────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; transition: .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.news-card__img { height: 160px; background: var(--navy2); position: relative; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(255,255,255,.3); }
.news-cat { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; }
.news-card__body { padding: 14px; }
.news-title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 6px; }
.news-title a { color: var(--navy); text-decoration: none; }
.news-title a:hover { color: var(--gold); }
.news-meta { font-size: 11px; color: var(--muted); }
.news-excerpt { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* ── Formations ──────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; transition: .2s; }
.form-card:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.form-card__top { background: var(--teal); padding: 20px; display: flex; justify-content: space-between; align-items: flex-start; }
.form-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; }
.form-badge--presencial { background: var(--gold); color: #fff; }
.form-badge--online { background: #3b6d11; color: #fff; }
.form-badge--hibrido { background: var(--navy); color: #fff; }
.form-cme { background: rgba(255,255,255,.2); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; }
.form-card__body { padding: 16px; }
.form-level { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.form-title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-meta { font-size: 11px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CTA block ───────────────────────────────── */
.cta-block { background: linear-gradient(135deg, var(--navy) 0%, #0f6e56 100%); border-radius: var(--rl); padding: 52px 32px; text-align: center; color: #fff; }
.cta-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 14px; font-size: 11px; font-weight: 600; margin-bottom: 12px; }
.cta-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: 8px; }
.cta-sub { color: rgba(255,255,255,.8); font-size: 14px; max-width: 520px; margin: 0 auto 24px; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Forms ───────────────────────────────────── */
.form-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 28px; }
.fieldset { margin-bottom: 24px; }
.fieldset-title { font-size: 13px; font-weight: 700; color: var(--navy); padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.fieldset-title i { color: var(--gold); }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.form-control, .form-select, select.form-control { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: 13px; font-family: var(--font); transition: .2s; outline: none; color: var(--dark); background: var(--white); }
.form-control:focus, select.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,35,64,.08); }
.form-control.is-invalid { border-color: var(--red); }
.form-error { font-size: 11.5px; color: var(--red); margin-top: 3px; }
.form-control-file { font-size: 12.5px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.doc-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.form-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.form-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
@media (max-width: 620px) { .form-row-2, .form-row-3, .doc-upload-grid { grid-template-columns: 1fr; } }

/* ── Tipo membro ─────────────────────────────── */
.tipo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.tipo-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1.5px solid var(--border); border-radius: var(--r); cursor: pointer; transition: .2s; }
.tipo-option:hover { border-color: var(--gold); }
.tipo-option--featured { border-color: var(--navy); background: rgba(12,35,64,.03); }
.tipo-option input { margin-top: 2px; flex-shrink: 0; }
.tipo-body strong { display: block; font-size: 12.5px; color: var(--navy); margin-bottom: 2px; }
.tipo-body span { font-size: 11px; color: var(--muted); }
.tipo-body em { display: block; font-size: 10px; color: var(--gold); font-weight: 700; text-transform: uppercase; font-style: normal; margin-top: 2px; }

/* ── Sidebar ─────────────────────────────────── */
.cadastro-sidebar {}
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 18px; margin-bottom: 16px; }
.sw-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.doc-list { list-style: none; }
.doc-list li { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.doc-list li i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.doc-note { background: var(--gold-light); border-radius: var(--r); padding: 10px; margin-top: 10px; font-size: 11.5px; color: var(--gold); }
.process-list { padding-left: 0; counter-reset: step; list-style: none; }
.process-list li { display: flex; flex-direction: column; font-size: 12.5px; padding: 10px 0; border-bottom: 1px solid var(--border); position: relative; padding-left: 30px; }
.process-list li::before { content: counter(step); counter-increment: step; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.process-list li:last-child { border-bottom: none; }
.process-list li strong { color: var(--navy); margin-bottom: 1px; }
.process-list li span { font-size: 11px; color: var(--muted); }
.contact-box { display: flex; align-items: flex-start; gap: 12px; }
.contact-icon { width: 38px; height: 38px; background: var(--navy); color: var(--gold2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.contact-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.contact-val { font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-sub { font-size: 11px; color: var(--muted); }

/* ── Confirmação ─────────────────────────────── */
.confirm-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 40px; text-align: center; box-shadow: var(--sh); }
.confirm-icon { font-size: 3.5rem; color: #16a34a; margin-bottom: 16px; }
.confirm-title { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); margin-bottom: 8px; }
.confirm-sub { color: var(--muted); margin-bottom: 24px; }
.confirm-detail { background: var(--gray); border-radius: var(--r); padding: 16px; margin-bottom: 24px; text-align: left; }
.confirm-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-label { color: var(--muted); }
.confirm-value { font-weight: 700; color: var(--navy); }
.confirm-next { text-align: left; margin-bottom: 24px; }
.confirm-next h4 { font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.confirm-next ol { padding-left: 18px; font-size: 13px; color: var(--muted); }
.confirm-next ol li { margin-bottom: 8px; line-height: 1.6; }
.confirm-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── Auth ─────────────────────────────────────── */
.auth-body { background: var(--gray); display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1.5rem; }
.auth-wrap { width: 100%; max-width: 440px; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 2.5rem 2rem; box-shadow: var(--sh); }
.auth-logo-wrap { text-align: center; margin-bottom: 20px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.auth-seal { width: 40px; height: 40px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.auth-seal svg { width: 24px; height: 24px; }
.auth-brand strong { display: block; font-family: var(--serif); font-size: 14px; color: var(--navy); }
.auth-brand span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.auth-title { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); text-align: center; margin-bottom: 4px; }
.auth-subtitle { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.auth-alert { padding: 10px 14px; border-radius: var(--r); margin-bottom: 14px; font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.auth-alert-success { background: #dcfce7; color: #166534; }
.auth-alert-error   { background: var(--red-light); color: var(--red); }
.auth-alert-warning { background: #fef9c3; color: #854d0e; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form .form-label { font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; display: block; }
.label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.label-link { font-size: 11px; color: var(--gold); text-decoration: none; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.input-icon .form-control { padding-left: 34px; }
.toggle-pwd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 0; font-size: 15px; }
.toggle-pwd:hover { color: var(--navy); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-auth-submit { width: 100%; background: var(--navy); color: #fff; border: none; padding: 11px; border-radius: var(--r); font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: var(--font); transition: .2s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.btn-auth-submit:hover { background: var(--gold); }
.auth-divider { margin: 20px 0; border: none; border-top: 1px solid var(--border); }
.auth-footer-text { text-align: center; font-size: 13px; color: var(--muted); }
.auth-link { color: var(--gold); font-weight: 600; text-decoration: none; }

/* ── Footer ──────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-main { padding: 48px 20px 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.1rem; color: #fff; margin-bottom: 10px; text-decoration: none; }
.footer-seal { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-seal svg { width: 20px; height: 20px; }
.footer-desc { font-size: 12px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social-link { width: 34px; height: 34px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); font-size: 15px; text-decoration: none; transition: .2s; }
.footer-social-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-heading { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold2); margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 12px; transition: .2s; cursor: pointer; }
.footer-links a:hover { color: var(--gold2); }
.footer-contact-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.65); margin-top: 7px; }
.footer-contact-item i { color: var(--gold2); }
.footer-contact-item a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold2); }
.footer-bottom { background: rgba(0,0,0,.2); padding: 14px 20px; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: rgba(255,255,255,.4); }
.footer-bottom-inner a { color: rgba(255,255,255,.4); text-decoration: none; transition: .2s; }
.footer-bottom-inner a:hover { color: var(--gold2); }

/* ── Back to Top ─────────────────────────────── */
.btn-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 42px; height: 42px; background: var(--navy); color: #fff; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--sh); z-index: 999; transition: .2s; }
.btn-top.show { display: flex; }
.btn-top:hover { background: var(--gold); transform: translateY(-2px); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .stats-inner, .stats-bar .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .form-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .event-featured { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mnav-links { display: none; width: 100%; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); }
  .mnav-links.open { display: flex; }
  .mnav-links a { border-bottom: none; border-left: 3px solid transparent; padding: 10px 16px; width: 100%; }
  .mnav-links a.active { border-left-color: var(--gold); }
  .nav-toggle { display: block; }
  .mnav-actions { display: none; }
  .mnav-inner { flex-wrap: wrap; }
}
@media (max-width: 580px) {
  .news-grid, .form-grid { grid-template-columns: 1fr; }
  .tipo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
