/* =========================================================================
   Layout: header, footer, hero, peek-dog seam, sections
   ========================================================================= */

/* ---------- Header ---------- */
.gv-header {
  position: sticky; top: 0; z-index: var(--gv-z-header);
  background: rgba(255, 247, 238, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--gv-dur) var(--gv-ease), background var(--gv-dur) var(--gv-ease);
}
.gv-header.is-scrolled {
  border-color: var(--gv-line);
  background: rgba(255, 247, 238, .96);
}
.gv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--gv-container);
  margin-inline: auto;
}
.gv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gv-brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gv-ink);
  display: grid; place-items: center;
  overflow: hidden;
}
.gv-brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gv-brand-text {
  font-family: var(--gv-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.gv-brand-text span {
  display: block;
  font-family: var(--gv-font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gv-orange-deep);
  margin-top: 2px;
}

.gv-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gv-nav a {
  padding: 8px 14px;
  border-radius: var(--gv-radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gv-ink-2);
  transition: background var(--gv-dur) var(--gv-ease), color var(--gv-dur) var(--gv-ease);
}
.gv-nav a:hover { background: var(--gv-orange-soft); color: var(--gv-orange-deep); }
.gv-nav a.is-active { background: var(--gv-ink); color: var(--gv-cream); }

.gv-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gv-cart-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gv-line);
  display: grid; place-items: center;
  color: var(--gv-ink);
  transition: all var(--gv-dur) var(--gv-ease);
}
.gv-cart-btn:hover { background: var(--gv-ink); color: var(--gv-cream); border-color: var(--gv-ink); }
.gv-cart-btn svg { width: 18px; height: 18px; }
.gv-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: var(--gv-orange);
  color: white;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 2px solid var(--gv-cream);
}

.gv-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gv-line);
  position: relative;
}
.gv-burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--gv-ink);
  border-radius: 2px;
  transition: all var(--gv-dur) var(--gv-ease);
}
.gv-burger span:nth-child(1) { top: 14px; }
.gv-burger span:nth-child(2) { top: 20px; }
.gv-burger span:nth-child(3) { top: 26px; }
.gv-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.gv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gv-burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.gv-nav-mobile {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--gv-cream);
  z-index: var(--gv-z-header);
  padding: 32px 24px;
  transform: translateY(-100%);
  transition: transform var(--gv-dur-slow) var(--gv-ease-out);
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.gv-nav-mobile.is-open { transform: translateY(0); }
.gv-nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--gv-radius);
  color: var(--gv-ink);
  border: 1px solid transparent;
}
.gv-nav-mobile a:hover { background: white; border-color: var(--gv-line); }

@media (max-width: 980px) {
  .gv-nav { display: none; }
  .gv-burger { display: block; }
}

/* ---------- Hero (slider) ---------- */
.gv-hero {
  position: relative;
  background: var(--gv-ink);
  color: var(--gv-cream);
  overflow: hidden;
}
.gv-hero-viewport {
  position: relative;
  height: clamp(440px, 56vw, 620px);
  overflow: hidden;
}
.gv-hero-track {
  display: flex;
  height: 100%;
  transition: transform .9s var(--gv-ease-out);
  will-change: transform;
}
.gv-hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: grid;
  align-items: center;
  padding: 0 clamp(20px, 6vw, 80px);
  background-size: cover;
  background-position: center;
}
.gv-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,17,15,.7) 0%, rgba(20,17,15,.25) 60%, rgba(20,17,15,0) 100%);
  pointer-events: none;
}
.gv-hero-slide.is-orange { background: linear-gradient(135deg, #F37021 0%, #D85A0F 100%); }
.gv-hero-slide.is-mint { background: linear-gradient(135deg, #4A9B8E 0%, #357369 100%); }

.gv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gv-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 247, 238, .12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,247,238,.22);
  padding: 8px 14px;
  border-radius: var(--gv-radius-full);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gv-cream);
  width: fit-content;
}
.gv-hero-title {
  font-family: var(--gv-font-display);
  font-size: clamp(2.2rem, 5vw + 1rem, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--gv-cream);
  max-width: 16ch;
}
.gv-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gv-orange-bright);
}
.gv-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,247,238,.8);
  max-width: 50ch;
}
.gv-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.gv-hero-actions .gv-btn-ghost {
  background: rgba(255,247,238,.08);
  color: var(--gv-cream);
  border-color: rgba(255,247,238,.22);
}
.gv-hero-actions .gv-btn-ghost:hover { background: rgba(255,247,238,.18); border-color: var(--gv-cream); }

