/* Destination: public/co/assets/css/home.css
 *
 * Verde marketing site - the home page's own sections (commit 1492).
 * Everything shared (tokens, header, buttons, footer) is in verde-site.css;
 * this sheet is only what no other page has. Sizes follow the approved
 * mockup, which took its spacing from the reference layout. See
 * MARKETING-SITE-ENGINEERING.md.
 */

/* ---- Hero ------------------------------------------------------------- */

.vs-hero {
  padding: clamp(32px, 4vw, 48px) 0 clamp(24px, 3vw, 32px);
}

.vs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: center;
  min-height: 440px;
}

.vs-hero h1 {
  margin-top: 28px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--vs-forest);
}

.vs-hero__lead {
  max-width: 520px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--vs-ink-2);
}

.vs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.vs-hero__actions .vs-btn {
  min-width: 168px;
}

/* The product image: the Verde POS on its stand with the real Choose Mode
   screen (1494). A 4:3 box, so a new photo drops in without moving
   anything around it. */
.vs-hero__media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
}

.vs-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- What Verde runs: the icon row ------------------------------------ */

.vs-activities {
  padding: 24px 0 40px;
}

.vs-activities ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  row-gap: 24px;
}

.vs-activities li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--vs-ink);
}

.vs-activities li + li {
  border-left: 1px solid var(--vs-line);
}

.vs-activities svg {
  width: 28px;
  height: 28px;
  fill: var(--vs-green);
}

/* ---- Platform overview ------------------------------------------------- */

.vs-overview {
  padding: 32px 0 56px;
}

.vs-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
}

.vs-overview__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2.06 / 1;
  object-fit: cover;
  border-radius: 13px;
}

.vs-overview .vs-h2 {
  margin: 16px 0 24px;
}

.vs-checks {
  display: grid;
  gap: 14px;
}

.vs-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #2e3d35;
}

.vs-checks span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vs-check);
}

.vs-checks svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

/* ---- The Verde platform: ten capability cards (1531: five across) ----- */

.vs-caps {
  padding: 8px 0 48px;
}

.vs-caps__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.vs-caps__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

/* ---- Product showcase: the POS ---------------------------------------- */

.vs-showcase {
  padding: 8px 0 64px;
}

.vs-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.vs-shot {
  overflow: hidden;
  border: 1px solid #d5e0d9;
  border-radius: var(--vs-radius-card);
  box-shadow: 0 24px 48px -30px rgba(12, 48, 38, 0.35);
}

.vs-shot img {
  width: 100%;
  height: auto;
}

/* Devices on their own (1523): no frame, the tablets' own outline is the
   edge, and the image runs a little past the column so the three read at
   a useful size. */
.vs-shot--devices {
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 881px) {
  .vs-shot--devices img {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }
}

.vs-showcase h2 {
  margin: 16px 0;
  font-size: clamp(30px, 3vw, 42px);
}

.vs-showcase p {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vs-ink-2);
}

.vs-showcase .vs-btn {
  height: 48px;
  margin-top: 28px;
  padding: 0 22px;
}

/* ---- Behind the counter: marketing, staff, inventory (1531) ----------- */

.vs-office {
  padding: 8px 0 64px;
}

.vs-office__head {
  max-width: none;
  margin-bottom: 32px;
}

.vs-office__head h2 {
  margin: 16px 0;
  text-wrap: balance;
  font-size: clamp(30px, 3vw, 42px);
}

.vs-office__head p:last-child {
  max-width: 980px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vs-ink-2);
}

.vs-office__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* 1696: a card is a small picture of the tool (the peek, on the wash) over
   the name, the promise and the list. The peek is a fixed height, so the
   three names line up whatever each picture holds. */
.vs-office__col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-card);
  background: #fff;
}

.vs-office__peek {
  padding: 24px;
  border-bottom: 1px solid var(--vs-line);
  background: var(--vs-wash);
}

.vs-peek {
  box-sizing: border-box;
  height: 150px;
  padding: 16px;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px -18px rgba(12, 48, 38, 0.35);
  color: var(--vs-forest);
}

.vs-peek p {
  margin: 0;
}

.vs-peek__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px !important;
  font-size: 13px;
  font-weight: 600;
}

.vs-peek em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e1f2e8;
  color: var(--vs-green);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vs-peek__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
}

.vs-peek__stats b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.vs-peek__stats small,
.vs-peek__day small {
  font-size: 12px;
  color: var(--vs-ink-3);
}

.vs-peek__bar {
  height: 8px;
  margin-top: 16px !important;
  border-radius: 99px;
  background: #eef3f0;
}

.vs-peek__bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--vs-green);
}

.vs-peek__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  height: 88px;
  margin-top: 4px !important;
}

.vs-peek__day {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

.vs-peek__day i {
  display: block;
  width: 100%;
  border-radius: 4px 4px 2px 2px;
  background: #cfe7da;
}

.vs-peek__day.is-peak i {
  background: var(--vs-green);
}

.vs-peek__day b {
  font-size: 11px;
}

.vs-peek__day small {
  font-size: 10px;
}

.vs-peek__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #eef3f0;
  font-size: 13px;
}

.vs-peek__row:last-child {
  border-bottom: 0;
}

.vs-peek__row span:nth-child(2) {
  color: var(--vs-ink-3);
}

.vs-peek__row em {
  background: #eef3f0;
  color: var(--vs-ink-3);
  letter-spacing: 0;
  text-transform: none;
}

.vs-peek__row em.is-low {
  background: #fdf0dc;
  color: #9a5b00;
}

.vs-office__body {
  padding: 26px 30px 30px;
}

.vs-office__col h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--vs-forest);
}

/* The promise reads as the card's headline, the list as the detail. */
.vs-office__lead {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--vs-forest);
}

.vs-office__col ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.vs-office__col li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--vs-ink-3);
}

.vs-office__col li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--vs-green);
  border-bottom: 2px solid var(--vs-green);
  transform: rotate(-45deg);
}

/* ---- Pricing invitation ------------------------------------------------ */

.vs-pricing {
  padding: 0 0 64px;
}

.vs-pricing__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding: 24px 32px;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-card);
  background: var(--vs-wash);
}

.vs-pricing h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--vs-forest);
}

.vs-pricing p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--vs-ink-3);
}

.vs-pricing .vs-btn {
  height: 44px;
  padding: 0 20px;
}

/* ---- Tablet and phone ------------------------------------------------- */

@media (max-width: 1024px) {
  .vs-caps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vs-office__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 880px) {
  .vs-hero__grid,
  .vs-overview__grid,
  .vs-showcase__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vs-hero__grid {
    min-height: 0;
  }

  .vs-activities ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vs-activities li + li {
    border-left: 0;
  }

}

@media (max-width: 560px) {
  .vs-caps__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vs-caps__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .vs-hero__actions .vs-btn {
    flex: 1;
  }
}
