/* ===== FUENTES ===== */
@font-face {
  font-family: 'Successor';
  src: url('Fonts/Successor-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Successor';
  src: url('Fonts/Successor-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Successor';
  src: url('Fonts/Successor-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Successor', sans-serif;
  font-weight: 300;
  background-color: var(--body-bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
  --body-bg: #F7EFE2;
  --dark: #262529;
  --white: #FFFFFF;
  --cyan: #1D98BA;
  --cyan-light: #B2F0FF;
  --orange: #F88D37;
  --orange-red: #FF552E;
  --yellow: #EFB237;
  --pink: #EF9EA8;
  --green: #ABCF82;
  --green-dark: #61851C;
  --lavender: #BB7FBF;
  --lavender-light: #B6ACE4;
  --beige: #DDCCA8;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 16px rgba(38,37,41,0.08);
  --shadow-md: 0 8px 32px rgba(38,37,41,0.12);
  --shadow-lg: 0 16px 48px rgba(38,37,41,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Successor', sans-serif; font-weight: 500; line-height: 1.15; }
em { font-family: 'Successor', sans-serif; font-weight: 300; font-style: italic; }
p { line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; font-family: 'Successor', sans-serif; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-tag::before {
  content: ''; display: block; width: 32px; height: 2px;
  background: currentColor; border-radius: 2px;
}
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 20px 0;
  background: var(--cyan);
  transition: box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: 12px 0;
}
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--white);
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 0.7; }
.nav-logo {
  display: flex; align-items: center; justify-content: center;
}
.nav-logo img {
  height: 35px; width: auto; display: block;
}
.nav-right { display: flex; justify-content: flex-end; }
.btn-nav {
  background: var(--cyan); color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 10px 22px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-nav:hover {
  background: var(--white); color: var(--cyan);
  border-color: var(--white); transform: scale(1.05);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 4px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: var(--body-bg);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 24px; font-weight: 600; color: var(--dark);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--cyan); }

/* ===== HERO ===== */
#hero {
  position: relative; width: 100%; height: 90vh; min-height: 600px;
  background: url('Images/Banners-Tago-Hero.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: var(--white);
  padding: 0 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  width: 100%; height: 100%; padding-bottom: 80px;
}
.hero-logo {
  font-family: 'Successor', sans-serif;
  font-weight: 900; font-size: clamp(72px, 12vw, 140px);
  letter-spacing: -4px; color: var(--white);
  text-shadow: 0 8px 40px rgba(0,0,0,0.2);
  line-height: 1; margin-bottom: 16px;
}
.hero-tagline {
  font-family: 'Successor', sans-serif; font-weight: 300; font-style: italic;
  font-style: italic; font-size: clamp(18px, 3vw, 28px);
  color: rgba(255,255,255,0.92); margin-bottom: 40px;
  font-weight: 700;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--white); color: var(--dark);
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-hero-primary:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn-hero-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  transition: transform var(--transition), background var(--transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); transform: scale(1.05); }
.scroll-arrow {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--white); cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== HISTORIA ===== */
#historia {
  background: var(--white); color: var(--dark);
  padding: 100px 0; position: relative; overflow: hidden;
}
.historia-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; position: relative; z-index: 1;
}
.historia-copy .section-tag { color: var(--cyan); }
.historia-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--dark); margin-bottom: 20px;
}
.historia-copy h2 em { font-style: italic; }
.historia-copy p {
  font-size: 17px; color: rgba(38,37,41,0.72);
  margin-bottom: 28px;
}
.historia-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,152,186,0.1);
  border: 1px solid rgba(29,152,186,0.2);
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--cyan);
}
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feature-card {
  background: var(--body-bg);
  border: 1px solid rgba(38,37,41,0.06);
  border-radius: var(--radius-md); padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px; height: 44px; margin-bottom: 12px;
  background: rgba(29,152,186,0.12); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--cyan); }
.feature-card h4 {
  font-family: 'Successor', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px;
}
.feature-card p { font-size: 13px; color: rgba(38,37,41,0.6); line-height: 1.5; }

