/* Estilos Independientes para Landing de Agente - Ariel Tarnogol */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;600;700;800&family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
    --primary-color: #ee5700;
    --dark-color: #1a1a1a;
    --dark-bg: #111111;
    --light-bg: #f7f7f7;
    --text-color: #444;
    --text-light: #fff;
    --text-muted: #a3a3a3;
    --border-color: #eee;
    --font-primary: 'Archivo', sans-serif;
    --font-condensed: 'Barlow Condensed', sans-serif;
}

/* Reset & Base Styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { font-size: 38px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--dark-color);
    text-decoration: none;
}

p {
    margin-bottom: 20px;
}

/* Layout Utilities */
.section-padd {
    padding: 100px 0;
}
.bg-alt {
    background-color: var(--light-bg);
}
.bg-blanco {
    background-color: #fff;
}
.text-light {
    color: var(--text-light) !important;
}
.text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light h6 {
    color: var(--text-light) !important;
}
.space-20 { height: 20px; }
.space-30 { height: 30px; }
.space-40 { height: 40px; }

/* Buttons */
.octf-btn {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    text-align: center;
}
.octf-btn-naranja {
    background-color: var(--primary-color);
    color: #fff !important;
}
.octf-btn-naranja:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}
.octf-btn-dark {
    background-color: var(--dark-color);
    color: #fff !important;
}
.octf-btn-dark:hover {
    background-color: transparent;
    color: var(--dark-color) !important;
    border-color: var(--dark-color);
}
.octf-btn-light {
    background-color: #fff;
    color: var(--dark-color) !important;
}
.octf-btn-light:hover {
    background-color: transparent;
    color: #fff !important;
    border-color: #fff;
}

/* Header & Navigation */
#site-header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: transparent;
    transition: all 0.3s ease;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#site-header.is-stuck {
    position: fixed;
    background-color: var(--dark-color) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-bottom: none;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo img {
    height: 45px;
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-navigation ul li {
    margin-left: 25px;
}
.main-navigation ul li a {
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 0.5px;
}
.main-navigation ul li a:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 110px 0;
    background-color: var(--dark-bg);
    position: relative;
    color: #fff;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(238, 87, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.badge-palermo {
    display: inline-block;
    background: rgba(238, 87, 0, 0.15);
    color: var(--primary-color);
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-left: 3px solid var(--primary-color);
}
.profile-wrapper {
    position: relative;
    display: inline-block;
}
.profile-wrapper img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 2;
}
.layer-behind {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.2;
    z-index: 1;
}

/* Headings with Dots style */
.ot-heading {
    position: relative;
}
.ot-heading span:first-child {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.ot-heading .main-heading {
    margin-bottom: 0;
}

/* Services */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.service-card .icon-box {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Process Timeline */
.timeline-step {
    position: relative;
    padding-bottom: 40px;
}
.timeline-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}
.timeline-step:last-child::before {
    display: none;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    z-index: 2;
    position: relative;
}
.step-content {
    padding-left: 60px;
    margin-top: -38px;
}
.step-content h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.number-stroke {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1;
    color: transparent !important;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.3);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-stars {
    color: #f1c40f;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Sobre Mí Grid */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}
.badge-item {
    background: var(--light-bg);
    padding: 15px 20px;
    border-left: 3px solid var(--primary-color);
}
.badge-item h6 {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 15px;
}
.badge-item p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.faq-accordion .faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}
.faq-accordion .faq-question:hover {
    color: var(--primary-color);
}
.faq-accordion .faq-question i {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.faq-accordion .faq-item.active .faq-question {
    color: var(--primary-color);
}
.faq-accordion .faq-item.active .faq-question i {
    transform: rotate(45deg);
}
.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #666;
    line-height: 1.7;
    margin-top: 0;
}
.faq-accordion .faq-item.active .faq-answer {
    max-height: 300px;
    margin-top: 15px;
}

/* Forms */
input[type=text],
input[type=email],
input[type=tel],
textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    outline: none;
    font-family: var(--font-primary);
    font-size: 14px;
    color: #ffffff;
    transition: border-bottom-color 0.3s ease;
    margin-bottom: 25px;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder,
textarea::placeholder {
    color: #aaaaaa;
    opacity: 0.8;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
    border-bottom-color: var(--primary-color);
}
textarea {
    height: 120px;
    resize: none;
}

/* Responsive Iframe Form Container */
.iframe-form-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    min-height: 750px;
}
.iframe-form-container iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}


