/* =========================================================
   TOKENS  —  cyan / near-black / white corporate theme
========================================================= */
:root{
  --sky:        #10B3E6;   /* bright cyan — utility bar, accent, links */
  --sky-deep:   #0B8FBB;   /* hover / pressed state */
  --sky-pale:   #E4F7FD;   /* tint for chips, alt backgrounds */
  --ink:        #14181D;   /* near-black — nav, footer, dark surfaces */
  --ink-2:      #1E252C;   /* secondary dark surface */
  --paper:      #FFFFFF;   /* page background */
  --paper-2:    #F3F6F8;   /* alternate light section */
  --text:       #1A222B;   /* body copy */
  --text-soft:  #57636E;   /* secondary copy */
  --line:       rgba(20,24,29,0.12);
  --white:      #FFFFFF;

  --font-display: "Poppins", "Inter", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  --radius: 6px;
  --container: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
p{ margin:0 0 1em; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
button{ font-family: inherit; cursor: pointer; }
:focus-visible{ outline: 3px solid var(--sky); outline-offset: 2px; }
.skip-link{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}
.skip-link:focus{
  position:fixed; top:10px; left:10px; width:auto; height:auto; clip:auto; z-index:9999;
  padding:10px 16px; background:var(--white); color:var(--ink); border-radius:var(--radius);
  box-shadow:0 4px 16px rgba(0,0,0,.2);
}

/* =========================================================
   TOP UTILITY BAR
========================================================= */
.top-bar{ background: var(--sky); color: var(--ink); }
.top-bar-row{
  max-width: var(--container); margin:0 auto; padding: 10px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.top-bar .tagline{ font-size:.86rem; font-weight:600; }
.top-bar .tagline strong{ font-weight:800; }
.top-bar-contacts{ display:flex; gap: 26px; flex-wrap:wrap; }
.top-bar-contacts a{
  display:flex; align-items:center; gap:8px; text-decoration:none;
  font-size:.86rem; font-weight:600; color: var(--ink);
}
.top-bar-contacts .icon{
  width:22px; height:22px; border-radius:50%; background: rgba(20,24,29,0.12);
  display:flex; align-items:center; justify-content:center; font-size:.7rem; flex:0 0 auto;
}
@media (max-width: 700px){ .top-bar-row{ justify-content:center; text-align:center; } }

/* =========================================================
   ANIMATION UTILITIES
========================================================= */
[data-reveal]{
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-visible{ opacity: 1; transform: none; }
[data-reveal="fade"]{ transform: none; }
[data-reveal="left"]{ transform: translateX(-26px); }
[data-reveal="left"].is-visible{ transform: none; }
[data-reveal="right"]{ transform: translateX(26px); }
[data-reveal="right"].is-visible{ transform: none; }
[data-reveal="scale"]{ transform: scale(.94); }
[data-reveal="scale"].is-visible{ transform: none; }

@keyframes heroFadeUp{
  from{ opacity:0; transform: translateY(18px); }
  to{ opacity:1; transform:none; }
}
.hero-content > *, .hero-card > *, .home-hero-grid > *{ animation: heroFadeUp .8s ease both; }
.hero-content > *:nth-child(2), .hero-card > *:nth-child(2), .home-hero-grid > *:nth-child(2){ animation-delay: .08s; }
.hero-card > *:nth-child(3){ animation-delay: .16s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  .hero-content > *, .hero-card > *, .home-hero-grid > *{ animation: none; }
}

/* =========================================================
   MAIN NAV
========================================================= */
.site-header{ position: sticky; top:0; z-index: 50; }
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 28px;
  max-width: var(--container); margin:0 auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight:800;
  color: var(--ink); text-decoration:none;
}
.brand .logo-chip{
  display:flex; align-items:center; line-height:0;
}
.brand .logo-chip img{ height: 64px; width:auto; display:block; }
.nav-links{ display:flex; gap: 30px; list-style:none; margin:0; padding:0; }
.nav-links a{
  text-decoration:none; font-size:.9rem; font-weight:700; letter-spacing:.01em;
  color: var(--ink); opacity:.7; position:relative; padding: 6px 0;
  transition: opacity .2s ease;
}
.nav-links a.active,
.nav-links a:hover{ opacity:1; }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--sky);
}
.nav-toggle{ display:none; background:none; border:none; flex-direction:column; gap:5px; padding:6px; }
.nav-toggle span{ width:24px; height:2px; background: var(--ink); display:block; }

@media (max-width: 860px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--white); flex-direction:column; gap:0;
    max-height:0; overflow:hidden; border-bottom: 1px solid var(--line);
    transition: max-height .25s ease;
  }
  .nav-links.open{ max-height: 400px; }
  .nav-links li{ border-top:1px solid var(--line); }
  .nav-links a{ display:block; padding: 14px 28px; }
}

