* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--title-color);
}


.brand-logo {
    display: block;
    width: 52px;
    height: auto;
    object-fit: contain;
}


.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav a:hover {
    color: var(--excellent-color);
}

.nav-cta {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--primary-color);
    color: white !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 999px;
}

.hero {
    padding: 90px 0 80px;
    background:
        radial-gradient(circle at top left, rgba(211,47,47,.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(46,125,50,.16), transparent 35%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-weight: 900;
    color: var(--excellent-color);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

h1, h2, h3 {
    color: var(--title-color);
    line-height: 1.08;
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
    letter-spacing: -.06em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -.04em;
    margin-bottom: 18px;
}

h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-copy p,
.section-heading p,
.contact-card p {
    font-size: 19px;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    border: 0;
    cursor: pointer;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--bad-color), var(--excellent-color));
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--border-color);
}

.hero-panel {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,.9);
}

.satisfaction-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.face {
    height: 66px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 30px;
    color: white;
    box-shadow: var(--shadow-sm);
}

.very-bad { background: var(--very-bad-color); }
.bad { background: var(--bad-color); }
.neutral { background: var(--neutral-color); color: #3f3f46; }
.good { background: var(--good-color); }
.excellent { background: var(--excellent-color); }

.metric-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--primary-color);
    color: white;
    margin-bottom: 22px;
}

.metric-card span {
    display: block;
    opacity: .8;
}

.metric-card strong {
    display: block;
    font-size: 58px;
    line-height: 1;
    margin: 12px 0;
}

.metric-card small {
    color: #bbf7d0;
}

.mini-chart {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 12px;
}

.mini-chart span {
    flex: 1;
    border-radius: 14px 14px 4px 4px;
    background: var(--gradient-main);
}

.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--surface-alt-color);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.cards-grid,
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card,
.plan,
.step,
.contact-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.card {
    border-top: 5px solid var(--good-color);
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.sector-grid div {
    padding: 22px;
    border-radius: var(--radius-md);
    background: white;
    font-weight: 900;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    font-weight: 900;
    margin-bottom: 18px;
}

.plans-grid {
    grid-template-columns: repeat(3, 1fr);
}

.plan ul {
    margin: 22px 0;
    padding-left: 18px;
}

.plan li {
    margin-bottom: 8px;
}

.featured {
    border: 2px solid var(--excellent-color);
    transform: translateY(-10px);
}

.contact-section {
    background: var(--gradient-soft);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font: inherit;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.footer {
    padding: 28px 0;
    background: var(--primary-color);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

body {
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

main {
    width: 100%;
    overflow: hidden;
}

section {
    width: 100%;
}

.hero-grid,
.cards-grid,
.sector-grid,
.steps,
.plans-grid,
.contact-card {
    min-width: 0;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-panel {
        padding: 22px;
    }

    .satisfaction-scale {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }

    .face {
        height: 52px;
        font-size: 24px;
        border-radius: 14px;
    }
}

/* ==================================================
   HERO CON IMAGEN DEL DISPOSITIVO
================================================== */

.hero-visual {
    min-width: 0;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.hero-device-image {
    display: block;
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.hero-image-frame:hover .hero-device-image {
    transform: scale(1.025);
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(15, 23, 42, 0.28) 100%
        );
}

.hero-image-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 44px);
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--excellent-color);
    box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.16);
}

.hero-image-caption {
    margin-top: 16px;
    padding: 0 8px;
    color: var(--muted-text-color);
    font-size: 15px;
    line-height: 1.6;
}

/* ==================================================
   SECCIÓN DEL DISPOSITIVO
================================================== */

.product-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(251, 192, 45, 0.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 20%,
            rgba(46, 125, 50, 0.12),
            transparent 32%
        ),
        var(--surface-color);
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 70px;
}

.product-visual,
.product-copy {
    min-width: 0;
}

.product-image-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 560px;
    padding: 28px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(248, 250, 247, 0.94)
        );
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.product-image-card::before {
    content: "";
    position: absolute;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    background: var(--gradient-soft);
    filter: blur(20px);
}

.product-device-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 650px;
    max-height: 620px;
    object-fit: contain;
    filter: drop-shadow(0 28px 28px rgba(15, 23, 42, 0.22));
    transition:
        transform 0.55s ease,
        filter 0.55s ease;
}

.product-image-card:hover .product-device-image {
    transform: translateY(-8px) scale(1.015);
    filter: drop-shadow(0 36px 34px rgba(15, 23, 42, 0.28));
}

.product-copy > p {
    max-width: 660px;
    margin-bottom: 30px;
    font-size: 18px;
}

.product-features {
    display: grid;
    gap: 16px;
}

.product-features article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
}

.product-features article h3 {
    margin-bottom: 6px;
    font-size: 19px;
}

.product-features article p {
    font-size: 15px;
    color: var(--muted-text-color);
}

.feature-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 900;
}

.product-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 28px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.product-scale span {
    min-height: 50px;
    display: grid;
    place-items: center;
    padding: 8px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.scale-red {
    background: var(--very-bad-color);
}

.scale-orange {
    background: var(--bad-color);
}

.scale-yellow {
    background: var(--neutral-color);
    color: #3f3f46 !important;
}

.scale-light-green {
    background: var(--good-color);
}

.scale-green {
    background: var(--excellent-color);
}
