/*
Theme Name: Theme
Theme URI: https://equacom.store
Author: EQUACOM Solutions
Author URI: https://equacom.com
Description: Tema profesional para tienda de servicios. Personalización textil, imprenta, diseño gráfico y producción audiovisual. Sin carrito - compras solo por WhatsApp y correo electrónico.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme
Tags: responsive, modern, animated, professional, custom-colors, custom-logo, featured-images, one-column, custom-menu, footer-widgets

Damos vida a tu imaginación
*/

/* ========================================
   GOOGLE FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
  /* EQUACOM Brand Colors (HSL) */
  --equacom-red: 348 83% 47%;
  --equacom-navy: 231 75% 17%;
  --equacom-orange: 40 95% 55%;
  --equacom-gray: 210 10% 58%;
  
  /* Main Theme */
  --background: 0 0% 100%;
  --foreground: 231 75% 17%;
  
  --card: 0 0% 100%;
  --card-foreground: 231 75% 17%;
  
  --popover: 0 0% 100%;
  --popover-foreground: 231 75% 17%;
  
  --primary: 348 83% 47%;
  --primary-foreground: 0 0% 100%;
  
  --secondary: 231 75% 17%;
  --secondary-foreground: 0 0% 100%;
  
  --muted: 210 20% 96%;
  --muted-foreground: 231 25% 40%;
  
  --accent: 40 95% 55%;
  --accent-foreground: 231 75% 17%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  
  --border: 210 20% 90%;
  --input: 210 20% 90%;
  --ring: 348 83% 47%;
  
  --radius: 0.75rem;
  
  /* Header */
  --header-bg: 231 75% 17%;
  --header-foreground: 0 0% 100%;
  
  /* WhatsApp */
  --whatsapp: 142 70% 45%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(348, 83%, 47%) 0%, hsl(348, 83%, 35%) 100%);
  --gradient-secondary: linear-gradient(135deg, hsl(231, 75%, 17%) 0%, hsl(231, 75%, 25%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(40, 95%, 55%) 0%, hsl(40, 95%, 45%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(231, 75%, 17%) 0%, hsl(200, 70%, 30%) 50%, hsl(180, 60%, 40%) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px hsla(348, 83%, 47%, 0.3);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Dark Mode */
.dark {
  --background: 231 75% 8%;
  --foreground: 210 40% 98%;
  --card: 231 75% 12%;
  --card-foreground: 210 40% 98%;
  --popover: 231 75% 12%;
  --popover-foreground: 210 40% 98%;
  --primary: 348 83% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 231 50% 25%;
  --secondary-foreground: 210 40% 98%;
  --muted: 231 50% 20%;
  --muted-foreground: 210 20% 70%;
  --accent: 40 95% 55%;
  --accent-foreground: 231 75% 17%;
  --border: 231 50% 25%;
  --input: 231 50% 25%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) { 
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } 
}
@media (min-width: 768px) { 
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } 
}
@media (min-width: 1024px) { 
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); } 
}

.text-center { text-align: center; }
.hidden { display: none; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
}

/* ========================================
   HEADER STYLES
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-normal);
}

.header-top {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header-top a:hover {
  color: hsl(var(--accent));
}

.header-main {
  background: hsl(var(--background));
  transition: var(--transition-normal);
  border-bottom: 1px solid hsl(var(--border));
}

.header.scrolled .header-main {
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 50px;
  width: auto;
  border-radius: var(--radius);
  transition: var(--transition-normal);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    gap: 1.5rem;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  color: hsl(var(--foreground));
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsla(var(--secondary-foreground), 0.1);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: hsl(var(--primary));
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.mobile-menu a:hover {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: hsl(var(--muted));
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: hsl(var(--primary));
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: hsl(var(--accent));
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text { text-align: left; }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsla(var(--accent), 0.2);
  color: hsl(var(--accent));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: hsl(var(--primary-foreground));
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-description {
  font-size: 1.125rem;
  color: hsla(var(--primary-foreground), 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-description { margin-left: 0; margin-right: auto; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-buttons { justify-content: flex-start; }
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.hero-floating-badge {
  position: absolute;
  padding: 0.75rem 1rem;
  background: hsl(var(--background));
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

.hero-floating-badge.quality {
  top: 25%;
  left: -1rem;
  color: hsl(var(--primary));
}

.hero-floating-badge.delivery {
  bottom: 25%;
  right: -1rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.hero-floating-badge.location {
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(var(--primary-foreground), 0.2);
}

.hero-stat {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-stat { text-align: left; }
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--accent));
}

@media (min-width: 768px) {
  .hero-stat-value { font-size: 2rem; }
}

.hero-stat-label {
  font-size: 0.875rem;
  color: hsla(var(--primary-foreground), 0.7);
}

/* Slider Controls */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: hsla(var(--primary-foreground), 0.1);
  color: hsl(var(--primary-foreground));
  transition: var(--transition-fast);
}

