*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Montserrat',Arial,Helvetica,sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:linear-gradient(180deg,#eef4ff 0%,#f8fbff 100%);
color:#111827;
overflow-x:hidden;
line-height:1.5;
}

/* =========================
   NAVBAR
========================= */

.navbar{
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 55px;
background:#07122e;
position:sticky;
top:0;
z-index:999;
box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.logo{
font-size:30px;
font-weight:900;
color:#fff;
letter-spacing:-1px;
}

.logo span{
color:#14b8a6;
}

nav{
display:flex;
gap:26px;
align-items:center;
}

nav a{
color:#fff;
text-decoration:none;
font-weight:700;
font-size:15px;
transition:.25s;
}

nav a:hover{
color:#14b8a6;
}

.btn-nav{
background:#14b8a6;
padding:11px 18px;
border-radius:12px;
box-shadow:0 10px 18px rgba(20,184,166,.22);
}

.btn-nav:hover{
background:#0f9d8f;
color:#fff;
transform:translateY(-2px);
}

/* =========================
   HERO
========================= */

.hero{
min-height:92vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:50px 25px;
}

.hero-box{
max-width:920px;
}

.badge{
display:inline-block;
padding:10px 18px;
background:#dff8f4;
color:#0f766e;
font-weight:800;
border-radius:40px;
font-size:14px;
margin-bottom:24px;
}

.hero h1{
font-size:68px;
font-weight:900;
line-height:1.05;
margin-bottom:22px;
letter-spacing:-2px;
}

.hero span{
color:#14b8a6;
}

.hero p{
font-size:22px;
max-width:760px;
margin:0 auto 35px;
color:#4b5563;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:14px;
flex-wrap:wrap;
margin-bottom:30px;
}

.btn-main{
padding:16px 28px;
border-radius:14px;
font-size:16px;
font-weight:800;
text-decoration:none;
transition:.25s;
border:none;
cursor:pointer;
}

.btn-primary{
background:#14b8a6;
color:#fff;
box-shadow:0 12px 24px rgba(20,184,166,.22);
}

.btn-primary:hover{
transform:translateY(-3px);
background:#0f9d8f;
}

.btn-secondary{
background:#fff;
color:#111827;
border:1px solid #dbe2ea;
}

.btn-secondary:hover{
transform:translateY(-3px);
box-shadow:0 12px 24px rgba(0,0,0,.08);
}

.social-bar{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.social-bar img{
width:44px;
height:44px;
border-radius:50%;
padding:6px;
background:#fff;
box-shadow:0 8px 18px rgba(0,0,0,.10);
transition:.25s;
}

.social-bar img:hover{
transform:translateY(-4px) scale(1.06);
}

/* =========================
   SECTIONS
========================= */

.section{
padding:90px 25px;
}

.container{
max-width:1180px;
margin:auto;
}

.title{
font-size:42px;
font-weight:900;
text-align:center;
margin-bottom:45px;
letter-spacing:-1px;
}

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

.card{
background:#fff;
padding:28px;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.06);
transition:.25s;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 22px 40px rgba(0,0,0,.09);
}

.card h3{
font-size:21px;
margin-bottom:12px;
}

.card p{
color:#4b5563;
font-size:15px;
}

/* =========================
   GENERADOR
========================= */

.generator-page{
display:flex;
justify-content:center;
align-items:flex-start;
gap:28px;
padding:70px 25px;
flex-wrap:wrap;
}

.generator-box{
background:#fff;
padding:36px;
width:700px;
border-radius:22px;
box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.generator-box h1{
font-size:46px;
font-weight:900;
margin-bottom:10px;
letter-spacing:-1px;
}

.generator-box p{
color:#6b7280;
margin-bottom:24px;
}

.cv-types{
display:flex;
gap:12px;
margin-bottom:25px;
flex-wrap:wrap;
}

.cv-types button{
flex:1;
min-width:160px;
padding:15px;
border:none;
background:#eef2f7;
border-radius:12px;
font-weight:800;
cursor:pointer;
transition:.25s;
}

.cv-types button:hover,
.cv-types button.active{
background:#14b8a6;
color:#fff;
}

input,
textarea,
select{
width:100%;
padding:15px 16px;
margin-bottom:15px;
border:1px solid #dbe2ea;
border-radius:12px;
font-size:15px;
outline:none;
transition:.2s;
background:#fff;
}

input:focus,
textarea:focus{
border-color:#14b8a6;
box-shadow:0 0 0 4px rgba(20,184,166,.10);
}

textarea{
height:120px;
resize:vertical;
}

.two-cols{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
}

.full{
width:100%;
margin-top:8px;
}

.primary-btn{
background:#14b8a6;
color:#fff;
font-weight:800;
border:none;
padding:16px;
border-radius:12px;
cursor:pointer;
transition:.25s;
}

.primary-btn:hover{
background:#0f9d8f;
transform:translateY(-2px);
}

/* =========================
   IA BOX
========================= */

.ia-box{
background:#fff;
padding:30px;
width:360px;
border-radius:22px;
box-shadow:0 18px 45px rgba(0,0,0,.08);
position:sticky;
top:95px;
}

.ia-box h2{
font-size:30px;
font-weight:900;
margin-bottom:15px;
}

#mensajeIA{
background:#f7fafc;
padding:18px;
border-radius:14px;
min-height:220px;
margin-bottom:18px;
line-height:1.65;
color:#374151;
border:1px solid #eef2f7;
}

.ia-box button{
width:100%;
padding:14px;
margin-bottom:10px;
border:none;
background:#14b8a6;
color:#fff;
font-weight:800;
border-radius:12px;
cursor:pointer;
transition:.25s;
}

.ia-box button:hover{
background:#0f9d8f;
}

/* =========================
   FOOTER
========================= */

.footer{
background:#07122e;
color:#fff;
text-align:center;
padding:40px 20px;
margin-top:70px;
}

.footer-links{
display:flex;
justify-content:center;
gap:20px;
margin:15px 0;
flex-wrap:wrap;
}

.footer-links a{
color:#14b8a6;
text-decoration:none;
font-weight:700;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

.navbar{
padding:18px 20px;
flex-direction:column;
gap:15px;
}

nav{
flex-wrap:wrap;
justify-content:center;
gap:14px;
}

.hero h1{
font-size:44px;
line-height:1.12;
}

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

.title{
font-size:34px;
}

.generator-box,
.ia-box{
width:100%;
}

.ia-box{
position:relative;
top:auto;
}

.two-cols{
grid-template-columns:1fr;
}
}

@media(max-width:520px){

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

.btn-main{
width:100%;
}

.logo{
font-size:24px;
}
}
/* ===================================================
   ESTILOS DE LA HOJA DE PAPEL (PREVISUALIZACIÓN CV)
=================================================== */

.controls-col {
  width: 600px;
  max-width: 100%;
}

.paper-col {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
}

.cv-paper-container {
  width: 210mm;
  min-height: 297mm;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  display: flex;
  border-radius: 2px;
  overflow: hidden;
}

.paper-left {
  width: 32%;
  background: #263238;
  color: #ffffff;
  padding: 30px 20px;
  font-size: 13px;
}

.paper-left img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 25px;
  border: 3px solid rgba(255,255,255,0.2);
}

