/* =============================================
   HUELLA CREATIVA – PetPop
   styles.css
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  --primary:     #FF6B35;   /* naranja vibrante */
  --primary-d:   #E85520;
  --secondary:   #4ECDC4;   /* teal fresco */
  --secondary-d: #36B8AF;
  --accent:      #FFD166;   /* amarillo cálido */
  --accent-d:    #E6B84D;
  --dark:        #2D2D2D;
  --dark-2:      #444;
  --gray:        #767676;
  --light-gray:  #F4F4F8;
  --white:       #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #FF9A5C 40%, #FFD166 100%);
  --gradient-how:  linear-gradient(135deg, #4ECDC4 0%, #36B8AF 50%, #2DA89F 100%);
  --gradient-test: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow:      0 8px 32px rgba(45,45,45,.12);
  --shadow-hover:0 16px 48px rgba(45,45,45,.20);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  .3s ease;
  --font-main:   'Nunito', sans-serif;
  --font-display:'Fredoka One', cursive;
}

/* ---- VARIABLES (correct selector fallback) ---- */
:root {
  --primary:     #FF6B35;
  --primary-d:   #E85520;
  --secondary:   #4ECDC4;
  --secondary-d: #36B8AF;
  --accent:      #FFD166;
  --accent-d:    #E6B84D;
  --dark:        #2D2D2D;
  --dark-2:      #444;
  --gray:        #767676;
  --light-gray:  #F4F4F8;
  --white:       #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #FF9A5C 40%, #FFD166 100%);
  --gradient-how:  linear-gradient(135deg, #4ECDC4 0%, #36B8AF 50%, #2DA89F 100%);
  --gradient-test: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow:      0 8px 32px rgba(45,45,45,.12);
  --shadow-hover:0 16px 48px rgba(45,45,45,.20);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  .3s ease;
  --font-main:   'Nunito', sans-serif;
  --font-display:'Fredoka One', cursive;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-1 { margin-top: 1.25rem; }

/* ---- TYPOGRAPHY ---- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: rgba(255,107,53,.12);
  color: var(--primary);
  border-radius: 50px;
  padding: .35rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: .8rem;
}
.section-tag.light {
  background: rgba(255,255,255,.2);
  color: var(--white);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}
.section-subtitle.light { color: rgba(255,255,255,.85); }
.accent { color: var(--primary); }
.accent-light { color: var(--accent); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--gradient-hero);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(255,107,53,.35);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(255,107,53,.5); }

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2.5px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: var(--white);
  padding: .8rem 1.6rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.5); }

.btn-email {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  color: var(--dark);
  border: 2px solid #ddd;
  padding: .8rem 1.6rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  margin-top: .75rem;
  transition: all var(--transition);
}
.btn-email:hover {
  background: #f8f8f8;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.btn-full { width: 100%; justify-content: center; }
.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: .5rem 1.3rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--primary-d); transform: translateY(-2px); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: transform var(--transition);
}
.navbar.hidden { transform: translateY(-100%); }

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--dark);
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.logo-img:hover { transform: scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark-2);
  transition: color var(--transition);
  position: relative;
}
.nav-link:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:not(.btn-nav):hover { color: var(--primary); }
.nav-link:not(.btn-nav):hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--gradient-test);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 100px 8% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.shape-1 { width: 500px; height: 500px; top: -180px; right: -120px; }
.shape-2 { width: 280px; height: 280px; bottom: 60px; left: 5%; }
.shape-3 { width: 160px; height: 160px; top: 40%; left: 45%; }

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50px;
  padding: .45rem 1.2rem;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.hero-highlight { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 2rem;
  max-width: 500px;
  text-align: center;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}
.stat-label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  font-weight: 600;
}
.stat-divider {
  width: 1.5px; height: 36px;
  background: rgba(255,255,255,.3);
}

/* Hero box mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.box-mockup {
  width: 220px;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.25));
  animation: float 3.5s ease-in-out infinite;
}
.box-top {
  height: 40px;
  background: linear-gradient(to bottom, #d4e8c2, #b5d49a);
  border-radius: 10px 10px 0 0;
  border: 2px solid rgba(255,255,255,.5);
}
.box-front {
  background: linear-gradient(160deg, #e8f5e2 0%, #c8e6c0 100%);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 0 0 10px 10px;
  padding: 12px;
  text-align: center;
}
.box-logo {
  font-family: var(--font-display);
  font-size: .85rem;
  color: #3d7a35;
  margin-bottom: 4px;
}
.box-logo span { color: var(--primary); }
.box-brand {
  font-size: .8rem;
  font-weight: 800;
  color: #555;
  margin-bottom: 8px;
}
.box-window {
  background: rgba(255,255,255,.7);
  border-radius: 8px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.1);
}
.figure-inside { position: relative; display: flex; flex-direction: column; align-items: center; }
.figure-body {
  width: 60px; height: 64px;
  background: radial-gradient(ellipse at 40% 30%, #d4956a, #b06030);
  border-radius: 40% 40% 50% 50% / 30% 30% 70% 70%;
  position: relative;
}
.figure-head {
  width: 54px; height: 46px;
  background: radial-gradient(ellipse at 45% 35%, #e0a070, #c07040);
  border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
}
.figure-ears { position: absolute; top: -64px; left: 50%; transform: translateX(-50%); width: 66px; }
.ear {
  position: absolute;
  width: 14px; height: 16px;
  background: #c07040;
  border-radius: 50% 50% 0 0;
  top: 0;
}
.ear-l { left: 3px; transform: rotate(-15deg); }
.ear-r { right: 3px; transform: rotate(15deg); }
.box-name {
  font-family: var(--font-display);
  font-size: .95rem;
  color: #3d7a35;
  background: rgba(255,255,255,.6);
  border-radius: 6px;
  padding: 2px 10px;
}

/* Floating paws */
.floating-paws { position: absolute; inset: 0; pointer-events: none; }
.fp {
  position: absolute;
  font-size: 1.4rem;
  opacity: .45;
  animation: floatPaw 4s ease-in-out infinite;
}
.fp1 { top: 5%; right: 10%; animation-delay: 0s; }
.fp2 { top: 25%; left: 0%; animation-delay: 1s; }
.fp3 { bottom: 20%; right: 5%; animation-delay: 2s; }
.fp4 { bottom: 5%; left: 15%; animation-delay: .5s; }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ---- PRODUCT SECTION ---- */
.product-section { padding: 100px 0 80px; background: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}
.product-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: block;
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: .6rem;
}
.product-card p { font-size: .95rem; color: var(--gray); }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.detail-list { list-style: none; margin: 1.2rem 0 1.8rem; }
.detail-list li {
  padding: .55rem 0;
  font-size: .98rem;
  border-bottom: 1px solid #f0f0f0;
}

/* 3D Box */
.box-3d-wrapper {
  position: relative;
  width: 200px;
  margin: 0 auto 1.5rem;
  perspective: 800px;
}
.box-3d {
  width: 160px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateBox 6s ease-in-out infinite;
  margin: 0 auto;
}
.box3d-face {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.5);
}
.box3d-face.front {
  width: 160px; height: 200px;
  background: linear-gradient(160deg, #d8f0d0 0%, #b8e0b0 100%);
  transform: translateZ(50px);
  flex-direction: column;
  gap: 4px;
  padding: 12px;
}
.box3d-face.side {
  width: 100px; height: 200px;
  background: linear-gradient(160deg, #b8e0b0 0%, #90c890 100%);
  transform: rotateY(90deg) translateZ(80px);
  font-size: .9rem;
  color: #3d7a35;
  text-align: center;
  line-height: 1.4;
}
.box3d-face.top {
  width: 160px; height: 100px;
  background: linear-gradient(to bottom, #e0f4d8 0%, #c8ecb8 100%);
  transform: rotateX(90deg) translateZ(100px);
  font-size: 2rem;
}
.b3d-logo {
  font-family: var(--font-display);
  font-size: .9rem;
  color: #3d7a35;
}
.b3d-window {
  width: 110px; height: 110px;
  background: rgba(255,255,255,.7);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.1);
}
.b3d-cat {
  position: relative;
  width: 60px; height: 76px;
}
.b3d-head {
  width: 44px; height: 38px;
  background: radial-gradient(ellipse at 45% 35%, #e0a070, #c07040);
  border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
}
.b3d-body {
  width: 52px; height: 50px;
  background: radial-gradient(ellipse at 40% 30%, #d4956a, #b06030);
  border-radius: 40% 40% 50% 50% / 30% 30% 70% 70%;
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
}
.b3d-ear {
  position: absolute;
  width: 12px; height: 14px;
  background: #c07040;
  border-radius: 50% 50% 0 0;
  top: -8px;
}
.b3d-el { left: 10px; transform: rotate(-15deg); }
.b3d-er { right: 10px; transform: rotate(15deg); }
.b3d-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #3d7a35;
  background: rgba(255,255,255,.7);
  border-radius: 6px;
  padding: 2px 14px;
}
.box3d-shadow {
  width: 160px; height: 20px;
  background: radial-gradient(ellipse, rgba(0,0,0,.2) 0%, transparent 70%);
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.dtag {
  background: rgba(78,205,196,.15);
  color: var(--secondary-d);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .82rem;
  font-weight: 700;
}
.product-detail-text h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: 1rem;
}
.product-detail-text p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: .5rem;
}

/* ---- HOW SECTION ---- */
.how-section {
  background: var(--gradient-how);
  padding: 0;
  position: relative;
}
.how-bg, .how-bg-bottom { line-height: 0; }
.how-bg svg, .how-bg-bottom svg { width: 100%; height: 80px; display: block; }

.how-section .container { padding: 3rem 24px 3rem; }
.how-section .section-header { margin-bottom: 2.5rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.step {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  transition: transform var(--transition), background var(--transition);
}
.step:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.22);
}
.step-number {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  font-weight: 900;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.step-icon { font-size: 2.4rem; margin: .5rem 0 .75rem; display: block; }
.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.step p { font-size: .9rem; color: rgba(255,255,255,.88); }
.step-arrow {
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: rgba(255,255,255,.5);
  display: none;
}

/* ---- GALLERY ---- */
.gallery-section { padding: 100px 0 80px; background: var(--light-gray); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.gallery-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-hover); }

.gallery-img-wrap {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  overflow: hidden;
  position: relative;
}
.gallery-img-wrap .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* evita recortes: se muestra completa */
  object-position: center; /* centrada dentro del recuadro */
}