/* =========================================================
   HERO (per-country pages)
========================================================= */
.hero{ position:relative; min-height: 62vh; display:flex; align-items:flex-end; color: var(--white); overflow:hidden; }
.hero-bg{ position:absolute; inset:0; }
.hero-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-img.is-active{ opacity:1; }
/* Directional readability gradient (same behaviour as ATC Excellent): the hero
   text sits at the BOTTOM here, so the gradient is darkest along the bottom edge
   and clears toward the top — this keeps the text legible by default while the
   upper photo stays true-colour. The .hero-card is only a hover enhancement. */
.hero::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.68) 100%);
}
.hero-content{ position:relative; z-index:2; padding: 60px 28px 48px; width:100%; max-width: var(--container); margin: 0 auto; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
/* content block: transparent by default (the gradient keeps the text readable) —
   a dark, blurred backdrop hugging just the heading/lead/CTAs fades in ONLY on
   hover, exactly like ATC Excellent's hero. */
.hero-card{
  display:inline-block;
  max-width:640px;
  padding:32px 36px;
  background:transparent;
  border:1px solid transparent;
  border-radius:20px;
  transition:background .3s ease, backdrop-filter .3s ease, border-color .3s ease, box-shadow .3s ease;
}
@media (hover:hover){
  .hero-card:hover{
    background:rgba(8,12,22,0.55);
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
    border-color:rgba(255,255,255,0.10);
    box-shadow:0 24px 60px -20px rgba(0,0,0,0.5);
  }
}
/* Mobile (same approach as ATC Excellent): the card stays transparent by default —
   the stronger bottom gradient below keeps the bottom-anchored text legible while
   the photo shows through — and tapping the block reveals the dark card. */
@media (max-width:920px){
  .hero::after{
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.82) 100%);
  }
  .hero-card{ max-width:100%; }
  /* At these widths the card spans full width, so the bottom-right prev/next
     arrows would overlap its dark (hover/tap) backdrop. Give the arrows their
     own clear band below the card by extending the content's bottom padding. */
  .hero-content{ padding-bottom:108px; }
  .hero-card.touch-active{
    background:rgba(8,12,22,0.55);
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
    border-color:rgba(255,255,255,0.10);
    box-shadow:0 24px 60px -20px rgba(0,0,0,0.5);
  }
}
/* Phones: keep the hero compact so the heading + lead + buttons all fit on one
   screen and the heading is never pushed up under the sticky header. */
@media (max-width:640px){
  .hero{ min-height:auto; }
  .hero-content{ padding: 40px 20px 108px; }
  .hero h1{ font-size: clamp(1.8rem, 8vw, 2.1rem); line-height:1.14; }
  .hero p.lead{ font-size: 0.98rem; }
}
.hero-eyebrow{
  font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.18em;
  font-size:.72rem; color: var(--sky); margin-bottom:14px; display:block; font-weight:700;
}
.hero h1{ color:var(--white); font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom:.3em; }
.hero p.lead{ max-width:560px; font-size:1.05rem; color: rgba(255,255,255,0.88); }

