/* ============================================================
   TRIP FLY BD - SERVICES.CSS
   Premium Services Page | Conversion Cards | Inquiry Modal
============================================================ */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.services-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4.5rem) clamp(1rem, 4vw, 2rem) 4rem;
  overflow: hidden;
  background: var(--bg-body);
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,12,.58), rgba(5,8,12,.92)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=85&w=1800&auto=format&fit=crop") center/cover no-repeat;
  opacity: .78;
  transform: scale(1.02);
}

.services-hero::before,
.services-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.services-hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.18), transparent 34%),
    radial-gradient(circle at 80% 74%, rgba(37,99,235,.16), transparent 38%),
    linear-gradient(90deg, rgba(5,8,12,.88), rgba(5,8,12,.32), rgba(5,8,12,.88));
}

.services-hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg-body));
}

.services-hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(760px, 90vw);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(212,175,55,.22), transparent 68%);
  filter: blur(46px);
  animation: svcHeroGlow 7s ease-in-out infinite;
}

@keyframes svcHeroGlow {
  0%, 100% { opacity: .72; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.services-hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
}

.services-hero h1 {
  font-family: var(--font-serif);
  color: var(--txt-white);
  font-size: clamp(2.35rem, 6.4vw, 5rem);
  line-height: 1.06;
  font-weight: 900;
  margin: 1rem auto 1.05rem;
  max-width: 860px;
}

.services-hero p {
  max-width: 700px;
  margin: 0 auto 1.8rem;
  color: rgba(200,216,232,.78);
  font-size: clamp(.92rem, 2vw, 1.05rem);
  line-height: 1.85;
}

.services-hero-actions,
.cta-buttons,
.eligibility-actions {
  display: flex;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
}

.hero-proof-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
  max-width: 100%;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 38px;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(212,175,55,.18);
  color: var(--txt-light);
  font-size: .76rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-proof-row i {
  color: var(--gold);
}

/* Sticky service tabs */
.services-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: rgba(7,10,15,.92);
  border-top: 1px solid rgba(212,175,55,.08);
  border-bottom: 1px solid rgba(212,175,55,.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.services-nav::-webkit-scrollbar {
  display: none;
}

.services-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: max-content;
  min-width: 100%;
  padding: .85rem clamp(1rem, 4vw, 2rem);
}
.services-nav .svc-page-link { text-decoration:none; }
.svc-card-footer a.svc-inquiry-btn { text-decoration:none; text-align:center; }

.svc-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 42px;
  border: 1px solid rgba(212,175,55,.22);
  background: rgba(212,175,55,.055);
  color: var(--txt-dim);
  padding: .58rem 1rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--tx);
}

.svc-tab:hover,
.svc-tab:focus-visible {
  color: var(--txt-white);
  border-color: rgba(212,175,55,.42);
  background: rgba(212,175,55,.12);
  outline: none;
}

.svc-tab.active {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212,175,55,.32);
}

.services-main,
.eligibility-section,
.choice-section,
.process-section,
.trust-section,
.cta-section {
  position: relative;
  overflow: hidden;
}

.services-main {
  background: var(--bg-body);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.services-main::before,
.eligibility-section::before,
.process-section::before,
.trust-section::before,
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(212,175,55,.06), transparent 34%),
    radial-gradient(circle at 90% 62%, rgba(212,175,55,.045), transparent 36%);
}

.services-main .container,
.eligibility-section .container,
.choice-section .container,
.process-section .container,
.trust-section .container,
.cta-section .container {
  position: relative;
  z-index: 2;
}

.service-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .8fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(18,24,32,.98), rgba(8,12,18,.98));
  border: 1px solid rgba(212,175,55,.18);
  box-shadow: 0 24px 65px rgba(0,0,0,.34);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.service-intro-card h2,
.eligibility-copy h2,
.choice-panel h2,
.cta-content h2 {
  font-family: var(--font-serif);
  color: var(--txt-white);
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  line-height: 1.18;
  font-weight: 900;
  margin: .75rem 0;
}

.service-intro-card p,
.eligibility-copy p,
.choice-panel p,
.cta-content p {
  color: var(--txt-mid);
  line-height: 1.8;
  font-size: clamp(.86rem, 1.9vw, .95rem);
}