/* ===== VIDEO HISTORIA ===== */
.video-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.video-hover-container {
  width: 600px;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.video-hover-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  /* transform: scale(1.4); */
  transform-origin: center;
}
.video-hint {
  font-family: 'Successor', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(38,37,41,0.42);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.video-hint.hidden {
  opacity: 0;
}

/* ===== PRODUCTOS ===== */
#productos {
  background: var(--white); padding: 100px 0;
  position: relative; overflow: hidden;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-tag { justify-content: center; color: var(--cyan); }
.section-header h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.section-header p { font-size: 17px; color: rgba(38,37,41,0.65); }

/* ===== PRODUCTOS — CAROUSEL 3D ===== */
.carousel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.products-grid {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.product-card {
  position: absolute;
  width: 260px;
  height: 408px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.65s ease,
              filter 0.65s ease,
              box-shadow 0.65s ease;
  will-change: transform, opacity;
}

/* Solo 3 cartas visibles: 0, ±1 */
.product-card[data-pos="0"] {
  transform: translateX(0) rotateY(0deg) scale(1);
  opacity: 1; filter: brightness(1); z-index: 5;
  box-shadow: 0 28px 90px rgba(38,37,41,0.26);
}
.product-card[data-pos="1"] {
  transform: translateX(310px) rotateY(-32deg) scale(0.78);
  opacity: 0.72; filter: brightness(0.82); z-index: 4;
  box-shadow: 0 10px 36px rgba(38,37,41,0.12);
}
.product-card[data-pos="-1"] {
  transform: translateX(-310px) rotateY(32deg) scale(0.78);
  opacity: 0.72; filter: brightness(0.82); z-index: 4;
  box-shadow: 0 10px 36px rgba(38,37,41,0.12);
}
/* ±2 y más: ocultos pero posicionados para transición suave */
.product-card[data-pos="2"] {
  transform: translateX(480px) rotateY(-50deg) scale(0.55);
  opacity: 0; z-index: 2; pointer-events: none;
}
.product-card[data-pos="-2"] {
  transform: translateX(-480px) rotateY(50deg) scale(0.55);
  opacity: 0; z-index: 2; pointer-events: none;
}
.product-card[data-pos="3"] {
  transform: translateX(600px) rotateY(-60deg) scale(0.40);
  opacity: 0; z-index: 1; pointer-events: none;
}
.product-card[data-pos="-3"] {
  transform: translateX(-600px) rotateY(60deg) scale(0.40);
  opacity: 0; z-index: 1; pointer-events: none;
}

/* Imagen */
.product-card-image {
  flex: 1; overflow: hidden; background: var(--white);
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Franja inferior */
.product-card-body {
  padding: 8px 14px 12px; flex-shrink: 0; background: var(--white);
  border-top: 3px solid var(--card-color, var(--cyan));
}
.product-type {
  display: block; font-size: 9px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--card-color, var(--cyan)); margin-bottom: 2px;
}
.product-card-body h3 {
  font-size: 13px; font-weight: 500; color: var(--dark);
  margin-bottom: 1px; line-height: 1.3;
}
.product-flavor {
  font-size: 10px; color: rgba(38,37,41,0.45);
}

/* Botones prev / next */
.carousel-btn {
  position: absolute;
  top: 230px;
  transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--white); border: none;
  box-shadow: 0 4px 20px rgba(38,37,41,0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); cursor: pointer; z-index: 10;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}
.carousel-btn:hover {
  background: var(--cyan); color: var(--white);
  box-shadow: 0 8px 28px rgba(29,152,186,0.35);
  transform: translateY(-50%) scale(1.1);
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Dots */
.carousel-dots {
  display: flex; gap: 8px; align-items: center;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(38,37,41,0.18); border: none; padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}
.carousel-dot.active {
  background: var(--cyan); width: 24px; border-radius: 4px;
}

/* ===== POR QUÉ TAGO ===== */
#por-que {
  background: #EFB237; padding: 100px 0;
  position: relative; overflow: hidden;
}
#por-que .section-tag { color: var(--dark); }
#por-que .section-header h2 { color: var(--dark); }
#por-que .section-header p { color: rgba(38,37,41,0.7); }
#por-que .pillar-icon svg { stroke: var(--dark); }
.pillars-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.pillar-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-md); padding: 32px;
  transition: transform var(--transition), background var(--transition);
}
.pillar-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.72); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--white); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 {
  font-family: 'Successor', sans-serif;
  font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--dark);
}
.pillar-card p { font-size: 15px; color: rgba(38,37,41,0.72); line-height: 1.6; }