/* =========================================================
   HOME PAGE — hero band (index only)
========================================================= */
.home-hero{ position:relative; background: var(--ink); color: var(--white); overflow:hidden; }
.home-hero .container{ position:relative; z-index:2; padding: 76px 28px 60px; }
.home-hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center; }
@media (max-width: 900px){ .home-hero-grid{ grid-template-columns:1fr; } }
.home-hero h1{ color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom:.35em; }
.home-hero p.lead{ color: rgba(255,255,255,0.78); max-width:520px; font-size:1.05rem; }
.home-hero-stats{ display:flex; gap: 34px; margin-top: 30px; flex-wrap:wrap; }
.stat .num{ font-family: var(--font-display); font-size:2rem; font-weight:800; color: var(--sky); }
.stat .label{ font-size:.8rem; color: rgba(255,255,255,0.7); }
.home-hero-panel{ background: var(--ink-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px; }
.home-hero-panel h4{ color:var(--white); font-size:.95rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.home-hero-panel ul{ list-style:none; margin:0; padding:0; }
.home-hero-panel li{
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85); font-size:.92rem; display:flex; gap:10px;
}
.home-hero-panel li:last-child{ border-bottom:none; }
.home-hero-panel li::before{ content:"—"; color: var(--sky); flex:0 0 auto; }

/* =========================================================
   GENERIC SECTION SCAFFOLDING
========================================================= */
.section{ padding: 64px 0; }
/* when a section is ALSO the container, restore its side padding so content
   never touches the viewport edge (esp. on mobile) — .section's shorthand
   would otherwise zero out the container's horizontal padding */
.section.container{ padding-left: 28px; padding-right: 28px; }
.section.alt{ background: var(--paper-2); }
.section.dark{ background: var(--ink); color: rgba(255,255,255,0.85); }
.section.dark h2, .section.dark h3, .section.dark h4{ color: var(--white); }
.section-head{ max-width:680px; margin-bottom: 34px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head .kicker{
  font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.18em;
  color: var(--sky-deep); font-size:.72rem; display:block; margin-bottom:10px; font-weight:700;
}
.section.dark .section-head .kicker{ color: var(--sky); }

.page-intro{ padding: 60px 0 20px; text-align:center; background: var(--paper-2); }
.page-intro .kicker{
  font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.2em;
  color: var(--sky-deep); font-size:.75rem; font-weight:700;
}
.page-intro h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); max-width:820px; margin: 10px auto 16px; }
.page-intro p{ max-width:620px; margin:0 auto; color: var(--text-soft); }

