/* ==========================================================================
   PeptiSyn - Premium Peptide Manufacturer
   Global stylesheet (light-blue theme)
   ========================================================================== */

:root {
  --navy-900: #0a1222;
  --navy-800: #0f1b30;
  --navy-700: #16263f;
  --navy-600: #1e3350;
  --ink: #1a2233;
  --slate: #5a6b82;
  --slate-light: #8a99ad;
  --line: #dbe6f3;
  --bg: #ffffff;
  --bg-soft: #f2f7fd;
  --bg-softer: #e9f1fb;

  /* light-blue palette */
  --sky-1: #eef5fd;
  --sky-2: #dce9f8;
  --sky-3: #cfe0f5;
  --sky-line: rgba(15, 27, 48, .08);

  --gold: #c9a24b;
  --gold-light: #e2c67e;
  --gold-dark: #a9823a;
  --teal: #14b8a6;
  --teal-dark: #0f8c7f;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(15, 27, 48, .06);
  --shadow: 0 18px 46px rgba(15, 27, 48, .10);
  --shadow-lg: 0 30px 70px rgba(30, 51, 80, .18);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; color: var(--slate); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); color: var(--slate); }
.section--dark h2, .section--dark h3 { color: var(--navy-900); }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold-dark); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.section-head p { font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2a1e05;
  box-shadow: 0 12px 30px rgba(201, 162, 75, .35);
}
.btn-gold:hover { box-shadow: 0 16px 40px rgba(201, 162, 75, .5); }
.btn-ghost {
  background: rgba(255, 255, 255, .65);
  border-color: rgba(15, 27, 48, .16);
  color: var(--navy-900);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; border-color: var(--gold); color: var(--gold-dark); }
.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2a4a72, #3f6ea5);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  position: relative;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.brand__name b { color: var(--gold-dark); font-weight: 700; }
.brand__sub { display: block; font-size: .62rem; letter-spacing: .28em; color: var(--slate-light); text-transform: uppercase; font-family: var(--font-head); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  padding: 9px 15px;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--navy-700);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--gold-dark); }
.nav__links a.active { color: var(--gold-dark); background: rgba(201,162,75,.1); }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .3s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(1200px 620px at 80% -10%, var(--sky-2) 0%, var(--sky-1) 60%);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 92px 0 100px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(201,162,75,.14);
  border: 1px solid rgba(201,162,75,.4);
  color: var(--gold-dark);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  font-family: var(--font-head);
  margin-bottom: 22px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.25); }
.hero h1 {
  color: var(--navy-900);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.12rem; color: var(--slate); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--navy-900); }
.hero__stat .num b { color: var(--gold-dark); }
.hero__stat .lbl { font-size: .82rem; color: var(--slate-light); letter-spacing: .04em; }

.hero__visual { position: relative; }
.hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,27,48,.06);
}
.hero__float {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(4px);
}
.hero__float .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.hero__float small { display: block; color: var(--slate); font-size: .74rem; }
.hero__float strong { font-family: var(--font-head); color: var(--navy-900); font-size: .96rem; }
.hero__float--tl { top: 26px; left: -26px; }
.hero__float--br { bottom: 30px; right: -22px; }

.hero__wave { display: block; width: 100%; height: auto; margin-bottom: -8px; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 0;
}
.trust__item { text-align: center; }
.trust__item .k { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--navy-900); }
.trust__item .k span { color: var(--gold-dark); }
.trust__item .v { font-size: .9rem; color: var(--slate); letter-spacing: .04em; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,162,75,.35); }
.card__ic {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(201,162,75,.14), rgba(201,162,75,.05));
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.card__ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { font-size: .95rem; margin: 0; }

