/* Reset + base */
:root {
    --bg: #ffffff;
    --muted: #f6f7f9;
    --dark: #2b2e33;
    --accent: #F7C30A;
    /* mostaza */
    --accent-2: #0095CC;
    /* azul */
    --accent-3: #EF9514;
    /* naranja */
    --glass: rgba(255, 255, 255, 0.6);
    --shadow-1: 0 8px 24px rgba(43, 46, 51, 0.06);
    --radius-md: 14px;
    --radius-sm: 8px;
    font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: var(--dark)
}

.brand__img {
    height: 44px;
    width: auto
}

.brand__name {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.2px
}

.nav__list {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center
}

.nav__link {
    color: var(--dark);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 500
}

.nav__link:hover {
    background: var(--muted);
    color: var(--accent-2)
}

.btn--ghost {
    border: 1px solid rgba(16, 24, 40, 0.06);
    padding: 8px 12px;
    border-radius: 12px
}

/* Mobile menu button */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    margin: 4px 0;
    border-radius: 2px
}

/* Hero */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: visible;
    background: #070a1a;
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center
}

@media(min-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        padding-top: 24px;
        padding-bottom: 24px
    }
}

.hero__title {
    font-size: 2.4rem;
    line-height: 1.02;
    margin-bottom: 18px;
    color: var(--bg);
    font-weight: 800
}

@media(min-width:900px) {
    .hero__title {
        font-size: 3rem
    }
}

.hero__title .accent {
    color: var(--accent-2)
}

.hero__title .hero__highlight {
    display: block;
    color: var(--bg);
    font-weight: 700;
    margin-top: 8px
}

.hero__title .dot {
    color: var(--accent);
    margin-left: 4px
}

.hero__lead {
    color: #5b6167;
    max-width: 640px;
    margin-bottom: 22px
}

.hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer
}

.btn--primary {
    background: var(--accent);
    color: #111;
    box-shadow: 0 10px 30px rgba(247, 195, 10, 0.12)
}

.btn--primary:hover {
    transform: translateY(-3px);
    background: var(--accent-3)
}

.btn--secondary {
    background: transparent;
    border: 2px solid rgba(16, 24, 40, 0.06);
    color: var(--dark)
}

.hero__badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap
}

.badge {
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-1)
}

/* Hero mockup */
.hero__mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 320px
}

.mockup-shape {
    position: absolute;
    inset: auto 0 0 -20px;
    height: 220px;
    width: 220px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--accent-2), #FFD36A);
    filter: blur(18px);
    opacity: 0.18;
    transform: rotate(-12deg)
}

.mockup-img {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    box-shadow: var(--shadow-1);
    object-fit: cover
}

/* Sections */
.section {
    padding: 72px 0
}

.section--alt {
    background: var(--muted)
}

.section__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px
}

.section__subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 28px
}

/* Cards grid (servicios) */
.cards-grid {
    display: grid;
    gap: 18px
}

@media(min-width:900px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow-1);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08)
}

.card__icon {
    height: 64px;
    width: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    font-size: 1.4rem
}

/* About */
.about-grid {
    display: grid;
    gap: 20px;
    align-items: center
}

@media(min-width:900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr
    }
}

.lead {
    color: #394047;
    font-size: 1rem;
    margin-bottom: 14px
}

.about__list {
    margin-top: 10px;
    color: #545861;
    list-style: none;
    padding-left: 0
}

.about__list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(16, 24, 40, 0.03)
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    gap: 16px
}

@media(min-width:640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(min-width:1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.portfolio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-1)
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block
}

.portfolio-card figcaption {
    padding: 12px 14px;
    color: #4b5563;
    font-size: 0.95rem
}

/* Pricing */
.pricing-grid {
    display: grid;
    gap: 18px
}

@media(min-width:900px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.pricing-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.pricing-card--featured {
    transform: translateY(-8px);
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.08)
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-3)
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #5b6167
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 18px
}

@media(min-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr
    }
}

.info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-1)
}

.info-card i {
    font-size: 1.4rem;
    color: var(--accent-2);
    min-width: 36px;
    text-align: center
}

.contact-form {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    gap: 12px
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    font-size: 0.95rem
}

.form-row {
    display: grid;
    gap: 12px
}

@media(min-width:640px) {
    .form-row {
        grid-template-columns: 1fr 1fr
    }
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 54px 0 20px
}

.footer-grid {
    display: grid;
    gap: 18px
}

@media(min-width:900px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr
    }
}

.footer-brand img {
    height: 48px;
    margin-bottom: 12px
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 320px;
    margin-bottom: 12px
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    margin-right: 8px;
    text-decoration: none
}

.footer-links h4 {
    font-weight: 700;
    margin-bottom: 10px
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    color: rgba(255, 255, 255, 0.6)
}

/* Utilities & small screens */
@media(max-width:900px) {
    .nav__list {
        display: none
    }

    .nav-toggle {
        display: block
    }

    .brand__name {
        font-size: 1rem
    }

    .hero__title {
        font-size: 1.9rem
    }

    .hero__mockup {
        min-height: 220px
    }
}