/* ─── RESET & BASE ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0A0A0A;
    --dark: #111111;
    --dark2: #1A1A1A;
    --white: #FFFFFF;
    --off: #F7F7F5;
    --gray: #888888;
    --gray2: #DDDDDD;
    --blue: #2563EB;
    --blue2: #1D4ED8;
    --green: #16A34A;
    --accent: #2563EB;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--black);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── NAV ───────────────────────────────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray2);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    flex-shrink: 0;
}

.logo span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}

.nav-links a {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--black);
}

.btn-nav {
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 50px;
    transition: .2s;
    white-space: nowrap;
}

.btn-nav:hover {
    background: var(--dark2);
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EFF6FF;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid #BFDBFE;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-sub {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 460px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: .2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--blue);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 50px;
    border: 1.5px solid var(--gray2);
    cursor: pointer;
    transition: .2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--black);
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--black);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
}

.stat-div {
    width: 1px;
    height: 36px;
    background: var(--gray2);
}

/* Decoración hero */
.hero-deco {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deco-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--gray2);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

.deco-card-1 {
    top: 40px;
    left: 0;
    animation-delay: 0s;
}

.deco-card-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    animation-delay: .5s;
}

.deco-card-3 {
    bottom: 40px;
    right: 0;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.deco-card-2 {
    transform: translate(-50%, -50%);
}

.deco-card-2:hover {
    transform: translate(-50%, -50%);
}

.deco-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.deco-dot.green {
    background: #16A34A;
    box-shadow: 0 0 0 3px #DCFCE7;
}

.deco-dot.blue {
    background: var(--blue);
    box-shadow: 0 0 0 3px #DBEAFE;
}

.deco-icon {
    font-size: 22px;
}

.deco-title {
    font-weight: 700;
    font-size: 14px;
}

.deco-sub {
    font-size: 11px;
    color: var(--gray);
    font-weight: 400;
}

/* Fondo con círculo decorativo */
.hero-deco::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    z-index: -1;
}

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section {
    padding: 96px 24px;
}

.section.bg-dark {
    background: var(--black);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-label.light {
    color: #93C5FD;
}

.section h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 56px;
    letter-spacing: -0.5px;
}

.section h2.light {
    color: var(--white);
}

/* ─── SERVICIOS ──────────────────────────────────────────────────────────── */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.servicio-card {
    background: var(--off);
    border: 1px solid var(--gray2);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    transition: .3s;
}

.servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--blue);
}

.servicio-card.featured {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.servicio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.servicio-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.servicio-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.servicio-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.servicio-card.featured p {
    color: #94A3B8;
}

.servicio-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.servicio-card ul li {
    font-size: 13px;
    color: var(--gray);
    padding-left: 16px;
    position: relative;
}

.servicio-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue);
}

.servicio-card.featured ul li {
    color: #94A3B8;
}

/* ─── RAZONES ────────────────────────────────────────────────────────────── */
.razones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.razon {
    color: var(--white);
}

.razon-num {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #2D2D2D;
    display: block;
    margin-bottom: 12px;
}

.razon h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.razon p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* ─── PROYECTOS ───────────────────────────────────────────────────────────── */
.proyectos-preview {
    margin-bottom: 40px;
}

.proyecto-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--off);
    border: 1px solid var(--gray2);
    border-radius: 24px;
    padding: 40px;
}

.proyecto-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* Mockup */
.proyecto-mockup {
    background: var(--white);
    border: 1px solid var(--gray2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.proyecto-mockup.large {
    border-radius: 16px;
}

.mockup-bar {
    background: #F1F5F9;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--gray2);
}

.mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray2);
}

.mockup-bar span:nth-child(1) {
    background: #FCA5A5;
}

.mockup-bar span:nth-child(2) {
    background: #FDE68A;
}

.mockup-bar span:nth-child(3) {
    background: #86EFAC;
}

.mockup-url {
    font-size: 11px;
    color: var(--gray);
    background: var(--white);
    padding: 3px 12px;
    border-radius: 4px;
    margin-left: 8px;
    border: 1px solid var(--gray2);
}

