/* Colores Corporativos */
:root {
    --color-corporate: #0F172A;
    --color-action: #2563EB;
    --color-secondary: #64748B;
    --color-bglight: #F8FAFC;
}

/* Utility class in use */
.hh-bg-corporate {
    background-color: var(--color-corporate);
}

/* ============================================
   FULL-WIDTH BREAKOUT - All shortcode sections
   Forces sections to span full browser width
   ============================================ */
section[class*="hh-"] {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
}

/* HERO SECTION */
.hh-hero-section {
    position: relative;
    background-color: var(--color-corporate);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.hh-hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.hh-hero-glow-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background-color: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(50%, -50%);
}

.hh-hero-glow-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: rgba(30, 58, 138, 0.3);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(-33%, 50%);
}

.hh-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hh-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hh-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile hero adjustments - reduce vertical space */
@media (max-width: 767px) {
    .hh-hero-section {
        min-height: auto;
        padding: 4rem 0 2.5rem 0;
    }

    .hh-hero-grid {
        gap: 2rem;
    }

    .hh-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hh-hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Hide visual card on mobile for cleaner look */
    .hh-visual-container {
        display: none;
    }
}

.hh-hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #BFDBFE;
    font-size: 0.75rem;
    font-family: monospace;
    margin-bottom: 1.5rem;
}

.hh-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hh-hero-title {
        font-size: 3.75rem;
    }
}

.hh-text-gradient {
    background: linear-gradient(to right, #60A5FA, #2563EB);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hh-hero-desc {
    font-size: 1.125rem;
    color: #D1D5DB;
    margin-bottom: 2rem;
    line-height: 1.6;
    border-left: 4px solid var(--color-action);
    padding-left: 1.5rem;
    max-width: 32rem;
}

.hh-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.hh-btn-primary {
    background-color: var(--color-action);
    color: white;
}

.hh-btn-primary:hover {
    background-color: #1D4ED8;
}

.hh-btn-outline {
    background-color: transparent;
    border: 1px solid #4B5563;
    color: #D1D5DB;
}

.hh-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: white;
    color: white;
}

/* Glass Card */
.hh-glass-card {
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(1deg);
    transition: transform 0.5s;
}

.hh-glass-card:hover {
    transform: rotate(0deg);
}

.hh-code-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

/* Visual Container Visibility Fix */
.hh-visual-container {
    position: relative;
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 1024px) {
    .hh-visual-container {
        display: block;
    }
}

/* PROFILE BENTO GRID */
.hh-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hh-bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hh-bento-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #F3F4F6;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.hh-bento-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hh-bento-span-2 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .hh-bento-span-2 {
        grid-column: span 2;
    }
}

.hh-bento-row-span-2 {
    grid-row: span 1;
}

@media (min-width: 768px) {
    .hh-bento-row-span-2 {
        grid-row: span 2;
    }
}

/* Force vertical layout on tech stack */
#hh-tech-stack {
    display: flex !important;
    flex-direction: column !important;
}

#hh-tech-stack>div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.hh-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #F9FAFB;
    color: #4B5563;
    font-size: 0.75rem;
    font-family: monospace;
    border-radius: 0.25rem;
    border: 1px solid #E5E7EB;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* SERVICES SECTION (NEW) */
.hh-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hh-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hh-service-card {
    position: relative;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #F3F4F6;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.hh-service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.hh-service-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-corporate), var(--color-action));
    opacity: 0;
    transition: opacity 0.3s;
}

.hh-service-card:hover .hh-service-accent-line {
    opacity: 1;
}

.hh-service-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #F9FAFB;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-corporate);
    transition: all 0.3s;
}

.hh-service-card:hover .hh-service-icon-box {
    transform: scale(1.1);
}

/* Accent Colors per card type */
.hh-card-accent-purple:hover .hh-service-icon-box {
    color: #9333ea;
    background-color: #faf5ff;
}

.hh-card-accent-blue:hover .hh-service-icon-box {
    color: #2563eb;
    background-color: #eff6ff;
}

.hh-card-accent-orange:hover .hh-service-icon-box {
    color: #ea580c;
    background-color: #fff7ed;
}

/* SOCIAL PROOF (NEW) */
.hh-social-proof {
    background-color: var(--color-corporate);
    border-top: 1px solid #1f2937;
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.hh-social-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 100%;
}

/* CONTACT SECTION */
.hh-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .hh-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hh-contact-left {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hh-contact-right {
    background-color: #111827;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid #1f2937;
}

@media (min-width: 1024px) {
    .hh-contact-right {
        border-top: 0;
        border-left: 1px solid #1f2937;
    }
}