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

:root {
  --primary-color: #fe5757;
  --primary-dark: #dc2626;
  --primary-light: #fecaca;
  --secondary-color: #fbbf24;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #fef2f2;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --red-gradient: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  --red-gradient-dark: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

/* Header */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1px;
}

.logo-image {
  width: 180px;
  height: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: var(--red-gradient);
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

/* Process Overview */
.process-overview {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.process-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.phase-card {
  background-color: var(--bg-light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.phase-card:hover {
  transform: translateY(-4px);
}

.phase-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-dark);
}

.phase-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 24px;
}

.phase-card h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-dark);
}

/* Secciones Generales */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--red-gradient);
}

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

.service-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  color: var(--text-light);
  font-size: 14px;
}

.service-card ul li {
  margin-bottom: 4px;
}

/* Internal Services */
.internal-services {
  padding: 80px 0;
  background-color: var(--bg-white);
}

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

.internal-service-card {
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background-color: var(--bg-white);
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.internal-service-card:hover {
  transform: translateY(-4px);
}

.internal-service-card .service-icon {
  margin-bottom: 16px;
}

.internal-service-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--text-dark);
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--red-gradient);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background-color: var(--bg-white);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-dark);
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

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

.popular-badge {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: bold;
}

.pricing-header {
  text-align: center;
  padding: 32px 24px 16px;
  background: var(--red-gradient);
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

.price span {
  font-size: 18px;
  color: var(--text-light);
}

.pricing-content {
  padding: 24px;
}

.pricing-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-content ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.pricing-content ul li i {
  color: #10b981;
  font-size: 16px;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.pricing-footer {
  text-align: center;
  color: var(--text-light);
  font-size: 18px;
}

/* Locations Section */
.locations {
  padding: 80px 0;
  background: var(--red-gradient);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.location-card {
  background-color: #fef2f2;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.location-card i {
  font-size: 32px;
  color: var(--primary-color);
}

.location-card span {
  font-weight: 600;
  color: var(--text-dark);
}

.locations-footer {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--red-gradient);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.stars i {
  color: var(--secondary-color);
  font-size: 16px;
}

.testimonial-card p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-card cite {
  font-weight: 600;
  color: var(--text-dark);
  font-style: normal;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--red-gradient);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.privacy-notice {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 10px;
  margin-top: 20px;
}

.privacy-notice p {
  font-size: 10px;
  color: var(--text-dark);
  margin: 0;
}

.privacy-notice a {
  color: var(--primary-color);
  text-decoration: none;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-image {
  width: 100px;
  height: auto;
}

.footer-logo span {
  font-size: 16px;
  font-weight: bold;
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #9ca3af;
}

.contact-info i {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: white;
  padding: 16px 0;
  z-index: 1000;
  border-top: 1px solid #374151;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  color: #d1d5db;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    align-items: center;
  }

  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .logo-image {
    width: 100px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .pricing-card.featured {
    transform: none;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

  .process-phases {
    grid-template-columns: 1fr;
  }

}

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

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 24px;
  }

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

  .logo-image {
    width: 80px;
  }
  
}
