/*
Theme Name: POWERNET ISP
Theme URI: https://powernet-isp.lindy.site
Description: Tema profesional para POWERNET ISP - Servicios de Internet
Version: 1.0
Author: POWERNET ISP
Author URI: https://powernet-isp.lindy.site
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: powernet-theme
Domain Path: /languages
*/

:root {
  --primary-color: #ff6b35;
  --dark-color: #1a1a1a;
  --light-color: #f5f5f5;
  --text-color: #333;
  --border-color: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

/* HEADER */
header {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

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

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

.btn-contratar {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-contratar:hover {
  background: #e55a2b;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a2a 100%);
  color: white;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #e55a2b;
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

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

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

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* SERVICIOS */
.servicios {
  padding: 4rem 2rem;
  background: #fff;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.servicio-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.servicio-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.servicio-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.servicio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.servicio-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.servicio-features {
  list-style: none;
}

.servicio-features li {
  padding: 0.5rem 0;
  color: #666;
  display: flex;
  align-items: center;
}

.servicio-features li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* PLANES */
.planes {
  padding: 4rem 2rem;
  background: var(--light-color);
}

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

.planes-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: white;
  border: 2px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

.plan-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.plan-card.popular {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.plan-type {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.plan-speed {
  color: #666;
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.75rem 0;
  color: #666;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.plan-features li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.75rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

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

.btn-plan:hover {
  background: #e55a2b;
}

/* VENTAJAS */
.ventajas {
  padding: 4rem 2rem;
  background: white;
}

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

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

.ventaja-card {
  text-align: center;
  padding: 2rem;
}

.ventaja-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.ventaja-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.ventaja-card p {
  color: #666;
  line-height: 1.6;
}

/* CONTACTO */
.contacto {
  padding: 4rem 2rem;
  background: var(--light-color);
}

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

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

.contacto-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.contacto-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contacto-card p {
  color: #666;
  margin-bottom: 1rem;
}

.contacto-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.contacto-link:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 2rem 1rem;
}

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

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

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

/* WHATSAPP BUTTON */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 999;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

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

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

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

  .plan-card.popular {
    transform: scale(1);
  }

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

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

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

  nav ul {
    gap: 1rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
}

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

  .section-title {
    font-size: 1.8rem;
  }

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

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

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
