/* css/lp.min.css */

/*======================================================
SHARED PAGE COMPONENTS
======================================================*/

#lp_content {
min-height: 55vh;
}

#lp_content section[id] {
scroll-margin-top: 100px;
}

.lp-section {
padding: clamp(65px, 7vw, 104px) 0;
}

/* ETIQUETA SUPERIOR */
.lp-eyebrow {
display: inline-flex;
align-items: center;
gap: 9px;
font-size: 11px;
font-weight: 700;
letter-spacing: 1.5px;
line-height: 1.5;
color: var(--blue);
}

.lp-eyebrow-dot {
width: 7px;
height: 7px;
background: var(--orange);
border-radius: 50%;
flex: none;
}

/* ACCIONES Y BOTONES */
.lp-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
margin-top: 28px;
}

.lp-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 49px;
padding: 11px 21px;
border: 1px solid transparent;
border-radius: 11px;
font-weight: 700;
font-size: 14px;
line-height: 1.35;
text-decoration: none;
transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.lp-btn:hover {
transform: translateY(-2px);
}

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

.lp-btn-primary:hover {
background: var(--blue);
color: var(--white);
box-shadow: inset 0 0 0 2px var(--orange);
}

.lp-btn-outline {
border-color: var(--border);
background: var(--white);
color: var(--blue);
}

.lp-btn-outline:hover {
border-color: var(--orange);
color: var(--blue);
}

/* TITULOS COMPARTIDOS */
.lp-section h2 {
color: var(--blue);
font-size: clamp(29px, 3.2vw, 44px);
line-height: 1.13;
letter-spacing: -1.5px;
margin: 13px 0 19px;
}

.lp-section p {
color: var(--text-muted);
}

.lp-section-head {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
gap: 45px;
align-items: end;
margin-bottom: 32px;
}

.lp-section-head h2 {
max-width: 650px;
margin-bottom: 0;
}

.lp-section-head > p {
max-width: 420px;
margin: 0 0 3px;
font-size: 16px;
}


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

.lp-site-footer {
border-top: 1px solid var(--border);
background: var(--white);
}

.lp-footer-top {
display: flex;
justify-content: space-between;
gap: 40px;
padding: 40px 0 32px;
}

.lp-footer-brand {
color: var(--blue);
font-size: 20px;
text-decoration: none;
}

.lp-footer-brand strong {
font-weight: 700;
}

.lp-footer-identity p {
max-width: 460px;
color: var(--text-muted);
font-size: 14px;
margin: 7px 0 0;
}

.lp-footer-links {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
align-items: center;
gap: 22px;
padding-top: 7px;
}

.lp-footer-links a,
.lp-footer-social a {
color: var(--text-muted);
text-decoration: none;
font-size: 13px;
}

.lp-footer-links a:hover,
.lp-footer-social a:hover {
color: var(--blue);
text-decoration: underline;
text-decoration-color: var(--orange);
}

.lp-footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
padding: 20px 0 27px;
border-top: 1px solid var(--border);
}

.lp-footer-bottom small {
color: var(--text-muted);
font-size: 12px;
}

.lp-footer-social {
display: flex;
gap: 20px;
flex-wrap: wrap;
}


/*======================================================
MODULE - index.html
======================================================*/

/* HERO PRINCIPAL */
.lp-hero {
position: relative;
overflow: hidden;
padding: clamp(65px, 8vw, 120px) 0 110px;
background: var(--white);
}

.lp-hero::after {
content: '';
position: absolute;
width: 260px;
height: 260px;
border: 1px solid var(--border);
border-radius: 50%;
right: -165px;
top: 36px;
pointer-events: none;
}

.lp-hero-layout {
display: grid;
grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
gap: clamp(35px, 5vw, 78px);
align-items: center;
}

.lp-hero-copy {
position: relative;
z-index: 1;
animation: lp-fade-rise .65s ease-out both;
}

