:root {
  --blue: #092499;
  --ink: #14161a;
  --ink-dim: #55585f;
  --border: #e7e8ec;
  --bg-soft: #f6f7f9;
  --dark: #0b0b0b;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #fff; color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.wordmark { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.wordmark .x { color: var(--blue); }
.nav-links { display: flex; gap: 26px; font-size: 0.9rem; color: var(--ink-dim); font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--blue); color: #fff; padding: 9px 18px; border-radius: 8px;
  font-size: 0.86rem; font-weight: 700;
}
@media (max-width: 760px) {
  .nav-inner { flex-wrap: wrap; row-gap: 12px; padding: 14px 0; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 18px; font-size: 0.85rem; }
  .nav-cta { font-size: 0.78rem; padding: 8px 12px; }
}

/* ---- Hero ---- */
.hero { padding: 80px 0 60px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; margin: 0 0 22px; text-wrap: balance;
}
.hero h1 .blue { color: var(--blue); }
.hero p { font-size: 1.15rem; color: var(--ink-dim); max-width: 640px; line-height: 1.65; margin: 0 0 28px; }
.hero-mission { font-size: 1.4rem !important; font-weight: 800; color: var(--ink) !important; letter-spacing: -0.01em; margin: 0 0 20px !important; }
.hero-cta { display: inline-flex; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 9px; font-weight: 700; font-size: 0.94rem;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--ink); }

.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 0; margin-top: 40px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip div { display: flex; align-items: baseline; gap: 10px; }
.stat-strip div span { flex: 0 0 auto; font-size: 1.7rem; font-weight: 800; color: var(--blue); }
.stat-strip div small { color: var(--ink-dim); font-size: 0.82rem; line-height: 1.35; }

