/* ===== ColombiaPeptides.com.co — shared styles ===== */

:root {
  --navy: #1a2456;
  --navy-deep: #131a3f;
  --blue: #2563eb;
  --blue-soft: #e9eefc;
  --yellow: #f7c600;
  --red: #e3132c;
  --ink: #16204a;
  --body: #3c4459;
  --muted: #6b7488;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-panel: #f0f3fa;
  --line: #e3e8f2;
  --wa: #25d366;
  --wa-deep: #128c7e;

  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19,26,63,.05), 0 4px 14px rgba(19,26,63,.06);
  --shadow-md: 0 8px 30px rgba(19,26,63,.10);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--yellow) 0 33%, var(--blue) 33% 66%, var(--red) 66% 100%);
}

/* tricolor dot rule, echoing the .com.co dots in the logo */
.tricolor {
  display: inline-flex; gap: 7px; align-items: center;
}
.tricolor i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.tricolor i:nth-child(1){ background: var(--yellow); }
.tricolor i:nth-child(2){ background: var(--blue); }
.tricolor i:nth-child(3){ background: var(--red); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn-primary:hover { background: #1d4fd0; transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.32); }
.btn-wa:hover { background: var(--wa-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 52px; width: auto; }
.brand .brand-mark-text { display: none; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  color: var(--navy);
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--blue);
  transition: width .22s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: .8rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37,99,235,.10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fd 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  padding: 5.5rem 0 5rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
.hero h1 .accent { color: var(--blue); }
.hero-lede { font-size: 1.18rem; color: var(--body); max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 2.4rem; }
.hero-badge { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--navy); font-weight: 500; }
.hero-badge svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .logo-stage {
  width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 40%, #ffffff 0%, #f3f6fd 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center; padding: 2rem;
  position: relative; overflow: hidden;
}
.hero-art .logo-stage::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
}
.hero-art img { position: relative; width: 88%; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 2.8rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p { font-size: 1.08rem; color: var(--body); margin-bottom: 0; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dcf0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--body); margin-bottom: 0; font-size: .97rem; }

/* ===== Product cards ===== */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  overflow: hidden; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dcf0; }
.product-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem;
  padding: 1.5rem 1.6rem 0;
}
.hex {
  width: 48px; height: 53px; flex: none;
  background: linear-gradient(160deg, var(--navy), var(--blue));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
}
.product-tag {
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: .35rem .6rem; border-radius: 999px; white-space: nowrap;
}
.product-body { padding: 1rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.product-cas { font-size: .8rem; color: var(--muted); font-family: var(--font-display); margin-bottom: .7rem; }
.product-body p { font-size: .94rem; color: var(--body); flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.product-foot .price-note { font-size: .85rem; color: var(--muted); }
.product-card .btn-wa { padding: .6rem 1.1rem; font-size: .9rem; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -60px;
  width: 240px; height: 240px; opacity: .25;
  background: linear-gradient(160deg, var(--yellow), var(--blue) 45%, var(--red));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 46ch; }
.cta-band .cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1rem; }
.stat .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--blue); line-height: 1; }
.stat .lbl { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.value-list li { display: flex; gap: .9rem; }
.value-list .vi {
  width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.value-list .vi svg { width: 20px; height: 20px; }
.value-list strong { color: var(--ink); font-family: var(--font-display); display: block; margin-bottom: .15rem; }
.value-list span { font-size: .95rem; }

/* ===== Steps ===== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--blue); opacity: .9;
}
.step h3 { font-size: 1.1rem; margin: .5rem 0 .3rem; }
.step p { font-size: .94rem; margin: 0; color: var(--body); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info { display: grid; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.contact-item .ci svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .96rem; margin: 0; color: var(--body); }
.contact-item a:hover { color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fdfdff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: -.4rem; }
.btn-block { width: 100%; justify-content: center; }
.hp { position: absolute; left: -9999px; }

/* ===== Disclaimer banner ===== */
.ruo-banner {
  background: var(--navy); color: rgba(255,255,255,.9); font-size: .82rem;
  text-align: center; padding: .5rem 24px; font-family: var(--font-display); font-weight: 500;
  letter-spacing: .02em;
}
.ruo-banner strong { color: var(--yellow); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.74); padding: 3.5rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.site-footer img { height: 64px; width: auto; margin-bottom: 1.1rem; background: #fff; padding: 8px 12px; border-radius: 12px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.74); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.6rem; padding-top: 1.4rem;
  font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.55;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 36px rgba(37,211,102,.55); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { order: -1; }
  .hero-art .logo-stage { max-width: 320px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 2.2rem; }
}

@media (max-width: 760px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: .5rem 0 1.2rem;
    transform: translateY(-130%); transition: transform .28s ease; }
  .nav.open { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 0; padding: 0 24px; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { padding: 1rem 24px 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
  .nav-cta--header { display: none; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero-grid { padding: 3.5rem 0; }
  .brand img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