.lp-hero h1 {
color: var(--blue);
font-size: clamp(39px, 5vw, 68px);
line-height: 1.08;
letter-spacing: -2.8px;
font-weight: 700;
margin: 21px 0 24px;
}

.lp-hero h1 span {
color: var(--orange);
}

.lp-hero-copy > p {
color: var(--text-muted);
font-size: clamp(16px, 1.4vw, 18px);
line-height: 1.7;
max-width: 590px;
margin: 0;
}

.lp-hero-features {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 13px 26px;
margin-top: 34px;
}

.lp-hero-features span {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--text-muted);
}

.lp-hero-features svg {
color: var(--orange);
}


/* ILUSTRACION DE CODIGO */
.lp-hero-visual {
min-width: 0;
position: relative;
animation: lp-fade-rise .7s .1s ease-out both;
}

.lp-code-panel {
--lp-code-muted: #B4B7D5;
--lp-code-orange: #FF9A67;
--lp-code-green: #9FE5BD;
--lp-code-yellow: #FBE4A9;
--lp-code-purple: #C7BDFB;

overflow: hidden;
background: var(--blue);
color: var(--white);
border-radius: 21px;
box-shadow: 0 22px 45px rgba(8, 0, 96, .13);
}

.lp-code-panel-header {
display: flex;
align-items: center;
gap: 14px;
padding: 16px 20px;
border-bottom: 1px solid rgba(255,255,255,.13);
color: rgba(255,255,255,.8);
font-size: 12px;
}

.lp-code-dots {
display: inline-flex;
gap: 5px;
margin-right: auto;
}

.lp-code-dots i {
width: 8px;
height: 8px;
display: block;
border-radius: 50%;
background: rgba(255,255,255,.35);
}

.lp-code-dots i:first-child {
background: var(--orange);
}

.lp-code-panel-header > svg {
margin-left: auto;
}

.lp-code-panel pre {
margin: 0;
padding: clamp(22px, 3vw, 36px);
color: var(--white);
font-family: 'Roboto', monospace;
font-size: clamp(11px, 1.15vw, 14px);
line-height: 1.9;
white-space: pre-wrap;
overflow-wrap: anywhere;
}

.lp-code-soft {
color: var(--lp-code-muted);
}

.lp-code-orange {
color: var(--lp-code-orange);
}

.lp-code-green {
color: var(--lp-code-green);
}

.lp-code-yellow {
color: var(--lp-code-yellow);
}

.lp-code-purple {
color: var(--lp-code-purple);
}

.lp-code-panel-footer {
display: flex;
align-items: center;
gap: 8px;
padding: 17px 22px;
border-top: 1px solid rgba(255,255,255,.12);
color: rgba(255,255,255,.78);
font-size: 11px;
}

.lp-code-status {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--lp-code-green);
flex: none;
}

.lp-hero-float {
display: inline-flex;
align-items: center;
gap: 9px;
position: absolute;
right: -17px;
bottom: -22px;
padding: 13px 16px;
border-radius: 12px;
background: var(--white);
box-shadow: var(--shadow-soft);
border: 1px solid var(--border);
font-size: 12px;
font-weight: 700;
color: var(--blue);
animation: lp-float 5s ease-in-out infinite;
}

.lp-hero-float svg {
color: var(--orange);
}


/* SOBRE MI */
.lp-about {
background: var(--surface);
}

.lp-about-layout {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
gap: clamp(35px, 6vw, 80px);
align-items: center;
}

.lp-section-intro h2 {
max-width: 660px;
}

.lp-section-intro > p {
font-size: 16px;
max-width: 670px;
line-height: 1.8;
margin: 0;
}

.lp-about-highlight {
background: var(--white);
border: 1px solid var(--border);
padding: 30px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-soft);
}

.lp-about-highlight-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 13px;
background: var(--surface);
color: var(--orange);
}

