/* ═══════════════════════════════════════════════════════════════════════
   Template landing: Experience (templates/landing/experience)
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --xp-blue: #0047ab;
  --xp-blue-bright: #1d6fe0;
  --xp-blue-deep: #1a24c4;
  --xp-blue-soft: #1f5bb8;
  --xp-yellow: #f6b942;
  --xp-ink: #0b0b0f;
  --xp-text: #1f2430;
  --xp-muted: #5b6475;
  --xp-bg: #ffffff;
  --xp-bg-soft: #f4f6fd;
  --xp-bg-lavender: #efedfb;
  --xp-line: #d7dbe8;
  --xp-card-shadow: 0 12px 34px rgba(16, 32, 92, .12);
  /* Dipakai oleh landing.js / inline editor */
  --primary: var(--xp-blue);
  --primary-light: var(--xp-blue-bright);
  --accent: var(--xp-yellow);
  --dark: var(--xp-ink);
  --muted: var(--xp-muted);
  --white: #ffffff;
}

* { scroll-behavior: smooth; }
html { scroll-padding-top: 96px; }
body {
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--xp-text);
  background: var(--xp-bg);
  overflow-x: hidden;
}
img { max-width: 100%; }
.xp-section { padding: 5.5rem 0; position: relative; }
.xp-h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  color: var(--xp-ink);
  margin-bottom: 1rem;
}
.xp-h2 .xp-blue, .xp-blue { color: var(--xp-blue); }
.xp-h2--blue { color: var(--xp-blue); }
.xp-h2--caps { text-transform: uppercase; letter-spacing: .5px; color: var(--xp-blue); }
.xp-lead {
  font-size: clamp(.98rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--xp-text);
  max-width: 900px;
  margin: 0 auto;
}
.xp-head { text-align: center; margin-bottom: 3rem; }

/* inline editor colour helpers */
.lp-text-accent { color: var(--xp-yellow) !important; }
.lp-text-white { color: #fff !important; }
.lp-text-primary { color: var(--xp-blue) !important; }
.lp-text-muted { color: var(--xp-muted) !important; }
.lp-text-dark { color: var(--xp-ink) !important; }

/* ─── Buttons ─────────────────────────────────── */
.xp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .85rem 2.2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.xp-btn:hover { transform: translateY(-2px); }
.xp-btn--primary { background: var(--xp-blue); color: #fff; box-shadow: 0 10px 24px rgba(0, 71, 171, .25); }
.xp-btn--primary:hover { background: var(--xp-blue-deep); color: #fff; }
.xp-btn--deep { background: var(--xp-blue-deep); color: #fff; }
.xp-btn--deep:hover { background: var(--xp-blue); color: #fff; }
.xp-btn--outline { background: #fff; color: var(--xp-ink); border-color: #9aa3b5; }
.xp-btn--outline:hover { border-color: var(--xp-blue); color: var(--xp-blue); }
.xp-btn--outline-blue { background: transparent; color: var(--xp-blue); border-color: var(--xp-blue); }
.xp-btn--outline-blue:hover { background: var(--xp-blue); color: #fff; }
.xp-btn--sm { padding: .55rem 1.4rem; font-size: .88rem; }

/* ─── Navbar ─────────────────────────────────── */
#mainNav {
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .08);
  padding: .9rem 0;
  transition: padding .2s;
}
#mainNav.scrolled { padding: .5rem 0; }
#mainNav .navbar-brand img { height: 52px; width: auto; }
#mainNav .nav-link {
  color: #1b2b6b;
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem .9rem !important;
  line-height: 1.15;
  text-align: center;
}
#mainNav .nav-link:hover { color: var(--xp-blue-bright); }
.xp-nav-actions { display: flex; gap: .75rem; align-items: center; }
.xp-nav-actions .xp-btn { padding: .6rem 1.4rem; font-size: .95rem; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  #mainNav .nav-link { padding: .5rem .55rem !important; font-size: .85rem; }
  .xp-nav-actions .xp-btn { padding: .55rem 1rem; font-size: .85rem; }
}
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse { padding: 1rem 0 .5rem; }
  #mainNav .nav-link { text-align: left; }
  .xp-nav-actions { flex-direction: column; align-items: stretch; margin-top: .75rem; }
}

/* ─── Hero ───────────────────────────────────── */
#hero {
  background: radial-gradient(circle at 15% 40%, #ffffff 0%, #f6f8fe 45%, #eef2fc 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--xp-line);
  overflow: hidden;
}
.xp-badge {
  display: inline-block;
  border: 1.5px solid #9aa3b5;
  border-radius: 999px;
  padding: .45rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--xp-ink);
  background: #fff;
  margin-bottom: 1.1rem;
}
.xp-hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -1.5px;
  color: var(--xp-ink);
  margin-bottom: 1.25rem;
}
.xp-hero-title .line-2 { color: var(--xp-blue-bright); display: block; }
.xp-hero-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 600px; margin-bottom: 2rem; }
.xp-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.75rem; }
.xp-hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; }
.xp-stat-num { font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1; color: var(--xp-ink); letter-spacing: -1px; }
.xp-stat-label { font-size: .9rem; margin-top: .35rem; }
/* hero.webp punya ±24% area transparan di atas; dipotong agar foto sejajar dengan judul */
.xp-hero-img { width: 100%; max-width: 680px; height: auto; aspect-ratio: 900 / 880; object-fit: cover; object-position: bottom; display: block; margin-left: auto; }

