/* =========================
   FUENTES
========================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap");

/* =========================
   VARIABLES
========================= */
:root {
  --bg-main: #ffffff;
  --blue-main: #1e6bff;
  --text-main: #000;
}

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden; 
  width: 100%;
  position: relative;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

/* =========================
   HEADER MAIN
========================= */
.header-main-logo-lenguaje {
  display: flex;
  justify-content: space-between; 
  align-items: center;     
  width: 100%;
  
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;     
  background: transparent;
}

.img-header-content {
  width: 140px;
  height: 60px;
  object-fit: contain;
  margin: 20px 0 20px 80px ;
}

.header-main-logo-lenguaje p {
  font-size: 0.85rem;
  font-weight: 1200;
  color: #000;      
  cursor: pointer;
}

.header-main-logo-lenguaje p:hover {
  opacity: 0.7;               
}

.language-selector {
  display: flex;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 60px;
}

.language-selector span {
  cursor: pointer;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.language-selector span.active {
  color: #0055ff;
}

.language-selector span:hover:not(.separator) {
  color: #0055ff;
}

.language-selector .separator {
  color: #e5e7eb;
  cursor: default;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 140px 20px 110px;
  text-align: center;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left; 
}

.hero-content {
  flex: 1;
}

.hero .title, 
.hero .hero-text, 
.hero .hero-text-title, 
.hero .hero-text-strong, 
.hero .hero-sub, 
.layout-cta-primary,
.layout-cta-table {
  margin-left: 0;
  text-align: left;
}

/* =========================
   MOCKUP DEL TELÉFONO
========================= */
.hero-aurora-bg {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-30%, -50%) scaleX(-1) scale(2.2); 
  width: 60%; 
  height: auto;
  z-index: -1;
  pointer-events: none; 
}

.hero-mobile-mockup {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
}

.phone-border {
  width: 250px; 
  height: 550px;
  background: #0d0d0d;
  border-radius: 50px;
  padding: 8px;
  position: relative;
  border: 3px solid #333;
}

.phone-dynamic-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 20px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
}

.btn-silent, .btn-volume-up, .btn-volume-down, .btn-power {
  position: absolute;
  background: #222;
  border-radius: 2px 0 0 2px;
}

.btn-silent { left: -6px; top: 100px; width: 3px; height: 25px; }
.btn-volume-up { left: -6px; top: 150px; width: 3px; height: 50px; }
.btn-volume-down { left: -6px; top: 210px; width: 3px; height: 50px; }

.btn-power {
  right: -6px;
  top: 180px;
  width: 3px;
  height: 80px;
  border-radius: 0 2px 2px 0;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  border: 1px solid #000;
}

.phone-content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  z-index: 5;
  pointer-events: none;
}

/* =========================
   TITULOS Y TEXTOS
========================= */
.title,
.section-title,
.final-cta h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.title {
  max-width: 1100px;
  margin: 0 auto 30px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3em;
  text-align: left;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 35px;
  line-height: 1.15;
  max-width: 1100px;
}

.section-title-content-wrap {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 75px;
  line-height: 1.15;
  max-width: 1100px;
}

.section-title-propose {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.15;
  max-width: 1100px;
  margin-top: 120px;
}

