:root {
    --blue: #1a2f8e;
    --green: #00b67a;
    --green-dark: #009962;
    --white: #ffffff;
    --off-white: #f4f6fb;
    --gray-light: #e4e8f0;
    --gray-text: #7b8399;
    --dark: #111827;
    --purple-bg: #3530a0;
    --font: 'Inter', sans-serif;
    --tr: 0.22s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    max-width: 1400px;
    margin: 0 auto;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: var(--font);
}

/* ==============================
       HERO
    ============================== */
.hero {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: url("makertech/banner.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 32px 48px 48px;
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 40px;
    align-items: center;
    min-height: 440px;
}

/* ---- Logo ---- */
.hero-logo {
    margin-bottom: 48px;
}

.logo-makertech {
    max-width: 220px;
    width: 100%;
}


/* ---- Hero text ---- */
.hero-left {
    display: flex;
    flex-direction: column;
    max-width: 220px;
    width: 100%;
}

.hero-heading {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-heading span {
    color: var(--green);
}

.hero-desc {
    font-size: 14px;
    color: rgb(0, 0, 0);
    margin-bottom: 32px;
    line-height: 1.65;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: 13px;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

.tech-pills span {
    padding: 0 12px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.35);
}

.tech-pills span:first-child {
    padding-left: 0;
}

.tech-pills span:last-child {
    border-right: none;
}

.tech-pills .hl {
    color: var(--green);
}

/* ==============================
       FORM CARD
    ============================== */
.hero-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 26px 26px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 22px;
}

.form-title span {
    color: var(--green);
    font-weight: 800;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.form-row:last-of-type {
    border-bottom: none;
}

.fi {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

.fi svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-row input,
.form-row select {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
    background: transparent;
    padding: 2px 0;
    appearance: none;
}

.form-row input::placeholder {
    color: #b0b8cc;
}

.form-row select {
    color: #b0b8cc;
    cursor: pointer;
}

.form-row select.filled {
    color: var(--dark);
}

/* custom dropdown chevron */
.select-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrap select {
    width: 100%;
    padding-right: 20px;
}

.select-wrap::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-top-color: var(--gray-text);
    margin-top: 3px;
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    letter-spacing: 0.8px;
    margin-top: 18px;
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}

.btn-submit:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 182, 122, 0.35);
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.4;
}

.form-privacy svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--gray-text);
    stroke-width: 1.8;
    flex-shrink: 0;
}

/* ==============================
       EXPLORE SECTION
    ============================== */
.section-explore {
    padding: 72px 48px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 44px;
    line-height: 1.3;
}

.section-title .accent {
    color: var(--green);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    display: flex;
    flex-direction: column;
}

.category-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #c8cedc;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-ph {
    text-align: center;
    color: #a0a8bc;
    font-size: 12px;
    padding: 12px;
    line-height: 1.5;
}

.cat-ph .ico {
    font-size: 28px;
    margin-bottom: 4px;
}

.category-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 6px;
}

.category-desc {
    font-size: 12.5px;
    color: var(--gray-text);
    line-height: 1.6;
    flex: 1;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    transition: color var(--tr), gap var(--tr);
}

.category-link:hover {
    color: var(--green);
    gap: 10px;
}

/* ==============================
       COMMUNITY SECTION
    ============================== */
.section-community {
    margin: 0 48px 64px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-image: url('makertech/banner-2.png');
    background-size: cover;
    background-position: center center;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
}

.community-text {
    position: relative;
    z-index: 2;
    padding: 52px 48px;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 8px;
}

.community-heading .blue {
    color: var(--blue);
}

.community-heading .green {
    color: var(--green);
}

.community-divider {
    width: 38px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 18px 0 20px;
}

.community-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 300px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 26px;
    border: 2px solid var(--blue);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 0.6px;
    align-self: flex-start;
    transition: background var(--tr), color var(--tr);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.community-img {
    position: relative;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    /* sin borde dashed — la imagen cubre todo */
}

.community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    inset: 0;
}

/* ==============================
       CTA BANNER
    ============================== */
.section-cta {
    background: var(--purple-bg);
    padding: 28px 48px;
    margin: 0 48px 64px;
    border-radius: 16px;
}

.cta-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon svg {
    width: 28px;
    height: 28px;
}

.cta-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.cta-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
    line-height: 1.5;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: var(--white);
    color: var(--purple-bg);
    font-size: 13px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    transition: background var(--tr), transform var(--tr);
}

.btn-cta:hover {
    background: #eef0ff;
    transform: translateX(3px);
}

/* ==============================
       FOOTER
    ============================== */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 48px;
    border-top: 1px solid var(--gray-light);
}

/*
      📸 LOGO FOOTER: igual que arriba, reemplaza .logo-text con tu <img>
    */
.logo-text .lm-dark {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--blue);
    line-height: 1;
}

.logo-text .lm-dark span {
    color: var(--green);
}

.logo-text .ls-dark {
    font-size: 8px;
    letter-spacing: 6px;
    color: var(--gray-text);
    margin-top: 3px;
}

.footer-copy {
    font-size: 11.5px;
    color: var(--gray-text);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--tr), opacity var(--tr);
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.s-fb {
    background: #1877f2;
}

.s-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.s-yt {
    background: #ff0000;
}

.s-li {
    background: #0a66c2;
}

/* ==============================
       RESPONSIVE
    ============================== */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 80px 24px 40px;
        min-height: auto;
    }

    .hero-heading {
        font-size: 34px;
    }

    .section-explore {
        padding: 56px 24px;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-community {
        grid-template-columns: 1fr;
        margin: 0 24px 48px;
    }

    .community-img {
        min-height: 240px;
        position: relative;
    }

    .section-cta {
        margin: 0 24px 48px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-left {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .community-heading {
        font-size: 25px;
    }

    .section-community {
        margin: 0 16px 40px;
    }

    .section-cta {
        margin: 0 16px 40px;
        padding: 24px 20px;
    }

    .footer {
        padding: 24px;
    }
}