:root {
    --primary: #FF3B30;
    /* rojo CuiQly */
    --secondary: #FF5A3C;
    --accent: #FF7B54;
    --text-dark: #0F172A;
    --text-subtle: #475569;
    --bg: #ffffff;
    --bg-soft: #FFF5F5;
    --border: #E2E8F0;
    --radius-3xl: 24px;
    --radius-2xl: 16px;
    --radius-xl: 12px;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, .06);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, .12);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: #0F172A;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial
}

img {
    max-width: 100%;
}

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

button {
    font-family: inherit
}

/* Layout base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem
}

@media(min-width:768px) {
    .container {
        padding: 0 4rem
    }
}

@media(min-width:1200px) {
    .container {
        padding: 0 5rem
    }
}

/* Utilidades */
.rounded-3xl {
    border-radius: var(--radius-3xl)
}

.rounded-2xl {
    border-radius: var(--radius-2xl)
}

.rounded-xl {
    border-radius: var(--radius-xl)
}

.shadow-sm {
    box-shadow: var(--shadow-sm)
}

.shadow-xl {
    box-shadow: var(--shadow-xl)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    border-radius: 12px;
    padding: .9rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .06s ease
}

.btn:active {
    transform: scale(.98)
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--secondary))
}

.btn-outline {
    background: #fff;
    color: #000;
    border: 1px solid var(--border)
}

.btn:focus-visible {
    outline: 3px solid #0000;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, .35)
}

.btn-link {
    font-size: 0.85rem;
}

a.btn-link:hover {
    color: #fff !important
}

.grid {
    display: grid;
    gap: 2rem
}

.grid-2 {
    grid-template-columns: 1fr
}

@media(min-width:900px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr
    }
}

.grid-3 {
    grid-template-columns: 1fr
}

@media(min-width:900px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* Animaciones */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.show {
    opacity: 1;
    transform: translateY(0)
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none
    }

    .reveal.show {
        transition: none
    }

    .btn {
        transition: none
    }
}

/* HERO */
.hero {
    margin-top: 60px;
    position: relative;
    overflow: hidden
}

.blob {
    position: absolute;
    filter: blur(40px);
    opacity: .3;
    border-radius: 999px;
    pointer-events: none
}

.blob-1 {
    top: -120px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(60% 60% at 50% 50%, var(--primary), transparent)
}

.blob-2 {
    right: -160px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    background: radial-gradient(60% 60% at 50% 50%, var(--accent), transparent)
}

.hero-wrap {
    position: relative;
    padding: 5rem 0
}

@media(min-width:900px) {
    .hero-wrap {
        padding: 6rem 0
    }
}

/* Márgenes alineados con "Cómo funciona" en desktop */
.hero h1 {
    margin: 0;
    margin-left: 2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary);
    font-size: clamp(2.375rem, 4.5vw, 4rem);
    line-height: 1.08
}

.hero p {
    margin-top: 1rem;
    color: var(--text-subtle);
    font-size: clamp(1.125rem, 1.4vw, 1.25rem);
    margin-left: 2rem
}

@media(max-width:900px) {
    .hero h1 {
        text-align: center;
        margin: 0 1rem;
    }
    .hero p {
        text-align: center;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

.hero-ctas {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-left: 2rem
}

@media(max-width:900px) {
    .hero-ctas {
        justify-content: center;
        margin-left: 0;
    }
}

/* Phone Mock */
.phone {
    width: 320px;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: #fff;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: var(--shadow-xl)
}

.phone .topbar {
    height: 24px;
    background: #f3f4f6
}

.phone .search {
    padding: .75rem;
    border-bottom: 1px solid var(--border)
}

.skeleton {
    height: 32px;
    background: #f3f4f6;
    border-radius: 10px
}

.padded {
    padding: .75rem
}

.ad-banner {
    border-radius: 14px;
    color: #fff;
    text-align: center;
    padding: 1rem 1.25rem;
    background: var(--primary)
}

.ad-badge {
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: .1rem .4rem;
    font-size: .7rem;
    letter-spacing: .08em
}

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: .75rem
}

.tab-btn {
    font-size: .8rem;
    padding: .5rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f1f5f9;
    cursor: pointer
}

.tab-btn.active {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08)
}

