/* DSA Online Service — brand system from logo */
:root {
  --cyan: #30b0d0;
  --cyan-deep: #1a8fad;
  --red: #e02030;
  --green: #80d000;
  --ink: #1a2b32;
  --ink-soft: #3d5560;
  --paper: #f4fafb;
  --sand: #fff6f0;
  --line: #d5e8ee;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(26, 43, 50, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--cyan); }

.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--cyan);
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--cyan);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.nav > a,
.nav .mega-trigger {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav > a:hover,
.nav > a[aria-current="page"],
.nav .mega-trigger:hover,
.nav .has-mega.is-open .mega-trigger,
.nav .has-mega:focus-within .mega-trigger { color: var(--red); }
.nav .btn { margin-left: 0.35rem; }

.has-mega {
  position: relative;
}
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mega-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.7;
}
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  z-index: 80;
}
.mega-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel,
.has-mega.is-open .mega-panel {
  display: block;
}
.mega-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.mega-head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.mega-head a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--cyan-deep);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.mega-col h4 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mega-col a {
  display: block;
  padding: 0.45rem 0.55rem;
  margin: 0 -0.55rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.mega-col a span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}
.mega-col a:hover {
  background: #e8f6fa;
  color: var(--cyan-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c41828; color: #fff; }
.btn-secondary { background: var(--cyan); color: #fff; }
.btn-secondary:hover { background: var(--cyan-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }

.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(26,43,50,0.88) 0%, rgba(26,143,173,0.55) 55%, rgba(224,32,48,0.45) 100%),
    url("../assets/header-passport-visa.png") center/cover no-repeat;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
  width: 100%;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dff6fc;
  margin-bottom: 0.8rem;
}
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: 0.7rem; }
.hero .lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.5rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 48px;
  background: var(--paper);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.section-head p { color: var(--ink-soft); }
.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-sand { background: linear-gradient(180deg, var(--sand), var(--paper)); }
.band-ink {
  background: linear-gradient(135deg, #163038, #1a8fad);
  color: #fff;
}
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink p { color: rgba(255,255,255,0.9); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.service-tile:hover { transform: translateY(-3px); }
.service-tile .icon-dot {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  margin-bottom: 0.9rem;
}
.service-tile h3 { margin-bottom: 0.4rem; }
.service-tile p { color: var(--ink-soft); font-size: 0.98rem; }
.service-tile a { font-weight: 700; text-decoration: none; }

.prose { max-width: 48rem; }
.prose h2 { margin-top: 2rem; }
.citable {
  background: var(--white);
  border-left: 4px solid var(--cyan);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: #e8f6fa; font-family: var(--font-display); }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
}
.faq details[open] summary { color: var(--red); margin-bottom: 0.5rem; }

.architecture {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 2rem 0 0;
  box-shadow: var(--shadow);
}
.architecture h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.architecture p { color: var(--ink-soft); font-size: 0.95rem; }
.architecture svg { width: 100%; height: auto; margin-top: 0.75rem; }
.arch-node { fill: #e8f6fa; stroke: var(--cyan-deep); stroke-width: 1.5; }
.arch-home { fill: var(--red); stroke: #b01422; }
.arch-text { fill: var(--ink); font-family: var(--font-body); font-size: 11px; font-weight: 600; }
.arch-text-light { fill: #fff; font-family: var(--font-body); font-size: 11px; font-weight: 700; }
.arch-line { stroke: #9ec9d6; stroke-width: 1.5; fill: none; }

.page-hero {
  background:
    linear-gradient(120deg, rgba(26,43,50,0.9), rgba(26,143,173,0.75)),
    url("../assets/banner5.jpg") center/cover no-repeat;
  color: #fff;
  padding: 4rem 1.25rem 3rem;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 40rem; }
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #dff6fc;
}
.breadcrumb a { color: #fff; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 0.4rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.promo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.promo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.promo-card figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.nap-block address { font-style: normal; }

.site-footer {
  background: #122227;
  color: rgba(255,255,255,0.86);
  padding: 3rem 1.25rem 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.floating-cta a {
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

@media (max-width: 900px) {
  .grid-3, .gallery-grid, .promo-grid, .footer-inner, .contact-cards { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }
  .nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .has-mega { width: 100%; }
  .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.5rem;
    display: none;
    box-shadow: none;
  }
  .has-mega.is-open .mega-panel { display: block; }
  .has-mega:hover .mega-panel { display: none; }
  .has-mega.is-open:hover .mega-panel { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .gallery-grid, .promo-grid, .footer-inner, .contact-cards { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}
