/*
Theme Name: Equacom Store
Theme URI: https://equacom.store
Author: EQUACOM
Author URI: https://equacom.store
Description: Tema WordPress profesional para tienda de personalización textil, imprenta y producción audiovisual con animaciones avanzadas y diseño moderno.
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equacom-store
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready, responsive-layout
*/

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

:root {
  --primary: #0fa573;
  --primary-dark: #0d8c62;
  --secondary: #1a2744;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1a2744;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-muted: #f5f7fa;
  --border: #e5e7eb;
  --white: #ffffff;
  --gradient-start: #164e63;
  --gradient-end: #0d9668;
  --whatsapp: #25d366;
  --danger: #ef4444;
  --radius: 0.75rem;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

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

/* ===== WATERMARK ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/images/logo-watermark.png') no-repeat center center;
  background-size: 40%;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.75rem;
}

.top-bar a {
  color: rgba(255,255,255,0.8);
}

.top-bar a:hover {
  color: var(--primary);
}

.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 800;
}

.nav-brand h1 span {
  color: var(--primary);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s;
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(15,165,115,0.1);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.3s;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-green {
  background: var(--whatsapp);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.hero-stats .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stats .stat-label {
  font-size: 0.75rem;
  opacity: 0.6;
}

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

.section-muted {
  background: var(--bg-muted);
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-card .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  color: var(--white);
  background: var(--primary);
}

.product-card .badge-discount {
  background: var(--danger);
}

.product-card .price {
  font-weight: 700;
  color: var(--primary);
}

.product-card .price-old {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.75rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(15,165,115,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.service-tag {
  font-size: 0.625rem;
  background: rgba(15,165,115,0.1);
  color: var(--primary);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--white);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ===== CONTACT FORM ===== */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-muted);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  margin-top: 0.25rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.btn-primary {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand h3 span {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  background: var(--secondary);
  padding: 0.75rem 0;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex;
  gap: 0.75rem;
}

.countdown-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 60px;
}

.countdown-item .value {
  font-size: 1.5rem;
  font-weight: 800;
}

.countdown-item .label {
  font-size: 0.625rem;
  opacity: 0.6;
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--white);
}

.stat-card .value {
  font-size: 2rem;
  font-weight: 800;
}

.stat-card .label {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .product-grid,
  .services-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }
}

/* ===== AOS-like reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FLOAT ANIMATION ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}