.section-title-why-content {
  font-size: clamp(3rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 80px;
  margin-left: 30px;
  line-height: 1.15;
  max-width: 1100px;
}

.hero-title-blue { color: var(--blue-main); }
.hero-title-black { color: #000000; }
.blue-title-table { color: var(--blue-main); margin-right: 10px; }
.white-title-table { color: #ffffff; }

.hero-text {
  max-width: 1100px;
  margin: 0 auto 0px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: left;
}

.hero-text-title {
  max-width: 1100px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: left;
}

.hero-text-strong {
  max-width: 1100px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: left;
}

.hero-sub {
  max-width: 1100px;
  font-size: 0.95rem;
  text-align: left;
  margin: 28px auto 30px;
  color: var(--text-muted);
}

p {
  line-height: 1.7;
  color: var(--text-soft);
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.intro-text strong {
  color: #0f172a;
  font-weight: 700;
  position: relative;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--blue-main);
  text-align: left;
}

.feature p {
  margin: 0.3rem 0 0;
  color: #fff;
  line-height: 1.5;
  font-size: 0.95rem;
  text-align: left;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(30, 107, 255, 0.5);
}

.card-number {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #0055ff;
  border-color: #0055ff;
  letter-spacing: 0.1em;
  display: block;
  opacity: 0.8;
  margin: 10px 0px 0px 0px;
}

.card-content h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #0a0a0a;
  margin: 25px 25px 0px 0;
  letter-spacing: -0.02em;
  text-align: left;
  font-size: 20px;
}

.why-text-p {
  max-width: 1100px;
  font-size: 20px;
  text-align: center;
  margin: 0 auto; 
  color: #000;
}

.comunity-p-text-out {
  font-family: "Poppins", Sans-serif;
  color: #fff;
  font-size: 4rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.comunity-p-text strong {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 500;
}

.comunity-p-text {
  color: #9ca3af;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  text-align: left;
}

.comunity-p-text-out-square {
  color: #9ca3af;
  font-size: 1.1rem;
  margin-bottom: 5px;
  text-align: left;
}

.comunity-p-text-out-square-strong.highlight {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.section-publish-last-p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem auto;
  color: #000;
  position: relative;
  text-align: center;
}

.section-publish-last-p::after {
  content: "";
  position: absolute;
  text-align: center;
  left: 30%;
  bottom: -10px;
  width: 460px;
  height: 4px;
  background: #1e6bff;
  border-radius: 999px;
}

.section-propose-last-p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem auto;
  margin-top: 90px;
  color: #000;
  position: relative;
  text-align: center;
}

/* =========================
   SECCIONES GENERALES
========================= */
.section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 7rem 2rem;
}

.section:not(.dark)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 6px;
  height: 80%;
  background: linear-gradient(
    to bottom,
    transparent,
    #1e6bff,
    transparent
  );
  border-radius: 999px;
}

.section-who {
  padding: 100px 20px;
}

/* =========================
   SECTION DARK
========================= */
.section.dark {
  position: relative;
  padding: 4rem 2rem;
  background: #05080f;
  overflow: hidden;
  border-radius: 12px;
}

.section.dark::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(30, 107, 255, 0.18),
    transparent 70%
  );
  z-index: 0;
}

/*==========================
   Features
==========================*/
.features-grid {
  background: transparent;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 10rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  justify-items: left;
}

.feature {
  display: flex;
  gap: 0.6rem;
}

/*==========================
   Why
==========================*/
.card-grid {
  display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10px;
    margin: 0;
}

.card-item-row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin: 10px 0 10px 0;
  padding: 10px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  transform: translateY(-8px);
}

.card {
  display: flex;
  flex-direction: row !important; 
  width: 100% !important; 
  margin: 0 !important;  
  height: auto;
  align-items: flex-start;
}

.community-container {
  display: flex;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.community-header {
  flex: 1;
  position: sticky; 
  top: 100px;
}

.community-header .section-title {
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 20px;
}

.community-grid {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comunity-card {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #0055ff;
  padding: 25px 30px;
  border-radius: 0 12px 12px 0;
  transition: all 0.3s ease;
}

.comunity-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
}

.community-footer-notes {
  margin-top: 30px;
  padding-left: 30px;
}

/* =========================
   TOWHO SECTION
========================= */
.who-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.who-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.who-content {
  flex: 1.2;
}

.who-content .section-title {
  font-size: 2rem;
  text-align: left;
}

.who-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.who-card {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 85, 255, 0.05);
  position: relative;
  overflow: hidden;
  border: 1px solid #edf2f7;
  transition: transform 0.3s ease;
  text-align: left;
}

.who-card h3 {
  margin: 0;
}

.who-card p {
  margin-top: 10px;
}

.who-card:hover {
  transform: translateX(10px);
}

.card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
}