/* three/four-up info grids used for "why us", "services overview" etc */
.info-cards{ display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 960px){ .info-cards{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .info-cards{ grid-template-columns: 1fr; } }
.info-card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.section.dark .info-card{ background: var(--ink-2); border-color: rgba(255,255,255,0.08); }
.info-card .icon-tile{
  width:44px; height:44px; border-radius: 10px; background: var(--sky-pale); color: var(--sky-deep);
  display:flex; align-items:center; justify-content:center; font-weight:800; margin-bottom:14px; font-family: var(--font-display);
}
.info-card h3{ font-size:1.05rem; margin-bottom:8px; }
.info-card p{ font-size:.88rem; color: var(--text-soft); margin:0; }
.section.dark .info-card p{ color: rgba(255,255,255,0.68); }

/* numbered process row */
.process-row{ display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: proc; }
@media (max-width: 900px){ .process-row{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .process-row{ grid-template-columns: 1fr; } }
.process-step{ position:relative; padding-top: 10px; }
.process-step::before{
  counter-increment: proc; content: counter(proc, decimal-leading-zero);
  font-family: var(--font-mono); font-size:1.6rem; color: var(--sky); font-weight:700; display:block; margin-bottom:10px;
}
.process-step h3{ font-size:1rem; margin-bottom:6px; }
.process-step p{ font-size:.86rem; color: var(--text-soft); margin:0; }

/* =========================================================
   TRACK RECORD — numbers section
========================================================= */
.track-record{
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: 46px clamp(20px,4vw,54px); position:relative; overflow:hidden;
}
.track-record::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(600px 300px at 85% 20%, rgba(16,179,230,0.18), transparent 70%);
}
.track-record-head{ position:relative; z-index:1; max-width:640px; margin-bottom: 32px; }
.track-record-head .kicker{ color: var(--sky); }
.track-record-head h2{ color: var(--white); }
.track-record-head p{ color: rgba(255,255,255,0.72); margin:0; }
.track-record-grid{ position:relative; z-index:1; display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px){ .track-record-grid{ grid-template-columns: 1fr; } }
.tr-stat{
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 26px 24px;
}
.tr-stat .tr-arrow{ color: var(--sky); font-size:1.1rem; display:block; margin-bottom:14px; }
.tr-stat .tr-num{ font-family: var(--font-display); font-size: 2.6rem; font-weight:800; color: var(--white); line-height:1; }
.tr-stat .tr-label{
  margin-top:10px; font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.1em;
  font-size:.72rem; color: rgba(255,255,255,0.62);
}

/* =========================================================
   CLIENT LOGO MARQUEE
========================================================= */
.clients-head{ margin-bottom: 30px; }
.marquee{
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display:flex; align-items:stretch; gap: 18px; width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee-scroll{
  from{ transform: translateX(-50%); }
  to{ transform: translateX(0); }
}
.client-logo{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px; display:flex; flex-direction:column; align-items:center; gap:12px;
  text-align:center; transition: border-color .2s, transform .2s; flex: 0 0 auto; width: 190px;
}
.client-logo:hover{ border-color: var(--sky); transform: translateY(-3px); }
.client-logo img{
  height: 52px; width:auto; max-width:100%; object-fit:contain;
  filter: grayscale(1); opacity:.75; transition: filter .2s, opacity .2s;
}
.client-logo:hover img{ filter:none; opacity:1; }
.client-logo .client-name{ font-size:.8rem; font-weight:600; color: var(--text-soft); white-space:nowrap; }

@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* =========================================================
   ABOUT / MISSION SPLIT
========================================================= */
.about-split-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items:center; }
@media (max-width: 860px){ .about-split-grid{ grid-template-columns:1fr; } }
.about-visual{ position:relative; display:flex; align-items:center; justify-content:center; min-height:280px; }
.about-visual-ring{
  position:absolute; width:260px; height:260px; border-radius:50%;
  border: 2px dashed rgba(16,179,230,0.35);
  animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow{ to{ transform: rotate(360deg); } }
.about-visual-card{
  position:relative; z-index:1; background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: 34px 30px; text-align:center; width: 220px;
  box-shadow: 0 20px 40px rgba(16,20,25,0.18);
}
.stat-big{ font-family: var(--font-display); font-size:3rem; font-weight:800; color: var(--sky); display:block; }
.stat-big-label{ font-family: var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color: rgba(255,255,255,0.7); display:block; margin-top:10px; }
@media (prefers-reduced-motion: reduce){ .about-visual-ring{ animation:none; } }

/* =========================================================
   LINE-ICON SERVICES (Company Establishment / Visa / Tax)
========================================================= */
.line-services{ display:grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
@media (max-width: 860px){ .line-services{ grid-template-columns:1fr; gap:34px; } }
.line-icon{ width:48px; height:48px; color: var(--ink); margin-bottom:18px; }
.line-icon svg{ width:100%; height:100%; }
.line-service h3{ font-size:1.25rem; margin-bottom:10px; }
.line-rule{ display:block; width:46px; height:2px; background: var(--sky); margin-bottom:16px; }
.line-service p{ color: var(--text-soft); font-size:.92rem; }
.text-link{ font-size:.88rem; font-weight:700; color: var(--sky-deep); text-decoration:none; }
.text-link:hover{ text-decoration:underline; }

/* =========================================================
   WHY CHOOSE US + FREE CONSULTATION
========================================================= */
.benefits-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items:start; }
@media (max-width: 900px){ .benefits-grid{ grid-template-columns:1fr; } }
.check-cols{ list-style:none; margin: 14px 0 0; padding:0; columns: 2; gap: 24px; }
.check-cols li{
  break-inside: avoid; padding: 8px 0 8px 30px; position:relative; font-size:.95rem; color: rgba(255,255,255,0.88);
}
.check-cols li::before{
  content:"\2713"; position:absolute; left:0; top:7px; width:20px; height:20px; border-radius:50%;
  background: var(--sky); color: var(--ink); font-size:.68rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.benefits-section .rule{ height:1px; background: rgba(255,255,255,0.14); margin: 26px 0 22px; }
.consult-card{
  background: var(--ink-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  padding: 30px 28px;
}
.consult-steps{ display:flex; gap:14px; margin: 18px 0 22px; flex-wrap:wrap; }
.consult-step{
  font-family: var(--font-mono); font-size:.7rem; letter-spacing:.05em; text-transform:uppercase;
  color: rgba(255,255,255,0.45); padding-bottom:8px; border-bottom: 2px solid transparent;
}
.consult-step.active{ color: var(--sky); border-color: var(--sky); }

/* =========================================================
   HOME PAGE — country grid
========================================================= */
.country-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 10px 0 20px; }
@media (max-width: 900px){ .country-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .country-grid{ grid-template-columns: 1fr; } }

.country-card{
  position:relative; border-radius: var(--radius); overflow:hidden;
  text-decoration:none; aspect-ratio: 4/5; display:flex; align-items:flex-end;
  border: 1px solid var(--line);
}
.country-card img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter: grayscale(0.5);
  transition: transform .6s ease, filter .4s ease;
}
.country-card:hover img{ transform: scale(1.06); filter: grayscale(0); }
.country-card::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(16,20,25,0) 35%, rgba(16,20,25,0.94) 100%);
}
.country-card .card-label{ position:relative; z-index:2; padding: 22px; color: var(--white); width:100%; }
.card-label .stamp-tag{
  font-family: var(--font-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase;
  color: var(--sky); display:block; margin-bottom:6px; font-weight:700;
}
.card-label h3{ color:var(--white); font-size:1.5rem; margin-bottom:4px; }
.card-label span.arrow{ font-size:.85rem; opacity:.85; }

.country-card.disabled{ filter: grayscale(0.1); }
.badge-soon{
  position:absolute; top:14px; right:14px; z-index:3;
  background: var(--sky); color:var(--ink);
  font-family: var(--font-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase;
  padding: 5px 10px; border-radius: 20px; font-weight:700;
}

/* =========================================================
   SERVICE SELECTOR (Malaysia page)
========================================================= */
.service-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 900px){ .service-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .service-grid{ grid-template-columns: 1fr; } }

.service-btn{
  text-align:left; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px; display:flex; flex-direction:column; gap:8px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-btn:hover{ border-color: var(--sky); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,20,25,0.08); }
.service-btn.active{ border-color: var(--sky); background: var(--sky-pale); box-shadow: 0 10px 24px rgba(16,179,230,0.16); }
.service-btn .svc-num{ font-family: var(--font-mono); font-size:.7rem; color: var(--sky-deep); font-weight:700; }
.service-btn h3{ font-size: 1.08rem; margin: 0; }
.service-btn .svc-sub{ font-size:.85rem; color: var(--text-soft); margin:0; }

/* detail panel that appears below the grid */
.detail-panel{
  border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius); padding: 32px clamp(20px,4vw,44px);
  display:none;
}
.detail-panel.open{ display:block; animation: fadeIn .35s ease; }
@keyframes fadeIn{ from{ opacity:0; transform: translateY(8px);} to{opacity:1; transform:none;} }