.contact-info div {
  margin-bottom: 10px;
  word-break: break-word;
}

.paper-section-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin: 25px 0 10px;
  border-bottom: 2px solid #14b8a6;
  padding-bottom: 4px;
}

.skills-printed-list {
  list-style-position: inside;
  line-height: 1.8;
  padding-left: 5px;
}

.paper-right {
  width: 68%;
  display: flex;
  flex-direction: column;
}

.paper-header {
  background: #009688;
  color: #ffffff;
  padding: 35px 30px;
}

.paper-header h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 5px;
}

.paper-header h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 15px;
}

.paper-header p {
  font-size: 14px;
  opacity: 0.95;
}

.paper-body {
  padding: 30px;
  color: #111827;
  flex: 1;
}

.exp-item {
  margin-bottom: 20px;
}

.exp-item h4 {
  font-size: 16px;
  color: #111827;
}

.exp-row-flex {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
  font-weight: 600;
}

@media(max-width: 1100px) {
  .generator-page { flex-direction: column; align-items: center; }
  .paper-col { width: 100%; overflow-x: auto; padding: 10px; }
  .cv-paper-container { transform: scale(0.9); transform-origin: top center; }
}
/* ===================================================
   ESTILOS PREMIUM PARA LA GUÍA "TU PRIMER CV"
=================================================== */

/* Caja informativa de introducción */
.primer-intro-box {
  background-color: #eff6ff;
  border-left: 4px solid #2563eb;
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: left;
}

.primer-intro-box h3 {
  color: #1e40af;
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 800;
}

.primer-intro-box p {
  font-size: 14px;
  color: #1e3a8a;
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* Caja de conversión para la comunidad de WhatsApp */
.comunidad-retencion-box {
  background-color: #f0fdf4;
  border: 2px dashed #22c55e;
  padding: 24px;
  border-radius: 16px;
  margin-top: 35px;
  text-align: center;
}

.comunidad-retencion-box h3 {
  color: #166534;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 800;
}

.comunidad-retencion-box p {
  font-size: 14px;
  color: #14532d;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Botón llamativo estilo WhatsApp */
.btn-comunidad-wa {
  display: inline-block;
  background-color: #22c55e;
  color: #ffffff !important;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
  transition: all 0.25s ease-in-out;
}

.btn-comunidad-wa:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.35);
}
/* Ajuste de color para la caja de Facebook */
.comunidad-retencion-box.fb-box {
  background-color: #f0f7ff;
  border: 2px dashed #1877f2;
}

.comunidad-retencion-box.fb-box h3 {
  color: #111827;
}

.comunidad-retencion-box.fb-box p {
  color: #4b5563;
}

/* Botón llamativo estilo Facebook */
.btn-comunidad-fb {
  display: inline-block;
  background-color: #1877f2;
  color: #ffffff !important;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
  transition: all 0.25s ease-in-out;
}

.btn-comunidad-fb:hover {
  background-color: #165ec9;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 94, 201, 0.35);
}