/* ============================================================================= */
/* Pantalla inicio */
/* Base styles */
:root {
  --primary-color: #10B981;
  --secondary-color: #0EA5E9;
  --text-color: #1F2937;
  --light-text: #6B7280;
  --background: #FFFFFF;
  --light-background: #F3F4F6;
  --ibederola-color: #288b00;
  --ibederola2-color: #95f86d;
  --endesa-color: #0011ac;
  --endesa2-color: #5595e9;
  --naturgy-color: #E57200;
  --naturgy2-color: #df8e3d;
  --totalEenegies-color: #da0e0e;
  --totalEenegies2-color: #dd7676;
  --VM-color: #1e49d4;
  --VM2-color: #ce861b;
  --bassols-color: #1eced4;
  --bassols2-color: #67b831;
  --plenitude-color: #ffcd00;
  --plenitude2-color: #008051;
  --etergy-color: #00aff1;
  --etergy2-color: #f7941d;
  --oppidum-color: #007e44;
  --oppidum2-color: #e98923;
  --pasion-color: #ed008d ;
  --pasion2-color: #1ab5f1;
  --repsol-color: #ffb546;
  --repsol2-color: #ff5e14;
  --domestica-color: #039DE0;
  --domestica2-color: #fbff00;
  --eleia-color: #00205b;
  --eleia2-color: #ffa400;
  --logos-color: #081741;
  --logos2-color: #906740;
  --alumbra-color: #ce326b;
  --alumbra2-color: #501450;
  --default-color: #444444;
  --default2-color: #a8a8a8;
  --audax-color: #f48600ba;
  --audax2-color: #f0a244ba;
  --nufri-color: #0e5d40;
  --nufri2-color: #137c55;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  margin-right: 0.5rem;
}

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

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

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

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: none;
}

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

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

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
}

.upload-icon {
  margin-right: 0.5rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--light-background);
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.testimonial-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.author {
  color: var(--light-text);
  font-weight: 500;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Footer */
.footer {
  background: var(--text-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 4rem;
      left: 0;
      right: 0;
      background: var(--background);
      padding: 1rem;
      flex-direction: column;
      gap: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

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

  .hero p {
      font-size: 1.1rem;
  }

  .cta h2 {
      font-size: 1.5rem;
  }
}

/* ============================================================================= */
/* Pantalla analizador */
/* Base styles */
:root {
  --primary-color: #10B981;
  --secondary-color: #0EA5E9;
  --text-color: #1F2937;
  --light-text: #6B7280;
  --background: #FFFFFF;
  --light-background: #F3F4F6;
  --border-color: #E5E7EB;
  --hover-color: #059669;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-icon {
  margin-right: 0.5rem;
}

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

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

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

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* Upload Section */
.upload-section {
  padding: 8rem 0 4rem;
  min-height: calc(100vh - 300px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.upload-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upload-container h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-color);
}

.upload-description {
  text-align: center;
  color: var(--light-text);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.upload-form {
  flex-direction: column;
  gap: 1.5rem;
}

.file-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--light-background);
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--primary-color);
  background: #F0FDF4;
}

.file-upload-area.file-selected {
  background: white;
  border-style: solid;
  border-color: var(--primary-color);
}

.upload-icon-large {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.upload-text {
  margin-bottom: 1rem;
}

.primary-text {
  color: var(--text-color);
  font-size: 1.1rem;
}

.file-label {
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.25rem;
}

.file-label:hover {
  text-decoration: underline;
}

.file-input {
  display: none;
}

.file-requirements {
  color: var(--light-text);
  font-size: 0.9rem;
}

.selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--light-background);
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-icon {
  color: var(--primary-color);
}

.remove-file {
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.remove-file:hover {
  color: #EF4444;
}

.analyze-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1rem;
  margin-top: 1rem;
  background: var(--primary-color);
  color: white;
}

.analyze-btn:disabled {
  background: var(--light-text);
  cursor: not-allowed;
  transform: none;
}

.analyze-btn:not(:disabled):hover {
  background: var(--hover-color);
}