.detail-panel .detail-head{
  display:flex; justify-content:space-between; align-items:flex-start; gap:20px;
  border-bottom: 1px solid var(--line); padding-bottom:18px; margin-bottom:22px;
}
.detail-panel h2{ font-size:1.7rem; margin-bottom:4px; }
.detail-panel .detail-sub{ color:var(--text-soft); font-size:.95rem; margin:0; }
.close-detail{
  background:none; border:1px solid var(--line); border-radius:50%;
  width:34px; height:34px; flex:0 0 auto; font-size:1.1rem; color: var(--text-soft);
  display:flex; align-items:center; justify-content:center;
}
.close-detail:hover{ border-color: var(--sky); color:var(--sky-deep); }

/* visa sub-type chooser */
.subtype-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 26px; }
.subtype-chip{
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 9px 16px; border-radius: 30px; font-size:.86rem;
  color: var(--text-soft); font-weight:600;
}
.subtype-chip.active{ background: var(--ink); color: var(--white); border-color:var(--ink); }
.subtype-chip:hover{ border-color: var(--sky); }

.info-block h4{
  font-family: var(--font-body); font-weight:700; font-size:.78rem;
  text-transform:uppercase; letter-spacing:.1em; color: var(--sky-deep); margin-bottom:12px;
}
.doc-list{ list-style:none; margin:0 0 22px; padding:0; }
.doc-list li{ padding: 9px 0 9px 26px; border-bottom: 1px dashed var(--line); position:relative; font-size:.95rem; }
.doc-list li:last-child{ border-bottom:none; }
.doc-list li::before{ content:"✓"; position:absolute; left:0; top:9px; color: var(--sky-deep); font-weight:700; }
.step-list{ list-style:none; margin:0; padding:0; counter-reset: step; }
.step-list li{ padding: 12px 0 12px 40px; position:relative; border-bottom: 1px dashed var(--line); font-size:.95rem; }
.step-list li:last-child{ border-bottom:none; }
.step-list li::before{
  counter-increment: step; content: counter(step);
  position:absolute; left:0; top:10px; width:24px; height:24px; border-radius:50%;
  background: var(--ink); color: var(--white); font-family: var(--font-mono); font-size:.72rem;
  display:flex; align-items:center; justify-content:center;
}
.note-box{
  background: var(--sky-pale); border-left: 3px solid var(--sky);
  padding: 14px 18px; font-size:.88rem; border-radius: 0 var(--radius) var(--radius) 0; margin-top:10px;
}

