/*
 * undresserES.pw - Estilos principales
 * Diseño único para audiencia española
 */

:root {
    --primary: #FF9500;
    --secondary: #FF5D00;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --dark: #222222;
    --gray-dark: #444444;
    --gray: #777777;
    --gray-light: #F6F6F6;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Estilos Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Rubik', sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 15px;
}

.accent {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light::before {
    background: rgba(255, 255, 255, 0.9);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo-text span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at top right, rgba(255, 149, 0, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.accent-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary);
    opacity: 0.1;
    transform: rotate(45deg);
    top: -30px;
    left: -30px;
    z-index: -1;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--gray-light);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 149, 0, 0.1);
    color: var(--primary);
}

.benefit-icon {
    width: 40px;
    height: 40px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Process Section */
.process {
    padding: 100px 0;
    position: relative;
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 60px 0;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.step-icon-container {
    width: 80px;
    height: 80px;
    margin: 15px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.step-icon {
    width: 60px;
    height: 60px;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.step-connector {
    flex-grow: 0;
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient);
    margin-top: 120px;
    position: relative;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.cta-container {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--gray-light);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Call to Action */
.call-to-action {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.footer-logo-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-logo-text h3 span {
    color: var(--primary);
}

.footer-logo-text p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-nav-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav-column a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 30px;
    }
    
    .accent-shape {
        display: none;
    }
    
    .feature-list {
        justify-content: center;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        max-width: 80%;
        margin-bottom: 40px;
    }
    
    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0 auto;
    }
    
    .step-connector::before {
        right: 50%;
        bottom: 0;
        top: auto;
        transform: translate(50%, 50%) rotate(135deg);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand {
        margin-bottom: 40px;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-nav {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        padding: 0;
        box-shadow: var(--shadow);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-nav.active {
        height: auto;
        padding: 30px 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-nav-column {
        text-align: center;
        width: 100%;
    }
    
    .footer-nav-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .call-to-action {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer p {
        padding: 0 15px 15px;
    }
}