/* ===== MASCOTAS ===== */
#mascotas {
  background: var(--white); padding: 100px 0;
}
#mascotas .section-tag { color: var(--lavender); }
.breeds-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 48px;
}
.breed-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.breed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.breed-card-visual {
  aspect-ratio: 4/5; background: var(--body-bg);
  overflow: hidden; position: relative;
}
.breed-card-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.breed-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(38,37,41,0.28); font-size: 12px; font-weight: 500;
  letter-spacing: 0.5px; text-align: center;
}
.breed-card-body { padding: 20px 24px 26px; }
.breed-tag {
  display: inline-block; margin-bottom: 8px; padding: 3px 12px;
  border-radius: 50px; font-size: 11px; font-weight: 600;
  background: var(--body-bg); color: rgba(38,37,41,0.6); letter-spacing: 0.5px;
}
.breed-card-body h3 {
  font-family: 'Successor', sans-serif;
  font-size: 20px; font-weight: 500; color: var(--dark); margin-bottom: 8px;
}
.breed-card-body p { font-size: 14px; color: rgba(38,37,41,0.6); line-height: 1.6; }

/* ===== TESTIMONIOS ===== */
#testimonios {
  background: var(--body-bg); padding: 100px 0;
}
#testimonios .section-tag { color: var(--orange); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--beige); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar svg { width: 28px; height: 28px; color: rgba(38,37,41,0.3); }
.testimonial-info h4 {
  font-family: 'Successor', sans-serif;
  font-size: 15px; font-weight: 700; margin-bottom: 2px;
}
.testimonial-info span { font-size: 13px; color: var(--cyan); font-weight: 600; }
.testimonial-quote {
  font-size: 15px; line-height: 1.65;
  color: rgba(38,37,41,0.75); font-style: italic;
}
.quote-mark {
  font-family: 'Successor', sans-serif; font-weight: 300; font-style: italic;
  font-size: 48px; color: var(--beige);
  line-height: 0.5; margin-bottom: 12px; display: block;
}
.section-header-clientes { margin-top: 80px; }
.testimonios-dist-tag { color: var(--cyan); }
.testimonials-dist .testimonial-card { border-left: 3px solid var(--cyan); }

/* ===== CONTACTO ===== */
#contacto {
  background: var(--orange); padding: 100px 0;
  position: relative; overflow: hidden;
}
#contacto::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: -150px; left: -150px; pointer-events: none;
}
#contacto::after {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,85,46,0.25);
  bottom: -80px; right: -80px; pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start; position: relative; z-index: 1;
}
.contact-copy .section-tag { color: rgba(255,255,255,0.75); }
.contact-copy h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white); margin-bottom: 16px;
}
.contact-copy h2 em { font-style: italic; }
.contact-copy p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.social-links { display: flex; gap: 16px; margin-bottom: 24px; }
.social-link {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.social-link:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; color: var(--white); }
.contact-hashtag {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
}
.contact-form-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--dark); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--body-bg); border: none;
  border-radius: var(--radius-sm); outline: none;
  font-family: 'Successor', sans-serif; font-size: 15px;
  color: var(--dark);
  transition: box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(38,37,41,0.35); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(29,152,186,0.25);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }
.btn-submit {
  width: 100%; padding: 16px;
  background: var(--dark); color: var(--white);
  border-radius: 50px; font-size: 16px; font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}
.btn-submit:hover { transform: scale(1.02); box-shadow: 0 8px 32px rgba(38,37,41,0.3); }
.form-success {
  display: none; text-align: center; padding: 20px;
  color: var(--green-dark); font-weight: 600; font-size: 16px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: var(--white);
  padding: 80px 0 40px; text-align: center;
}
.footer-logo {
  font-family: 'Successor', sans-serif;
  font-weight: 900; font-size: 48px;
  letter-spacing: -3px; color: var(--white);
  margin-bottom: 32px;
}
.footer-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); display: block; margin: 0 auto; }
.footer-links {
  display: flex; justify-content: center;
  gap: 32px; list-style: none; margin-bottom: 32px; flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.footer-social {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer-social:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); }
