/* =========================================================================
   Components: buttons, chips, tarjetas, inputs, badges, etc.
   ========================================================================= */

/* ---------- Buttons ---------- */
.gv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--gv-font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--gv-radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--gv-dur) var(--gv-ease), background var(--gv-dur) var(--gv-ease), box-shadow var(--gv-dur) var(--gv-ease), color var(--gv-dur) var(--gv-ease);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.gv-btn:active { transform: translateY(1px); }
.gv-btn svg { width: 18px; height: 18px; }

.gv-btn-primary {
  background: var(--gv-orange);
  color: white;
  box-shadow: 0 8px 22px -8px var(--gv-orange-glow);
}
.gv-btn-primary:hover { background: var(--gv-orange-deep); box-shadow: 0 12px 28px -10px var(--gv-orange-glow); }

.gv-btn-ink {
  background: var(--gv-ink);
  color: var(--gv-cream);
}
.gv-btn-ink:hover { background: var(--gv-ink-2); }

.gv-btn-ghost {
  background: transparent;
  color: var(--gv-ink);
  border-color: var(--gv-line-strong);
}
.gv-btn-ghost:hover { background: var(--gv-cream-2); border-color: var(--gv-ink); }

.gv-btn-outline-orange {
  background: transparent;
  color: var(--gv-orange-deep);
  border-color: var(--gv-orange);
}
.gv-btn-outline-orange:hover { background: var(--gv-orange-soft); }

.gv-btn-link {
  padding: 6px 0;
  background: none;
  color: var(--gv-ink);
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.gv-btn-link:hover { border-color: var(--gv-orange); }

.gv-btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.gv-btn-sm { padding: 9px 14px; font-size: .85rem; }
.gv-btn-block { width: 100%; }

.gv-btn:disabled, .gv-btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}

/* WhatsApp button */
.gv-btn-wa {
  background: #25D366;
  color: white;
}
.gv-btn-wa:hover { background: #1ebd5a; }

/* ---------- Chips / Pills ---------- */
.gv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--gv-radius-full);
  background: var(--gv-cream-2);
  color: var(--gv-ink-2);
  border: 1px solid var(--gv-line);
}
.gv-chip-orange { background: var(--gv-orange-soft); color: var(--gv-orange-deep); border-color: transparent; }
.gv-chip-mint   { background: var(--gv-mint-soft);   color: var(--gv-mint);        border-color: transparent; }
.gv-chip-ink    { background: var(--gv-ink);         color: var(--gv-cream);       border-color: transparent; }
.gv-chip-promo  { background: var(--gv-coral);       color: white;                 border-color: transparent; }

.gv-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gv-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--gv-radius-full);
  background: white;
  border: 1.5px solid var(--gv-line);
  font-weight: 600;
  font-size: .9rem;
  color: var(--gv-ink);
  cursor: pointer;
  transition: all var(--gv-dur) var(--gv-ease);
}
.gv-filter-pill:hover { border-color: var(--gv-ink); }
.gv-filter-pill.is-active { background: var(--gv-ink); color: var(--gv-cream); border-color: var(--gv-ink); }
.gv-filter-pill img { width: 20px; height: 20px; }

/* ---------- Tarjetas ---------- */
.gv-card {
  background: var(--gv-bg-card);
  border-radius: var(--gv-radius-lg);
  border: 1px solid var(--gv-line);
  overflow: hidden;
  transition: transform var(--gv-dur) var(--gv-ease), box-shadow var(--gv-dur) var(--gv-ease), border-color var(--gv-dur) var(--gv-ease);
}
.gv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gv-shadow-lg);
  border-color: var(--gv-line-strong);
}

/* Product card */
.gv-product-card {
  display: flex;
  flex-direction: column;
}
.gv-product-card .gv-product-media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--gv-cream-2);
  overflow: hidden;
}
.gv-product-card .gv-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--gv-ease);
}
.gv-product-card:hover .gv-product-media img { transform: scale(1.06); }
.gv-product-card .gv-product-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.gv-product-card .gv-product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.gv-product-card .gv-product-brand { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gv-text-muted); font-weight: 600; }
.gv-product-card .gv-product-name { font-size: 1.05rem; font-weight: 600; color: var(--gv-ink); }
.gv-product-card .gv-product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.gv-product-card .gv-product-price { font-family: var(--gv-font-display); font-size: 1.35rem; font-weight: 600; color: var(--gv-ink); }
.gv-product-card .gv-product-price-old { font-size: .85rem; text-decoration: line-through; color: var(--gv-text-muted); }

.gv-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