/* "Do you want to know more?" cross-links to the other services/visa types */
.related-links{
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
}
.related-links h4{
  font-family: var(--font-display); font-weight:700; font-size:1.05rem;
  text-transform:none; letter-spacing:normal; color: var(--ink); margin-bottom:16px;
}
.related-links-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.related-link{
  background:none; border:none; padding:0; text-align:left; cursor:pointer;
  font-size:.95rem; font-weight:600; color: var(--sky-deep);
  display:inline-flex; align-items:center; gap:8px;
}
.related-link::before{ content:"\2192"; color: var(--sky); font-weight:700; }
.related-link:hover{ text-decoration:underline; color: var(--ink); }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item:last-child{ border-bottom:none; }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding: 15px 0;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-weight:600; color: var(--ink); font-size:.95rem;
}
.faq-q .plus{ font-family: var(--font-mono); color: var(--sky-deep); flex:0 0 auto; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; font-size:.9rem; color: var(--text-soft); }
.faq-a p{ padding-bottom:16px; }
.faq-item.open .faq-a{ max-height: 500px; }
.faq-item.open .plus{ transform: rotate(45deg); display:inline-block; }

/* =========================================================
   CTA BUTTONS
========================================================= */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 26px; border-radius: 30px; font-size:.92rem; font-weight:700;
  text-decoration:none; border: 1px solid transparent; transition: all .2s ease;
}
.btn-primary{ background: var(--sky); color: var(--ink); }
.btn-primary:hover{ background: var(--sky-deep); color: var(--white); }
.btn-outline{ background:transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover{ background: var(--white); color: var(--ink); border-color:var(--white); }
.btn-outline.on-light{ border-color: var(--ink); color: var(--ink); }
.btn-outline.on-light:hover{ background: var(--ink); color: var(--white); }
.btn-dark{ background: var(--ink); color: var(--white); }
.btn-dark:hover{ background: #2c3743; color: var(--white); }
.cta-row{ margin-top: 26px; display:flex; gap:14px; flex-wrap:wrap; }

/* =========================================================
   COMING SOON PAGES
========================================================= */
.coming-soon{ padding: 70px 0 30px; text-align:center; }
.coming-soon .stamp-big{
  width:100px; height:100px; margin:0 auto 26px; border: 2px solid var(--sky);
  transform: rotate(45deg); display:flex; align-items:center; justify-content:center;
}
.coming-soon .stamp-big span{
  transform: rotate(-45deg); font-family: var(--font-mono); color: var(--sky-deep);
  font-size:.68rem; letter-spacing:.1em; text-align:center; line-height:1.3; font-weight:700;
}
.coming-soon h1{ font-size: clamp(2rem,4.5vw,2.8rem); }
.coming-soon p{ max-width:560px; margin: 0 auto 26px; color: var(--text-soft); }

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 70px 28px 100px; }
@media (max-width: 860px){ .contact-wrap{ grid-template-columns:1fr; } }
.contact-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom:16px; }
.contact-card h3{ font-size:1.02rem; }
.contact-card a:not(.btn){ text-decoration:none; color: var(--sky-deep); font-weight:700; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.82rem; font-weight:700; margin-bottom:6px; color: var(--ink); }
.field input, .field select, .field textarea{
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size:.95rem; background: var(--white); color: var(--ink);
}
.field textarea{ min-height:120px; resize:vertical; }
.hours-table{ width:100%; border-collapse:collapse; font-size:.88rem; }
.hours-table td{ padding:7px 0; border-bottom:1px dashed var(--line); }
.hours-table td:last-child{ text-align:right; color: var(--text-soft); }

.map-frame{
  width:100%; max-width: 760px; margin: 0 auto; aspect-ratio: 16/8;
  border-radius: var(--radius); overflow:hidden; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(16,20,25,0.08);
}

