/* Academic Services (/academic-services/) — Figma "Student Campus" / MacBook Air - 21 + Homepage [Mobile] */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ac-red: #FF0000;
  --ac-red-dark: #D90000;
  --ac-ink: #18181B;
  --ac-text: #3F3F46;
  --ac-muted: #71717A;
  --ac-line: #E4E4E7;
  --ac-field: #F4F4F5;
  --ac-dark: #0D0D0D;
  --ac-card: #1A1A1A;
  --ac-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ac-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ac-body); color: var(--ac-text); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 0, 0, .35); outline-offset: 2px; }
.ac-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= NAV (same look as /dummy-ticket/) ================= */
.ac-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 60px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .09);
  font-family: 'Poppins', var(--ac-body);
}
.ac-nav .logo { display: flex; align-items: center; text-decoration: none; }
.ac-nav .logo img { height: 34px; width: auto; }
.ac-nav .links { display: flex; align-items: center; }
.ac-nav .nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.ac-nav .nav-links > li > a { color: #333; text-decoration: none; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.ac-nav .nav-links > li > a:hover { color: var(--ac-red); }
.ac-nav .nav-links .fa-chevron-down { font-size: 10px; color: #888; transition: transform .2s; }
.ac-nav .has-dropdown { position: relative; }
.ac-nav .dropdown { display: none; position: absolute; top: calc(100% + 12px); left: 0; min-width: 190px; padding: 8px 0; list-style: none; background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .10); z-index: 60; }
.ac-nav .has-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.ac-nav .dropdown a { display: block; padding: 10px 18px; font-size: 13.5px; color: #333; text-decoration: none; }
.ac-nav .dropdown a:hover { background: #fff5f5; color: var(--ac-red); }
.ac-nav .has-dropdown:hover .dropdown { display: block; }
.ac-nav .has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); color: var(--ac-red); }
.ac-nav .nav-right { display: flex; align-items: center; gap: 12px; }
.ac-nav .btn-login { color: #333; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; }
.ac-nav .btn-login:hover { color: var(--ac-red); }
.ac-nav .btn-pay { background: var(--ac-red); color: #fff; text-decoration: none; padding: 9px 22px; border-radius: 50px; font-size: 14px; font-weight: 600; }
.ac-nav .btn-pay:hover { background: var(--ac-red-dark); }
.ac-nav .btn-pay-mobile, .ac-nav .btn-login-mobile { display: none; }
.ac-nav .hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.ac-nav .hamburger span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; transition: all .3s ease; }
.ac-nav .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ac-nav .hamburger.open span:nth-child(2) { opacity: 0; }
.ac-nav .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ac-subnav { display: grid; grid-template-columns: repeat(3, 1fr); background: #343A40; }
.ac-subnav a { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; color: rgba(255, 255, 255, .62); text-decoration: none; font-size: 15px; }
.ac-subnav a:hover { color: #fff; }
.ac-subnav a.active { color: #fff; font-weight: 500; }
.ac-subnav a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 150px; max-width: 80%; height: 2px; transform: translateX(-50%); background: #fff; border-radius: 2px 2px 0 0; }

/* ================= HERO ================= */
.ac-hero { position: relative; background: var(--ac-ink); color: #fff; overflow: hidden; }
.ac-hero-bg { position: absolute; inset: 0; background: url('assets/university-library.jpg') center/cover no-repeat; opacity: .45; }
.ac-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 24, 27, 0) 0%, rgba(24, 24, 27, .2) 55%, rgba(24, 24, 27, .8) 100%); pointer-events: none; }
.ac-hero-inner { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 38px 24px 68px; text-align: center; }
.ac-hero h1 { font-family: var(--ac-head); font-weight: 800; font-size: 44px; line-height: 1.15; letter-spacing: -1.2px; }
.ac-hero-sub { max-width: 600px; margin: 14px auto 0; font-size: 18px; line-height: 1.5; color: #E4E4E7; }

.ac-search {
  display: grid; grid-template-columns: 222px minmax(170px, 0.8fr) minmax(220px, 1.4fr) auto; gap: 14px; align-items: end;
  margin: 48px auto 0; max-width: 940px; padding: 22px 26px 24px; text-align: left;
  background: #fff; color: var(--ac-ink); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.ac-field label, .ac-other label { display: block; margin: 0 0 9px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #52525B; }
.ac-select { position: relative; display: flex; align-items: center; height: 46px; background: var(--ac-field); border: 1.5px solid transparent; border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.ac-select:focus-within { border-color: rgba(255, 0, 0, .45); box-shadow: 0 0 0 3px rgba(255, 0, 0, .08); }
.ac-select > .fa-regular, .ac-select > .fa-solid:not(.ac-chev) { position: absolute; left: 12px; color: var(--ac-red); font-size: 15px; pointer-events: none; }
.ac-select .ac-chev { position: absolute; right: 12px; font-size: 11px; color: #52525B; pointer-events: none; }
.ac-select select { width: 100%; height: 100%; padding: 0 28px 0 34px; border: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--ac-ink); text-overflow: ellipsis; cursor: pointer; -webkit-appearance: none; appearance: none; outline: none; }
.ac-select select:disabled { color: #A1A1AA; cursor: not-allowed; }
.ac-select select option { color: var(--ac-ink); }
.ac-select.is-invalid, .ac-other.is-invalid input { border-color: var(--ac-red); }
.ac-search-btn { height: 46px; padding: 0 40px; border: 0; border-radius: 10px; background: var(--ac-red); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .15s; }
.ac-search-btn:hover { background: var(--ac-red-dark); transform: translateY(-1px); }
.ac-other { grid-column: 1 / -1; }
.ac-other input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--ac-line); border-radius: 10px; background: #fff; font-size: 15px; outline: none; }
.ac-other input:focus { border-color: rgba(255, 0, 0, .45); }
.ac-search-error { grid-column: 1 / -1; margin-top: -4px; color: #C81E1E; font-size: 13.5px; font-weight: 500; }

/* ================= SECTION HEADINGS ================= */
.ac-how h2, .ac-why h2, .ac-consult h2, .ac-testi h2, .ac-faq h2 { font-family: var(--ac-head); font-weight: 800; letter-spacing: -1px; color: var(--ac-ink); text-align: center; }
.ac-section-sub { max-width: 560px; margin: 14px auto 0; text-align: center; font-size: 18px; line-height: 1.5; color: var(--ac-muted); }

/* ================= HOW IT WORKS ================= */
.ac-how { padding: 64px 24px 88px; }
.ac-how h2 { font-size: 44px; }
.ac-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1110px; margin: 78px auto 0; list-style: none; }
.ac-steps::before { content: ''; position: absolute; top: 39px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, #F3A5A5 0 33%, var(--ac-line) 33% 100%); }
.ac-step { position: relative; text-align: center; }
.ac-step-icon { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%; background: #F4F4F5; border: 1.5px solid #EBDDDD; color: var(--ac-red); font-size: 22px; }
.ac-step.is-active .ac-step-icon { background: var(--ac-red); border-color: var(--ac-red); color: #fff; box-shadow: 0 12px 26px rgba(255, 0, 0, .28); }
.ac-step h3 { margin-top: 26px; font-family: var(--ac-head); font-size: 18px; font-weight: 700; color: var(--ac-ink); }
.ac-step p { max-width: 230px; margin: 12px auto 0; font-size: 14px; line-height: 1.55; color: #52525B; }

/* ================= WHY CHOOSE ================= */
.ac-why { padding: 112px 24px 128px; background: var(--ac-dark); }
.ac-why h2 { font-size: 44px; color: #fff; }
.ac-underline { display: block; width: 64px; height: 4px; margin: 18px auto 0; background: var(--ac-red); border-radius: 4px; }
.ac-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1090px; margin: 64px auto 0; }
.ac-why-card { padding: 32px; background: var(--ac-card); border: 1px solid #262626; border-radius: 14px; transition: border-color .2s, transform .2s; }
.ac-why-card:hover { border-color: rgba(255, 0, 0, .45); transform: translateY(-3px); }
.ac-why-card i { font-size: 28px; color: var(--ac-red); }
.ac-why-card h3 { margin-top: 22px; font-family: var(--ac-head); font-size: 18px; font-weight: 700; color: #fff; }
.ac-why-card p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #A1A1AA; }

/* ================= CONSULTATION ================= */
.ac-consult { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; max-width: 1110px; margin: 0 auto; padding: 96px 24px; scroll-margin-top: 80px; }
.ac-consult h2 { font-size: 44px; line-height: 1.12; text-align: left; }
.ac-consult h2 span { color: var(--ac-red); }
.ac-consult-claim { margin-top: 14px; font-size: 17px; font-weight: 700; letter-spacing: 2.2px; color: var(--ac-red); }
.ac-consult-contact { margin-top: 18px; max-width: 470px; font-size: 14px; line-height: 1.6; letter-spacing: 1.6px; color: var(--ac-ink); }
.ac-consult-contact a { text-decoration: none; font-weight: 600; }
.ac-consult-contact a:hover { color: var(--ac-red); }
.ac-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 26px; padding: 14px 16px; max-width: 470px; background: #FFF5F5; border: 1px solid #FFD6D6; border-radius: 12px; }
.ac-selection-label { width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--ac-red); }
.ac-selection-text { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--ac-ink); }
.ac-selection-edit { border: 0; background: none; color: var(--ac-red); font-weight: 600; font-size: 13.5px; text-decoration: underline; cursor: pointer; }

.ac-consult-right form { display: grid; gap: 12px; }
.ac-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-input input, .ac-input textarea { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #D4D4D8; border-radius: 12px; background: #fff; font-size: 14.5px; outline: none; transition: border-color .15s, box-shadow .15s; }
.ac-input textarea { height: 74px; padding: 12px 14px; resize: vertical; }
.ac-input input::placeholder, .ac-input textarea::placeholder { color: #71717A; }
.ac-input input:focus, .ac-input textarea:focus { border-color: rgba(255, 0, 0, .5); box-shadow: 0 0 0 3px rgba(255, 0, 0, .07); }
.ac-input .is-invalid { border-color: var(--ac-red); }
.ac-time { position: relative; }
.ac-time-label { position: absolute; left: 15px; top: -7px; padding: 0 4px; background: #fff; font-size: 11.5px; color: #71717A; line-height: 1; }
.ac-err { display: block; margin: 5px 4px 0; font-size: 12.5px; color: #C81E1E; }
.ac-err:empty { display: none; }
.ac-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ac-callback-btn { height: 44px; border: 0; border-radius: 10px; background: var(--ac-red); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 8px 18px rgba(255, 0, 0, .2); transition: background .15s; }
.ac-callback-btn:hover { background: var(--ac-red-dark); }
.ac-callback-btn:disabled { opacity: .7; cursor: wait; }
.ac-callback-btn i { margin-left: 6px; font-size: 13px; }
.ac-form-status { font-size: 14px; line-height: 1.5; }
.ac-form-status:empty { display: none; }
.ac-form-status.is-ok { padding: 12px 14px; border-radius: 10px; background: #ECFDF3; color: #05603A; }
.ac-form-status.is-error { padding: 12px 14px; border-radius: 10px; background: #FFF1F0; color: #B42318; }

/* ================= TESTIMONIALS ================= */
.ac-testi { padding: 96px 24px 104px; background: var(--ac-dark); }
.ac-testi h2 { font-size: 36px; color: #fff; }
.ac-testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1110px; margin: 56px auto 0; }
.ac-testi-card { padding: 28px; background: var(--ac-card); border: 1px solid #262626; border-radius: 14px; }
.ac-testi-head { position: relative; display: flex; align-items: center; gap: 14px; }
.ac-testi-head strong { display: block; color: #fff; font-size: 15.5px; font-weight: 600; }
.ac-testi-head span:not(.ac-avatar) { display: block; margin-top: 3px; color: var(--ac-red); font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.ac-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 0, 0, .55); background: #27272A; color: #fff; font-weight: 700; font-size: 15px; }
.ac-quote { position: absolute; right: 0; top: 2px; font-size: 30px; color: rgba(255, 0, 0, .16); }
.ac-testi-card blockquote { margin-top: 22px; font-size: 14.5px; line-height: 1.7; font-style: italic; color: #A1A1AA; }
.ac-dots { display: none; }

/* ================= FAQ ================= */
.ac-faq { padding: 96px 24px 104px; background: #F8F9FA; }
.ac-faq h2 { font-size: 32px; letter-spacing: -.6px; }
.ac-faq-list { max-width: 700px; margin: 40px auto 0; display: grid; gap: 12px; }
.ac-faq details { background: #fff; border: 1px solid #D4D4D8; border-radius: 10px; }
.ac-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--ac-ink); }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: #52525B; transition: transform .2s; }
.ac-faq details[open] summary::after { transform: rotate(180deg); }
.ac-faq details p { padding: 0 18px 16px; font-size: 14px; line-height: 1.65; color: #52525B; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .ac-nav { padding: 0 28px; }
  .ac-nav .nav-links { gap: 20px; }
  .ac-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ac-search { grid-template-columns: 1fr 1fr; padding: 20px; }
  .ac-field-uni { grid-column: 1 / -1; }
  .ac-search-btn { grid-column: 1 / -1; }
  .ac-consult { grid-template-columns: 1fr; gap: 36px; padding: 72px 24px; }
  .ac-consult-right { max-width: 560px; }
}

@media (max-width: 768px) {
  .ac-nav { padding: 0 16px; height: 58px; }
  .ac-nav .logo img { height: 30px; }
  .ac-nav .hamburger { display: flex; position: relative; z-index: 45; }
  .ac-nav .btn-pay-desktop, .ac-nav .nav-right > .btn-login { display: none; }
  .ac-nav .links {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 300px; height: 100vh; padding: 80px 26px 40px;
    flex-direction: column; align-items: stretch; background: #fff; box-shadow: -8px 0 32px rgba(0, 0, 0, .12);
    transition: right .35s cubic-bezier(.4, 0, .2, 1); visibility: hidden; overflow-y: auto; z-index: 40;
  }
  .ac-nav .links.open { right: 0; visibility: visible; }
  .ac-nav .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .ac-nav .nav-links > li > a { justify-content: space-between; padding: 13px 0; font-size: 15px; border-bottom: 1px solid #f0f0f0; }
  .ac-nav .has-dropdown:hover .dropdown { display: none; }
  .ac-nav .has-dropdown.open .dropdown { display: block; position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 14px; background: #fafafa; }
  .ac-nav .has-dropdown::after { display: none; }
  .ac-nav .btn-login-mobile { display: block; margin-top: 14px; padding: 12px 0; text-align: center; border: 1px solid #e5e5e5; border-radius: 50px; }
  .ac-nav .btn-pay-mobile { display: block; margin-top: 12px; padding: 12px; text-align: center; }
  .ac-subnav a { height: 38px; font-size: 12.5px; }
  .ac-subnav a.active::after { width: 70%; }

  .ac-hero-inner { padding: 30px 16px 40px; }
  .ac-hero h1 { font-size: 30px; letter-spacing: -.6px; }
  .ac-hero-sub { font-size: 14.5px; max-width: 320px; }
  .ac-search { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; padding: 16px; border-radius: 16px; }
  .ac-field { position: relative; }
  .ac-field label { position: absolute; z-index: 1; left: 40px; top: 8px; margin: 0; font-size: 9.5px; letter-spacing: .6px; color: #71717A; pointer-events: none; }
  .ac-select { height: 54px; background: #fff; border: 1px solid #E4E4E7; }
  .ac-select select { padding-top: 15px; font-size: 14.5px; }
  .ac-select > .fa-regular, .ac-select > .fa-solid:not(.ac-chev) { left: 14px; }
  .ac-search-btn { height: 46px; border-radius: 50px; }

  .ac-how { padding: 48px 20px 56px; }
  .ac-how h2, .ac-why h2, .ac-consult h2 { font-size: 30px; }
  .ac-section-sub { font-size: 14.5px; }
  .ac-steps { grid-template-columns: 1fr; gap: 34px; margin-top: 40px; }
  .ac-steps::before { top: 40px; bottom: 60px; left: 50%; right: auto; width: 2px; height: auto; transform: translateX(-1px); background: var(--ac-line); }
  .ac-step { background: #fff; }
  .ac-step-icon { width: 60px; height: 60px; font-size: 18px; }
  .ac-step h3 { margin-top: 12px; font-size: 16px; }
  .ac-step p { margin-top: 6px; font-size: 13px; }

  .ac-why { padding: 56px 20px 64px; }
  .ac-why h2 { text-align: left; }
  .ac-underline { margin-left: 0; }
  .ac-why-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .ac-why-card { padding: 20px; }
  .ac-why-card i { font-size: 20px; }
  .ac-why-card h3 { margin-top: 12px; font-size: 16px; }
  .ac-why-card p { margin-top: 8px; font-size: 13px; }

  .ac-consult { padding: 48px 20px; gap: 26px; text-align: center; }
  .ac-consult h2 { text-align: center; }
  .ac-consult-claim { font-size: 14px; letter-spacing: 1.4px; }
  .ac-consult-contact { margin: 12px auto 0; font-size: 12.5px; letter-spacing: .6px; }
  .ac-selection { margin: 18px auto 0; text-align: left; }
  .ac-consult-right { width: 100%; margin: 0 auto; }
  .ac-consult-right form { text-align: left; }

  .ac-testi { padding: 56px 0 48px; }
  .ac-testi h2 { font-size: 26px; text-align: left; padding: 0 20px; }
  .ac-testi-track { display: flex; gap: 14px; margin-top: 28px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ac-testi-track::-webkit-scrollbar { display: none; }
  .ac-testi-card { flex: 0 0 82%; scroll-snap-align: start; padding: 20px; }
  .ac-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .ac-dots span { width: 8px; height: 4px; border-radius: 4px; background: #3F3F46; transition: width .2s, background .2s; }
  .ac-dots span.on { width: 18px; background: var(--ac-red); }

  .ac-faq { padding: 48px 16px 56px; }
  .ac-faq h2 { font-size: 22px; }
  .ac-faq-list { margin-top: 24px; }
  .ac-faq summary { padding: 13px 14px; font-size: 13.5px; }
}

@media (max-width: 420px) {
  .ac-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
