/* DSCM International - stylesheet
   Brand colors (Canva Brand Kit "DSCM International") */
:root {
  --navy: #0F2A44;
  --navy-deep: #0A1E31;
  --logo-blue: #7EC5FC;
  --slate: #5F6B7A;
  --light: #EEF1F5;
  --white: #FFFFFF;
  --line: rgba(15, 42, 68, 0.12);
  --line-dark: rgba(126, 197, 252, 0.18);
  --radius: 18px;
  --max: 1180px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(10, 30, 49, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { height: 42px; width: auto; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.brand small { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .28em; color: var(--logo-blue); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 14.5px; }
.nav a:hover { color: var(--white); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line-dark); border-radius: 99px; padding: 3px; }
.lang a { padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; }
.lang a[aria-current="true"] { background: var(--logo-blue); color: var(--navy); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 99px; text-decoration: none;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--logo-blue); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(126,197,252,.6); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--logo-blue); color: var(--logo-blue); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.nav .btn { padding: 10px 20px; font-size: 14px; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(126,197,252,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(126,197,252,.08), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px;
}
.hero::before { /* fine grid, like a map */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-star {
  position: absolute; right: -4%; top: 50%; width: min(46vw, 620px); transform: translateY(-50%) rotate(-6deg);
  opacity: .9; filter: drop-shadow(0 0 60px rgba(126,197,252,.35));
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(calc(-50% - 14px)) rotate(-3deg); } }
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--logo-blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; margin: 22px 0 26px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--logo-blue); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.78); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 48px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-dark); width: fit-content; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: 38px; color: var(--white); line-height: 1; }
.stat span { font-size: 14px; color: rgba(255,255,255,.62); }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head .eyebrow { color: var(--slate); }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--slate); font-size: 18px; }

/* Sectors strip */
.sectors { padding: 0; background: var(--light); }
.sectors .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.sector { padding: 34px 28px; display: flex; align-items: center; gap: 16px; font-family: var(--head); font-weight: 700; font-size: 18px; }
.sector + .sector { border-left: 1px solid var(--line); }
.sector svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--navy); color: var(--logo-blue); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card {
  grid-column: span 2; position: relative; padding: 34px 30px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(15,42,68,.35); border-color: transparent; }
.card .num { font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--slate); letter-spacing: .12em; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--light); color: var(--navy); display: grid; place-items: center; margin: 18px 0 22px; transition: background .3s, color .3s; }
.card:hover .icon { background: var(--navy); color: var(--logo-blue); }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--slate); font-size: 16px; }

/* Approach */
.approach { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.approach .section-head .eyebrow { color: var(--logo-blue); }
.approach .section-head p { color: rgba(255,255,255,.7); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.pillar { padding: 40px 36px 10px 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.pillar .big { font-family: var(--head); font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--logo-blue); }
.pillar h3 { font-size: 24px; margin: 22px 0 12px; }
.pillar p { color: rgba(255,255,255,.72); font-size: 16px; }
.approach-star { position: absolute; left: -120px; bottom: -160px; width: 420px; opacity: .07; transform: rotate(20deg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  display: grid; place-items: center;
}
.portrait img.star { width: 62%; filter: drop-shadow(0 0 40px rgba(126,197,252,.4)); }
.portrait .tag {
  position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px 20px; border-radius: 14px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid var(--line-dark); color: var(--white);
}
.portrait .tag b { font-family: var(--head); display: block; font-size: 18px; }
.portrait .tag span { font-size: 13.5px; color: var(--logo-blue); }
.about h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin: 16px 0 24px; }
.about p + p { margin-top: 16px; }
.about p { color: var(--slate); }
.about .eyebrow { color: var(--slate); }
.route { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.route span { font-family: var(--head); font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 99px; background: var(--light); }
.route span.now { background: var(--navy); color: var(--logo-blue); }
.skills { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 0; list-style: none; }
.skills li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.skills li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--logo-blue); transform: rotate(45deg); }

/* Contact */
.contact { padding: 0 0 120px; }
.contact-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 80px 70px; color: var(--white);
  background: radial-gradient(600px 400px at 100% 0%, rgba(126,197,252,.22), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-deep));
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.contact-box h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; margin: 16px 0 18px; }
.contact-box p { color: rgba(255,255,255,.75); }
.contact-links { display: grid; gap: 14px; }
.contact-link {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); transition: background .25s, transform .25s;
}
.contact-link:hover { background: rgba(126,197,252,.14); transform: translateX(4px); }
.contact-link svg { flex: none; width: 22px; height: 22px; color: var(--logo-blue); }
.contact-link small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact-link b { font-family: var(--head); font-weight: 600; font-size: 16.5px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--slate); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--navy); }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-star { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
  .about-grid, .contact-box { grid-template-columns: 1fr; gap: 50px; }
  .portrait { aspect-ratio: auto; display: flex; align-items: center; justify-content: flex-start; gap: 22px; padding: 26px 28px; }
  .portrait img.star { width: 64px; }
  .portrait .tag { position: static; padding: 0; background: none; border: 0; backdrop-filter: none; }
  .hero-star { opacity: .25; width: 80vw; right: -25%; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 22px;
    padding: 28px 24px 34px; background: var(--navy-deep); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.open { transform: none; }
  .header { background: rgba(10, 30, 49, .96); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 84px 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sectors .wrap { grid-template-columns: 1fr; }
  .sector + .sector { border-left: 0; border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: span 1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 34px 0 24px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-dark); }
  .skills { grid-template-columns: 1fr; }
  .contact-box { padding: 52px 28px; border-radius: 22px; }
}
.contact-link b { overflow-wrap: anywhere; }
