/* Estilos generales */
body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #e1e1e1;
    scroll-behavior: smooth;
}

main, .container, .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header Sticky */
header {
    position: relative;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    border-bottom: 2px solid #2196f3;
    text-align: center;
    padding: 150px 20px;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

header > * {
    position: relative;
    z-index: 2;
}


header h1 {
    font-size: 4.6em;
    color: #ffffff;
    margin-bottom: 20px;
}

header p {
    font-size: 1.4em;
    color: #c9c9c9;
    margin-bottom: 20px;
}

a.button {
    background: #ff9800;
    color: #0d1117;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

a.button:hover {
    background: #ffc107;
}

.form-header {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.form-header h3 {
    font-size: 2.4em;
    color: #ff9800;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    font-size: 1.2em;
    color: #c9c9c9;
    line-height: 1.6em;
    margin-bottom: 20px;
}

/* Contenedor de secciones */
main section {
    background: #161b22;
    margin: 40px auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.1);
    max-width: 1200px;
}

/* Títulos de secciones */
h2 {
    text-align: center;
    font-size: 3.8em;
    color: #ffffff;
    margin-bottom: 30px;
}

/* Textos generales */
p {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-bottom: 20px;
}

/* Bloques de beneficios */
.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.difference-text {
    margin-top: 40px;
    padding: 30px;
    background: #1f252d;
    border-radius: 12px;
    border: 2px solid #2196f3;
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.1);
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.difference-text p {
    font-size: 1.2em;
    line-height: 1.7em;
    color: #c9c9c9;
    margin-bottom: 20px;
}

.difference-text strong {
    color: #ffc107;
}

.difference-text-enhanced {
    margin-top: 50px;
    padding: 40px 30px;
    background: #1f252d;
    border-radius: 15px;
    border: 2px solid #2196f3;
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.1);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 2.5em;
    color: #ffc107;
}

.feature-content h4 {
    margin: 0;
    font-size: 1.6em;
    color: #2196f3;
    margin-bottom: 10px;
}

.feature-content p {
    margin: 0;
    font-size: 1.2em;
    color: #c9c9c9;
    line-height: 1.6em;
}

.difference-text-enhanced strong {
    color: #ffc107;
}


.card {
    background: #1f252d;
    border: 2px solid #2196f3;
    padding: 30px;
    border-radius: 12px;
    width: 250px;
    font-size: 1.1em;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.3);
}

/* Tablas */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 1.1em;
}

th, td {
    border: 1px solid #2c313a;
    padding: 16px;
    text-align: center;
}

th {
    background: #2196f3;
    color: #0d1117;
    font-weight: 700;
}

td {
    background: #20262e;
    color: #e1e1e1;
}

/* Hover en tablas */
tr:hover td {
    background: #2a313b;
}

/* Estilos para ¿Qué hacemos? */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.feature {
    background: #1f252d;
    border: 2px solid #ff9800;
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(255, 152, 0, 0.3);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffc107;
}

.feature h3 {
    font-size: 1.6em;
    color: #2196f3;
    margin-bottom: 15px;
}

.feature p {
    font-size: 1.1em;
    color: #c9c9c9;
}

/* Estilos para "¿Cómo funciona?" */
.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    background: #1f252d;
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 30px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.3);
}

.step-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ff9800;
}

.step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffc107;
}

.step p {
    font-size: 1.1em;
    color: #c9c9c9;
}

/* Estilos para Testimonios */
.testimonials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.testimonial {
    background: #1f252d;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    width: 320px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(255, 193, 7, 0.2);
}

.testimonial-text {
    font-size: 1.2em;
    color: #e1e1e1;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 1em;
    color: #ffc107;
    font-weight: bold;
    text-align: right;
}

/* Estilos para Comparativa */
.comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.column {
    background: #1f252d;
    border: 2px solid #2196f3;
    border-radius: 15px;
    padding: 30px 40px;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.3);
}

