/*
  vikretreats.com placeholder — a hand-built copy of the Wix page.
  Colours, radii and sizes are Wix's own, read from the page's CSS on
  2026-10-08. The one substitution is the typeface: Wix sets everything in
  Futura LT / Avenir LT, licensed to Wix only, so this uses Jost (OFL),
  self-hosted from @fontsource/jost — licence in fonts/OFL.txt.
*/

@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #333333;        /* Wix --color_14: card titles, pill labels */
  --grey: #666666;       /* Wix --color_39: hero heading and intro */
  --box: #c9d3dd;        /* Wix --bg 201,211,221: text boxes, pills */
  --pill-hover: #dcd6a5; /* Wix button :hover */
  --wine-red: #8b0000;   /* "www.vikwine.net" */
  --blog-ink: #414141;   /* "Visit our … #vikvibe" */
  --blog-link: #0000ee;  /* "VIK Blog" */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #000000;
  font-family: "Jost", "Century Gothic", sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sprite {
  position: absolute;
  overflow: hidden;
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  padding: 18px 16px 72px;
  text-align: center;
  color: var(--grey);
}

.hero__logo {
  width: 60px;
  margin: 0 auto 18px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
}

.hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.hero p a {
  color: inherit;
}

/* ── Cards: 3 × 2 on desktop, as Wix lays them out ─────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  column-gap: 40px;
  row-gap: 44px;
  padding: 0 16px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__title {
  min-height: 2.8em;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.card__title a {
  color: var(--ink);
  text-decoration: none;
}

.card__media {
  position: relative;
  width: 273px;
  aspect-ratio: 273 / 336;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card__photo,
.card__photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.card__photo img {
  object-fit: cover;
}

.card__instagram {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 6px;
  line-height: 0;
  color: rgba(255, 255, 255, 0.85);
}

.card__instagram svg {
  width: 30px;
  height: 30px;
}

/* José Ignacio houses: "Book Now" over the photo, then EN / ES / POR. */
.card__book {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  pointer-events: none; /* the photo link underneath stays clickable */
}

.card__book span {
  display: block;
}

.card__langs a {
  margin: 0 7px;
  color: #ffffff;
  text-decoration: underline;
  pointer-events: auto;
}

/* Milano, Chile, Wines: a pill button over the photo. */
.card__pill {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 34px;
  padding: 0 12px 0 calc(12px + 0.25em);
  border-radius: 50px;
  background: var(--box);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.card__pill:hover,
.card__pill:focus-visible {
  background: var(--pill-hover);
  color: #ffffff;
}

.card__text {
  flex: 1;
  width: 280px;
  margin: 8px 0 0;
  padding: 16px 22px 20px;
  border-radius: 20px;
  background: var(--box);
  font-size: 12px;
  line-height: 1.5;
}

.card__text-link {
  color: #000000;
  text-decoration: underline;
}

.card__shop-url {
  color: var(--wine-red);
}

/* ── Blog pill ────────────────────────────────────────── */

.blog {
  margin: 44px 16px 72px;
  text-align: center;
}

.blog a {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  background: var(--box);
  color: var(--blog-ink);
  font-size: 14px;
  text-decoration: none;
}

.blog strong {
  color: var(--blog-link);
  text-decoration: underline;
}

/* ── Narrower screens ─────────────────────────────────── */

@media (max-width: 959px) {
  .cards {
    grid-template-columns: repeat(2, 280px);
  }
}

/* Phones: one column, the Wix mobile order (row by row). */
@media (max-width: 639px) {
  .hero {
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 14px;
  }

  .cards {
    grid-template-columns: minmax(0, 340px);
    row-gap: 36px;
  }

  .card__title {
    min-height: 0;
    margin-bottom: 12px;
  }

  .card__media,
  .card__text {
    width: 100%;
  }

  .card__text {
    font-size: 14px;
  }
}