.lp-about-highlight p {
color: var(--blue);
font-size: clamp(18px, 2vw, 24px);
line-height: 1.45;
font-weight: 700;
margin: 23px 0 13px;
}

.lp-about-highlight > span {
font-size: 12px;
color: var(--text-muted);
}


/* CAPACIDADES */
.lp-expertise-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}

.lp-expertise-card {
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--white);
padding: 27px;
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lp-expertise-card:hover {
transform: translateY(-5px);
border-color: var(--border);
box-shadow: var(--shadow-soft);
}

.lp-feature-icon {
display: flex;
align-items: center;
justify-content: center;
width: 49px;
height: 49px;
border-radius: 13px;
color: var(--orange);
background: var(--surface);
margin-bottom: 24px;
}

.lp-expertise-card h3 {
font-size: 19px;
color: var(--blue);
margin: 0 0 11px;
line-height: 1.3;
}

.lp-expertise-card p {
font-size: 14px;
line-height: 1.75;
margin: 0;
}


/* PROYECTOS */
.lp-projects {
background: var(--surface);
}

.lp-project-card {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
overflow: hidden;
background: var(--white);
border: 1px solid var(--border);
border-radius: 23px;
}

.lp-project-info {
padding: clamp(28px, 4vw, 58px);
align-self: center;
}

.lp-project-badge {
display: inline-block;
padding: 6px 10px;
border-radius: 7px;
background: var(--surface);
color: var(--blue);
letter-spacing: 1px;
font-size: 10px;
font-weight: 700;
}

.lp-project-info h3 {
font-size: clamp(35px, 4vw, 50px);
color: var(--blue);
line-height: 1.2;
letter-spacing: -1.4px;
margin: 15px 0;
}

.lp-project-info p {
font-size: 15px;
max-width: 530px;
line-height: 1.75;
}

.lp-project-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 22px 0 24px;
}

.lp-project-tags span {
font-size: 11px;
padding: 6px 11px;
color: var(--text-muted);
border: 1px solid var(--border);
border-radius: 7px;
}

.lp-inline-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--blue);
text-decoration: none;
font-size: 14px;
font-weight: 700;
}

.lp-inline-link:hover {
color: var(--blue);
text-decoration: underline;
text-decoration-color: var(--orange);
}


/* ILUSTRACION DE PROYECTO */
.lp-project-art {
display: flex;
align-items: center;
justify-content: center;
padding: 58px 45px;
background: var(--surface);
overflow: hidden;
}

.lp-project-mockup {
width: 100%;
max-width: 455px;
border: 1px solid var(--border);
background: var(--white);
box-shadow: 0 14px 35px rgba(8,0,96,.08);
border-radius: 14px;
transform: rotate(-3deg);
overflow: hidden;
}

.lp-project-mockup-top {
height: 48px;
display: flex;
align-items: center;
gap: 9px;
border-bottom: 1px solid var(--border);
padding: 0 14px;
font-size: 12px;
color: var(--blue);
font-weight: 700;
}

.lp-project-mockup-logo {
display: flex;
align-items: center;
justify-content: center;
width: 27px;
height: 27px;
background: var(--orange);
color: var(--white);
border-radius: 7px;
}

.lp-project-mockup-dots {
margin-left: auto;
color: var(--text-muted);
letter-spacing: 3px;
}

.lp-project-mockup-main {
display: grid;
grid-template-columns: 60px 1fr;
min-height: 210px;
}

.lp-project-mockup-menu {
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 11px;
padding: 18px 14px;
}

.lp-project-mockup-menu span {
background: var(--border);
height: 10px;
border-radius: 4px;
}

.lp-project-mockup-menu span:first-child {
background: var(--orange);
}

.lp-project-mockup-content {
min-width: 0;
padding: 20px;
}

.lp-project-mockup-title {
height: 12px;
width: 41%;
background: var(--border);
border-radius: 4px;
margin-bottom: 19px;
}

.lp-project-mockup-stats {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 10px;
}

