/*
Theme Name: JHSOFTERD Pro Theme
Theme URI: https://jhsofterd.com
Author: JHSOFTERD Development Team
Author URI: https://jhsofterd.com
Description: Tema Profesional de WordPress para JHSOFTERD.COM - Soluciones Tecnológicas, Germiva ERP, GALEF IT Solutions y Servicios para Hogar y Empresas.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: jhsofterd-pro
*/

:root {
  --primary: #1e3a8a;
  --primary-dark: #1e293b;
  --secondary: #0284c7;
  --accent: #10b981;
  --accent-hover: #059669;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

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

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

/* Top Bar */
.top-bar {
  background-color: var(--dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  gap: 20px;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Main Header */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  color: var(--gray-600);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--secondary);
}

.btn-header-call {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-header-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

/* Mobile Navigation Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0284c7 100%);
  color: white;
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 750px;
  margin: 0 auto 35px;
}

.btn-cta-hero {
  background: var(--accent);
  color: white;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s, background-color 0.2s;
}

.btn-cta-hero:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Trust Indicators */
.trust-section {
  padding: 70px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto 45px;
  font-size: 1.05rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.trust-card {
  background: var(--light);
  padding: 35px 25px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.trust-icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.trust-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.trust-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 5px solid var(--secondary);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 25px;
  font-size: 0.98rem;
}

.btn-service {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}

.btn-service:hover {
  background: var(--secondary);
  color: white;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--light);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow);
  transform: scale(1.03);
}

.pricing-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 18px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin: 15px 0 5px;
}

.price-period {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 25px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

.rating-stars {
  color: #f59e0b;
  margin-top: 6px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  padding: 60px 30px;
  text-align: center;
  border-radius: var(--radius);
  margin: 60px 0;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 30px;
  color: #e0f2fe;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-whatsapp-cta {
  background: #25d366;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-cta:hover {
  background: #20ba5a;
}

.btn-call-cta {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  text-align: center;
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-section h1 { font-size: 2.2rem; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 15px; }
  .btn-header-call { width: 100%; justify-content: center; }
  .hero-section { padding: 60px 0; }
  .hero-section h1 { font-size: 1.8rem; }
}