.hero-arrow:hover {
  background: hsla(var(--primary-foreground), 0.2);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: hsla(var(--primary-foreground), 0.3);
  transition: var(--transition-normal);
  cursor: pointer;
}

.hero-dot.active {
  width: 32px;
  background: hsl(var(--accent));
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: hsla(var(--primary-foreground), 0.1);
  color: hsl(var(--primary-foreground));
  border: 2px solid hsla(var(--primary-foreground), 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: hsla(var(--primary-foreground), 0.2);
  border-color: hsl(var(--primary-foreground));
}

.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border: 2px solid hsl(var(--primary));
}

.btn-outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-whatsapp {
  background: hsl(var(--whatsapp));
  color: white;
}

.btn-whatsapp:hover {
  background: hsl(142, 70%, 35%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px hsla(142, 70%, 45%, 0.3);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ========================================
   MARKETING BANNER
   ======================================== */
.marketing-banner {
  background: var(--gradient-secondary);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--secondary-foreground));
  white-space: nowrap;
}

.marquee-item svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--accent));
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsla(var(--accent), 0.2);
  color: hsl(var(--foreground));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

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

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

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

.card-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: hsla(var(--foreground), 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover .card-actions {
  opacity: 1;
}

.card-action-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.card-action-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transform: scale(1.1);
}

.card-action-btn.whatsapp {
  background: hsl(var(--whatsapp));
  color: white;
}

.card-action-btn.whatsapp:hover {
  background: hsl(142, 70%, 35%);
}

.card-body {
  padding: 1.25rem;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.card-rating svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--accent));
  fill: hsl(var(--accent));
}

.card-rating span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-left: 0.25rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.card-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.card-price-old {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
}

.card-discount {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.5rem;
}

.card-buttons {
  display: flex;
  gap: 0.5rem;
}

.card-buttons .btn {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.875rem;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  border: 1px solid hsl(var(--border));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: hsl(var(--primary));
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 1rem;
  box-shadow: var(--shadow-glow);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: hsl(var(--primary-foreground));
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* ========================================
   SUB-BRANDS SECTION
   ======================================== */
.subbrand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  text-align: center;
}

@media (min-width: 768px) {
  .subbrand-card {
    flex-direction: row;
    text-align: left;
  }
}

.subbrand-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.subbrand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .subbrand-logo {
    margin-bottom: 0;
    margin-right: 2rem;
  }
}

.subbrand-content {
  flex: 1;
}

.subbrand-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subbrand-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

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

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(var(--foreground), 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-caption {
  color: white;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: hsla(var(--foreground), 0.9);
  backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
  border-radius: 50%;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--border));
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: hsl(var(--primary));
  font-family: Georgia, serif;
  line-height: 1;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  padding: 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge-value {
  font-size: 2rem;
  font-weight: 800;
}

.about-badge-label {
  font-size: 0.875rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  border-radius: 0.5rem;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

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

.news-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.news-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: hsl(var(--muted-foreground));
}

.contact-value a:hover {
  color: hsl(var(--primary));
}

.contact-form {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.footer-slogan {
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}

.footer-text {
  color: hsla(var(--secondary-foreground), 0.7);
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: hsla(var(--secondary-foreground), 0.7);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: hsl(var(--accent));
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(var(--secondary-foreground), 0.1);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: hsl(var(--primary));
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsla(var(--secondary-foreground), 0.1);
  text-align: center;
}

.footer-legal {
  font-size: 0.875rem;
  color: hsla(var(--secondary-foreground), 0.6);
  margin-top: 1rem;
}

.footer-legal a {
  color: hsl(var(--accent));
}

.footer-developer {
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-developer a {
  color: hsl(var(--accent));
  font-weight: 600;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--whatsapp));
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 20px hsla(142, 70%, 45%, 0.4);
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px hsla(142, 70%, 45%, 0.5);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
}

/* Construction Banner */
.construction-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--gradient-secondary);
  color: hsl(var(--secondary-foreground));
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.construction-banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.construction-banner p {
  margin: 0;
}

.construction-banner .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 85;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 hsla(142, 70%, 45%, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 10px hsla(142, 70%, 45%, 0);
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease forwards;
}

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

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.hover-scale {
  transition: transform var(--transition-normal);
}

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

.hover-glow:hover {
  box-shadow: var(--shadow-glow);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.alignnone { margin: 1rem 0; }
.aligncenter { display: block; margin: 1rem auto; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }

.wp-caption {
  max-width: 100%;
  background: hsl(var(--muted));
  border-radius: var(--radius);
  padding: 0.5rem;
}

.wp-caption img { border-radius: var(--radius); }
.wp-caption-text { font-size: 0.875rem; text-align: center; color: hsl(var(--muted-foreground)); padding: 0.5rem; }

.entry-content { line-height: 1.8; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 2rem 0 1rem; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1rem 2rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: hsl(var(--muted));
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* Print Styles */
@media print {
  .header, .footer, .whatsapp-float, .construction-banner, .back-to-top { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