/* Hint / tooltip para indicar que el card reproduce un video */
.gallery-video-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}

.gallery-card:hover .gallery-video-hint,
.gallery-card:focus .gallery-video-hint {
  opacity: 1;
  transform: translate(-50%, -56%);
}

.gallery-card:focus {
  outline: none;
}
.gallery-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(78, 205, 196, .22), var(--shadow-hover);
}
.gc-green  { background: linear-gradient(135deg, #d8f0d0, #a8d8a0); }
.gc-purple { background: linear-gradient(135deg, #e8d8f8, #c8a8e8); }
.gc-yellow { background: linear-gradient(135deg, #fff8d0, #ffe880); }
.gc-blue   { background: linear-gradient(135deg, #d0e8f8, #a0c8e8); }

/* Funko in gallery */
.gallery-funko { transform: scale(1.1); }
.gf-box {
  width: 130px;
  text-align: center;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.2));
}
.gf-header {
  background: var(--white);
  font-size: .7rem;
  font-weight: 800;
  color: #3d7a35;
  border-radius: 6px 6px 0 0;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gf-num {
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
}
.gf-win {
  background: rgba(255,255,255,.8);
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  border-left: 2px solid rgba(255,255,255,.5);
  border-right: 2px solid rgba(255,255,255,.5);
}
.gf-footer {
  background: #3d7a35;
  color: var(--white);
  font-family: var(--font-display);
  font-size: .95rem;
  padding: 5px;
  border-radius: 0 0 6px 6px;
}

/* Pet figures in gallery */
.gf-cat, .gf-dog {
  width: 50px; height: 60px;
  border-radius: 40% 40% 50% 50% / 30% 30% 60% 60%;
  position: relative;
}
.gf-cat::before {
  content: '';
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 36px;
  border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
}
.gf-cat::after, .gf-dog::after {
  content: '';
  position: absolute;
  top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 20px;
}
/* Orange cat */
.gf-cat.orange { background: radial-gradient(ellipse at 40% 30%, #e8b070, #c06030); }
.gf-cat.orange::before { background: radial-gradient(ellipse at 45% 35%, #ecb878, #c87040); }
/* Gray cat */
.gf-cat.gray { background: radial-gradient(ellipse at 40% 30%, #c8c8c8, #909090); }
.gf-cat.gray::before { background: radial-gradient(ellipse at 45% 35%, #d0d0d0, #a0a0a0); }
/* Golden dog */
.gf-dog.golden { background: radial-gradient(ellipse at 40% 30%, #e8d08a, #c0a050); }
.gf-dog.golden::before {
  content: '';
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 40px;
  background: radial-gradient(ellipse at 45% 35%, #ead490, #c8a855);
  border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
}
/* Dark dog */
.gf-dog.dark { background: radial-gradient(ellipse at 40% 30%, #a0906a, #706040); }
.gf-dog.dark::before {
  content: '';
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 40px;
  background: radial-gradient(ellipse at 45% 35%, #b09870, #806848);
  border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
}

.gallery-info {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.gallery-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--dark); }
.gallery-breed { font-size: .82rem; color: var(--gray); font-weight: 600; }

.gallery-cta {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.gallery-cta p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: var(--gradient-test);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.test-bg-top, .test-bg-bottom { line-height: 0; }
.test-bg-top svg, .test-bg-bottom svg { width: 100%; height: 60px; display: block; }

.testimonials-section .container { padding: 3rem 24px; }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 1.8rem;
  color: var(--white);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.test-stars { font-size: 1.1rem; margin-bottom: .75rem; }
.testimonial-card p {
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.test-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.test-avatar {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--dark);
  flex-shrink: 0;
}
.test-author strong { display: block; font-size: .9rem; }
.test-author span { font-size: .78rem; color: rgba(255,255,255,.7); }

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--white); transform: scale(1.3); }

/* ---- FAQ ---- */
.faq-section { padding: 100px 0 80px; background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid #eee;
  transition: border-color var(--transition);
}
.faq-item.active { border-color: var(--secondary); }
.faq-question {
  width: 100%;
  background: var(--white);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  text-align: left;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: #f8fbff; }
.faq-icon {
  font-size: 1.4rem;
  color: var(--secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-answer p {
  padding: 0 1.5rem 1.2rem;
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 200px; }

/* ---- ORDER SECTION ---- */
.order-section {
  padding: 100px 0 80px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}
.order-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.o-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  background: var(--primary);
}
.o-s1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.o-s2 { width: 300px; height: 300px; bottom: -100px; left: -100px; }

.order-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.order-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.order-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .88rem; font-weight: 700; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid #e8e8f0;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(78,205,196,.15);
}
.form-group input.error,
.form-group select.error {
  border-color: #e74c3c;
}
.form-error { font-size: .78rem; color: #e74c3c; font-weight: 600; min-height: 1em; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check label { font-size: .88rem; color: var(--gray); cursor: pointer; }

.btn-loader {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}
.btn.loading #btnText { display: none; }
.btn.loading .btn-loader { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeIn .5s ease;
}
.form-success.visible { display: block; }
.success-icon { font-size: 3.5rem; margin-bottom: .75rem; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: .5rem;
}
.form-success p { color: var(--gray); font-size: 1rem; }

.order-info { display: flex; flex-direction: column; gap: 1rem; }
.order-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.order-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: .5rem;
}
.order-info-card > p { font-size: .9rem; color: var(--gray); margin-bottom: .2rem; }

.order-social p { font-size: .85rem; color: var(--gray); margin-top: 1rem; margin-bottom: .4rem; font-weight: 600; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--dark);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); transform: scale(1.1); }

.why-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .75rem; }
.why-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark-2);
}

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: var(--white); padding: 0; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; display: block; }

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 24px 2rem;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer-logo span { color: var(--primary); }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; line-height: 1.6; }
.footer-social { display: flex; gap: .6rem; }
.footer-social .social-link { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.footer-social .social-link:hover { background: var(--primary); color: var(--white); }

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.footer-logo-img:hover { transform: scale(1.05); }
/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #25D366;
  animation: pulse 2s ease-out infinite;
}

/* ---- ANIMATIONS ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes floatPaw {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .45; }
  50%       { transform: translateY(-12px) rotate(10deg); opacity: .65; }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-12deg); }
  75%       { transform: rotate(12deg); }
}
@keyframes rotateBox {
  0%   { transform: rotateY(0deg) rotateX(5deg); }
  50%  { transform: rotateY(20deg) rotateX(8deg); }
  100% { transform: rotateY(0deg) rotateX(5deg); }
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-float { animation: float 3.5s ease-in-out infinite; }
.animate-fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

/* Scroll reveal */
.card-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.card-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.card-reveal.delay-1 { transition-delay: .12s; }
.card-reveal.delay-2 { transition-delay: .24s; }
.card-reveal.delay-3 { transition-delay: .36s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 100px 6% 60px; text-align: center; gap: 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-wave svg { height: 50px; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .order-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 50px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 1.2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-120%);
    transition: transform .35s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 24px 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* Navbar compacto para que se vea el logo y nombre */
  .nav-container { padding: 0 16px; height: 60px; }
  .nav-logo {
    font-size: 1.15rem;
    gap: .35rem;
    max-width: calc(100% - 56px);
  }
  .paw-icon { font-size: 1.35rem; }
  .logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 260px; }
  .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .hero { padding: 90px 5% 50px; }
  /* Galería móvil: centrar y mostrar imágenes completas */
  .gallery-img-wrap {
    height: 240px;
    padding: 1.5rem;
  }
  .gallery-img-wrap .gallery-image {
    object-fit: contain;
    object-position: center;
  }
  /* En móvil no hay hover: mostramos el hint un poco para guiar al usuario */
  .gallery-video-hint {
    opacity: 0;
    transform: translate(-50%, -52%);
  }

  /* Ajustes extra para navbar en pantallas muy pequeñas */
  .nav-container { padding: 0 12px; }
  .nav-logo { font-size: 1.02rem; }
  .logo-text { font-size: .95rem; }
  .paw-icon { font-size: 1.2rem; }
  .hamburger span { width: 20px; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-d); }



/* Nuevo */

.hero-product-image {
  position: relative;
  width: 100%;
  max-width: 340px;          /* ajusta según el tamaño que quieras en desktop */
  margin: 0 auto;
}

.hero-product-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  /* gradient que contraste con el fondo */
  background: var(--gradient-hero);
  padding: 1.2rem;
  box-sizing: border-box;
}

/* Badge debajo y centrado */
.hero-product-badge {
  display: grid;
  margin: 1.5rem auto 0;
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(255,209,102,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* ---- MODAL VIDEO GALERÍA ---- */
.gallery-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.gallery-video-modal.open {
  opacity: 1;
  visibility: visible;
}
.gallery-video-modal.open body { overflow: hidden; }

.gallery-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.gallery-video-modal-content {
  position: relative;
  width: 90%;
  max-width: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform .25s ease;
  z-index: 1;
}
.gallery-video-modal.open .gallery-video-modal-content {
  transform: scale(1);
}

.gallery-video-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.gallery-video-modal-close:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

.gallery-video-modal-video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--dark);
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.logo-img:hover { transform: scale(1.05); }

.btn-email {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  color: var(--dark);
  border: 2px solid #ddd;
  padding: .8rem 1.6rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  margin-top: .75rem;
  transition: all var(--transition);
}
.btn-email:hover {
  background: #f8f8f8;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}