.service-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.service-intro-stats div {
  min-width: 0;
  padding: 1.05rem .75rem;
  border-radius: 18px;
  text-align: center;
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.16);
}

.service-intro-stats strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 900;
}

.service-intro-stats span {
  display: block;
  margin-top: .25rem;
  color: var(--txt-dim);
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.svc-section-block {
  scroll-margin-top: calc(var(--nav-h) + 88px);
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.svc-section-block:last-child {
  margin-bottom: 0;
}

.svc-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(212,175,55,.05);
  border: 1px solid rgba(212,175,55,.14);
}

.svc-cat-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  color: #000;
  font-size: 1.5rem;
  box-shadow: 0 0 28px rgba(212,175,55,.28);
}

.svc-category-header h2 {
  font-family: var(--font-serif);
  color: var(--txt-white);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  margin-bottom: .25rem;
}

.svc-category-header p {
  color: var(--txt-mid);
  font-size: .9rem;
  line-height: 1.6;
}

.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.45rem);
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(18,24,32,.98), rgba(8,12,18,.98));
  border: 1px solid rgba(212,175,55,.16);
  box-shadow: 0 16px 44px rgba(0,0,0,.24);
  transition: transform .38s cubic-bezier(.23,1,.32,1), border-color .35s, box-shadow .35s;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.085) 24%, transparent 48%);
  transform: translateX(-120%);
  transition: transform .75s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,.4);
  box-shadow:
    0 25px 70px rgba(0,0,0,.52),
    0 0 34px rgba(212,175,55,.13);
}

.svc-card:hover::before {
  transform: translateX(120%);
}

.svc-card-img {
  position: relative;
  height: clamp(188px, 20vw, 230px);
  overflow: hidden;
  background: rgba(212,175,55,.05);
}

.svc-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,12,.98), rgba(5,8,12,.2), rgba(5,8,12,.05));
}

.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.82) saturate(.95);
  transform: scale(1);
  transition: transform .75s cubic-bezier(.23,1,.32,1), filter .4s ease;
}

.svc-card:hover .svc-card-img img {
  transform: scale(1.1);
  filter: brightness(.64) saturate(.9);
}

.svc-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  max-width: calc(100% - 2rem);
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(5,8,12,.72);
  border: 1px solid rgba(212,175,55,.28);
  color: var(--gold);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .75px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.svc-icon-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #000;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  font-size: 1.35rem;
  box-shadow: 0 0 26px rgba(212,175,55,.34);
}

.svc-card-body {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 1.25rem 1.2rem 1rem;
}

.svc-card-tag {
  display: inline-flex;
  max-width: 100%;
  padding: .34rem .72rem;
  border-radius: 999px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.15);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.svc-card-body h3 {
  font-family: var(--font-serif);
  color: var(--txt-white);
  font-size: clamp(1.16rem, 2.6vw, 1.38rem);
  font-weight: 900;
  margin-bottom: .62rem;
}

.svc-card-body p {
  color: var(--txt-mid);
  font-size: .86rem;
  line-height: 1.76;
  margin-bottom: .95rem;
}

.svc-card-body ul {
  display: grid;
  gap: .48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-card-body li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--txt-mid);
  font-size: .79rem;
  line-height: 1.48;
}

.svc-card-body li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,.42);
}

.domestic-mini-routes {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: .95rem;
}

.domestic-mini-routes span {
  padding: .34rem .65rem;
  border-radius: 999px;
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.15);
  color: var(--txt-mid);
  font-size: .7rem;
  font-weight: 750;
}

.svc-card-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(106px, .75fr);
  gap: .7rem;
  padding: 1rem 1.2rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(212,175,55,.035);
}

.svc-inquiry-btn,
.svc-wa-btn,
.svc-modal-wa,
.svc-submit-btn {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .75rem .95rem;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}

.svc-inquiry-btn,
.svc-submit-btn {
  border: none;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  color: #000;
  box-shadow: 0 8px 22px rgba(212,175,55,.25);
}

.svc-inquiry-btn:hover,
.svc-inquiry-btn:focus-visible,
.svc-submit-btn:hover,
.svc-submit-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 13px 30px rgba(212,175,55,.36);
  outline: none;
}

