/* ASRAMA SANTRI — Hibatullah IIBS */
body.asrama-page { background: #f0f4fb; }

.as-bc-bar {
  background: #1a3a6b;
  padding: 10px 0;
}

.as-bc {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.as-bc a:hover { color: #fff; }
.as-bc i.fa-chevron-right { font-size: 9px; opacity: 0.35; }

/* HERO */
.as-hero {
  position: relative;
  background: linear-gradient(135deg, #061428 0%, #1a3a6b 50%, #2d5be0 100%);
  padding: 48px 0 0;
  overflow: hidden;
}

.as-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(126, 184, 247, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(37, 211, 102, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.as-hero-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.as-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.as-hero-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.as-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.as-hero h1 span {
  background: linear-gradient(90deg, #7eb8f7, #a8d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.as-hero-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.as-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.as-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

.as-hero-pills i { color: #7eb8f7; font-size: 10px; }

.as-hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.as-hero-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.as-hero-visual-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(to top, rgba(6, 20, 40, 0.92), transparent);
  color: #fff;
}

.as-hero-visual-cap strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.as-hero-visual-cap span {
  font-size: 13px;
  opacity: 0.8;
}

/* STICKY NAV */
.as-subnav-wrap {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(240, 244, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4ecf5;
  margin-top: -1px;
}

.as-subnav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.as-subnav a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  padding: 8px 18px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #e4ecf5;
  transition: all 0.2s;
}

.as-subnav a:hover,
.as-subnav a.active {
  background: #1a3a6b;
  color: #fff;
  border-color: #1a3a6b;
}

/* SECTIONS */
.as-sec { padding: 72px 0; scroll-margin-top: 120px; }
.as-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.as-head { text-align: center; margin-bottom: 48px; }
.as-label {
  font-size: 11px;
  font-weight: 700;
  color: #3a5bd9;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.as-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: #1a1a2e;
}
.as-title span { color: #3a5bd9; }
.as-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #3a5bd9, #7eb8f7);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ABOUT */
.as-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.as-prose {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  border: 1px solid #e8eef8;
  box-shadow: 0 8px 40px rgba(26, 58, 107, 0.08);
  position: relative;
}

.as-prose::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 5px;
  height: 60px;
  background: linear-gradient(180deg, #3a5bd9, #7eb8f7);
  border-radius: 0 4px 4px 0;
}

.as-prose p {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 18px;
}

.as-prose p:last-child { margin-bottom: 0; }

.as-quote {
  background: linear-gradient(135deg, #1a3a6b, #3a5bd9);
  border-radius: 20px;
  padding: 32px 28px;
  color: #fff;
  margin-top: 24px;
}

.as-quote i {
  font-size: 28px;
  opacity: 0.4;
  margin-bottom: 12px;
}

.as-quote p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  font-style: italic;
}

.as-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.as-stat {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e8eef8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.as-stat:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(26, 58, 107, 0.1);
}

.as-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.as-stat b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #1a3a6b;
  line-height: 1;
}

.as-stat small {
  font-size: 12px;
  color: #888;
}

/* GALLERY STRIP */
.as-gallery {
  padding: 0 0 72px;
  background: #f0f4fb;
}

.as-gallery-track {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.as-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 24px rgba(26, 58, 107, 0.12);
}

.as-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.as-gallery-item:hover img { transform: scale(1.06); }

/* NILAI */
.as-nilai {
  background: linear-gradient(160deg, #061428 0%, #1a3a6b 60%, #1e4d8c 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.as-nilai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.as-nilai-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s, background 0.25s;
}

.as-nilai-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.as-nilai-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #7eb8f7;
}

.as-nilai-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.as-nilai-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.as-head--light .as-label { color: rgba(255, 255, 255, 0.6); }
.as-head--light .as-title { color: #fff; }
.as-head--light .as-title span { color: #7eb8f7; }

/* FASILITAS BENTO */
.as-fas { background: #fff; padding: 72px 0; }

.as-fas-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  padding: 24px 28px;
  background: #f8fafd;
  border-radius: 16px;
  border: 1px dashed #d0dcf0;
}

.as-fas-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}

.as-fas-item {
  background: #f8fafd;
  border: 1px solid #e8eef8;
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.as-fas-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3a5bd9, #25d366);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.as-fas-item:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 58, 107, 0.1);
}

.as-fas-item:hover::after { transform: scaleX(1); }

.as-fas-item--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #eef3fc, #f8fafd);
}

.as-fas-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.as-fas-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 4px;
}

.as-fas-item p {
  font-size: 12.5px;
  color: #777;
  line-height: 1.55;
}

.as-fas-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: #25d366;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* CTA */
.as-cta {
  background: linear-gradient(135deg, #1a3a6b, #3a5bd9);
  padding: 64px 24px;
  text-align: center;
}

.as-cta h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.as-cta h2 span { color: #f0c040; }
.as-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.as-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.as-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a3a6b;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s;
}

.as-btn-white:hover { transform: translateY(-2px); }

.as-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.15s;
}

.as-btn-wa:hover { transform: translateY(-2px); background: #1da851; }

.as-loading {
  text-align: center;
  padding: 48px;
  color: #888;
  font-size: 14px;
}

@media (max-width: 960px) {
  .as-hero-wrap { grid-template-columns: 1fr; }
  .as-hero-visual img { height: 280px; }
  .as-about-grid { grid-template-columns: 1fr; }
  .as-fas-bento { grid-template-columns: repeat(2, 1fr); }
  .as-fas-item--wide { grid-column: span 2; }
  .as-gallery-track { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .as-nilai-grid { grid-template-columns: 1fr; }
  .as-fas-bento { grid-template-columns: 1fr; }
  .as-fas-item--wide { grid-column: span 1; flex-direction: column; }
  .as-gallery-track { grid-template-columns: 1fr; }
  .as-subnav-wrap { top: 60px; }
}
