/* ========================================
   DURGA — Camas para perros
   Paleta: Verde #2E8B7A | Dorado #F2B54B | Crema #F5F0E8
   ======================================== */

:root {
  --verde: #2E8B7A;
  --verde-oscuro: #1E6B5E;
  --verde-claro: #3AAF9A;
  --dorado: #F2B54B;
  --dorado-oscuro: #D99B2B;
  --crema: #F5F0E8;
  --blanco: #FFFFFF;
  --negro: #1A1A1A;
  --gris: #6B7280;
  --gris-claro: #F3F4F6;
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.08);
  --sombra-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--negro);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--verde);
  color: var(--blanco);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanco);
  box-shadow: var(--sombra);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.nav-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 55px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--negro);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--verde);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--verde);
  color: var(--blanco);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav:hover {
  background: var(--verde-oscuro);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--negro);
  transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--dorado);
  color: var(--negro);
}

.btn-primary:hover {
  background: var(--dorado-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 181, 75, 0.4);
}

.btn-secondary {
  background: var(--verde);
  color: var(--blanco);
}

.btn-secondary:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 139, 122, 0.4);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(30, 107, 94, 0.3) 0%,
    rgba(26, 26, 26, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanco);
  padding: 2rem;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  background: var(--crema);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--verde);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gris);
  font-size: 1.05rem;
}

/* ========================================
   PRODUCTOS
   ======================================== */
.productos {
  background: var(--blanco);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.producto-card {
  background: var(--blanco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transition);
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

.producto-img {
  position: relative;
  overflow: hidden;
}

.producto-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.producto-card:hover .producto-img img {
  transform: scale(1.05);
}

.producto-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--dorado);
  color: var(--negro);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.producto-info {
  padding: 1.5rem;
}

.producto-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--verde-oscuro);
}

.producto-info p {
  color: var(--gris);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* ========================================
   NOSOTROS
   ======================================== */
.nosotros {
  background: var(--crema);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nosotros-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.nosotros-video video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.mute-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mute-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.nosotros-content h2 {
  font-size: 2rem;
  color: var(--verde-oscuro);
  margin-bottom: 1rem;
}

.nosotros-content p {
  color: var(--gris);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.nosotros-list {
  list-style: none;
}

.nosotros-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--negro);
  font-weight: 500;
  font-size: 0.95rem;
}

.nosotros-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--dorado);
  border-radius: 50%;
}

/* ========================================
   GALERIA
   ======================================== */
.galeria {
  background: var(--blanco);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.galeria-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.08);
}

/* ========================================
   BENEFICIOS
   ======================================== */
.beneficios {
  background: var(--gris-claro);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.beneficio-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--blanco);
  border-radius: var(--radius);
  transition: var(--transition);
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

.beneficio-icon {
  width: 70px;
  height: 70px;
  background: var(--crema);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--verde);
}

.beneficio-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--verde-oscuro);
}

.beneficio-card p {
  color: var(--gris);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  color: var(--blanco);
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contacto-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--gris-claro);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--verde);
}

.contacto-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra);
}

.contacto-card svg {
  margin-bottom: 1rem;
}

.contacto-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--verde-oscuro);
  margin-bottom: 0.5rem;
}

.contacto-card p {
  color: var(--gris);
  font-size: 0.9rem;
}

.contacto-card a {
  color: var(--verde);
  font-weight: 500;
}

.contacto-card a:hover {
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--negro);
  color: var(--blanco);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.footer-brand p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dorado);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blanco);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: #666;
  font-size: 0.8rem;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Nav Mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanco);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: var(--sombra);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gris-claro);
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero Mobile */
  .hero {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Trust Bar */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .trust-item {
    font-size: 0.75rem;
  }

  /* Productos */
  .productos-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Nosotros */
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Galeria */
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Beneficios */
  .beneficios-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Contacto */
  .contacto-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Section */
  .section {
    padding: 3.5rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* CTA */
  .cta {
    padding: 3.5rem 0;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item svg {
    display: none;
  }
}