.column h3 {
    font-size: 1.8em;
    color: #ff9800;
    margin-bottom: 20px;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column ul li {
    font-size: 1.2em;
    padding: 10px 0;
    border-bottom: 1px solid #2c313a;
    color: #e1e1e1;
}

.column ul li:last-child {
    border-bottom: none;
}

.vs {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffc107;
    margin: 0 10px;
}

/* Estilos para Planes y Precios */
.pricing {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.plan {
    background: #1f252d;
    border: 2px solid #2196f3;
    border-radius: 15px;
    padding: 40px 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.3);
}

.plan h3 {
    font-size: 2em;
    color: #ff9800;
    margin-bottom: 15px;
}

.plan .price {
    font-size: 2em;
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 20px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan ul li {
    font-size: 1.1em;
    padding: 10px 0;
    border-bottom: 1px solid #2c313a;
    color: #c9c9c9;
}

.plan ul li:last-child {
    border-bottom: none;
}

/* Destacar plan Pro */
.popular {
    border: 2px solid #ffc107;
    background: #262b33;
}

/* Botón centrado debajo */
.pricing-button {
    margin-top: 40px;
    text-align: center;
}

/* Formulario optimizado */
.contact-form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin: 40px auto 0 auto;
    padding: 40px 50px;
    background: #1f252d;
    border-radius: 15px;
    border: 2px solid #2196f3;
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.1);
    width: 90%;
    max-width: 700px;
}



.contact-form .form-group {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-form label {
    font-size: 1.1em;
    color: #c9c9c9;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #2196f3;
    background: #1f252d;
    color: #e1e1e1;
    font-size: 1.1em;
    transition: all 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #ffc107;
    outline: none;
    background: #252b33;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23ffffff'%20d='M2%200L0%202h4L2%200zm0%205L0%203h4l-2%202z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.contact-form .form-button {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.contact-form .form-button button {
    background: #ff9800;
    color: #0d1117;
    padding: 16px 50px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.contact-form .form-button button:hover {
    background: #ffc107;
}

.contact-form .form-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

#lang-switcher {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999;
}

#lang-switcher img {
  width: 28px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#lang-switcher img:hover {
  transform: scale(1.1);
}

/* === MODAL PRIVACY POLICY === */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 92%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none; /* oculto por defecto */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.custom-modal-content {
  background-color: #1c1b1f;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.custom-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  font-size: 34px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  color: #ff9800;
  font-family: 'Arial Black', sans-serif;
  text-shadow: 1px 1px 2px #000;
}


.custom-modal-body h2 {
  font-size: 60px;
  margin-top: 0;
  color: #ffffff;
}
.custom-modal-body h3 {
  font-size: 28px;
  margin-top: 0;
  color: #ffffff; 
}

.custom-modal-body p,
.custom-modal-body li {
  font-size: 20px;
  line-height: 1.6;
  color: #bbbbbb;
  margin-bottom: 16px;
}

.custom-modal-body ul {
  padding-left: 20px;
  list-style: disc;
}

.custom-modal-body strong {
  color: #ff9800;
}

.custom-modal a {
  color: #44c3f7;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-family: inherit;
}

.custom-modal a:hover {
  color: #1ca3e3;
  text-decoration: underline;
}


@media (max-width: 600px) {
  .custom-modal-content {
    width: 100%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .custom-modal-body h2 {
    font-size: 30px;
  }

  .custom-modal-body h3 {
    font-size: 18px;
  }

  .custom-modal-body p,
  .custom-modal-body li {
    font-size: 14px;
  }

  .custom-modal-close {
    font-size: 24px;
    top: 10px;
    right: 12px;
  }
}
  
  @media (max-width: 768px) {

    .contact-form {
      padding: 30px 20px;
    }

    .contact-form .form-row {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-form .form-group {
      width: 100%;
      max-width: 100%;
    }
  
    .contact-form .form-button button {
      max-width: 100%;
    }
  }

    .contact-form * {
      box-sizing: border-box;
    }



/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9em;
    color: #777;
    margin-top: 60px;
}

footer a {
    color: #2196f3;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}