.footer-divider {
  height: 1px; background: rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-bottom {
  font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8;
}

/* ===== MODAL PRODUCTO ===== */
.product-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-modal.open {
  opacity: 1;
  pointer-events: all;
}
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(38,37,41,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-card {
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 400px;
  overflow: hidden;
  transform: scale(0.86) translateY(28px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 32px 90px rgba(38,37,41,0.35);
}
.product-modal.open .modal-card {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(38,37,41,0.08); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); cursor: pointer; z-index: 2;
  transition: background var(--transition), transform var(--transition);
}
.modal-close:hover { background: rgba(38,37,41,0.16); transform: scale(1.1); }
.modal-image {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
}
.modal-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.modal-body {
  padding: 12px 20px 18px;
  border-top: 3px solid var(--modal-color, var(--cyan));
}
.modal-type {
  display: block; font-size: 9px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--modal-color, var(--cyan)); margin-bottom: 3px;
}
.modal-body h3 {
  font-family: 'Successor', sans-serif;
  font-size: 18px; font-weight: 500; color: var(--dark);
  margin-bottom: 2px; line-height: 1.2;
}
.modal-flavor {
  font-size: 13px; color: rgba(38,37,41,0.48);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 28px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.whatsapp-float::before,
.whatsapp-float::after {
  content: ''; position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  background: #25D366; opacity: 0;
  animation: wa-wave 2.2s ease-out infinite;
}
.whatsapp-float::after { animation-delay: 1.1s; }
@keyframes wa-wave {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .historia-grid { gap: 40px; }
  .breeds-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* Carrusel tablet: ajustar offsets ±1, mantener ±2 ocultas */
  .products-grid { height: 400px; }
  .product-card[data-pos="1"]  { transform: translateX(268px) rotateY(-30deg) scale(0.78); }
  .product-card[data-pos="-1"] { transform: translateX(-268px) rotateY(30deg) scale(0.78); }
  .carousel-btn { top: 200px; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
}

@media (max-width: 768px) {
  #hero {
    background-image: url('Images/Banners-Tago-HeroMobile.jpg');
    height: calc(100vw * (1200 / 750));
    min-height: unset;
  }
  .nav-links, .nav-right { display: none; }
  /* Breeds responsive */
  .breeds-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
  .breed-card-body { padding: 14px 16px 18px; }
  .breed-card-body h3 { font-size: 16px; margin-bottom: 4px; }
  .breed-card-body p { font-size: 12px; }
  .hamburger { display: flex; }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .historia-grid,
  .contact-grid,
  .pets-grid,
  .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  /* Carrusel mobile */
  .products-grid { height: 340px; }
  .product-card { width: 210px; height: 330px; }
  .product-card[data-pos="1"]  { transform: translateX(210px) rotateY(-26deg) scale(0.74); opacity: 0.65; }
  .product-card[data-pos="-1"] { transform: translateX(-210px) rotateY(26deg) scale(0.74); opacity: 0.65; }
  .carousel-btn { width: 42px; height: 42px; top: 170px; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
  .video-hover-container { width: 400px; height: 400px; }
  #historia, #productos, #por-que, #mascotas, #testimonios, #contacto { padding: 72px 0; }
  .contact-form-card { padding: 28px; }
  .whatsapp-float { bottom: 20px; right: 16px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 16px; }
  .breeds-grid { grid-template-columns: 1fr; }
  /* Carrusel small mobile */
  .products-grid { height: 300px; }
  .product-card { width: 185px; height: 290px; }
  .product-card[data-pos="1"]  { transform: translateX(170px) rotateY(-22deg) scale(0.72); opacity: 0.6; }
  .product-card[data-pos="-1"] { transform: translateX(-170px) rotateY(22deg) scale(0.72); opacity: 0.6; }
  .carousel-btn { top: 150px; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