.svc-wa-btn,
.svc-modal-wa {
  border: 1px solid rgba(37,211,102,.28);
  color: #25D366;
  background: rgba(37,211,102,.08);
}

.svc-wa-btn:hover,
.svc-wa-btn:focus-visible,
.svc-modal-wa:hover,
.svc-modal-wa:focus-visible {
  background: #25D366;
  color: #000;
  transform: translateY(-3px);
  outline: none;
}

.services-hero-actions .svc-inquiry-btn,
.eligibility-actions .svc-inquiry-btn,
.choice-panel .svc-inquiry-btn,
.cta-buttons .svc-inquiry-btn {
  min-height: auto;
  padding: clamp(.9rem, 2.5vw, 1.1rem) clamp(1.6rem, 4vw, 2.6rem);
  font-size: clamp(.88rem, 2vw, .98rem);
}

.eligibility-section {
  background:
    linear-gradient(145deg, rgba(13,18,27,.98), rgba(5,8,12,.98));
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  scroll-margin-top: calc(var(--nav-h) + 88px);
}

.eligibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .85fr);
  gap: clamp(1.2rem, 4vw, 2rem);
  align-items: center;
}

.checklist-preview,
.choice-panel,
.trust-card,
.process-step,
.cta-content {
  background: linear-gradient(145deg, rgba(18,24,32,.96), rgba(8,12,18,.96));
  border: 1px solid rgba(212,175,55,.16);
  box-shadow: 0 22px 60px rgba(0,0,0,.3);
}

.checklist-preview {
  border-radius: 28px;
  padding: clamp(1.3rem, 4vw, 2rem);
}

.checklist-preview h3 {
  font-family: var(--font-serif);
  color: var(--txt-white);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.checklist-preview ul {
  display: grid;
  gap: .75rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.checklist-preview li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--txt-mid);
  line-height: 1.55;
  font-size: .86rem;
}

.checklist-preview i {
  color: var(--gold);
  margin-top: .2rem;
}

.checklist-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--gold);
  font-weight: 900;
  font-size: .85rem;
  text-decoration: none;
}

.travel-support-main {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.choice-section {
  background: var(--bg-alt);
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.choice-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 30px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.choice-panel > div {
  max-width: 760px;
}

.process-section {
  background: var(--bg-section);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}

.process-step {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 26px;
  padding: 2rem 1.15rem;
  transition: var(--tx);
}

.process-step:hover {
  transform: translateY(-7px);
  border-color: rgba(212,175,55,.36);
  box-shadow: 0 26px 64px rgba(0,0,0,.44);
}

.ps-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(212,175,55,.18);
  font-size: .9rem;
  font-weight: 900;
}

.ps-icon,
.cta-icon {
  filter: drop-shadow(0 0 16px rgba(212,175,55,.42));
}

.ps-icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  color: #000;
  font-size: 1.7rem;
}

.process-step h3,
.trust-card h3 {
  color: var(--txt-white);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: .65rem;
}

.process-step p,
.trust-card p {
  color: var(--txt-mid);
  font-size: .84rem;
  line-height: 1.72;
}

.trust-section {
  background: var(--bg-body);
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 2rem;
}

.trust-card {
  min-width: 0;
  text-align: center;
  border-radius: 24px;
  padding: 1.5rem 1rem;
  transition: var(--tx);
}

.trust-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,.34);
}

.trust-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  margin-bottom: 1rem;
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.2);
  color: var(--gold);
  font-size: 1.35rem;
}

