:root {
  --blue: #003c7c;
  --blue-dark: #00295a;
  --ink: #061b3d;
  --muted: #4d5c70;
  --line: #d8dee8;
  --paper: #f8fafc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  min-height: 86px;
  padding: 14px clamp(24px, 4vw, 58px);
  background: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .74));
  backdrop-filter: blur(8px);
}

.brand {
  width: 168px;
  height: 64px;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  object-position: left center;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 18px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: var(--blue);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  min-height: 595px;
  padding: 135px clamp(28px, 5vw, 76px) 46px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 27%, rgba(255, 255, 255, .18) 47%, rgba(255, 255, 255, 0) 100%),
    url("../img/fondo portada vema.png") center right / cover no-repeat;
}

.hero-copy {
  width: min(590px, 50vw);
}

.hero h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(36px, 3.45vw, 52px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 480px;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.08;
  color: #071b3b;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.benefit {
  text-align: center;
}

.benefit svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h2 {
  margin: 0 0 5px;
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit p {
  margin: 0;
  color: #071b3b;
  font-size: 14px;
  line-height: 1.2;
}

.insight-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 26px clamp(34px, 4vw, 70px) 24px;
  background: linear-gradient(180deg, var(--blue-dark), #003d80);
  color: var(--white);
}

.insight {
  min-width: 0;
  padding: 0 clamp(22px, 2vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.insight:first-child {
  border-left: 0;
}

.insight h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.insight p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.28;
}

.visual-slot {
  position: relative;
  min-height: 124px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03)),
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.visual-slot::before,
.visual-slot::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.visual-slot::before {
  width: 110px;
  height: 110px;
  left: 14%;
  top: 18%;
}

.visual-slot::after {
  width: 180px;
  height: 60px;
  right: -36px;
  bottom: 16px;
  transform: rotate(-10deg);
}

.herb-slot {
  background:
    linear-gradient(135deg, rgba(23, 100, 59, .75), rgba(255, 255, 255, .08)),
    linear-gradient(90deg, #09366d, #0b4b73);
}

.meat-slot {
  background:
    linear-gradient(135deg, rgba(161, 44, 35, .86), rgba(245, 150, 91, .22)),
    linear-gradient(90deg, #08376e, #0a4a80);
}

.lab-slot {
  background:
    linear-gradient(135deg, rgba(83, 169, 214, .85), rgba(255, 255, 255, .16)),
    linear-gradient(90deg, #0a3973, #0d5c8d);
}

.result-slot {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(116, 64, 49, .9) 0 49.5%, rgba(255, 255, 255, .3) 49.5% 50.5%, rgba(194, 48, 48, .88) 50.5%),
    #0a3973;
}

.result-slot span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  font-size: 21px;
}

.product-line {
  display: grid;
  grid-template-columns: .95fr repeat(4, 1.08fr);
  align-items: stretch;
  min-height: 165px;
  padding: 20px clamp(22px, 3.4vw, 54px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.product-intro {
  align-self: center;
  padding-right: 18px;
}

.product-intro h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
}

.product-intro p {
  max-width: 260px;
  margin: 0;
  color: #071b3b;
  font-size: 17px;
  line-height: 1.25;
}

.product-card {
  display: grid;
  grid-template-columns: 96px minmax(112px, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.product-card img {
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.product-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p {
  margin: 0 0 12px;
  color: #071b3b;
  font-size: 14px;
  line-height: 1.22;
}

.product-card a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.commitment {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 290px;
  min-height: 136px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.commit-copy {
  padding: 20px 24px;
  background: #f0f3f8;
}

.commit-copy h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.commit-copy p {
  margin: 0;
  color: #071b3b;
  font-size: 14px;
  line-height: 1.28;
}

.process {
  display: grid;
  grid-template-columns: repeat(11, auto);
  align-items: center;
  justify-content: space-evenly;
  gap: 7px;
  padding: 14px 12px;
  min-width: 0;
}

.process article {
  width: 68px;
  text-align: center;
}

.process svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 7px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process h3 {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.process p {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.1;
}

.arrow {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 32px;
  color: var(--white);
  background: var(--blue-dark);
}

.contact-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.25;
}

.contact-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 12px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel span {
  font-size: 20px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 170px 1fr;
  }

  .brand {
    width: 150px;
    height: 58px;
  }

  .main-nav {
    gap: 20px;
    font-size: 13px;
  }

  .hero-copy {
    width: min(470px, 56vw);
  }

  .insight-band {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .insight:nth-child(3) {
    border-left: 0;
  }

  .product-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-intro {
    grid-column: 1 / -1;
  }

  .product-card {
    border: 1px solid var(--line);
    padding: 12px 18px;
  }

  .commitment {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: repeat(6, 1fr);
  }

  .arrow {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 145px 1fr;
    min-height: 72px;
    padding: 8px 18px;
  }

  .brand {
    width: 132px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 24px rgba(0, 33, 75, .14);
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .main-nav a::after {
    bottom: 4px;
  }

  .hero {
    min-height: 760px;
    padding: 106px 24px 30px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 36%, rgba(255, 255, 255, .28) 62%, rgba(255, 255, 255, .04) 100%),
      url("../img/fondo portada vema.png") 63% bottom / auto 72% no-repeat;
  }

  .hero-copy {
    width: 100%;
    max-width: 500px;
  }

  .benefits {
    max-width: 480px;
    gap: 12px;
  }

  .benefit svg {
    width: 48px;
    height: 48px;
  }

  .benefit h2,
  .benefit p {
    font-size: 12px;
  }

  .insight-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .insight,
  .insight:nth-child(3) {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .insight:first-child {
    border-top: 0;
  }

  .product-line {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 24px;
  }

  .process article {
    width: auto;
  }

  .contact-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.5vw, 40px);
    white-space: normal;
  }

  .hero-copy > p {
    font-size: 21px;
  }

  .benefits {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .benefit {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 12px;
    align-items: center;
    text-align: left;
  }

  .benefit svg {
    grid-row: span 2;
    margin: 0;
  }

  .product-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 12px;
  }

  .product-card img {
    height: 112px;
  }
}
