/* ==========================================================================
   ALVENDA — International B2B Trading Company
   Corporate website styles
   Palette: deep navy, white, light grey, blue accent
   Type: Inter / Manrope
   ========================================================================== */

:root {
  /* Color system */
  --navy-900: #071a30;
  --navy-800: #0a2540;
  --navy-700: #0f3155;
  --navy-600: #17436f;
  --blue-500: #2d7ff9;
  --blue-400: #4f96fb;
  --blue-100: #dcebff;
  --grey-050: #f5f7fa;
  --grey-100: #eef1f6;
  --grey-200: #e2e8f0;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-700: #334155;
  --ink: #0b1f33;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--grey-050);
  --text: var(--ink);
  --text-muted: var(--grey-500);
  --accent: var(--blue-500);
  --accent-strong: #1c6ae4;
  --border: var(--grey-200);

  /* Type scale */
  --font-sans: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .06);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);

  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; color: var(--navy-800); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-800); color: #cdd9e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: .9rem; }
.section-head p { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }
.section--navy .section-head p { color: #9fb2c6; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(45, 127, 249, .32); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.24); }
.btn--light:hover { background: rgba(255,255,255,.16); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(10,37,64,.05); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0; font-weight: 800; letter-spacing: .01em; font-size: 1.28rem; color: var(--navy-800); }
.brand__mark { width: 30px; height: 30px; margin-right: .65rem; }
.brand span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: .96rem;
  font-weight: 500;
  color: var(--grey-700);
  position: relative;
  padding: .25rem 0;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .28s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--navy-800); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* Language switcher */
.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
}
.lang button {
  border: 0; background: transparent;
  padding: .3rem .7rem;
  font-size: .82rem; font-weight: 600;
  border-radius: 999px; color: var(--grey-500);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang button.is-active { background: var(--navy-800); color: #fff; }

/* Mobile nav */
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy-800); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 85% 0%, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #e6eef7;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(79, 150, 251, .14);
  border: 1px solid rgba(79, 150, 251, .3);
  color: var(--blue-400);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  margin-top: 1.4rem;
  letter-spacing: -.03em;
}
.hero h1 .accent { color: var(--blue-400); }
.hero__lead { margin-top: 1.5rem; font-size: 1.15rem; color: #a9bdd2; max-width: 34rem; }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats { margin-top: 3rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__stat strong { display: block; font-size: 1.7rem; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.hero__stat span { font-size: .85rem; color: #7f95ac; }

/* Hero visual: sourcing network */
.hero__visual { position: relative; }
.netcard {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.netcard__title { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #7f95ac; margin-bottom: .4rem; }

/* Feature / service cards ---------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--accent-strong);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; }
.card p { margin-top: .6rem; color: var(--text-muted); font-size: .97rem; }

/* Service (numbered) row */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service__num { font-size: .82rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.service h3 { margin-top: .8rem; font-size: 1.1rem; }
.service p { margin-top: .55rem; color: var(--text-muted); font-size: .93rem; }

/* Business area cards (larger) */
.area {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.area::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue-400));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.area:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.area:hover::before { transform: scaleX(1); }
.area__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: #fff; margin-bottom: 1.2rem; }
.area__icon svg { width: 28px; height: 28px; }
.area h3 { font-size: 1.35rem; }
.area p { margin-top: .7rem; color: var(--text-muted); }
.area__tags { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: .78rem; font-weight: 600; color: var(--grey-700);
  background: var(--grey-100); border-radius: 999px; padding: .3rem .75rem;
}
.area__note { margin-top: 1rem; font-size: .8rem; color: var(--grey-400); font-style: italic; }

/* Why / feature list --------------------------------------------------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  flex: 0 0 auto; width: 44px; height: 44px;
  border-radius: 12px; display: grid; place-items: center;
  background: rgba(45,127,249,.12); color: var(--accent);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.06rem; }
.feature p { margin-top: .35rem; color: var(--text-muted); font-size: .94rem; }
.section--navy .feature__icon { background: rgba(255,255,255,.08); color: var(--blue-400); }
.section--navy .feature p { color: #9fb2c6; }

/* Markets map ---------------------------------------------------------- */
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.map { position: relative; }
.map svg { width: 100%; height: auto; }
.map__node circle { transition: r .3s var(--ease); }
.market-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
.market-list li { display: flex; align-items: center; gap: .7rem; font-weight: 500; color: #cdd9e6; padding: .35rem 0; }
.market-list .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(79,150,251,.18); }
.market-list .hub { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }

/* CTA band ------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta-band p { margin: 1rem auto 0; max-width: 40rem; color: #b9cadb; }
.cta-band .hero__cta { justify-content: center; margin-top: 2rem; }

/* Page hero (inner pages) --------------------------------------------- */
.pagehero {
  background: radial-gradient(120% 140% at 90% -10%, var(--navy-700), var(--navy-800) 55%, var(--navy-900));
  color: #e6eef7;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.pagehero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 1rem; }
.pagehero p { margin-top: 1.1rem; color: #a9bdd2; max-width: 42rem; font-size: 1.1rem; }
.breadcrumb { font-size: .84rem; color: #7f95ac; }
.breadcrumb a:hover { color: #fff; }

/* Values / about ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.stat {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--border);
}
.stat strong { display: block; font-size: 2rem; color: var(--navy-800); letter-spacing: -.02em; }
.stat span { color: var(--text-muted); font-size: .92rem; }

.check-list li { position: relative; padding-left: 2rem; margin-bottom: .9rem; color: var(--grey-700); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c6ae4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Forms ---------------------------------------------------------------- */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--grey-700); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .97rem; color: var(--ink);
  background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45,127,249,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: -.4rem; }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #e7f7ee; color: #12683e; font-weight: 600; margin-bottom: 1.2rem; }
.form-success.show { display: block; }

/* Contact info cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.info-list { display: grid; gap: 1.2rem; }
.info { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); }
.info__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--accent-strong); display: grid; place-items: center; }
.info__icon svg { width: 22px; height: 22px; }
.info h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 600; }
.info p { margin-top: .2rem; font-weight: 600; color: var(--navy-800); }
.info .muted { font-weight: 400; color: var(--text-muted); font-size: .9rem; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); filter: grayscale(.15); }

/* Partnership process steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; counter-reset: step; }
.step { padding: 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); position: relative; }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-size: 1.05rem; }
.step p { margin-top: .5rem; color: var(--text-muted); font-size: .92rem; }

/* Logos / trust strip */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.4rem; justify-content: center; }
.trust span { font-weight: 700; color: var(--grey-400); font-size: 1.1rem; letter-spacing: .02em; }
.trust__label { width: 100%; text-align: center; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #9fb2c6; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: .92rem; color: #7f95ac; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .94rem; color: #9fb2c6; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .84rem; color: #64788f; }

/* WhatsApp floating button --------------------------------------------- */
.wa-btn {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(37, 211, 102, .55); }
.wa-btn svg { width: 30px; height: 30px; }

/* Reveal animation ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .grid--4, .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .markets, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 1.2rem var(--gutter) 2rem;
    gap: .3rem; border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav__links { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: .7rem 0; border-bottom: 1px solid var(--grey-100); }
  .grid--4, .grid--3, .grid--2, .services, .steps, .stat-grid, .field-row, .market-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
  body { font-size: 16px; }
}