.cta-section {
  background:
    linear-gradient(rgba(5,8,12,.82), rgba(5,8,12,.95)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=85&w=1600&auto=format&fit=crop") center/cover no-repeat;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  text-align: center;
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 32px;
  padding: clamp(1.6rem, 5vw, 3rem);
}

/* The final CTA keeps a dark premium surface in light mode, so its copy must
   stay on the light text palette instead of inheriting the page's dark ink. */
body[data-theme="light"] .cta-content h2 {
  color: #f7fbff;
}

body[data-theme="light"] .cta-content p {
  color: #b8c8d4;
}

body[data-theme="light"] .cta-content .cta-icon {
  color: #f2cf5b;
}

/* This CTA card intentionally stays dark in both themes; keep its copy bright
   even if a shared page theme rule is loaded after the service stylesheet. */
.cta-section .cta-content h2 {
  color: #f7fbff !important;
}

.cta-section .cta-content p {
  color: #b8c8d4 !important;
}

.cta-section .cta-content .cta-icon {
  color: #f2cf5b !important;
}

.cta-icon {
  display: block;
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin-bottom: 1rem;
}

.svc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.75rem, 3vw, 1rem);
  background: rgba(3,5,8,.84);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .32s ease, visibility .32s ease;
}

.svc-modal-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.svc-modal {
  position: relative;
  width: min(100%, 860px);
  max-height: min(92vh, 840px);
  overflow-y: auto;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(18,24,32,.98), rgba(7,10,15,.98));
  border: 1px solid rgba(212,175,55,.28);
  box-shadow:
    0 42px 110px rgba(0,0,0,.76),
    0 0 60px rgba(212,175,55,.14);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  transform: translateY(28px) scale(.96);
  transition: transform .4s cubic-bezier(.23,1,.32,1);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dk) transparent;
}

.svc-modal-overlay.show .svc-modal {
  transform: translateY(0) scale(1);
}

.svc-modal::-webkit-scrollbar {
  width: 5px;
}

.svc-modal::-webkit-scrollbar-thumb {
  background: var(--gold-dk);
  border-radius: 999px;
}

.svc-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
  box-shadow: 0 0 22px rgba(212,175,55,.45);
}

.svc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--gold);
  cursor: pointer;
  transition: var(--tx);
}

.svc-modal-close:hover,
.svc-modal-close:focus-visible {
  background: rgba(212,175,55,.14);
  transform: rotate(90deg);
  outline: none;
}

.svc-modal-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.45rem;
}

.svc-modal-icon {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  color: #000;
  font-size: 1.9rem;
  box-shadow: 0 0 34px rgba(212,175,55,.34);
}

.svc-modal-head h2 {
  font-family: var(--font-serif);
  color: var(--txt-white);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  margin: .7rem 0;
  font-weight: 900;
}

.svc-modal-head p {
  color: var(--txt-mid);
  font-size: .9rem;
  line-height: 1.72;
}

.svc-honeypot {
  display: none !important;
}

.svc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.svc-field {
  display: flex;
  flex-direction: column;
  gap: .42rem;
  margin-bottom: .85rem;
  min-width: 0;
}

.svc-field label {
  color: var(--txt-mid);
  font-size: .78rem;
  font-weight: 850;
}

.svc-field label span {
  color: var(--gold);
}

.svc-field input,
.svc-field select,
.svc-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.18);
  background: rgba(0,0,0,.24);
  color: var(--txt-white);
  padding: .86rem .95rem;
  outline: none;
  font-family: var(--font);
  font-size: .9rem;
  transition: var(--tx);
}

.svc-control-wrap {
  position: relative;
  min-width: 0;
}

.svc-control-wrap input,
.svc-control-wrap select {
  padding-right: 2.65rem;
}

.svc-control-wrap > i {
  position: absolute;
  right: .95rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212,175,55,.82);
  font-size: .78rem;
  pointer-events: none;
  transition: var(--tx);
}

.svc-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.svc-field select option {
  color: #101820;
  background: #fffaf0;
}

.svc-field input[type="date"],
.svc-field input[type="time"],
.svc-field input[type="number"] {
  color-scheme: dark;
}

.svc-field input[type="number"]::-webkit-inner-spin-button,
.svc-field input[type="number"]::-webkit-outer-spin-button {
  opacity: .65;
}

.svc-field input[readonly] {
  color: var(--gold);
  background: rgba(212,175,55,.07);
  cursor: default;
}

.svc-field input::placeholder,
.svc-field textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.svc-field input:focus,
.svc-field select:focus,
.svc-field textarea:focus {
  border-color: rgba(212,175,55,.55);
  background: rgba(212,175,55,.06);
  box-shadow:
    0 0 0 3px rgba(212,175,55,.1),
    0 0 24px rgba(212,175,55,.1);
}