[data-config-wrap].hidden-config{ display:none; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer{ background: var(--ink); color: rgba(255,255,255,0.7); padding: 50px 0 26px; margin-top: 0; }
.footer-row{ display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.footer-row h4{ color: var(--white); font-size:1rem; margin-bottom:14px; }
.footer-logo{ height:40px; width:auto; display:block; margin-bottom:14px; }
.footer-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.footer-links a{ text-decoration:none; color: inherit; font-size:.9rem; }
.footer-links a:hover{ color: var(--sky); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12); margin-top:34px; padding-top:20px;
  font-size:.78rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color: rgba(255,255,255,0.85); text-decoration:underline; text-underline-offset:2px; }
.footer-bottom a:hover{ color: var(--sky); }
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }

/* =========================================================
   "MAKE A PAYMENT" NAV BUTTON  (injected by main.js)
========================================================= */
.nav-links a.nav-cta{
  background: var(--sky); color: var(--ink); opacity:1;
  padding: 9px 20px; border-radius: 30px; font-weight:700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a.nav-cta:hover{ background: var(--sky-deep); color: var(--white); transform: translateY(-1px); }
.nav-links a.nav-cta::after{ display:none; }
@media (max-width: 860px){
  .nav-cta-item{ padding: 12px 28px; }
  .nav-links a.nav-cta{ display:inline-block; padding: 10px 20px; }
}

/* =========================================================
   LEGAL / POLICY PAGES  (privacy, terms, refund) + prose
========================================================= */
.legal-page{ padding: 56px 0 84px; }
.legal-page .container{ max-width: 820px; }
.legal-page h1{ font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal-meta{ color: var(--text-soft); font-size:.85rem; margin-bottom: 4px; }
.legal-note{
  background: var(--sky-pale); border-radius: var(--radius);
  padding: 16px 18px; font-size:.86rem; color: var(--text);
  margin: 22px 0 30px; border: 1px solid rgba(11,143,187,0.18);
}
.prose h2{ font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 36px 0 12px; color: var(--ink); }
.prose h3{ font-size: 1.05rem; margin: 22px 0 8px; color: var(--ink); }
.prose p{ color: var(--text-soft); line-height:1.75; margin-bottom: 14px; }
.prose ul, .prose ol{ margin: 0 0 16px; padding-left: 22px; }
.prose li{ color: var(--text-soft); line-height:1.7; margin-bottom: 7px; }
.prose a{ color: var(--sky-deep); font-weight:600; }
.prose table{ width:100%; border-collapse:collapse; margin: 6px 0 20px; font-size:.92rem; }
.prose th, .prose td{ text-align:left; padding: 10px 12px; border:1px solid var(--line); vertical-align:top; }
.prose th{ background: var(--paper-2); color: var(--ink); }

/* =========================================================
   PAYMENT SUCCESS ("thank you") PAGE
========================================================= */
.pay-success{ padding: 92px 0 96px; text-align:center; }
.pay-success .tick{
  width:86px; height:86px; border-radius:50%; background: var(--sky-pale);
  color: var(--sky-deep); display:flex; align-items:center; justify-content:center;
  margin: 0 auto 26px; border: 1px solid rgba(11,143,187,0.2);
}
.pay-success h1{ font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 12px; }
.pay-success p{ max-width: 540px; margin: 0 auto 14px; color: var(--text-soft); line-height:1.7; }
.pay-success .cta-row{ justify-content:center; }
.pay-next{
  max-width: 560px; margin: 34px auto 0; text-align:left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.pay-next h2{ font-size: 1.05rem; margin-bottom: 10px; }
.pay-next ol{ margin:0; padding-left: 20px; color: var(--text-soft); line-height:1.7; }
.pay-next li{ margin-bottom: 6px; }

.footer-social{
  display:flex; gap:12px; margin-top:34px; padding-top:24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-social:empty{ display:none; }
.footer-social a{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.footer-social a:hover{ background: var(--sky); color: var(--ink); transform: translateY(-2px); }
.footer-social svg{ width:17px; height:17px; fill: currentColor; }

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover{ transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(0,0,0,0.32); }
.wa-float svg{ width:30px; height:30px; fill:#fff; }
@media (max-width: 640px){
  .wa-float{ right:14px; bottom:14px; width:52px; height:52px; }
  .wa-float svg{ width:26px; height:26px; }
}