/* ─── About ──────────────────────────────────── */
#tentang { background: #fbfbfe; box-shadow: 0 18px 30px -24px rgba(15, 23, 42, .35); z-index: 1; }
.xp-about-title { color: var(--xp-blue); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; margin-bottom: 1.5rem; }
.xp-about-body { font-size: 1.05rem; line-height: 1.6; }
.xp-about-tagline { color: var(--xp-blue); font-weight: 800; font-size: 1.15rem; margin-top: 1.25rem; }
.xp-about-who h3 { color: var(--xp-blue); font-weight: 800; font-size: 1.6rem; margin-bottom: .9rem; }
.xp-about-who p { font-size: 1.05rem; line-height: 1.6; margin: 0; }
.xp-about-img { width: 100%; max-width: 680px; height: auto; display: block; margin: 0 auto; }

/* ─── Cards with blue top bar ───────────────── */
.xp-card {
  background: #fff;
  border-top: 7px solid var(--xp-blue);
  border-radius: 6px;
  box-shadow: var(--xp-card-shadow);
  padding: 2rem 1.75rem;
  height: 100%;
}
.xp-card h3 { color: var(--xp-blue); font-weight: 800; font-size: 1.35rem; line-height: 1.15; margin-bottom: 1.25rem; }
.xp-card p { font-size: 1rem; line-height: 1.55; margin: 0; }

#program-xp { background: linear-gradient(180deg, #f9faff 0%, #eef2fc 100%); border-bottom: 1px solid var(--xp-line); }
.xp-explore-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .xp-explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .xp-explore-grid { grid-template-columns: 1fr; } }