.analyze-icon {
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background: var(--text-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 4rem;
      left: 0;
      right: 0;
      background: var(--background);
      padding: 1rem;
      flex-direction: column;
      gap: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

  .upload-container {
      padding: 2rem 1rem;
  }

  .upload-container h1 {
      font-size: 2rem;
  }

  .file-upload-area {
      padding: 1.5rem;
  }
}

/* ============================================================================= */
/* Pantalla about */
/* Base styles */
:root {
  --primary-color: #10B981;
  --secondary-color: #0EA5E9;
  --text-color: #1F2937;
  --light-text: #6B7280;
  --background: #FFFFFF;
  --light-background: #F3F4F6;
  --border-color: #E5E7EB;
  --hover-color: #059669;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-icon {
  margin-right: 0.5rem;
}

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

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

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

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* About Hero Section */
.about-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Mission Section */
.mission {
  padding: 6rem 0;
  background: var(--background);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mission-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.mission-content p {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

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

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--light-text);
  font-size: 1rem;
}

/* Team Section */
.team {
  padding: 6rem 0;
  background: var(--light-background);
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.team-member {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
}

.member-role {
  padding: 0 1.5rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.member-bio {
  padding: 0 1.5rem 1.5rem;
  color: var(--light-text);
}

/* Values Section */
.values {
  padding: 6rem 0;
  background: var(--background);
}

.values h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-background);
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

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

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--light-text);
}

/* Footer */
.footer {
  background: var(--text-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 4rem;
      left: 0;
      right: 0;
      background: var(--background);
      padding: 1rem;
      flex-direction: column;
      gap: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

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

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

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

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

  .mission-stats {
      grid-template-columns: 1fr;
      gap: 1rem;
  }
}

/* ============================================================================= */
/* Pantalla servicios */
/* Base styles */
:root {
  --primary-color: #10B981;
  --secondary-color: #0EA5E9;
  --text-color: #1F2937;
  --light-text: #6B7280;
  --background: #FFFFFF;
  --light-background: #F3F4F6;
  --border-color: #E5E7EB;
  --hover-color: #059669;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-icon {
  margin-right: 0.5rem;
}

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

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

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

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* About Hero Section */
.about-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Mission Section */
.mission {
  padding: 6rem 0;
  background: var(--background);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mission-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.mission-content p {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

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

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--light-text);
  font-size: 1rem;
}

/* Team Section */
.team {
  padding: 6rem 0;
  background: var(--light-background);
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.team-member {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
}

.member-role {
  padding: 0 1.5rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.member-bio {
  padding: 0 1.5rem 1.5rem;
  color: var(--light-text);
}

/* Values Section */
.values {
  padding: 6rem 0;
  background: var(--background);
}

.values h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-background);
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

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

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--light-text);
}

/* Footer */
.footer {
  background: var(--text-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
}

/* Services Hero Section */
.services-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.services-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.services-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Main Service Section */
.main-service {
  padding: 6rem 0;
  background: var(--background);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.service-description {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.feature-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--light-text);
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process {
  padding: 6rem 0;
  background: var(--light-background);
}

.process h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.step {
  text-align: center;
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--light-text);
  font-size: 0.9rem;
}

/* Benefits Section */
.benefits {
  padding: 6rem 0;
  background: var(--background);
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-background);
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

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

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--light-text);
}

/* Services CTA Section */
.services-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 4rem;
      left: 0;
      right: 0;
      background: var(--background);
      padding: 1rem;
      flex-direction: column;
      gap: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

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

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

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

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

  .mission-stats {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

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

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

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

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

  .cta-content h2 {
      font-size: 2rem;
  }
}

/* ============================================================================= */
/* Pantalla contacto */
/* Contact Hero Section */
.contact-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.contact-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
}

/* Contact Form */
.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  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);
}