.svc-control-wrap:focus-within > i {
  color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.svc-custom-destination[hidden] {
  display: none !important;
}

.svc-custom-destination {
  animation: svcFieldReveal .24s ease both;
}

.svc-field textarea {
  resize: vertical;
  min-height: 108px;
}

@keyframes svcFieldReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.svc-status {
  display: none;
  margin: .25rem 0 1rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.55;
}

.svc-status.show {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.svc-status.success {
  color: #78f2a6;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.25);
}

.svc-status.error {
  color: #ff9a9a;
  background: rgba(255,76,76,.1);
  border: 1px solid rgba(255,76,76,.25);
}

.svc-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-top: .4rem;
}

.svc-submit-btn:disabled {
  cursor: not-allowed;
  opacity: .78;
  transform: none;
}

.svc-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: #000;
  animation: svcSpin .75s linear infinite;
}

.svc-submit-btn.loading .svc-spinner {
  display: inline-block;
}

.svc-submit-btn.loading .svc-submit-text {
  display: none;
}

@keyframes svcSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .service-intro-card,
  .eligibility-grid {
    grid-template-columns: 1fr;
  }

  .process-steps,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-hero {
    min-height: 620px;
    padding-top: calc(var(--nav-h) + 3.5rem);
  }

  .services-nav-inner {
    justify-content: flex-start;
    min-width: max-content;
    width: max-content;
    padding-inline: 1rem;
  }

  .services-hero-actions .btn,
  .eligibility-actions .btn,
  .cta-buttons .btn,
  .cta-buttons .svc-inquiry-btn {
    width: 100%;
  }

  .service-intro-stats {
    grid-template-columns: 1fr;
  }

  .svc-category-header {
    align-items: flex-start;
  }

  .choice-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .choice-panel .btn,
  .choice-panel .svc-inquiry-btn {
    width: 100%;
  }

  .svc-form-grid,
  .svc-modal-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .services-hero h1 {
    font-size: clamp(2.2rem, 13vw, 3rem);
  }

  .hero-proof-row {
    width: 100%;
  }

  .hero-proof-row span {
    width: 100%;
    justify-content: center;
  }

  .svc-category-header {
    flex-direction: column;
  }

  .svc-card-footer {
    grid-template-columns: 1fr;
  }

  .process-steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .svc-modal-overlay {
    align-items: flex-end;
    padding: .55rem;
  }

  .svc-modal {
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
  }

  .svc-modal-close {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-glow,
  .svc-spinner {
    animation: none !important;
  }

  .svc-card,
  .svc-card::before,
  .svc-card-img img,
  .svc-tab,
  .svc-modal,
  .svc-modal-overlay,
  .process-step,
  .trust-card {
    transition: none !important;
  }
}

/* ============================================================
   LIGHT MODE REFINEMENT - SERVICES
============================================================ */
body[data-theme="light"] .services-hero-bg {
  opacity: .34;
  background:
    linear-gradient(180deg, rgba(247,240,226,.75), rgba(247,240,226,.95)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=85&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

body[data-theme="light"] .services-hero::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.18), transparent 34%),
    radial-gradient(circle at 80% 74%, rgba(168,134,10,.10), transparent 38%),
    linear-gradient(90deg, rgba(247,240,226,.86), rgba(247,240,226,.46), rgba(247,240,226,.86));
}

body[data-theme="light"] .services-hero p,
body[data-theme="light"] .hero-proof-row span {
  color: var(--txt-mid);
}

body[data-theme="light"] .services-nav {
  background: rgba(255,250,240,.90);
  border-top-color: var(--light-border);
  border-bottom-color: var(--light-border);
  box-shadow: 0 10px 26px rgba(54,42,15,.08);
}

body[data-theme="light"] .svc-tab {
  background: rgba(255,255,255,.62);
  border-color: var(--light-border);
  color: var(--txt-mid);
}

body[data-theme="light"] .svc-tab:hover,
body[data-theme="light"] .svc-tab:focus-visible {
  color: var(--gold-dk);
  background: rgba(212,175,55,.12);
}