.lp-project-mockup-stats span {
height: 52px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--white);
}

.lp-project-mockup-graph {
height: 80px;
display: flex;
align-items: end;
gap: 9px;
border-bottom: 1px solid var(--border);
padding: 12px 7px 0;
}

.lp-project-mockup-graph i {
flex: 1;
background: var(--border);
border-radius: 3px 3px 0 0;
height: 58%;
}

.lp-project-mockup-graph i:nth-child(2) {
height: 75%;
}

.lp-project-mockup-graph i:nth-child(3) {
height: 49%;
}

.lp-project-mockup-graph i:nth-child(4) {
height: 89%;
background: var(--orange);
}

.lp-project-mockup-graph i:nth-child(5) {
height: 64%;
}

.lp-project-mockup-graph i:nth-child(6) {
height: 97%;
background: var(--blue);
}


/* COMUNIDAD */
.lp-community-layout {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
gap: 60px;
align-items: center;
}

.lp-community h2 {
max-width: 610px;
}

.lp-community-copy > p {
max-width: 600px;
line-height: 1.8;
}

.lp-community-links {
display: flex;
flex-wrap: wrap;
gap: 11px;
margin-top: 28px;
}

.lp-community-links a {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 48px;
padding: 11px 14px;
border: 1px solid var(--border);
border-radius: 10px;
text-decoration: none;
color: var(--blue);
font-size: 13px;
font-weight: 700;
transition: border-color .2s ease, transform .2s ease;
}

.lp-community-links a:hover {
border-color: var(--orange);
transform: translateY(-2px);
}

.lp-community-links a svg:first-child {
color: var(--orange);
}

/* ILUSTRACION COMUNIDAD */
.lp-community-art {
position: relative;
min-height: 250px;
display: flex;
align-items: center;
justify-content: center;
}

.lp-community-art-back {
font-size: clamp(120px, 14vw, 230px);
letter-spacing: -17px;
line-height: 1;
font-weight: 900;
color: var(--surface);
}

.lp-community-art-main {
position: absolute;
width: 114px;
height: 114px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border);
background: var(--white);
border-radius: 26px;
color: var(--blue);
box-shadow: var(--shadow-soft);
animation: lp-float 5s ease-in-out infinite;
}

.lp-community-art-spark {
position: absolute;
top: 10%;
right: 17%;
color: var(--orange);
}


/*======================================================
MODULE - 404.html
======================================================*/

.lp-404 {
overflow: hidden;
min-height: min(75vh, 760px);
display: flex;
align-items: center;
padding: 65px 0 92px;
}

