/* Visit us page. Built on the home page look (cg.css); everything scoped with "vi-". */

.vi-hero, .vi-info, .vi-map, .vi-team { font-family: var(--cg-font); color: var(--cg-ink); }

/* ---------- hero (the street the showroom is on) ---------- */
.vi-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(460px, 62vh, 620px); background: var(--cg-dark); color: #fff; }
.vi-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vi-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .25) 100%); }
.vi-hero .cg-wrap.vi-hero__inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.vi-hero__eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8a9b; }
.vi-hero__title { margin: 0 0 18px; font-family: var(--cg-font-bold); font-size: clamp(36px, 5vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: #fff; text-transform: none; }
.vi-hero p { max-width: 600px; margin: 0 0 14px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: #ebe6e1; }
.vi-hero .vi-hero__coffee { margin-bottom: 28px; font-weight: 700; color: #fff; }

/* ---------- contact cards ---------- */
.vi-info { background: var(--cg-paper); padding: clamp(32px, 5vw, 56px) 0; }
.vi-info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vi-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border-radius: var(--cg-radius); }
.vi-card__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: #f9e7ea; color: var(--cg-red); }
.vi-card h2 { margin: 0 0 10px; font-family: var(--cg-font-bold); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cg-muted); }
.vi-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #3d3d3d; }
.vi-card .vi-card__big { font-family: var(--cg-font-bold); font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--cg-ink); overflow-wrap: anywhere; }
.vi-card__big a { color: var(--cg-ink); text-decoration: none; }
.vi-card__big a:hover { color: var(--cg-red); }
.vi-card__link { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--cg-red) !important; text-decoration: none; }
.vi-card__link:hover { text-decoration: underline; }
.vi-ticks { margin: 0 0 12px; padding: 0; list-style: none; }
.vi-ticks li { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0; font-size: 15px; font-weight: 700; color: #2c2c2c; }
.vi-ticks svg { flex: none; color: #1f8a4c; }

/* ---------- map ---------- */
.vi-map { background: #fff; padding: clamp(40px, 6vw, 72px) 0 0; }
.vi-map__frame { overflow: hidden; border-radius: var(--cg-radius); background: #e9e6e2; aspect-ratio: 16 / 6; min-height: 320px; }
.vi-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- team ---------- */
.vi-team { background: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.vi-lead { margin: 10px 0 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: #5a5a5a; }
.vi-team__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.vi-person { margin: 0; padding: 14px 14px 18px; text-align: center; background: var(--cg-paper); border-radius: var(--cg-radius); transition: transform .3s ease; }
.vi-person:hover { transform: translateY(-4px); }
.vi-person img { display: block; width: 100%; height: auto; aspect-ratio: 512 / 520; object-fit: contain; }
.vi-person figcaption { margin-top: 8px; font-family: var(--cg-font-bold); font-size: 17px; font-weight: 700; color: var(--cg-ink); }

@media (max-width: 1000px) { .vi-team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .vi-info__grid { grid-template-columns: 1fr; }
  .vi-hero::after { background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .6) 100%); }
}
@media (max-width: 640px) {
  .vi-team__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vi-map__frame { aspect-ratio: 4 / 3; }
  .vi-hero .cg-btns .cg-btn { flex: 1 1 auto; }
}

/* same side margins as the home page (set from the navbar by cg.js); beats the footer stylesheet's .cg-wrap */
@media (min-width: 1200px) {
  :is(.vi-hero, .vi-info, .vi-map, .vi-team) .cg-wrap { max-width: none; margin: 0; padding-left: var(--cg-pad, 50px); padding-right: var(--cg-pad, 50px); }
}
.vi-info .cg-wrap, .vi-map .cg-wrap, .vi-team .cg-wrap { padding-top: 0; padding-bottom: 0; }
.vi-card .cg-btn { color: #fff !important; }

/* ===== light version: warm hero with the street photo, white / dark / white sections ===== */
.vi-hero { display: block; min-height: 0; background: var(--cg-paper); color: var(--cg-ink); overflow: hidden; }
.vi-hero::after { display: none; }
.vi-hero .cg-wrap.vi-hero__grid { position: static; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.vi-hero__eyebrow { color: var(--cg-red); }
.vi-hero__title { color: var(--cg-ink); }
.vi-hero p { color: #4a4a4a; }
.vi-hero .vi-hero__coffee { color: var(--cg-ink); }
.vi-hero__photo { margin: 0; transform: rotate(2deg); transition: transform .3s ease; }
.vi-hero__photo:hover { transform: rotate(0); }
.vi-hero__photo img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid #fff; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }
.vi-info { background: #fff; }
.vi-card { background: var(--cg-paper); }
.vi-card__ico { background: #fff; }
.vi-map { background: var(--cg-dark); padding-bottom: clamp(40px, 6vw, 72px); }
.vi-map__frame { background: #222; }
.vi-team { background: #fff; }
.vi-person { background: var(--cg-paper); }
@media (max-width: 900px) { .vi-hero .cg-wrap.vi-hero__grid { grid-template-columns: 1fr; } .vi-hero__photo { transform: none; max-width: 520px; } }
.vi-hero .cg-btn.cg-btn--red { color: #fff !important; }
.vi-hero__photo, .vi-hero__photo img { border-radius: 0 !important; }
.vi-hero__photo img { border-radius: var(--cg-radius) !important; }
.vi-hero { display: flex; align-items: center; min-height: clamp(520px, 62vh, 650px); }
.vi-hero .cg-wrap { width: 100%; }
@media (max-width: 900px) { .vi-hero { min-height: 0; } }