body[data-theme="light"] .services-main,
body[data-theme="light"] .eligibility-section,
body[data-theme="light"] .choice-section,
body[data-theme="light"] .process-section,
body[data-theme="light"] .trust-section {
  background: var(--bg-body);
}

body[data-theme="light"] .service-intro-card,
body[data-theme="light"] .svc-card,
body[data-theme="light"] .choice-panel,
body[data-theme="light"] .trust-card,
body[data-theme="light"] .process-step,
body[data-theme="light"] .svc-modal {
  background: linear-gradient(145deg, var(--light-card-strong), var(--light-card-soft)) !important;
  border-color: var(--light-border) !important;
  box-shadow: var(--light-shadow) !important;
  color: var(--txt-light);
}

body[data-theme="light"] .svc-card:hover,
body[data-theme="light"] .trust-card:hover,
body[data-theme="light"] .process-step:hover {
  border-color: var(--light-border-strong) !important;
  box-shadow: var(--light-shadow-hover) !important;
}

body[data-theme="light"] .svc-card::before,
body[data-theme="light"] .service-intro-card::before {
  background: linear-gradient(120deg, transparent 0%, rgba(212,175,55,.14) 28%, transparent 55%);
}

body[data-theme="light"] .service-intro-card h2,
body[data-theme="light"] .svc-category-header h2,
body[data-theme="light"] .svc-card-body h3,
body[data-theme="light"] .eligibility-copy h2,
body[data-theme="light"] .choice-panel h2,
body[data-theme="light"] .process-step h3,
body[data-theme="light"] .trust-card h3,
body[data-theme="light"] .svc-modal-head h2 {
  color: var(--txt-white);
}

body[data-theme="light"] .service-intro-card p,
body[data-theme="light"] .svc-category-header p,
body[data-theme="light"] .svc-card-body p,
body[data-theme="light"] .svc-card-body li,
body[data-theme="light"] .eligibility-copy p,
body[data-theme="light"] .choice-panel p,
body[data-theme="light"] .process-step p,
body[data-theme="light"] .trust-card p,
body[data-theme="light"] .svc-modal-head p {
  color: var(--txt-mid);
}

body[data-theme="light"] .svc-card-tag,
body[data-theme="light"] .service-intro-stats div,
body[data-theme="light"] .hero-proof-row span {
  background: rgba(255,255,255,.58);
  border-color: var(--light-border);
}

body[data-theme="light"] .svc-field input,
body[data-theme="light"] .svc-field select,
body[data-theme="light"] .svc-field textarea,
body[data-theme="light"] .svc-control-wrap input,
body[data-theme="light"] .svc-control-wrap select {
  background: rgba(255,255,255,.72);
  border-color: var(--light-border);
  color: #102033;
}

body[data-theme="light"] .svc-field input[readonly] {
  background: rgba(212,175,55,.10);
}

body[data-theme="light"] .svc-field select option {
  background: #FFF8EA;
  color: #102033;
}

body[data-theme="light"] .svc-modal-overlay {
  background: rgba(16,32,51,.42);
}

/* Light mode fix: Free Visa Eligibility checklist card */
html[data-theme="light"] .checklist-preview,
body[data-theme="light"] .checklist-preview {
  background:
    radial-gradient(circle at 18% 12%, rgba(212,175,55,.13), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,248,235,.78)) !important;
  border-color: rgba(168,134,10,.22) !important;
  box-shadow: 0 22px 56px rgba(54,42,15,.13) !important;
  color: #102033;
}

html[data-theme="light"] .checklist-preview h3,
body[data-theme="light"] .checklist-preview h3 {
  color: #102033;
}

html[data-theme="light"] .checklist-preview li,
body[data-theme="light"] .checklist-preview li {
  color: #52657a;
}

html[data-theme="light"] .checklist-preview i,
body[data-theme="light"] .checklist-preview i,
html[data-theme="light"] .checklist-link,
body[data-theme="light"] .checklist-link {
  color: var(--gold-dk);
}

html[data-theme="light"] .checklist-preview:hover,
body[data-theme="light"] .checklist-preview:hover {
  border-color: rgba(168,134,10,.34) !important;
  box-shadow: 0 28px 66px rgba(54,42,15,.16) !important;
}