.send-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-card {
  background: var(--light-background);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.info-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.info-card p,
.info-card a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: var(--light-background);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.faq-item p {
  color: var(--light-text);
}

/* Map Section */
.map-section {
  height: 450px;
  width: 100%;
}

.map-container {
  height: 100%;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero h1 {
      font-size: 2.5rem;
  }

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

  .contact-info {
      grid-template-columns: 1fr;
  }

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

  .contact-form-container {
      padding: 2rem;
  }
}

/* ============================================================================= */
/* Pantalla Resultados */
/* Add these styles to your existing CSS file */

/* Results Hero Section */
.results-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.results-summary {
  max-width: 1200px;
  margin: 0 auto;
}

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

.summary-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.summary-date {
  font-size: 1.1rem;
  opacity: 0.9;
}

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

.summary-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 1rem;
  /* display: flex; */
  align-items: center;
  gap: 1.5rem;
}

.summary-icon {
  width: 48px;
  height: 48px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
}

.summary-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.summary-value {
  font-size: 1.75rem;
  font-weight: 700;
}

/* Analysis Details Section */
.analysis-details {
  padding: 4rem 0;
  background: var(--background);
}

.analysis-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.analysis-card h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* Consumption Analysis */
.consumption-chart {
  margin-bottom: 2rem;
  height: 300px;
}

.consumption-stats {
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Rates Table */
.rates-table {
  overflow-x: auto;
}

.rates-table table {
  width: 100%;
  border-collapse: collapse;
}

.rates-table th,
.rates-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.rates-table th {
  font-weight: 600;
  color: var(--light-text);
  background: var(--light-background);
}

.company-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.company-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.savings {
  color: var(--success-color);
  font-weight: 600;
}

/* Recommendations */
.recommendations-list {
  display: grid;
  gap: 1.5rem;
}

.recommendation-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-background);
  border-radius: 0.75rem;
}

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

.recommendation-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.recommendation-content p {
  color: var(--light-text);
  margin-bottom: 1rem;
}

.potential-saving {
  font-size: 0.9rem;
}

.potential-saving strong {
  color: var(--success-color);
  margin-left: 0.5rem;
}

