/*
Theme Name: Hule SaaS Theme
Theme URI: https://hulepro.com
Author: Hule Team
Author URI: https://hulepro.com
Description: Theme corporativo de Hule orientado a SaaS para negocios locales.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: hule-saas-theme
*/

:root {
    --hule-primary: #e67e22;
    --hule-primary-h: #d35400;
    --hule-bg: #f6f8f9;
    --hule-text: #1a1a2e;
    --hule-muted: #646970;
    --hule-surface: #ffffff;
    --hule-border: #e2e8f0;
    --hule-shadow: 0 20px 60px rgba(230, 126, 34, 0.12), 0 4px 20px rgba(0, 0, 0, 0.08);
    --hule-radius: 18px;
    --hule-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--hule-bg);
    color: var(--hule-text);
    font-family: var(--hule-font);
}

a {
    color: var(--hule-primary);
}

.hule-site-header {
    background: #fff;
    border-bottom: 1px solid var(--hule-border);
    position: sticky;
    top: 0;
    z-index: 30;
}

.hule-wrap {
    width: min(1200px, 94vw);
    margin: 0 auto;
}

.hule-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hule-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--hule-text);
    font-weight: 800;
}

.hule-brand-link img {
    height: 32px;
    width: auto;
    display: block;
}

.hule-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hule-nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.hule-nav a,
.hule-nav-fallback {
    text-decoration: none;
    color: #25304a;
    font-weight: 600;
}

.hule-main {
    padding: 28px 0 64px;
}

.hule-hero-video {
    position: relative;
    width: min(1200px, 95vw);
    margin: 0 auto 28px;
    border-radius: var(--hule-radius);
    overflow: hidden;
    background: #111;
    box-shadow: var(--hule-shadow);
    font-family: var(--hule-font);
}

.hule-hero-video__media-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 340px;
    background: linear-gradient(140deg, #1a1a2e 0%, #27314f 65%, #2f3d5d 100%);
}

.hule-hero-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hule-hero-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.72) 100%);
}

.hule-hero-video__brand {
    position: absolute;
    top: clamp(14px, 2.5vw, 22px);
    left: clamp(14px, 2.5vw, 22px);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.hule-hero-video__brand img {
    display: block;
    width: auto;
    height: clamp(30px, 4vw, 42px);
}

.hule-hero-video__content {
    position: absolute;
    left: clamp(18px, 4vw, 40px);
    right: clamp(18px, 4vw, 40px);
    bottom: clamp(20px, 4vw, 34px);
    color: #fff;
    z-index: 2;
    max-width: 720px;
}

.hule-hero-video__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(230, 126, 34, 0.2);
    border: 1px solid rgba(230, 126, 34, 0.65);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.hule-hero-video__title {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
}

.hule-hero-video__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.45;
    font-weight: 500;
}

.hule-hero-video__ctas {
    position: absolute;
    top: clamp(16px, 3vw, 26px);
    right: clamp(16px, 3vw, 26px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hule-hero-video__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 18px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: 0.2s ease;
    white-space: nowrap;
}

.hule-hero-video__cta-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.hule-hero-video__cta--primary {
    background: var(--hule-primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.45);
}

.hule-hero-video__cta--primary:hover,
.hule-hero-video__cta--primary:focus-visible {
    background: var(--hule-primary-h);
    transform: translateY(-1px);
}

.hule-hero-video__cta--secondary {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
}

.hule-hero-video__cta--secondary:hover,
.hule-hero-video__cta--secondary:focus-visible {
    background: #fff;
    transform: translateY(-1px);
}

.hule-card-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hule-card {
    background: var(--hule-surface);
    border: 1px solid var(--hule-border);
    border-radius: var(--hule-radius);
    box-shadow: var(--hule-shadow);
    padding: 20px;
}

.hule-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.hule-card p {
    margin: 0;
    color: var(--hule-muted);
}

.hule-site-footer {
    margin-top: 40px;
    background: #111827;
    color: #d1d5db;
    padding: 24px 0;
}

@media (max-width: 900px) {
    .hule-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hule-hero-video__media-wrap {
        aspect-ratio: 9 / 16;
        min-height: 520px;
    }

    .hule-hero-video__ctas {
        left: 14px;
        right: 14px;
        top: auto;
        bottom: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hule-hero-video__content {
        bottom: 116px;
    }

    .hule-hero-video__brand img {
        height: 30px;
    }

    .hule-hero-video__cta {
        flex: 1 1 180px;
        min-height: 48px;
    }
}