.gv-hero-art {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  max-width: 640px;
  pointer-events: none;
  z-index: 1;
}
.gv-hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }

/* Hero controls */
.gv-hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,247,238,.12);
  border: 1px solid rgba(255,247,238,.25);
  color: var(--gv-cream);
  display: grid; place-items: center;
  z-index: 4;
  transition: background var(--gv-dur) var(--gv-ease);
}
.gv-hero-arrow:hover { background: rgba(255,247,238,.25); }
.gv-hero-prev { left: 18px; }
.gv-hero-next { right: 18px; }
.gv-hero-arrow svg { width: 18px; height: 18px; }

.gv-hero-dots {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.gv-hero-dot {
  width: 24px; height: 4px;
  border-radius: 4px;
  background: rgba(255,247,238,.3);
  border: none;
  cursor: pointer;
  transition: background var(--gv-dur) var(--gv-ease), width var(--gv-dur) var(--gv-ease);
}
.gv-hero-dot.is-active { background: var(--gv-cream); width: 42px; }

/* Peek-dog asomándose en el seam */
.gv-peek-dog {
  position: absolute;
  bottom: -10px;
  right: clamp(20px, 5vw, 80px);
  width: clamp(220px, 22vw, 360px);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(20,17,15,.25));
  animation: gv-peek-in 1.1s var(--gv-ease-spring) .35s both;
}
.gv-peek-dog img { width: 100%; height: auto; }
@keyframes gv-peek-in {
  from { transform: translateY(80%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 800px) {
  .gv-hero-art { display: none; }
  .gv-peek-dog { right: 0; width: 42vw; max-width: 180px; }
}
@media (max-width: 480px) {
  .gv-peek-dog { width: 38vw; max-width: 150px; right: -8px; }
}

/* ---------- Footer ---------- */
.gv-footer {
  background: var(--gv-ink);
  color: var(--gv-cream);
  padding: 80px 0 32px;
  margin-top: 0;
  border-top: 4px solid var(--gv-orange);
}
.gv-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.gv-footer h5 {
  font-family: var(--gv-font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gv-orange-bright);
  margin-bottom: 18px;
}
.gv-footer p, .gv-footer a { color: rgba(255,247,238,.75); font-size: .95rem; }
.gv-footer a:hover { color: var(--gv-cream); }
.gv-footer ul { display: flex; flex-direction: column; gap: 10px; }
.gv-footer-brand p { max-width: 38ch; margin-top: 12px; }
.gv-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,247,238,.1);
  font-size: .82rem;
  color: rgba(255,247,238,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.gv-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.gv-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,247,238,.08);
  display: grid; place-items: center;
  color: var(--gv-cream);
  transition: background var(--gv-dur) var(--gv-ease);
}
.gv-social a:hover { background: var(--gv-orange); }
.gv-social svg { width: 18px; height: 18px; }

@media (max-width: 820px) {
  .gv-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .gv-footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Newsletter ---------- */
.gv-newsletter {
  background: var(--gv-orange);
  color: white;
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  overflow: hidden;
}
.gv-newsletter::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  border-radius: 50%;
}
.gv-newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}
.gv-newsletter h3 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); color: white; }
.gv-newsletter p { color: rgba(255,255,255,.85); margin-top: 8px; }
.gv-newsletter-form { display: flex; gap: 10px; background: rgba(255,255,255,.15); padding: 6px; border-radius: var(--gv-radius-full); }
.gv-newsletter-form input {
  flex: 1; border: none; background: transparent; color: white;
  padding: 14px 18px; font-size: 1rem; outline: none;
}
.gv-newsletter-form input::placeholder { color: rgba(255,255,255,.7); }
.gv-newsletter-form button {
  background: var(--gv-ink); color: white;
  padding: 12px 22px; border-radius: var(--gv-radius-full);
  font-weight: 600; transition: background var(--gv-dur) var(--gv-ease);
}
.gv-newsletter-form button:hover { background: var(--gv-ink-2); }

@media (max-width: 720px) {
  .gv-newsletter-inner { grid-template-columns: 1fr; }
  .gv-newsletter-form { flex-direction: column; background: transparent; padding: 0; }
  .gv-newsletter-form input { background: rgba(255,255,255,.18); border-radius: var(--gv-radius); }
  .gv-newsletter-form button { border-radius: var(--gv-radius); }
}

