/* Reset y Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0f42af;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --tertiary-color: #01050c;
  --success-color: #16a34a;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-primary: #0b0b0c;
  --text-secondary: #2511dd;
  --border-color: #1b07cf;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

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

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

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

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

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
  padding: 10px 0;
}

.header a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.header a:hover {
  color: #00bfff;
}

.btn-primary {
  background: #007bff;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
}

/* HERO */
.hero {
  position: relative;
  background-image: url('images/zoom.jpg');
  background-size: cover;
  background-position: center;
  padding: 310px 0 60px 0;
  /* espacio para header */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #00bfff;
}

.hero p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 30px;
}

.hero-buttons {
  margin-bottom: 30px;
}

.hero-buttons button {
  margin: 5px;
}

.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-features .feature {
  display: flex;
  align-items: center;
  margin: 5px 15px;
  color: #00ff99;
}

.hero-features .feature i {
  margin-right: 8px;
}

/* Para prevenir solapamiento */
body {
  margin: 0;
  padding: 0;
}


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

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

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 1.5rem;
}

.card-header i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-content {
  padding: 0 1.5rem 1.5rem;
}

/* Grids */
.services-grid,
.contact-grid,
.profeco-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.pricing-card {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .pricing-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .pricing-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.pricing-featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.pricing-price {
  text-align: center;
  margin-bottom: 2rem;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
}

.period {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.pricing-features i {
  color: var(--success-color);
}

.pricing-disclaimer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
}


/* Feature Lists */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.feature-list i {
  color: var(--success-color);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-primary {
  background: var(--primary-color);
  color: white;
}

.badge-secondary {
  background: var(--secondary-color);
  color: white;
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* PROFECO Section */
.info-item {
  margin-bottom: 1rem;
}

.info-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.warning-box {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.warning-box h3 {
  color: #92400e;
  margin-bottom: 0.5rem;
}

.warning-box p {
  color: #92400e;
  font-size: 0.875rem;
}

/* Contact Section */
.contact-main {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.schedule-card {
  max-width: 600px;
  margin: 2rem auto 0;
}

.schedule-grid {
  display: grid;
  gap: 0.5rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.schedule-item.emergency {
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: none;
}

/* Footer */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.regulatory-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

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

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .pricing-featured {
    transform: none;
  }

  .services-grid,
  .contact-grid,
  .profeco-grid {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 769px) {
  .hero-content {
    grid-template-columns: 1fr 400px;
  }
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-success {
  color: var(--success-color);
}

.text-warning {
  color: var(--warning-color);
}

.text-danger {
  color: var(--danger-color);
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* antes 200px */
  gap: 2rem;
  /* más separación */
  margin-top: 2rem;
}

.product-card {
  text-align: center;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform 0.3s ease;
  max-width: 350px;
  margin: 0 auto;
}

.product-card img {
  max-width: 100%;
  height: 300px;
  /* antes auto */
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card h4 {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.product-card:hover {
  transform: translateY(-5px);
}