/* dark-section cards (now on light-blue) */
.section--dark .card { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.section--dark .card h3 { color: var(--navy-900); }
.section--dark .card p { color: var(--slate); }

/* ==========================================================================
   Split / about
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media { position: relative; }
.badge-float {
  position: absolute; right: -18px; bottom: -22px;
  background: #fff; color: var(--navy-900);
  padding: 20px 24px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  text-align: center;
}
.badge-float .n { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--gold-dark); line-height: 1; }
.badge-float .t { font-size: .74rem; letter-spacing: .06em; color: var(--slate); }

.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: .98rem; }
.ticks li svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }

/* ==========================================================================
   Products
   ========================================================================== */
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-softer); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 24px 26px 28px; }
.pcard__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; font-family: var(--font-head); }
.pcard h3 { font-size: 1.22rem; margin: 6px 0 8px; }
.pcard p { font-size: .93rem; margin-bottom: 16px; }
.pcard__link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-900); transition: gap .25s, color .25s; }
.pcard__link:hover { gap: 12px; color: var(--gold-dark); }

/* ==========================================================================
   Steps / process
   ========================================================================== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem;
  color: rgba(201,162,75,.5); display: block; margin-bottom: 12px;
}
.step h3 { color: var(--navy-900); font-size: 1.1rem; }
.step p { color: var(--slate); font-size: .92rem; margin: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative;
  background: linear-gradient(rgba(238,245,253,.82), rgba(220,233,248,.9)), var(--cta-bg) center/cover;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 68px 56px;
  overflow: hidden;
  text-align: center;
}
.cta h2 { color: var(--navy-900); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta p { color: var(--slate); max-width: 620px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   News
   ========================================================================== */
.ncard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ncard__img { aspect-ratio: 16/10; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.ncard__date { font-size: .78rem; color: var(--gold-dark); font-weight: 600; letter-spacing: .06em; font-family: var(--font-head); }
.ncard h3 { font-size: 1.12rem; margin: 8px 0 10px; }
.ncard p { font-size: .92rem; margin-bottom: 16px; }
.ncard__link { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy-900); display: inline-flex; gap: 7px; }
.ncard:hover .ncard__link { color: var(--gold-dark); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: radial-gradient(900px 420px at 85% -20%, var(--sky-2), var(--sky-1));
  color: var(--ink);
  padding: 70px 0 78px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--navy-900); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--slate); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { font-size: .82rem; color: var(--slate-light); margin-bottom: 18px; font-family: var(--font-head); letter-spacing: .04em; }
.crumbs a:hover { color: var(--gold-dark); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px;
  transition: border-color .3s, transform .3s;
}
.info-card:hover { border-color: rgba(201,162,75,.4); transform: translateY(-3px); }
.info-card .ic { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(20,184,166,.16), rgba(20,184,166,.06)); color: var(--teal-dark); }
.info-card h4 { margin: 0 0 3px; font-size: 1rem; }
.info-card a, .info-card p { color: var(--slate); font-size: .95rem; margin: 0; }
.info-card a:hover { color: var(--gold-dark); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; font-family: var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,75,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--slate-light); margin: 6px 0 0; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.15) contrast(1.03); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--sky-2); color: var(--slate); padding: 70px 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: var(--navy-900); font-size: .95rem; letter-spacing: .04em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { font-size: .92rem; color: var(--slate); transition: color .2s; }
.footer a:hover { color: var(--gold-dark); }
.footer__brand .brand__name { color: var(--navy-900); }
.footer__brand .brand__name b { color: var(--gold-dark); }
.footer__brand p { font-size: .92rem; color: var(--slate); margin: 16px 0 20px; max-width: 320px; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--slate); }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-dark); flex: none; }
.footer__bottom { border-top: 1px solid var(--sky-line); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: var(--slate-light); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--sky-line); display: grid; place-items: center; color: var(--slate); transition: .25s; }
.footer__social a:hover { background: var(--gold); color: #2a1e05; border-color: var(--gold); }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 80px; }
  .hero__visual { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .35s var(--ease); z-index: 99;
  }
  .nav.open .nav__links { transform: none; }
  .nav__links a { padding: 13px 12px; border-radius: 10px; font-size: 1rem; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 26px; }
  .cta { padding: 48px 26px; }
  .badge-float { right: 12px; bottom: -16px; }
  .hero__float--tl { left: 0; }
  .hero__float--br { right: 0; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__float { display: none; }
}