/* Dark Scheme Box */
.dark-scheme {
    background-color: var(--dark-bg);
    color: var(--text-muted);
}
.dark-scheme input[type=text],
.dark-scheme input[type=email],
.dark-scheme input[type=tel],
.dark-scheme textarea {
    color: var(--text-light);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}
.dark-scheme input[type=text]:focus,
.dark-scheme input[type=email]:focus,
.dark-scheme input[type=tel]:focus,
.dark-scheme textarea:focus {
    border-bottom-color: var(--primary-color);
}

/* Footer bottom */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile responsive menu */
.menu-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 991px) {
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    
    .menu-toggle-btn {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-color);
        padding: 0 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        display: block !important;
    }
    .main-navigation.open {
        max-height: 400px;
        padding: 20px;
        opacity: 1;
    }
    .main-navigation ul {
        flex-direction: column;
    }
    .main-navigation ul li {
        margin: 10px 0;
    }
    .hero-section {
        padding: 100px 0 30px 0;
        text-align: center;
    }
    .hero-section .badge-palermo {
        margin-top: 20px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .hero-buttons .octf-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 !important;
    }
    .profile-wrapper {
        margin-top: 40px;
    }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 767px) {
    #site-header .octf-btn {
        padding: 8px 15px !important;
        font-size: 11px !important;
    }

    .section-padd {
        padding: 40px 0;
    }
    
    .space-40 {
        height: 20px;
    }
    
    .space-30 {
        height: 15px;
    }
    
    /* Center headings and text */
    .ot-heading {
        text-align: center;
        margin-bottom: 25px;
    }
    
    #sobre-mi {
        text-align: center;
    }
    
    #sobre-mi .profile-wrapper {
        margin-bottom: 30px;
    }
    
    .service-card {
        text-align: center;
    }
    
    /* Contact form and information adjustments */
    #contacto .contact-left {
        text-align: center;
        margin-bottom: 40px;
    }
    
    #contacto .wpcf7 .main-form {
        text-align: center;
    }
    
    .contact-right {
        text-align: center;
        padding: 40px 20px !important;
    }
    
    .contact-info {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-bottom: 25px !important;
    }
    
    .contact-info i {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    
    .list-social ul {
        justify-content: center !important;
    }
    
    /* Footer centering */
    .site-footer {
        text-align: center;
        padding: 40px 0 20px 0 !important;
    }
    
    .site-footer img {
        margin-bottom: 15px;
    }
    
    .site-footer .text-md-right {
        text-align: center !important;
        margin-top: 20px;
    }

    /* Form iframe mobile height */
    .iframe-form-container,
    .iframe-form-container iframe {
        min-height: 500px !important;
        height: 500px !important;
    }
}

@media (max-width: 575px) {
    .badge-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .timeline-step {
        padding-bottom: 30px;
    }
    
    .step-content {
        padding-left: 50px;
    }
}

/* Multistep Form Styling */
.tasacion-form-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.tasacion-progress-bar-wrapper {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.tasacion-progress-bar {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.tasacion-step-counter {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.tasacion-step {
    display: none;
}
.tasacion-step.active {
    display: block;
    animation: fadeInStep 0.4s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.step-subtitle {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.options-grid.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: rgba(238, 87, 0, 0.1);
    color: #fff;
}

.option-btn.selected {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(238, 87, 0, 0.4);
}

.option-btn-block {
    text-align: left;
    padding: 16px 22px;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.step-buttons button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .tasacion-form-card {
        padding: 25px 20px;
    }
    .options-grid.grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .step-title {
        font-size: 20px !important;
    }
}