.tab-panel {
    margin-top: .5rem
}

.card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12)
}

.c-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}


/* Secciones */
.section {
    padding: 4rem 0
}

@media(min-width:900px) {
    .section {
        padding: 5rem 0
    }
}

.soft {
    background: var(--bg-soft)
}

.section h3 {
    margin: 0 0 .5rem;
    color: var(--text-dark);
    font-weight: 800;
    font-size: clamp(1.95rem, 3vw, 2.6rem);
    text-align: center;
}

.section p {
    text-align: center;
}

@media(max-width:900px) {
    .section p {
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .bottom h3 {
        text-align: center;
    }
    .bottom .bottom-footer {
        justify-content: center;
    }
    .bottom-copyRight {
        text-align: center;
    }
}

.lead {
    color: var(--text-subtle);
    margin: .25rem 0 2rem;
    font-size: 1.125rem
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: linear-gradient(135deg, #ff3b3020, #ff7b5433);
    margin-bottom: 1rem
}

/* Cómo funciona */
.steps {
    display: grid;
    gap: 2rem
}

@media(min-width:900px) {
    .steps {
        grid-template-columns: repeat(4, 1fr)
    }
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #fff;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto 1rem;
    font-weight: 800
}

/* FAQ – tipografía corregida */
.faq-grid {
    display: grid;
    gap: 1.25rem
}

@media(min-width:900px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr
    }
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1.45
}

.faq-q strong {
    font-weight: 700
}

.faq-q:focus-visible {
    outline: 3px solid #0000;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, .35)
}

.faq-a {
    padding: 0 1.25rem;
    color: var(--text-subtle);
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
    font-size: 1.0625rem;
    line-height: 1.6
}

.faq-a.open {
    grid-template-rows: 1fr;
    padding-bottom: 1.25rem;
}

.faq-a>div {
    overflow: hidden
}

.chev {
    transform: rotate(0);
    transition: transform .25s ease
}

.chev.open {
    transform: rotate(180deg)
}

/* CTA */
.cta {
    position: relative;
    padding: 5rem 0;
    color: #fff;
    text-align: center
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .6), rgba(15, 23, 42, .6)),
        radial-gradient(60% 60% at 10% 10%, #ff3b3033, transparent),
        radial-gradient(60% 60% at 90% 90%, #ff7b5422, transparent);
    z-index: -1
}

/* Footer */
footer .top {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff
}

footer .bottom {
    background: #0B1220;
    color: #cbd5e1
}

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center
}

@media(max-width: 900px) {
    .footer-bar {
        margin-left: 2rem
    }
    .bottom>.container>.grid {
        margin-left: 0rem
    }
}

.bottom>.container>.grid {
        margin-left: 2rem
    }

/* util */
.text-center {
    text-align: center
}

.hidden {
    display: none
}

/* Button */
.button-base-register {
	display: inline-block;
	text-transform: none;
	font-weight: 500;
	background-color: #FF3108;
	padding: 10px 40px;
	font-size: 15px;
	color: #fff;
	border-radius: 5px;
	position: relative;
	z-index: 1;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;    
    height: 45px;
}
.button-base-register:hover{
    background-color: #F22E07;
	color: #fff;
}

.button-2-white {
	display: inline-block;
	text-transform: capitalize;
	background: #fff;    
	font-weight: 500;
	padding: 10px 40px;
	font-size: 15px;
	border-radius: 5px;
	color: #0B2B3C;
	position: relative;
	z-index: 1;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	border: 2px solid #eaeaea;    
    height: 45px;
    cursor: pointer;
}
.button-2-white::after {
	content: "";
	clear: both;
	display: block;
	position: absolute;
	width: 100%;
	height: 0%;
	background-color: #C6161E;
	border-radius: 5px;
	left: 0;
	z-index: -1;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	transform: scale(0);
	bottom: 0;
}
.button-2-white:hover::after{
	transform: scale(1.0);
	height: 100%;
}
.button-2-white:hover{
	color: #fff;
    -webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
    border-color: #fff;
}