/* Service card */
.gv-service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--gv-bg-card);
  border: 1px solid var(--gv-line);
  border-radius: var(--gv-radius-lg);
  transition: all var(--gv-dur) var(--gv-ease);
  height: 100%;
}
.gv-service-card:hover {
  transform: translateY(-2px);
  border-color: var(--gv-orange);
  box-shadow: var(--gv-shadow);
}
.gv-service-card .gv-service-icon {
  width: 64px; height: 64px;
  border-radius: var(--gv-radius);
  background: var(--gv-orange-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.gv-service-card .gv-service-icon img { width: 40px; height: 40px; }
.gv-service-card h4 { font-family: var(--gv-font-display); font-size: 1.2rem; margin-bottom: 6px; }
.gv-service-card p { color: var(--gv-text-muted); font-size: .95rem; }
.gv-service-card .gv-service-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px;
}
.gv-service-card .gv-service-price { font-family: var(--gv-font-display); font-size: 1.4rem; font-weight: 600; color: var(--gv-orange-deep); }

/* ---------- Trust strip ---------- */
.gv-trust {
  background: var(--gv-ink);
  color: var(--gv-cream);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--gv-ink-3);
  border-bottom: 1px solid var(--gv-ink-3);
}
.gv-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.gv-trust-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.gv-trust-item .gv-trust-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--gv-radius);
  background: rgba(243,112,33,.15);
  color: var(--gv-orange-bright);
}
.gv-trust-item .gv-trust-icon svg { width: 26px; height: 26px; }
.gv-trust-item strong { display: block; font-family: var(--gv-font-display); font-size: 1rem; color: var(--gv-cream); margin-bottom: 2px; }
.gv-trust-item span { font-size: .87rem; color: #C9BBAC; }

/* ---------- Bento ---------- */
.gv-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.gv-bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--gv-radius-lg);
  padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 220px;
  background: var(--gv-bg-card);
  border: 1px solid var(--gv-line);
  isolation: isolate;
  transition: transform var(--gv-dur) var(--gv-ease), box-shadow var(--gv-dur) var(--gv-ease);
}
.gv-bento-tile:hover { transform: translateY(-2px); box-shadow: var(--gv-shadow-lg); }
.gv-bento-tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
}
.gv-bento-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,0) 30%, rgba(20,17,15,.7) 100%);
  z-index: -1;
}
.gv-bento-tile, .gv-bento-tile h3, .gv-bento-tile p, .gv-bento-tile span { color: white; }
.gv-bento-tile h3 { font-size: 1.6rem; margin-bottom: 4px; }
.gv-bento-tile p { font-size: .92rem; opacity: .85; margin-bottom: 10px; }
.gv-bento-tile .gv-bento-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gv-orange-bright); margin-bottom: 6px;
}
.gv-bento-tile .gv-bento-cta { font-weight: 600; font-size: .9rem; }

.gv-bento-tile.is-lg { grid-column: span 4; min-height: 360px; }
.gv-bento-tile.is-md { grid-column: span 3; }
.gv-bento-tile.is-sm { grid-column: span 2; min-height: 220px; }

@media (max-width: 960px) {
  .gv-bento { grid-template-columns: repeat(4, 1fr); }
  .gv-bento-tile.is-lg { grid-column: span 4; }
  .gv-bento-tile.is-md { grid-column: span 2; }
  .gv-bento-tile.is-sm { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gv-bento { grid-template-columns: 1fr 1fr; }
  .gv-bento-tile.is-lg, .gv-bento-tile.is-md, .gv-bento-tile.is-sm { grid-column: span 2; }
}

/* ---------- Forms ---------- */
.gv-field { margin-bottom: 18px; }
.gv-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 8px;
  color: var(--gv-ink-2);
}
.gv-input, .gv-select, .gv-textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: white;
  border: 1.5px solid var(--gv-line);
  border-radius: var(--gv-radius-sm);
  color: var(--gv-ink);
  transition: border-color var(--gv-dur) var(--gv-ease), box-shadow var(--gv-dur) var(--gv-ease);
}
.gv-textarea { resize: vertical; min-height: 96px; }
.gv-input:focus, .gv-select:focus, .gv-textarea:focus {
  outline: none;
  border-color: var(--gv-orange);
  box-shadow: 0 0 0 3px var(--gv-orange-glow);
}
.gv-input-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.gv-checkbox, .gv-radio {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}

/* ---------- Alerts ---------- */
.gv-alert {
  padding: 14px 18px;
  border-radius: var(--gv-radius-sm);
  border: 1px solid;
  font-size: .92rem;
  margin-bottom: 14px;
}
.gv-alert-info    { background: #EFF6FC; border-color: #D2E4F4; color: #1F4E79; }
.gv-alert-success { background: #EDF8EE; border-color: #C7E5C9; color: #2E6C36; }
.gv-alert-warn    { background: #FFF6E5; border-color: #FFE0A8; color: #8A5A00; }
.gv-alert-error   { background: #FCEFEE; border-color: #F5C7C3; color: #A03228; }

/* ---------- Avatar ---------- */
.gv-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gv-orange-soft);
  color: var(--gv-orange-deep);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Testimonial card ---------- */
.gv-testimonial {
  background: white;
  border: 1px solid var(--gv-line);
  border-radius: var(--gv-radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--gv-dur) var(--gv-ease);
}
.gv-testimonial:hover { transform: translateY(-2px); }
.gv-testimonial-stars { display: flex; gap: 2px; }
.gv-testimonial-stars svg { width: 16px; height: 16px; }
.gv-testimonial-quote { font-family: var(--gv-font-display); font-size: 1.05rem; line-height: 1.5; color: var(--gv-ink-2); }
.gv-testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.gv-testimonial-author strong { display: block; font-family: var(--gv-font-body); font-size: .95rem; font-weight: 600; }
.gv-testimonial-author span { display: block; font-size: .8rem; color: var(--gv-text-muted); }

/* ---------- News card ---------- */
.gv-news-card {
  background: white;
  border-radius: var(--gv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gv-line);
  transition: all var(--gv-dur) var(--gv-ease);
  display: flex; flex-direction: column;
}
.gv-news-card:hover { transform: translateY(-2px); box-shadow: var(--gv-shadow); border-color: var(--gv-line-strong); }
.gv-news-card .gv-news-cover { aspect-ratio: 16/9; background: var(--gv-cream-2); overflow: hidden; }
.gv-news-card .gv-news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--gv-ease); }
.gv-news-card:hover .gv-news-cover img { transform: scale(1.05); }
.gv-news-card .gv-news-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gv-news-card h4 { font-family: var(--gv-font-display); font-size: 1.2rem; }
.gv-news-card .gv-news-meta { font-size: .8rem; color: var(--gv-text-muted); }

/* ---------- Empty state ---------- */
.gv-empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--gv-text-muted);
}
.gv-empty img { width: 120px; opacity: .5; margin: 0 auto 16px; }