/* ─── Upcoming activities ───────────────────── */
#kegiatan { background: #fbfbfe; }
.xp-event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 2rem; }
@media (max-width: 575.98px) { .xp-event-grid { grid-template-columns: 1fr; } }
.xp-event {
  background: #fff;
  border-top: 7px solid var(--xp-blue);
  border-radius: 6px 6px 22px 22px;
  box-shadow: var(--xp-card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.xp-event__cover { display: block; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #1d6fe0, #0047ab); overflow: hidden; }
.xp-event__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.xp-event:hover .xp-event__cover img { transform: scale(1.03); }
.xp-event__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; gap: .5rem; font-weight: 700; }
.xp-event__placeholder i { font-size: 3rem; }
.xp-event__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.xp-event__title { font-weight: 700; font-size: 1.15rem; line-height: 1.4; margin-bottom: 1.1rem; }
.xp-event__title a { color: var(--xp-ink); text-decoration: none; }
.xp-event__title a:hover { color: var(--xp-blue); }
.xp-meta { display: flex; align-items: center; gap: .9rem; font-size: .98rem; margin-bottom: .75rem; }
.xp-meta img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.xp-event__cta { margin-top: auto; padding-top: .9rem; }
.xp-event__cta .xp-btn { width: 100%; }
.xp-event__status { display: inline-block; font-size: .75rem; font-weight: 700; color: #b45309; background: #fef3c7; border-radius: 999px; padding: .2rem .7rem; margin-bottom: .6rem; width: max-content; }
.xp-empty { text-align: center; color: var(--xp-muted); background: #fff; border: 1px dashed var(--xp-line); border-radius: 16px; padding: 2rem; max-width: 640px; margin: 0 auto; }
.xp-event__status--done { color: #166534; background: #dcfce7; }
.xp-event--past { border-top-color: #9aa3b5; }
.xp-event--past .xp-event__cover img { filter: grayscale(.35); }
.xp-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin: 0 auto 2.5rem; }
.xp-tab { display: inline-flex; align-items: center; gap: .55rem; font: inherit; font-weight: 700; font-size: 1rem; color: var(--xp-blue); background: #fff; border: 1.5px solid var(--xp-blue); border-radius: 999px; padding: .6rem 1.4rem; cursor: pointer; transition: background .2s, color .2s; }
.xp-tab:hover { background: #eef3fc; }
.xp-tab.is-active { background: var(--xp-blue); color: #fff; }
.xp-tab__count { min-width: 1.6rem; padding: .05rem .5rem; border-radius: 999px; font-size: .8rem; background: rgba(0, 71, 171, .1); }
.xp-tab.is-active .xp-tab__count { background: rgba(255, 255, 255, .22); }

/* ─── Why ───────────────────────────────────── */
#kenapa { background: linear-gradient(180deg, #f6f7fd 0%, #eceefa 100%); }
.xp-why-card { padding: 2.25rem 2rem; }
.xp-why-card img { width: 78px; height: 78px; object-fit: contain; margin-bottom: 1rem; display: block; }
.xp-why-card h3 { margin-bottom: .75rem; }

/* ─── Journey ───────────────────────────────── */
#rangkaian { background: var(--xp-blue); color: #fff; }
#rangkaian .xp-h2 { color: #fff; }
#rangkaian .xp-lead { color: rgba(255, 255, 255, .92); }
.xp-step {
  background: var(--xp-blue-soft);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  display: flex;
  gap: 1rem;
  height: 100%;
}
.xp-step__num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--xp-yellow);
  color: var(--xp-blue);
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.xp-step h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.15; margin: .35rem 0 .6rem; color: #fff; }
.xp-step p { margin: 0; font-size: .98rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }

/* ─── Program studi ─────────────────────────── */
#program { background: var(--xp-bg-lavender); }
.xp-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; }
.faculty-tab {
  border: 1.5px solid var(--xp-blue);
  background: #fff;
  color: var(--xp-blue);
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-weight: 600;
  font-size: .98rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, color .2s;
}
.faculty-tab.active, .faculty-tab:hover { background: var(--xp-blue-deep); border-color: var(--xp-blue-deep); color: #fff; }
.faculty-group { margin-bottom: 2.5rem; }
.xp-fac-title { color: var(--xp-blue); font-weight: 800; font-size: 1.65rem; margin-bottom: .25rem; }
.xp-fac-title a { color: inherit; text-decoration: none; }
.xp-fac-sub { margin-bottom: 1.1rem; }
.xp-class {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 32, 92, .1);
  height: 100%;
}
.xp-class__icon {
  background: var(--xp-blue);
  width: 92px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.xp-class__icon span {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--xp-blue);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.xp-class__body { padding: 1.1rem 1.2rem 1rem; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xp-class__label { font-size: .9rem; letter-spacing: .3px; }
.xp-class__name { color: var(--xp-blue); font-weight: 700; font-size: 1.1rem; line-height: 1.15; margin: .1rem 0 .55rem; }
.xp-class__meta { display: flex; gap: .55rem; font-size: .85rem; font-weight: 600; line-height: 1.35; }
.xp-class__meta img { width: 24px; height: 24px; flex-shrink: 0; }
.xp-class__full { color: #dc2626; font-weight: 700; font-size: .8rem; margin-top: .35rem; }
.prodi-cta {
  margin-top: auto;
  align-self: flex-end;
  padding-top: .6rem;
  color: var(--xp-ink);
  text-decoration: none;
  font-size: .9rem;
  display: inline-flex; align-items: center; gap: .45rem;
}
.prodi-cta:hover { color: var(--xp-blue); }

/* ─── Testimonials ──────────────────────────── */
#testimoni { background: #fff; }
.xp-testi { padding: 2rem 2.25rem; display: flex; flex-direction: column; }
.xp-stars { color: var(--xp-yellow); font-size: 1.6rem; letter-spacing: .2rem; margin-bottom: 1rem; }
.xp-testi blockquote { font-size: .98rem; line-height: 1.5; margin: 0 0 1.75rem; flex: 1; }
.xp-person { display: flex; align-items: center; gap: 1rem; }
.xp-person img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.xp-person strong { display: block; color: var(--xp-blue); font-size: 1.1rem; font-weight: 700; }
.xp-person span { font-size: .82rem; }

/* ─── Schools ───────────────────────────────── */
#sekolah { background: var(--xp-bg-lavender); padding: 2.5rem 0 0; }
#sekolah h2 { text-align: center; color: #8a8f9c; font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-bottom: 1.25rem; }
.xp-logos { background: #e2e0ec; padding: 1.5rem 0; overflow: hidden; }
.xp-logos-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem 4rem; }
.xp-logos-track img { height: 80px; width: auto; object-fit: contain; }
.xp-logos-track img.is-wide { height: 60px; }

/* ─── Form ──────────────────────────────────── */
#daftar { background: var(--xp-bg-lavender); }
#daftar .xp-h2 { color: var(--xp-blue); }
.form-card { max-width: 1260px; margin: 0 auto; }
.form-label { color: var(--xp-blue); font-weight: 700; font-size: .95rem; margin-bottom: .4rem; }
.form-control, .form-select {
  border-radius: 6px;
  border: 1.5px solid var(--xp-blue);
  background-color: transparent;
  padding: .75rem 1.25rem;
  font-size: .98rem;
  color: var(--xp-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: #2c4fa3; opacity: .85; }
.form-control:focus, .form-select:focus { border-color: var(--xp-blue-deep); box-shadow: 0 0 0 3px rgba(26, 36, 196, .12); background-color: #fff; }
.form-check-input:checked { background-color: var(--xp-blue); border-color: var(--xp-blue); }
.xp-radio-row { display: flex; gap: 1.5rem; padding: .6rem 0; }
.field-error { display: none; color: #dc2626; font-size: .78rem; font-weight: 700; margin-top: .35rem; line-height: 1.4; }
.is-invalid + .field-error, .form-select.is-invalid + .field-error { display: block; }
.form-closed { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 14px; padding: .9rem 1rem; font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.btn-submit {
  background: var(--xp-blue-deep);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .95rem 2.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  width: 100%;
  transition: background .2s, transform .2s;
}
.btn-submit:hover { background: var(--xp-blue); transform: translateY(-2px); }
.btn-submit:disabled { background: #94a3b8; cursor: not-allowed; transform: none; }
.altcha-wrap { margin-top: .25rem; }
altcha-widget {
  width: 100%;
  --altcha-border-radius: 6px;
  --altcha-color-border: var(--xp-blue);
  --altcha-color-base: #ffffff;
  --altcha-color-text: var(--xp-ink);
  --altcha-color-border-focus: var(--xp-blue-deep);
}
.pmb-next { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; color: var(--xp-muted); font-size: .9rem; }
.pmb-next a { color: var(--xp-blue); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }

.selected-class { display: block; margin-top: .75rem; border: 1px solid rgba(0, 71, 171, .18); background: #fff; border-radius: 12px; padding: 1rem; }
.selected-class.is-empty { background: transparent; border-style: dashed; }
.selected-head { display: flex; align-items: flex-start; gap: .8rem; }
.selected-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(0, 71, 171, .09); color: var(--xp-blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.selected-class.is-empty .selected-icon { background: #fff; color: #94a3b8; border: 1px solid #e2e8f0; }
.selected-copy { min-width: 0; flex: 1; }
.selected-label { font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--xp-muted); margin-bottom: .35rem; }
.selected-title { font-weight: 800; color: var(--xp-ink); line-height: 1.3; }
.selected-empty-text { margin: .25rem 0 0; color: var(--xp-muted); font-size: .82rem; line-height: 1.55; }
.selected-status-pill { display: inline-flex; align-items: center; gap: .35rem; width: max-content; border-radius: 999px; padding: .28rem .65rem; font-size: .7rem; font-weight: 800; margin-bottom: .45rem; }
.selected-class.is-open .selected-status-pill { background: #dcfce7; color: #166534; }
.selected-class.is-low .selected-status-pill { background: #fef3c7; color: #92400e; }
.selected-class.is-full .selected-status-pill { background: #fee2e2; color: #991b1b; }
.selected-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .9rem; }
.selected-detail { display: flex; gap: .5rem; align-items: flex-start; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: .7rem; min-width: 0; }
.selected-detail i { color: var(--xp-blue); flex-shrink: 0; margin-top: .08rem; }
.selected-detail strong { display: block; font-size: .68rem; color: var(--xp-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: .1rem; }
.selected-detail span { display: block; font-size: .8rem; font-weight: 700; color: #1e293b; line-height: 1.4; overflow-wrap: anywhere; }
.selected-progress-row { display: flex; align-items: center; gap: .7rem; margin-top: .85rem; color: var(--xp-muted); font-size: .76rem; font-weight: 700; }
.selected-progress { flex: 1; height: 7px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.selected-progress div { height: 100%; border-radius: 999px; }
.selected-progress .bar-open { background: var(--xp-blue); }
.selected-progress .bar-low { background: var(--xp-yellow); }
.selected-progress .bar-full { background: #dc2626; }
.selected-note { display: flex; align-items: flex-start; gap: .5rem; margin-top: .85rem; color: #475569; font-size: .8rem; line-height: 1.55; }
.selected-note i { color: var(--xp-yellow); flex-shrink: 0; margin-top: .08rem; }
.selected-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; color: var(--xp-blue); font-size: .8rem; font-weight: 800; text-decoration: none; }
@media (max-width: 575.98px) { .selected-detail-grid { grid-template-columns: 1fr; } }

.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid rgba(0, 0, 0, .12); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  max-height: 240px; overflow-y: auto; z-index: 1050; padding: 4px 0; margin: 0; list-style: none;
}
.autocomplete-list li { padding: 9px 14px; cursor: pointer; font-size: .9rem; line-height: 1.35; }
.autocomplete-list li:hover, .autocomplete-list li[aria-selected="true"] { background: rgba(0, 71, 171, .08); color: var(--xp-blue); }
.autocomplete-list li .ac-sub { font-size: .75rem; color: var(--xp-muted); margin-top: 1px; }
.autocomplete-list li .ac-badge { display: inline-block; font-size: .65rem; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-right: 5px; background: rgba(0, 71, 171, .1); color: var(--xp-blue); vertical-align: middle; }
.autocomplete-list li.ac-empty { color: #94a3b8; font-style: italic; cursor: default; }
.autocomplete-list li.ac-loading { color: var(--xp-muted); display: flex; align-items: center; gap: 8px; cursor: default; }
.autocomplete-status { font-size: 0; }
.ac-autofill-wrap { position: relative; }
.ac-autofill-wrap .form-control.is-autofilled { background-color: rgba(16, 185, 129, .06); border-color: rgba(16, 185, 129, .5); padding-right: 2rem; }
.ac-autofill-icon { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); font-size: .8rem; color: #059669; pointer-events: none; }

/* ─── Gallery ───────────────────────────────── */
#galeri { background: #f6f4fb; padding-bottom: 2rem; }
.xp-gallery-label { color: var(--xp-blue); font-weight: 600; font-size: 1.5rem; margin: 0; }
.xp-gallery-title { color: var(--xp-blue); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 0 0 .5rem; }
.xp-gallery-body { font-size: 1.1rem; max-width: 640px; }
.xp-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 3rem 0 2.5rem; }
.xp-gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; display: block; }
@media (max-width: 767.98px) { .xp-gallery-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ─── FAQ ───────────────────────────────────── */
#faq { background: linear-gradient(90deg, #fbeef3 0%, #f6f4fb 12%, #f6f4fb 100%); padding-top: 2rem; }
.xp-faq-title { color: var(--xp-blue); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; margin-bottom: 2rem; }
.xp-faq-img { width: 100%; max-width: 440px; height: auto; display: block; }
.xp-faq .accordion-item { border: 1.5px solid #5470c6 !important; border-radius: 10px !important; margin-bottom: 1.6rem; overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(16, 32, 92, .08); }
.xp-faq .accordion-button { font-weight: 600; font-size: 1.08rem; color: var(--xp-ink); padding: 1.2rem 1.75rem 1.2rem 2.4rem; background: #fff; box-shadow: none; line-height: 1.25; }
.xp-faq .accordion-button:not(.collapsed) { color: var(--xp-blue); background: #fff; }
.xp-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(0, 71, 171, .15); }
.xp-faq .accordion-body { padding: 0 1.75rem 1.4rem 2.4rem; line-height: 1.65; }

/* ─── Contact + footer ──────────────────────── */
#kontak { background: #000; color: #fff; padding: 3.5rem 0 3rem; }
.xp-contact-title { color: var(--xp-blue-bright); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.02; margin-bottom: 1.25rem; letter-spacing: -1px; }
.xp-contact-body { font-size: 1.1rem; line-height: 1.55; max-width: 540px; }
.xp-contact-card {
  background: #555;
  border-radius: 6px;
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1.1rem;
  color: #fff; text-decoration: none; height: 100%;
  transition: background .2s;
}
a.xp-contact-card:hover { background: #626262; color: #fff; }
.xp-contact-card img { width: 46px; height: 46px; flex-shrink: 0; }
.xp-contact-card strong { display: block; font-size: 1.25rem; font-weight: 600; }
.xp-contact-card span { font-size: 1.05rem; overflow-wrap: break-word; }
footer.xp-footer { background: #000; color: #fff; padding: 0 0 1.5rem; }
.xp-footer-inner { border-top: 1px solid #3a3a3a; padding-top: 3rem; }
.xp-footer-brand { color: var(--xp-blue-bright); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.5px; margin-bottom: 1.5rem; }
.xp-footer-body { font-size: 1.15rem; line-height: 1.5; max-width: 520px; }
.xp-footer h3 { color: var(--xp-blue-bright); font-weight: 800; font-size: 1.4rem; margin-bottom: .8rem; }
.xp-footer ul { list-style: none; padding: 0; margin: 0; }
.xp-footer li a { color: #fff; text-decoration: none; font-size: 1rem; line-height: 1.75; }
.xp-footer li a:hover { color: var(--xp-yellow); }
.xp-footer-bottom { border-top: 1px solid #3a3a3a; margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem; }
.xp-social { display: flex; flex-wrap: wrap; gap: .75rem; }
.xp-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #fff; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s, color .2s;
}
.xp-social a:hover { background: #fff; color: #000; }

/* ─── Floating CTA (mobile) ─────────────────── */
.floating-cta { display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1040; }
.floating-cta a { display: block; text-align: center; background: var(--xp-blue-deep); color: #fff; border-radius: 999px; padding: .9rem; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(26, 36, 196, .35); }
@media (min-width: 992px) { .floating-cta { display: none !important; } }

/* ─── Responsive ────────────────────────────── */
@media (max-width: 991.98px) {
  .xp-section { padding: 4rem 0; }
  #hero { padding: 2.5rem 0 3rem; }
  .xp-hero-img { margin: 2rem auto 0; max-width: 560px; }
  .xp-about-img { margin: 2rem auto; max-width: 540px; }
  .xp-faq-img { max-width: 260px; margin: 0 auto 2rem; }
  .xp-faq-title { text-align: center; }
}
@media (max-width: 575.98px) {
  .xp-hero-ctas .xp-btn { flex: 1 1 100%; }
  .xp-hero-stats { gap: 1.25rem 2rem; }
  .xp-logos-track { gap: 1.5rem 2.25rem; }
  .xp-logos-track img { height: 56px; }
  .xp-logos-track img.is-wide { height: 42px; }
  .xp-card { padding: 1.6rem 1.4rem; }
  .xp-faq .accordion-button { padding-left: 1.25rem; font-size: 1rem; }
  .xp-faq .accordion-body { padding-left: 1.25rem; }
  .xp-footer-bottom { justify-content: center; text-align: center; }
}