.mockup-content {
    padding: 16px;
}

.mockup-nav {
    height: 12px;
    background: var(--gray2);
    border-radius: 4px;
    margin-bottom: 12px;
}

.mockup-hero {
    height: 80px;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-radius: 8px;
    margin-bottom: 12px;
}

.mockup-hero.green-hero {
    background: linear-gradient(135deg, #0d1a0f, #1a3a1a);
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mockup-cards div {
    height: 50px;
    background: var(--off);
    border-radius: 6px;
    border: 1px solid var(--gray2);
}

.mockup-btn {
    height: 32px;
    background: #EF4444;
    border-radius: 6px;
}

.proyecto-tag {
    display: inline-block;
    background: #EFF6FF;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid #BFDBFE;
}

.proyecto-card h3,
.proyecto-full-info h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.proyecto-desc {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    font-size: 14px;
    color: var(--black);
}

.proyecto-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.proyecto-tech span {
    background: var(--off);
    border: 1px solid var(--gray2);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    color: var(--dark2);
}

.btn-proyecto {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    border-bottom: 1.5px solid var(--blue);
    padding-bottom: 2px;
    transition: .2s;
}

.btn-proyecto:hover {
    opacity: .7;
}

.ver-mas {
    text-align: center;
}

/* Próximamente */
.proximamente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.proximamente-card {
    background: var(--off);
    border: 1.5px dashed var(--gray2);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
}

.prox-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.proximamente-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.proximamente-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.prox-badge {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.prox-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
    padding: 80px 24px 60px;
    background: var(--off);
    border-bottom: 1px solid var(--gray2);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-hero p {
    font-size: 17px;
    color: var(--gray);
    max-width: 500px;
}

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.cta-section {
    background: var(--black);
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 16px;
    color: #888;
    margin-bottom: 36px;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── CONTACTO ───────────────────────────────────────────────────────────── */
.contacto-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacto-info h3,
.contacto-form-wrap h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contacto-info>p,
.contacto-form-wrap>p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 28px;
}

.contacto-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.contacto-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--off);
    border: 1px solid var(--gray2);
    border-radius: 14px;
    transition: .2s;
}

.contacto-card:hover {
    border-color: var(--blue);
    transform: translateX(4px);
}

.contacto-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contacto-card-icon.whatsapp {
    background: #DCFCE7;
}

.contacto-card-icon.email {
    background: #DBEAFE;
}

.contacto-card-title {
    font-weight: 700;
    font-size: 14px;
}

.contacto-card-sub {
    font-size: 12px;
    color: var(--gray);
}

.contacto-arrow {
    margin-left: auto;
    color: var(--gray);
    font-size: 18px;
}

.disponibilidad {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 28px;
}

.disp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px #DCFCE7;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 3px #DCFCE7;
    }

    50% {
        box-shadow: 0 0 0 6px #DCFCE780;
    }
}

.precios-rapidos {
    background: var(--off);
    border: 1px solid var(--gray2);
    border-radius: 16px;
    padding: 20px 22px;
}

.precios-rapidos h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.precio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray2);
    font-size: 14px;
}

.precio-item:last-child {
    border-bottom: none;
}

.precio-valor {
    font-weight: 700;
    color: var(--blue);
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--off);
    border: 1.5px solid var(--gray2);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--black);
    outline: none;
    transition: .2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px #DBEAFE;
}

.tipo-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tipo-btn {
    background: var(--off);
    border: 1.5px solid var(--gray2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
}

.tipo-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.tipo-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.btn-full {
    width: 100%;
    text-align: center;
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
}

.form-nota {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    margin-top: 12px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
    background: var(--black);
    padding: 40px 24px;
    border-top: 1px solid #222;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-inner .logo {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: #888;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 13px;
    color: #555;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    margin-top: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .hero-deco {
        display: none;
    }

    .proyecto-card,
    .proyecto-full {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacto-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .razones-grid {
        gap: 28px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}