.accent-first { background: #8db2fd; }
.accent-second { background: #0055ff; }
.accent-third { background: #04286e; }

.card-label {
  font-size: 0.75rem;
  color: var(--blue-main);
  letter-spacing: 1px;
  margin: 0;
}

/* =========================
   BOTONES
========================= */
.cta-primary {
  background: #1e6bff;
  color: #fff;
  border: none;
  padding: 28px 48px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 40px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  line-height: 1;
}

.layout-cta-primary{
  max-width: 1100px;
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

.layout-cta-table{
  max-width: 1100px;
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

.cta-primary-web {
  background:  transparent;
  color: #000;
  outline: 2px solid #000;
  outline-offset: -2px;
  padding: 18px 38px;
  gap: 10px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-right: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-primary-phone {
  background: var(--blue-main);
  color: #fff;
  border: none;
  padding: 18px 38px;
  gap: 10px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-table-phone {
  background: #ffffff;
  color: #000;
  outline: 2px solid #000;
  outline-offset: -2px;
  padding: 18px 38px;
  gap: 10px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-right: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-table-web {
  background: var(--blue-main);
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: -2px;
  padding: 18px 38px;
  gap: 10px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-left: 30%;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-secondary {
  border: none;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  color: #a1a1aa;         
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  cursor: pointer;
}

.cta-primary.big {
  font-size: 1.2rem;
  padding: 22px 44px;
  margin-top: 2.5%;
}

.button-icon {
  display: block;
  flex-shrink: 0;
  width: 20px; 
  height: 20px;
}

.layout-cta-community {
  max-width: 1100px;
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

.cta-community-web {
  background: transparent;
  color: var(--blue-main);
  outline: 2px solid #1e6bff;
  outline-offset: -2px;
  padding: 10px 22px;
  gap: 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 15%;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-community-phone {
  background: #ffffff;
  color: #000;
  outline: 2px solid #000;
  outline-offset: -2px;
  padding: 10px 22px;
  gap: 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.layout-final-cta{
  max-width: 1100px;
  display: flex;
  gap: 15px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.cta-primary-final {
  background:  transparent;
  color: var(--blue-main);
  outline: 2px solid #1e6bff;
  outline-offset: -2px;
  padding: 18px 38px;
  gap: 10px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-right: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-primary-phone-final {
  background: var(--blue-main);
  color: #fff;
  border: none;
  padding: 18px 38px;
  gap: 10px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  transition: all 0.3s ease;
  line-height: 1;
}

/* =========================
   FINAL CTA
========================= */
.final-cta-grid {
  max-width: 1000px;
  height: 500px;
  margin-left: 200px;
  padding: 45px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #000;
  position: relative;
}

.final-cta-card {
  background: #05080f;
  border: 5px solid #e5e7eb;
  padding: 10px;
  border-radius: 16px;
  transform: translateY(-8px);
  border-color: #0055ff;    
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); 
}

.final-cta-card::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 90%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(30, 107, 255, 0.18),
    transparent 70%
  );
  z-index: 0;
}

.final-cta {
  padding: 60px 20px;
}

.final-cta h2 {
  color: #fff;
  font-size: 2.5rem;
  text-align: center;
}

.micro {
  color: #fff;
  margin-top: 28px;
  font-size: 0.95rem;
  text-align: center;
}

/* =========================
   CONTACT WRAP
========================= */
.section-cta-wrap {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.cta-banner {
  background: transparent;
  width: 100%;
  max-width: 1100px;
  padding: 60px 40px;
}

.cta-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-main); 
  margin: 20px 0 0 0;
  text-align: left;
  letter-spacing: -0.02em;
  flex: 1;
}

.cta-banner .cta-primary.big {
  background: var(--blue-main); 
  color: var(--bg-main);
  padding: 18px 45px;
  border-radius: 100px; 
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(74, 132, 255, 0.25);
  white-space: nowrap;
}

/* =========================
   MODAL CONTACT
========================= */
.contact {
  background: var(--bg-main) !important; 
  color: white;
  max-width: 550px !important;
}

.modal-overlay-contactus {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-content-contactus {
  width: 90%;
  max-width: 500px; 
  background: white;
  padding: 40px;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modal-close-black {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-logo {
  height: 40px;
  display: block;
  margin: 0 auto 20px;
}

.form-atencion {
  text-align: center;
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

.content-form .input-group {
  margin-bottom: 20px;
  text-align: left;
}

.content-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.phone-inline-container {
  display: flex; 
  gap: 10px;     
  width: 100%;
}

.country-select {
  flex: 0 0 auto; 
  padding: 12px;
  border: none;
  border-bottom: 2px solid var(--blue-main);
  background: var(--bg-main);
  color: var(--text-main);
  font-family: inherit;
  cursor: pointer;
}

.phone-inline-container input {
  flex: 1; 
}

.text-input-select {
    width: 200px;
    height: 45px;
    padding: 12px 15px;

    box-sizing: border-box;
    font-size: 0.9em;
    
    color: #000000; 
    border: none;
    border-bottom: 2px solid var(--blue-main);
}

.content-form input, 
.content-form textarea {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  width: 100%;
  background: var(--bg-main);
  border: none;
  border-bottom: 2px solid var(--blue-main); 
  padding: 12px;
  color: var(--text-main);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.content-form input:focus, 
.content-form textarea:focus {
  outline: none;
  border-bottom-color: #0055ff; 
}

.form-submit {
  font-family: 'Poppins', sans-serif;
  width: 60%;
  background: #0055ff;
  color: var(--bg-main);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  margin-left: 20%;
}

.modal-content-contactus.is-success {
  max-width: 350px; 
  padding: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
  color: #000;
}

.success-message p {
  font-size: 0.9rem;
}

.success-icon {
  font-size: 40px;
  background: #007bff;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* =========================
   FOOTER
========================= */
footer {
  width: 100%;
  text-align: left;
  padding: 30px 0px;
  border-top: 6px solid #000;
  background: #F9FAFB;
  position: relative;
}

footer p {
  font-size: 0.85rem;
  color: #000;
}

.footer-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0px auto 80px;
  padding: 0 12px;
  gap: 40px;
}

.footer-right a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-right span {
  color: #000;
  font-size: 0.95rem;
}

.footer-right button:hover {
  text-decoration: none;
}

.footer-right button {
  background: none;
  border: none;
  color: #000;
  font-size: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
  Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.footer-copy-right {
  color: #000;
  font-size: 0.85rem;
}

/* =========================
   MODAL LEGAL
========================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 1100px;
  height: 70vh;
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow-y: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000000;
}

.legal-modal {
  max-width: 800px; 
  height: 85vh;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
}

.legal-iframe {
  width: 100%;
  flex-grow: 1; 
  border: none;
  display: block;
  position: relative;
  z-index: 1; 
  background: transparent;
}

.modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0; 
  font-family: sans-serif;
  color: #666;
}

/* =========================
   BARRA FIJA INFERIOR
========================= */
.fixed-bar {
  position: fixed; 
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;            
  min-width: 320px;       
  display: flex;
  gap: 30px;             
  padding: 12px 25px;
  justify-content: center;
  background: rgba(5, 7, 13, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.fixed-bar .cta-fixed-bar-web,
.fixed-bar .cta-fixed-bar-phone {
  background:  transparent;
  color: var(--blue-main);
  outline: 2px solid #1e6bff;
  outline-offset: -2px;
  padding: 10px 22px;
  gap: 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;     
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.fixed-bar .cta-fixed-bar-phone {
  background: var(--blue-main);
  color: #fff;
  outline: none;
  outline: 2px solid #1e6bff;
  outline-offset: -2px;
}

/* =========================
   ANIMACIONES
========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   UTILIDADES JS (AÑADIDAS)
========================= */
.hidden {
    display: none !important;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA MÓVILES (iPhone / Android)
   ========================================================================== */
@media only screen and (max-width: 900px) {

  .section {
    padding: 3rem 1.5rem; 
  }

  .hero-aurora-bg {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(1) scale(2.5); 
    width: 150%; 
  }

  /* --- HEADER --- */
  .header-main-logo-lenguaje p {
    position: relative !important; 
    top: 0;
    padding: 15px 20px; 
    flex-direction: row; 
    justify-content: space-between;
    width: 100%;; 
  }

  .img-header-content {
    width: 120px;
    margin-left: 10px;
  }

  /* --- AJUSTE DEL HERO --- */
  .hero {
    padding-top: 100px !important; 
  }

  .hero-text-title {
    margin-top: 10px; 
    font-size: 0.9rem;
  }

  /* --- HERO SECTION REORDENADO --- */
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    order: 1; 
    width: 100%;
  }

  .hero-mobile-mockup {
    order: 2; 
    margin-top: 40px;
    transform: scale(0.95);
  }
  
  .hero .title {
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
    white-space: pre-wrap; 
    display: flex;
    flex-direction: column;
    align-items: left;
  }
  
  .hero .title span {
      display: block; 
  }
  
  .hero .title br {
      display: none; 
  }

  .hero-text-title, 
  .hero-text-strong,
  .hero-sub {
    text-align: center;
    margin: 0 auto 15px;
  }

  .hero-text {
    margin: 0;
  }
  
  .hero-text-title {
      font-size: 1rem;
      margin-bottom: 10px;
  }

  /* Botones Hero de la Columna */
  .layout-cta-primary {
    flex-direction: column; 
    width: 100%;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
    justify-content: center;
  }

  .cta-primary-web, 
  .cta-primary-phone {
    width: 50%; 
    justify-content: center;
    margin: 0;
    padding: 16px 20px; 
  }

  .cta-primary-web span {
    font-size: 0.8rem;
  }

  .cta-primary-phone span {
    font-size: 0.8rem;
  }

  .phone-border {
    height: 480px; 
    width: 230px;
  }

  /* --- INTRO I SECCIONES TEXTO --- */
  .section-title-content-wrap,
  .section-title-why-content {
    font-size: 1.9rem; 
    text-align: center; 
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem; 
    text-align: center; 
    margin-bottom: 40px;
  }

  .section-title-propose {
    font-size: 1.5rem; 
    text-align: center;
    margin-top: 60px; 
    margin-bottom: 40px;
  }
  
  .section-publish-last-p::after {
    width: 150px; 
    left: 50%;
    transform: translateX(-50%); 
  }
  
  /* --- SECTION DARK  --- */
  .section.dark {
      padding: 3rem 1.5rem; 
      width: 92%; 
      margin: 0 auto; 
      border-radius: 20px;
  }

  .section.dark::before {
    display: none;
  }

  /* --- FEATURES GRID --- */
  .features-grid {
    grid-template-columns: 1fr; 
    padding: 1rem 0;
    gap: 2rem;
    box-shadow: none; 
  }
  
  .layout-cta-primary {
    margin-top: 30px;
    margin-bottom: 10px;
    flex-direction: row;
  }

  .layout-cta-table {
    margin-top: 30px;
    margin-bottom: 10px;
    flex-direction: row;
    justify-content: center;
  }
  
  .cta-table-web, .cta-table-phone {
    margin: 0;
    width: 90%;
  }

  .cta-table-web span {
    font-size: 0.7rem;
  }

  .cta-table-phone span {
    font-size: 0.7rem;
  }

  /* --- WHY SECTION  --- */
  .section-propose-last-p {
    margin-top: 40px;
  }

  .section-title-why-content {
    font-size: clamp(2rem, 4vw, 2rem);
    font-weight: 900;
    margin: 0 0 20px 0;
    line-height: 1.15;
    max-width: 1100px;
  }

  .why-text-p {
    margin: 0;
    margin-bottom: 50px;
    width: 100%;
    font-size: 0.8rem;
    padding: 0 10px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    padding: 20px 0;
    text-align: center;
    justify-content: center;
  }

  .card {
    width: 100%;
    margin: auto;
  }

  .card-number {
    font-size: 1.8rem;
    margin: 0;
  }

  .card-content h3 {
    font-size: 9px;
    margin: 0;
    margin-top: 8px;
  }

  /* --- COMMUNITY SECTION --- */
  .community-container {
    flex-direction: column;
    gap: 30px;
  }

  .community-header {
    position: static;
    text-align: center;
  }

  .comunity-card {
    border-radius: 12px;
    border-left: none;
    border-top: 3px solid #0055ff; 
    margin-bottom: 10px;
  }

  .comunity-p-text-out {
    font-size: 3rem;
  }

  .layout-cta-community {
    flex-direction: row;
    justify-content: center;
  }

  .cta-community-web, .cta-community-phone {
    margin: 0;
    width: 90%;
    font-size: 0.7rem;
  }

  /* --- WHO SECTION --- */
  .who-container {
    flex-direction: column;
    gap: 40px;
  }
  .who-content .section-title {
    font-size: 2.7rem;
    text-align: center;
  }
  .who-visual {
    order: 2; 
    transform: scale(0.9);
  }

  /* --- FINAL CTA --- */
  .final-cta-grid {
    margin-left: 0; 
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .final-cta h2 {
    font-size: 1.2rem;
  }

  .final-cta .cta-primary.big {
    width: 70%;
    padding: 18px;
    margin-top: 30px;
  }

  .layout-final-cta {
    flex-direction: row;
    justify-content: center;
    font-size: 0.7rem;
  }

  .cta-primary-final, .cta-primary-phone-final {
    margin: 0;
    width: 60%;
    font-size: 0.7rem;
    padding: 10px 22px;
  }

  /* --- CONTACT BANNER --- */
  .section-cta-wrap {
    padding: 40px 15px;
  }
  .cta-banner {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .cta-banner-title {
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
  }
  .cta-banner .cta-primary.big {
    width: 70%;
    padding: 16px 0;
  }

  /* --- MODALES --- */
  .modal-content-contactus.is-success {
     width: 90%;
  }

  .modal-close, 
  .modal-close-black, 
  .modal-close-white {
    position: absolute; 
    top: 15px !important;  
    right: 15px !important; 
    font-size: 2rem !important; 
    z-index: 1000; 
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333; 
  }

  .modal-content-contactus,
  .modal-content {
    position: relative; 
    width: 85%; 
    padding: 35px 20px 20px 20px; 
    border-radius: 20px;
    max-height: 85vh; 
    overflow-y: auto; 
  }

  /* --- FOOTER --- */
  .footer-content-wrapper {
    flex-direction: column;
    gap: 0px;
    margin-bottom: 100px; 
    text-align: center;
  }
  .footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* --- BARRA FIJA--- */
  .fixed-bar {
    width: 100%; 
    left: 0;
    right: 0;
    bottom: 0; 
    padding: 15px 10px; 
    border-radius: 0; 
    gap: 10px;
    justify-content: space-around; 
    background: rgba(5, 7, 13, 0.95); 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-left: none;
    border-right: none;
  }

  .fixed-bar .cta-fixed-bar-web, 
  .fixed-bar .cta-fixed-bar-phone {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1; 
    outline: 2px solid #1e6bff;
    outline-offset: -2px;
  }
  
  .fixed-bar .cta-secondary {
      font-size: 0.75rem; 
      padding: 0 5px;
      flex: 0 0 auto; 
  }
}

/* ==========================================================================
   PANTALLAS MUY PEQUEÑAS (< 380px)
   ========================================================================== */
@media only screen and (max-width: 380px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .phone-border {
    width: 100%;
    height: 400px;
  }

  .fixed-bar {
    padding: 10px 5px;
  }
  
  .fixed-bar .cta-fixed-bar-web span, 
  .fixed-bar .cta-fixed-bar-phone span {
      display: none; 
  }
  
  .fixed-bar .cta-fixed-bar-web, 
  .fixed-bar .cta-fixed-bar-phone {
      justify-content: center;
  }
}