/* =========================================================
   ELIVIA DESIGN SYSTEM — PRODUCTION
   ========================================================= */

/* ---------- TOKENS ---------- */
:root{
  /* Brand */
  --elivia-blue:#0B5ED7;      /* Caffeine Deep Blue */
  --elivia-cyan:#12CFE0;      /* Caffeine Cyan */
  --elivia-lime:#9BE21A;      /* Caffeine Lime */

  /* Neutrals */
  --ink:#0E1420;              /* Deep Graphite */
  --ink-soft:#2B3442;         /* Slate Grey */
  --muted:#3A4556;            /* Muted Steel */
  --mist:#E6EBF2;             /* Mist Grey */
  --white:#FFFFFF;

  /* Layout */
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:22px;

  --shadow-soft:0 8px 24px rgba(14,20,32,.08);
  --shadow-med:0 18px 40px rgba(14,20,32,.12);
}

/* ---------- RESET ---------- */
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ---------- LAYOUT ---------- */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--mist);
}

.nav{
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
}
.logo{
  Height:60px;
  width:auto;
}

/* Primary nav */
.nav-links{
  display:flex;
  gap:26px;
  font-weight:600;
  color:var(--ink-soft);
}
.nav-links a{
  padding:8px 4px;
  position:relative;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--elivia-blue);
  transition:width .25s ease;
}
.nav-links a:hover::after{
  width:100%;
}

/* Actions (right side) */
.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

/* Language pill — ONLY location */
.lang{
  display:flex;
  gap:6px;
  padding:6px;
  border-radius:999px;
  background:var(--mist);
}
.lang-link{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:.9rem;
  color:var(--ink-soft);
}
.lang-link.is-active{
  background:var(--white);
  color:var(--elivia-blue);
  box-shadow:var(--shadow-soft);
}

/* =========================================================
   HERO — CLEAN / IMAGE-FIRST
   ========================================================= */

.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to top,
      rgba(14,20,32,.70),
      rgba(14,20,32,.35),
      rgba(14,20,32,.10)
    ),
    url("assets/images/hero_context_india_japan.png")
      center / cover no-repeat;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:860px;
  padding:110px 0 80px;
  color:var(--white);
}

.hero h1{
  font-size:clamp(2.6rem,4.6vw,4.1rem);
  line-height:1.05;
  letter-spacing:-.02em;
  margin:0 0 18px;
}

.hero .lead{
  max-width:720px;
  font-size:1.1rem;
  line-height:1.65;
  color:rgba(255,255,255,.92);
}

/* =========================================================
   CAPABILITY STRIP (UNDER HERO)
   ========================================================= */

.cap-strip{
  margin-top:-56px;
  padding-bottom:96px;
}

.cap-strip .cards{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:var(--shadow-med);
}

/* =========================================================
   CARDS
   ========================================================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card{
  background:var(--white);
  border:1px solid var(--mist);
  border-radius:var(--radius-md);
  padding:24px;
}

.card-title{
  font-weight:700;
  font-size:1.05rem;
  margin-bottom:10px;
}

.card-body{
  color:var(--muted);
  line-height:1.7;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section{
  padding:96px 0;
}
.section.alt{
  background:var(--mist);
}

.section h2{
  font-size:2.25rem;
  letter-spacing:-.02em;
  margin:0 0 16px;
}

.section p{
  max-width:760px;
  color:var(--muted);
  line-height:1.75;
}

/* Split layout */
.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}

.split.reverse{
  grid-template-columns:.95fr 1.05fr;
}
.split.reverse > :first-child{order:2}
.split.reverse > :last-child{order:1}

/* Media */
.media img{
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta{
  padding:80px 0;
  background:linear-gradient(180deg,var(--ink),#0B1220);
}
.final-cta h2{
  color:var(--white);
}
.final-cta p{
  color:rgba(255,255,255,.82);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  padding:32px 0;
  border-top:1px solid var(--mist);
}
.footer-note{
  font-size:.9rem;
  color:var(--muted);
}

/* =========================================================
   RESPONSIVE — MOBILE IMAGE FIX (PRODUCTION SAFE)
   ========================================================= */

@media (max-width:980px){
  /* Navigation */
  .nav-links{display:none}

  /* Cards & layout */
  .cards{grid-template-columns:1fr}
  .split{
    grid-template-columns:1fr;
    gap:32px;
  }
  .split.reverse > *{order:initial}

  /* Hero spacing */
  .hero-content{padding:96px 0 64px}
  .cap-strip{margin-top:-32px}

  /* Media (images) */
  .media{
    width:100%;
    display:flex;
    justify-content:center;
  }

  .media img{
    width:100%;
    max-width:420px;
    height:auto;
    margin:0 auto;
  }
}

@media (max-width:520px){
  /* Header */
  .logo{height:44px}

  /* Hero text */
  .hero h1{
    font-size:2.2rem;
    line-height:1.1;
  }

  .hero .lead{
    font-size:1rem;
  }

  /* Section spacing */
  .section{
    padding:72px 0;
  }

  /* Section headings */
  .section h2{
    font-size:1.85rem;
  }

  /* Media fine-tuning */
  .media{
    margin-top:16px;
    margin-bottom:8px;
  }

  .media img{
    max-width:360px;
    border-radius:16px;
  }
}
/* =========================================================
   MOBILE HARD FIX — SPLIT MEDIA ALIGNMENT
   ========================================================= */

@media (max-width: 980px) {

  /* Force vertical stacking */
  .split,
  .split.reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* Ensure media is full-width and centered */
  .split .media {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
  }

  /* Image sizing */
  .split .media img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
  }

  /* Text block spacing */
  .split > div:not(.media) {
    width: 100%;
  }
}

@media (max-width: 520px) {

  .split .media img {
    max-width: 360px;
    border-radius: 16px;
  }
}