/* Results CTA Section */
.results-cta {
  padding: 4rem 0;
  background: var(--light-background);
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Rate Comparison Cards */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.rate-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.rate-card-header-ibedrola {
  background: linear-gradient(135deg, var(--ibederola-color) 0%, var(--ibederola2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-gana {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-endesa {
  background: linear-gradient(135deg, var(--endesa-color) 0%, var(--endesa2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-naturgy {
  background: linear-gradient(135deg, var(--naturgy-color) 0%, var(--naturgy2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-totalenergies {
  background: linear-gradient(135deg, var(--totalEenegies-color) 0%, var(--totalEenegies2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-VM {
  background: linear-gradient(135deg, var(--VM-color) 0%, var(--VM2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-bassols {
  background: linear-gradient(135deg, var(--bassols-color) 0%, var(--bassols2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-plenitude {
  background: linear-gradient(135deg, var(--plenitude-color) 0%, var(--plenitude2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-etergy {
  background: linear-gradient(135deg, var(--etergy-color) 0%, var(--etergy2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-oppidum {
  background: linear-gradient(135deg, var(--oppidum-color) 0%, var(--oppidum2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-pasion {
  background: linear-gradient(135deg, var(--pasion-color) 0%, var(--pasion2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-repsol {
  background: linear-gradient(135deg, var(--repsol-color) 0%, var(--repsol2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-domestica {
  background: linear-gradient(135deg, var(--domestica-color) 0%, var(--domestica2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-eleia {
  background: linear-gradient(135deg, var(--eleia-color) 0%, var(--eleia2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-logos {
  background: linear-gradient(135deg, var(--logos-color) 0%, var(--logos2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-alumbra {
  background: linear-gradient(135deg, var(--alumbra-color) 0%, var(--alumbra2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-default {
  background: linear-gradient(135deg, var(--default-color) 0%, var(--default2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-audax {
  background: linear-gradient(135deg, var(--audax-color) 0%, var(--audax2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header-nufri {
  background: linear-gradient(135deg, var(--nufri-color) 0%, var(--nufri2-color) 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.rate-card-header .company-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: white;
  padding: 0.5rem;
}

.rate-card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

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

.rate-details {
  margin-bottom: 1.5rem;
}

.rate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.rate-item:last-child {
  border-bottom: none;
}

.rate-label {
  color: var(--light-text);
  font-size: 0.9rem;
}

.rate-value {
  font-weight: 600;
  color: var(--text-color);
}

.rate-value.highlight {
  font-size: 1.25rem;
  /* color: var(--primary-color); */
}

.rate-value.savings {
  color: var(--success-color);
}

.rate-card .btn-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rate-card .btn-icon {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .summary-cards {
      grid-template-columns: 1fr;
  }

  .consumption-stats {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .rates-table {
      font-size: 0.9rem;
  }

  .company-info {
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
  }

  .cta-buttons {
      flex-direction: column;
      gap: 1rem;
  }

  .recommendation-item {
      flex-direction: column;
      text-align: center;
  }

  .recommendation-icon {
      margin: 0 auto;
  }

  .rates-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }
}

/* ============================================================================= */
/* Pantalla Cambio de comapñia */
/* Switch Confirmation Section */
.switch-confirmation {
  padding: 4rem 0;
  background: var(--light-background);
  min-height: calc(100vh - 64px - 300px); /* Adjust based on header and footer height */
}

.confirmation-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.confirmation-card h1 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.confirmation-card h2 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/* Existing Data Display */
.existing-data {
  background: var(--light-background);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

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

.data-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.data-label {
  font-size: 0.9rem;
  color: var(--light-text);
}

.data-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Switch Form */
.switch-form {
  margin-top: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.input-help {
  display: block;
  font-size: 0.875rem;
  color: var(--light-text);
  margin-top: 0.25rem;
}

/* Checkbox Styling */
.checkbox-group {
  margin-top: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

.checkbox-text {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.4;
}

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

.checkbox-text a:hover {
  text-decoration: underline;
}

/* Confirm Button */
.confirm-btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .switch-confirmation {
      padding: 2rem 1rem;
  }

  .confirmation-card {
      padding: 1.5rem;
  }

  .data-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .confirmation-card h1 {
      font-size: 1.75rem;
  }

  .confirmation-card h2 {
      font-size: 1.25rem;
  }
}

/* Estilos para el campo de subida de foto del DNI */
.file-upload-container {
  position: relative;
  margin-bottom: 0.5rem;
}

.file-input-hidden {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--light-background);
  border: 1px dashed var(--border-color);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-button:hover {
  background-color: rgba(var(--primary-color-rgb), 0.05);
  border-color: var(--primary-color);
}

.upload-icon {
  color: var(--primary-color);
}

.selected-file-name {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-color);
  word-break: break-all;
}

/* Estilos para la información de carga del DNI */
.dni-upload-info {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--light-background);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.dni-upload-info p {
  margin-bottom: 0.75rem;
  color: var(--light-text);
}

.dni-example {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dni-example-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dni-example-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .file-upload-button {
      flex-direction: column;
      padding: 1rem;
  }
}

/* ============================================================================= */

/* Thank You Section */
.thank-you-section {
  padding: 4rem 0;
  background: var(--light-background);
  min-height: calc(100vh - 64px - 300px);
}

.thank-you-card {
  background: white;
  border-radius: 1rem;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  color: var(--success);
  width: 48px;
  height: 48px;
}

.thank-you-card h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.main-message {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 3rem;
}

/* Confirmation Details */
.confirmation-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  text-align: left;
}

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

.detail-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.detail-text h3 {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.detail-text p {
  font-size: 0.9rem;
  color: var(--light-text);
  line-height: 1.4;
}

/* Reference Number */
.reference-number {
  background: var(--light-background);
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}

.reference-number .label {
  color: var(--light-text);
  font-size: 0.9rem;
}

.reference-number .value {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.action-buttons .btn-primary,
.action-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .thank-you-section {
      padding: 2rem 1rem;
  }

  .thank-you-card {
      padding: 2rem 1.5rem;
  }

  .thank-you-card h1 {
      font-size: 2rem;
  }

  .confirmation-details {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }

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

  .action-buttons .btn-primary,
  .action-buttons .btn-secondary {
      width: 100%;
      justify-content: center;
  }
}

/* ============================================================================= */
/* Add these styles to your existing CSS file */

.rate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rate-actions .btn-primary,
.rate-actions .btn-secondary {
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.rate-actions .btn-secondary {
  background-color: var(--light-background);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.rate-actions .btn-secondary:hover {
  background-color: var(--border-color);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .rate-actions {
      gap: 0.5rem;
  }
}

/* ============================================================================= */
/* Partners Hero Section */
.partners-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 6rem 0;
  color: white;
  text-align: center;
}

.partners-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Benefits Section */
.partners-benefits {
  padding: 5rem 0;
  background: white;
}

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

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.benefit-card p {
  color: var(--light-text);
  line-height: 1.6;
}

/* Features Section */
.partners-features {
  padding: 5rem 0;
  background: var(--light-background);
}

.features-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.features-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.feature-text p {
  color: var(--light-text);
  line-height: 1.6;
}

.features-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.partners-cta {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary-partners,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-secondary {
  background: var(--light-background);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-primary-partners:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .partners-hero-content h1 {
      font-size: 2.5rem;
  }

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

  .features-content {
      order: 1;
  }

  .features-image {
      order: 2;
  }

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

  .btn-primary-partners,
  .btn-secondary {
      width: 100%;
      justify-content: center;
  }
}

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

  .hero-subtitle {
      font-size: 1.1rem;
  }

  .benefit-card {
      padding: 1.5rem;
  }

  .features-content h2 {
      font-size: 2rem;
  }
}
/* ============================================================================== */
/* Add these styles to your existing CSS file */

/* Service Type Selector */
.service-type-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--light-background);
  color: var(--text-color);
  border: 2px solid transparent;
  cursor: pointer;
}

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

.service-type-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-type-btn .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.service-type-btn_contratacionDirecta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--light-background);
  color: var(--text-color);
  border: 2px solid transparent;
  cursor: pointer;
}

.service-type-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-type-btn .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Partners Hero Section */
.partners-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 6rem 0;
  color: white;
  text-align: center;
}

.partners-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Benefits Section */
.partners-benefits {
  padding: 5rem 0;
  background: white;
}

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

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.benefit-card p {
  color: var(--light-text);
  line-height: 1.6;
}

/* Features Section */
.partners-features {
  padding: 5rem 0;
  background: var(--light-background);
}

.features-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.feature-text p {
  color: var(--light-text);
  line-height: 1.6;
}

.features-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.partners-cta {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: var(--light-background);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .partners-hero-content h1 {
      font-size: 2.5rem;
  }

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

  .features-content {
      order: 1;
  }

  .features-image {
      order: 2;
  }

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

  .btn-primary,
  .btn-secondary {
      width: 100%;
      justify-content: center;
  }
}

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

  .hero-subtitle {
      font-size: 1.1rem;
  }

  .benefit-card {
      padding: 1.5rem;
  }

  .features-content h2 {
      font-size: 2rem;
  }
}
/* ============================================================================== */
/* PyME Fields */
.pyme-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--light-background);
  border-radius: 0.5rem;
  margin: 0 auto 1rem;
  width: 100%;
  max-width: 400px;
}

.pyme-fields.active {
  max-height: 200px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.pyme-fields .field-group {
  margin-bottom: 1rem;
}

.pyme-fields .field-group:last-child {
  margin-bottom: 0;
}

.pyme-fields label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.pyme-fields input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.pyme-fields input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.pyme-fields .input-addon {
  position: relative;
}

.pyme-fields .input-addon input {
  padding-right: 3rem;
}

.pyme-fields .input-addon::after {
  content: "€/kW";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
  font-size: 0.875rem;
}

.pyme-fields .input-addon.energy::after {
  content: "€/kWh";
}

/*=========================================================================================*/

/* Añadir estos estilos al archivo CSS existente */

/* Estilos para los enlaces de navegación activos en términos y condiciones */
.terms-nav-list a.active {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.terms-nav-list a.active::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .terms-content .container {
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: 2rem;
  }

  .terms-footer {
      grid-column: 1 / -1;
  }
}

/*===========================================================================*/
/* Nuevos estilos para el checkbox de cambio de titularidad */
.service-type-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.ownership-change-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-left: 1rem;
  cursor: pointer;
  position: relative;
}

.ownership-change-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ownership-change-label input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-text {
  user-select: none;
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}

.info-icon {
  color: var(--light-text);
  cursor: help;
}

.tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-color);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: max-content;
  max-width: 250px;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--text-color) transparent transparent transparent;
}

@media (max-width: 768px) {
  .service-type-wrapper {
      width: 100%;
  }

  .ownership-change-label {
      margin-left: 0;
      margin-top: 0.5rem;
  }

  .tooltip-text {
      left: 0;
      transform: translateX(0);
  }

  .tooltip-text::after {
      left: 10px;
      margin-left: 0;
  }
}

/*========================================================*/
.pricing-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 6rem 0 4rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.pricing-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.pricing-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.toggle-label {
  font-size: 1.1rem;
  color: white;
  opacity: 0.9;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 40%);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: rgb(0 0 0 / 17%);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 1;
}

.price-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.price-card.popular::before {
  content: 'Más Popular';
  position: absolute;
  top: 1.5rem;
  right: -2rem;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-card-header {
  margin-bottom: 2rem;
}

.price-card-header h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.price-card-header p {
  color: var(--light-text);
  font-size: 0.95rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.price-amount .currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 0.25rem;
}

.price-amount .period {
  font-size: 1rem;
  color: var(--light-text);
  font-weight: normal;
  margin-left: 0.5rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.price-features li {
  padding: 0.75rem 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.price-features .feature-icon {
  color: var(--success-color);
  flex-shrink: 0;
}

.price-features .feature-icon.unavailable {
  color: var(--light-text);
}

.price-card-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.btn-subscribe {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.btn-subscribe.secondary {
  background: var(--light-background);
  color: var(--text-color);
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing-features {
  padding: 6rem 0;
  background: var(--light-background);
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-large {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.feature-card p {
  color: var(--light-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-faq {
  padding: 6rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--light-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pricing-hero {
      padding: 4rem 0 3rem;
  }

  .pricing-hero h1 {
      font-size: 2.5rem;
  }

  .pricing-grid {
      padding: 1rem;
      margin-top: -2rem;
  }

  .price-card {
      padding: 1.5rem;
  }

  .price-amount {
      font-size: 2.5rem;
  }

  .pricing-features,
  .pricing-faq {
      padding: 4rem 0;
  }
}

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

  .pricing-toggle {
      flex-direction: column;
      gap: 0.5rem;
  }

  .price-card.popular::before {
      font-size: 0.75rem;
      padding: 0.25rem 2rem;
  }
}
/* ============================================================================== */
/* Parte del desplegable de Contratacion Directa */
.results-section {
  padding: 3rem 0;
  /* background: var(--light-background); */
}

/* Estilos del buscador */
.search-container {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.search-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.search-header h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.search-header p {
  color: var(--light-text);
  font-size: 1.1rem;
}

.search-input-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  padding-right: 3rem;
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  appearance: none;
  background: white;
  cursor: pointer;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Estilos para las tarjetas de resultados */
.results-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: stretch;
  height: 140px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

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

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.result-company {
  background: var(--light-background);
  padding: 1.25rem;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.company-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.company-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.company-plan {
  color: var(--light-text);
  font-size: 0.85rem;
}

.result-details {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0;
  flex: 1;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.85rem;
  color: var(--light-text);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color);
}

.detail-value.savings {
  color: var(--success-color);
}

.result-actions {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  flex-shrink: 0;
}

.btn-action {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-action .btn-icon {
  width: 18px;
  height: 18px;
}

.no-results {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: none;
}

.no-results.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.no-results p {
  color: var(--light-text);
  font-size: 1.1rem;
}

.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 1em;
  margin-bottom: 0.7em;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
  transition: background 0.3s;
}

.result-card.selected {
  background-color: #e6f7ec; /* Verde claro */
  border: 1px solid #28a745;
}

.company-name {
  font-weight: 600;
}

.company-plan {
  color: #555;
  font-size: 0.8rem;
}

.select-tariff {
  background: none;
  border: none;
  color: #28a745;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25em;
}

.select-tariff.selected {
  color: #1e7e34;
}


@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@media (max-width: 1200px) {
  .details-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
  }

  .result-card {
      height: auto;
  }

  .result-details {
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
  }

  .result-actions {
      width: 100%;
      justify-content: flex-start;
  }
}

@media (max-width: 992px) {
  .result-card {
      flex-direction: column;
  }

  .result-company {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid var(--border-color);
      padding: 1rem;
      flex-direction: row;
      gap: 1rem;
      height: auto;
  }

  .company-logo {
      width: 50px;
      height: 50px;
      margin: 0;
  }

  .result-details {
      padding: 1rem;
  }
}

@media (max-width: 768px) {
  .search-container {
      padding: 1.5rem;
  }

  .search-header h2 {
      font-size: 1.5rem;
  }

  .search-input {
      padding: 0.875rem 1.25rem;
      font-size: 1rem;
  }
  .result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6em 1em;
    margin-bottom: 0.7em;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    transition: background 0.3s;
}

.result-card.selected {
    background-color: #e6f7ec; /* Verde claro */
    border: 1px solid #28a745;
}

.company-name {
    font-weight: 600;
}

.company-plan {
    color: #555;
    font-size: 0.8rem;
}

.select-tariff {
    background: none;
    border: none;
    color: #28a745;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25em;
}

.select-tariff.selected {
    color: #1e7e34;
}

}

/* Existing styles */
.residential-options {
  display: none;
  text-align: center;
  margin: 1em 0;
}

.residential-options.active {
  display: block;
}

/* Updated service-type-selector styles */
.service-type-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
}

.service-type-btn {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.service-type-btn:hover {
  border-color: #10B981;
}

.service-type-btn.active {
  background: #10B981;
  color: white;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.service-type-checkboxes {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f4f6f8;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
  gap: 1rem;
  align-items: center; /* Center items vertically in the container */
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%; /* Make each checkbox option take full width */
  justify-content: center; /* Center the content within each option */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-type-selector {
    flex-direction: column;
    align-items: stretch; /* Make buttons and checkboxes take full width */
    padding: 0 1rem;
  }

  .service-type-btn {
    max-width: none;
    width: 100%;
  }

  .service-type-checkboxes {
    margin: 1rem 0;
    padding: 1rem;
    align-items: center; /* Keep checkboxes centered on smaller screens */
  }

  .checkbox-option {
    justify-content: center; /* Keep checkbox content centered on smaller screens */
  }
}

@media (max-width: 480px) {
  .service-type-btn {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .btn-icon {
    width: 18px;
    height: 18px;
  }

  .service-type-checkboxes {
    padding: 1rem;
  }

  .checkbox-option {
    flex-direction: column; /* Stack checkbox and label on very small screens */
    align-items: center; /* Center stacked items */
    text-align: center; /* Center label text */
  }
}

/* Estilos del Modal */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .modal-container {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
  }

  .modal-overlay.active .modal-container {
    transform: translateY(0);
  }

  .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
  }

  .modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    line-height: 1;
  }

  .modal-body {
    padding: 20px;
    color: #495057;
  }

  .modal-body strong {
    color: #2c3e50;
  }

  .modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    text-align: right;
  }

  .modal-footer .btn-primary {
    background-color: #10B981;
    /* Color base (ajusta según tu tema) */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    /* Sombra del botón */
    box-shadow: 0 4px 8px rgba(78, 115, 223, 0.3);
    /* Sombra azul suave */
  }

  /* Efecto hover y sombra más pronunciada */
  .modal-footer .btn-primary:hover {
    background-color: #10B981;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(78, 115, 223, 0.4);
    /* Sombra más intensa */
  }

  /* Efecto al hacer clic */
  .modal-footer .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(78, 115, 223, 0.4);
  }