/* ---- Language band ---- */
.lang-band {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, #14247a 0%, var(--dark) 62%);
  padding: 90px 0 80px; text-align: center;
}
.lang-net {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url('/images/wallpaper-sketch.svg');
  background-repeat: repeat; background-size: 260px 180px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000 0%, transparent 78%);
}
.lang-band-inner { position: relative; z-index: 1; }
.lang-greeting {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 18px; align-items: flex-end; justify-content: center;
}
.lang-eyebrow { color: rgba(255,255,255,0.5); font-size: 0.32em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 0.3em; }
.lang-rotator { min-height: 1.2em; }
.lang-rotator .word { display: inline-block; animation: lang-fade 2.2s ease both; }
@keyframes lang-fade {
  0% { opacity: 0; transform: translateY(8px); }
  10%, 82% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
.lang-caption { margin: 22px 0 36px; color: rgba(255,255,255,0.62); font-size: 1.02rem; }
.lang-stat { display: inline-flex; flex-direction: column; gap: 2px; }
.lang-stat span { font-size: 1.6rem; font-weight: 800; color: #7d93ff; }
.lang-stat small { color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Section shell ---- */
.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.eyebrow {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.section-head p { color: var(--ink-dim); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.section-head p + p { margin-top: 14px; }

/* ---- How We Work steps (compact single-line carousel) ---- */
.steps-row {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; scrollbar-width: none;
}
.steps-row::-webkit-scrollbar { display: none; }
.step-card {
  flex: 1 1 240px; min-width: 220px; scroll-snap-align: start;
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
  background: #fff; display: flex; align-items: flex-start; gap: 12px;
}
.step-icon { flex: 0 0 auto; width: 30px; height: 30px; object-fit: contain; margin-top: 2px; }
.step-card h3 { font-size: 0.88rem; font-weight: 800; margin: 0 0 6px; }
.step-card p { color: var(--ink-dim); font-size: 0.8rem; line-height: 1.5; margin: 0; }

/* ---- Services ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  background: #fff;
}
.service-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 10px; }
.service-card p { color: var(--ink-dim); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.service-card--pride { position: relative; padding-bottom: 46px; }
.pride-badge {
  position: absolute; right: 20px; bottom: 20px;
  width: 30px; height: 30px; border-radius: 7px; overflow: hidden;
  background: linear-gradient(
    to bottom,
    #e40303 0%, #e40303 16.66%,
    #ff8c00 16.66%, #ff8c00 33.32%,
    #ffed00 33.32%, #ffed00 49.98%,
    #008026 49.98%, #008026 66.64%,
    #004dff 66.64%, #004dff 83.3%,
    #750787 83.3%, #750787 100%
  );
}
.pride-stripe {
  height: 8px; border-radius: 4px; margin-top: 26px; max-width: 320px;
  background: linear-gradient(
    to right,
    #e40303 0%, #e40303 16.66%,
    #ff8c00 16.66%, #ff8c00 33.32%,
    #ffed00 33.32%, #ffed00 49.98%,
    #008026 49.98%, #008026 66.64%,
    #004dff 66.64%, #004dff 83.3%,
    #750787 83.3%, #750787 100%
  );
}

/* ---- Our Story ---- */
.story-close { margin: 0 0 32px; }
.story-close p { font-size: 1.05rem; color: var(--ink); font-weight: 600; line-height: 1.6; }

.scale-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 32px; border-radius: 18px; background: var(--bg-soft);
}
@media (max-width: 700px) { .scale-stats { grid-template-columns: 1fr; } }
.scale-stat { text-align: center; }
.scale-stat span { display: block; font-size: 2.4rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.scale-stat small { color: var(--ink-dim); font-size: 0.86rem; }

/* ---- Service pillars ---- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  background: #fff; display: flex; flex-direction: column;
}
.pillar-number { font-size: 0.78rem; font-weight: 800; color: var(--blue); letter-spacing: 0.06em; margin-bottom: 10px; text-transform: uppercase; }
.pillar-card h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; }
.pillar-card > p { color: var(--ink-dim); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.pillar-card > p a { color: var(--blue); font-weight: 700; }
.pillar-card--tech { background: var(--bg-soft); }
.pillar-photos { display: flex; gap: 8px; margin-top: 14px; }
.pillar-photos img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 6px; }
.partner-quotes { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.partner-quotes p { font-size: 0.74rem; line-height: 1.5; color: var(--ink-dim); margin: 0; }
.partner-quotes p span { font-style: italic; }

/* ---- Digital products (sub-brands) — carousel ---- */
.carousel { position: relative; margin: 0 -28px; }
.carousel-track {
  display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 28px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:active { cursor: grabbing; }
.carousel-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(20,22,26,0.12);
}
.carousel-arrow.prev { left: 4px; }
.carousel-arrow.next { right: 4px; }
@media (max-width: 640px) { .carousel-arrow { display: none; } }

.product-carousel .carousel-track { align-items: stretch; padding-bottom: 24px; }

.product-band {
  flex: 0 0 auto; width: min(560px, 86vw); scroll-snap-align: start;
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  box-shadow: 0 20px 46px rgba(11,11,11,0.18);
  background: #fff;
}

.product-band-top {
  display: flex; align-items: center; gap: 20px;
  padding: 26px; background: var(--bg-soft);
}
.product-logo-badge {
  flex: 0 0 auto; width: 88px; height: 88px; border-radius: 20px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.product-logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.product-logo-badge.wide { width: auto; padding: 16px 22px; }
.product-logo-badge.wide img { width: auto; height: 36px; }
.product-logo-initials { font-size: 1.6rem; font-weight: 800; color: var(--accent, var(--blue)); }

.product-band-headline { flex: 1 1 auto; min-width: 0; }
.product-band-headline .product-eyebrow { color: var(--accent, var(--blue)); }
.product-band-headline .product-name { font-size: 1.55rem; color: var(--ink); margin-bottom: 0; }

.product-band-info {
  flex: 1 1 auto;
  padding: 22px 26px 28px; background: var(--accent, var(--blue)); color: #fff;
  display: flex; flex-direction: column;
}
.product-eyebrow { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.product-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.product-desc { font-size: 0.9rem; line-height: 1.55; color: rgba(255,255,255,0.94); margin: 0 0 16px; }
.product-bullets { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.product-bullets li { font-size: 0.82rem; line-height: 1.5; color: rgba(255,255,255,0.85); padding-left: 14px; position: relative; }
.product-bullets li::before { content: '—'; position: absolute; left: 0; color: rgba(255,255,255,0.5); }
.product-bullets li strong { color: #fff; }
.product-visit-btn {
  display: inline-block; align-self: flex-start; margin-top: auto;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 18px; border-radius: 9px; font-size: 0.84rem; font-weight: 700; color: #fff;
}

/* ---- Featured testimonial (Mango Airlines) ---- */
.featured-testi {
  position: relative; overflow: hidden; border-radius: 20px;
  min-height: 320px; margin-bottom: 24px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  box-shadow: 0 20px 50px rgba(11,11,11,0.2);
}
.featured-testi::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,7,10,0.88) 0%, rgba(6,7,10,0.62) 42%, rgba(6,7,10,0.15) 75%);
}
.featured-testi-copy { position: relative; z-index: 1; padding: 34px 36px; max-width: 560px; color: #fff; }
.featured-testi-copy p { font-size: 1.15rem; line-height: 1.5; margin: 0 0 16px; font-weight: 600; }
.featured-testi-name { font-weight: 800; font-size: 0.95rem; }
.featured-testi-role { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 14px; }
.featured-testi-logo-chip {
  display: inline-flex; align-items: center; background: #fff;
  border-radius: 8px; padding: 8px 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.featured-testi-logo { height: 26px; width: auto; display: block; }
@media (max-width: 640px) { .featured-testi-copy { max-width: 100%; padding: 26px 22px; } }

/* ---- Testimonials ---- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { border: 1px solid var(--border); border-radius: 16px; padding: 26px; background: #fff; }
.testi-card p { font-size: 0.98rem; line-height: 1.6; margin: 0 0 16px; color: var(--ink); }
.testi-name { font-weight: 800; font-size: 0.9rem; }
.testi-role { color: var(--ink-dim); font-size: 0.82rem; }

/* ---- Footer ---- */
.footer { background: #000; color: rgba(255,255,255,0.7); padding: 60px 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo img { height: 30px; margin-bottom: 14px; }
.footer-addr { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin: 0 0 14px; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-bottom img { height: 14px; opacity: 0.6; }