/* ---------- Booking widget (replacement for auctions block) ---------- */
.gv-booking {
  background: var(--gv-cream-2);
  padding: clamp(48px, 7vw, 88px) 0;
  position: relative;
}
.gv-booking-card {
  background: white;
  border-radius: var(--gv-radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--gv-shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.gv-booking-card h2 { font-size: clamp(1.8rem, 3vw + .8rem, 2.8rem); margin-bottom: 12px; }
.gv-booking-card p { color: var(--gv-text-muted); margin-bottom: 18px; }
.gv-booking-art {
  aspect-ratio: 4/3;
  border-radius: var(--gv-radius-lg);
  background: var(--gv-cream-3);
  background-size: cover; background-position: center;
}
.gv-booking-features {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.gv-booking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.gv-booking-feature svg {
  width: 22px; height: 22px;
  color: var(--gv-success);
  flex: 0 0 auto;
}
@media (max-width: 820px) {
  .gv-booking-card { grid-template-columns: 1fr; }
  .gv-booking-art { aspect-ratio: 16/9; }
}

/* ---------- Promo del mes banner ---------- */
.gv-promo-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: linear-gradient(135deg, var(--gv-orange) 0%, var(--gv-orange-deep) 100%);
  color: white;
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  align-items: center;
  gap: 32px;
  position: relative;
}
.gv-promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.1), transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(0,0,0,.1), transparent 50%);
  pointer-events: none;
}
.gv-promo-banner h2, .gv-promo-banner p { color: white; position: relative; }
.gv-promo-banner .gv-promo-art {
  aspect-ratio: 1/1; max-width: 320px; margin-left: auto;
  position: relative; z-index: 1;
}
.gv-promo-banner .gv-btn { background: white; color: var(--gv-ink); }
.gv-promo-banner .gv-btn:hover { background: var(--gv-ink); color: white; }
@media (max-width: 720px) {
  .gv-promo-banner { grid-template-columns: 1fr; text-align: center; }
  .gv-promo-banner .gv-promo-art { margin: 0 auto; }
}

/* ---------- Gallery grid ---------- */
.gv-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gv-gallery-tile {
  aspect-ratio: 1/1;
  border-radius: var(--gv-radius);
  background: var(--gv-cream-2);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gv-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--gv-ease); }
.gv-gallery-tile:hover img { transform: scale(1.06); }
.gv-gallery-tile::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(20,17,15,.7), transparent);
  color: white;
  font-size: .82rem;
  opacity: 0;
  transition: opacity var(--gv-dur) var(--gv-ease);
}
.gv-gallery-tile:hover::after { opacity: 1; }

/* ---------- Courses (cursos) ---------- */
.gv-course-card {
  background: white;
  border-radius: var(--gv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gv-line);
  display: flex;
  flex-direction: column;
  transition: all var(--gv-dur) var(--gv-ease);
}
.gv-course-card:hover { transform: translateY(-2px); box-shadow: var(--gv-shadow); }
.gv-course-card .gv-course-media {
  aspect-ratio: 16/10;
  background: var(--gv-orange);
  background-size: cover;
  background-position: center;
  position: relative;
}
.gv-course-card .gv-course-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(20,17,15,.7);
  color: white;
  padding: 5px 12px;
  border-radius: var(--gv-radius-full);
  font-size: .75rem;
  font-weight: 600;
}
.gv-course-card .gv-course-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.gv-course-card h4 { font-family: var(--gv-font-display); font-size: 1.3rem; }
.gv-course-card .gv-course-info {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: var(--gv-text-muted);
}
.gv-course-card .gv-course-info span { display: flex; align-items: center; gap: 4px; }
.gv-course-card .gv-course-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gv-line);
}
.gv-course-card .gv-course-price { font-family: var(--gv-font-display); font-size: 1.3rem; font-weight: 600; color: var(--gv-orange-deep); }

/* ---------- WhatsApp floating ---------- */
.gv-wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, .5);
  z-index: 40;
  transition: transform var(--gv-dur) var(--gv-ease);
}
.gv-wa-float:hover { transform: scale(1.08); }
.gv-wa-float svg { width: 30px; height: 30px; }
.gv-wa-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: gv-wa-pulse 2s ease-out infinite;
}
@keyframes gv-wa-pulse {
  0%   { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (max-width: 480px) {
  .gv-wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}