.lp-404-layout {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

/* ILUSTRACION */
.lp-404-illustration {
position: relative;
width: min(100%, 630px);
margin: 0 auto 8px;
}

.lp-404-number {
display: flex;
align-items: center;
justify-content: center;
color: var(--blue);
font-weight: 900;
font-size: clamp(130px, 27vw, 270px);
letter-spacing: -17px;
line-height: 1;
user-select: none;
animation: lp-fade-rise .6s ease-out both;
}

.lp-404-zero {
position: relative;
color: var(--orange);
}

.lp-404-orbit {
position: absolute;
top: 12%;
left: 7%;
width: 86%;
height: 86%;
border: 2px dashed rgba(255,89,0,.38);
border-radius: 50%;
animation: lp-spin 24s linear infinite;
}

/* ELEMENTOS DECORATIVOS */
.lp-404-deco {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
width: 57px;
height: 57px;
border: 1px solid var(--border);
background: var(--white);
color: var(--blue);
border-radius: 13px;
font-family: 'Roboto', monospace;
font-weight: 700;
box-shadow: var(--shadow-soft);
animation: lp-float 5s ease-in-out infinite;
}

.lp-404-deco-one {
left: 8%;
top: 11%;
transform: rotate(-10deg);
}

.lp-404-deco-two {
right: 7%;
bottom: 8%;
animation-delay: -1.7s;
}

/* MENSAJE */
.lp-404-copy {
max-width: 600px;
animation: lp-fade-rise .65s .13s ease-out both;
}

.lp-404 h1 {
color: var(--blue);
font-size: clamp(30px, 4vw, 49px);
line-height: 1.14;
letter-spacing: -1.5px;
margin: 14px 0;
}

.lp-404-copy p {
color: var(--text-muted);
margin: 0 auto;
max-width: 530px;
font-size: 16px;
}

.lp-404 .lp-actions {
justify-content: center;
}


/*======================================================
SHARED ANIMATIONS AND BREAKPOINTS
======================================================*/

/* ENTRADA SUAVE */
@keyframes lp-fade-rise {

from {
opacity: 0;
transform: translateY(18px);
}

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

}

/* MOVIMIENTO SUAVE */
@keyframes lp-float {

0%, 100% {
transform: translateY(0);
}

50% {
transform: translateY(-8px);
}

}

/* ORBITA 404 */
@keyframes lp-spin {

to {
transform: rotate(360deg);
}

}


/* DESKTOP MEDIANO */
@media (max-width: 1000px) {

.lp-hero-layout {
gap: 32px;
}

.lp-hero h1 {
letter-spacing: -1.8px;
}

.lp-section-head {
gap: 26px;
}

.lp-project-art {
padding: 35px 25px;
}

}


/* TABLETS */
@media (max-width: 790px) {

.lp-hero-layout,
.lp-about-layout,
.lp-community-layout {
grid-template-columns: minmax(0, 1fr);
}

.lp-hero {
padding: 72px 0 85px;
}

.lp-hero-visual {
max-width: 620px;
width: 100%;
margin: 0 auto;
}

.lp-hero-float {
right: 3px;
}

.lp-section-head {
grid-template-columns: 1fr;
gap: 12px;
}

.lp-section-head > p {
max-width: 680px;
}

.lp-expertise-grid {
grid-template-columns: repeat(2, minmax(0,1fr));
}

.lp-project-card {
grid-template-columns: 1fr;
}

.lp-project-art {
min-height: 300px;
}

.lp-community-art {
min-height: 190px;
}

.lp-footer-top {
flex-wrap: wrap;
}

}


/* CELULARES */
@media (max-width: 560px) {

.lp-section {
padding: 66px 0;
}

.lp-section h2 {
letter-spacing: -1px;
}

.lp-hero {
padding: 56px 0 75px;
}

.lp-hero h1 {
font-size: clamp(37px, 10.5vw, 48px);
letter-spacing: -1.7px;
}

.lp-hero-features {
margin-top: 28px;
}

.lp-hero-float {
position: relative;
right: auto;
bottom: auto;
margin: -4px 0 0 12px;
}

.lp-actions {
gap: 10px;
}

.lp-btn {
padding: 12px 15px;
}

.lp-expertise-grid {
grid-template-columns: 1fr;
}

.lp-expertise-card {
padding: 25px;
}

.lp-about-highlight {
padding: 26px;
}

.lp-project-info {
padding: 29px 23px;
}

.lp-project-art {
min-height: 245px;
padding: 28px 20px;
}

.lp-project-mockup-main {
min-height: 180px;
}

.lp-project-mockup-content {
padding: 14px;
}

.lp-404 {
padding: 60px 0 75px;
min-height: 68vh;
}

.lp-404-number {
font-size: clamp(116px, 34vw, 175px);
letter-spacing: -9px;
}

.lp-404-deco {
width: 40px;
height: 40px;
font-size: 12px;
}

.lp-404-deco-one {
left: 2%;
top: 0;
}

.lp-404-deco-two {
right: 2%;
}

.lp-404-copy p {
font-size: 15px;
}

.lp-footer-top {
gap: 20px;
padding-top: 31px;
}

.lp-footer-bottom {
flex-wrap: wrap;
gap: 12px;
}

.lp-footer-social {
gap: 16px;
}

}