:root {
    --primary: #0094EA;
    --primary-hover: #007bc2;
    --text-dark: #222222;
    --text-gray: #575760;
    --bg-light: #f7f8f9;
    --white: #ffffff;
    --font-heading: 'Source Sans Pro', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.bg-gray {
    background-color: var(--bg-light);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 28px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    text-transform: uppercase;
}

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

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

.btn-large {
    padding: 10px 30px;
    font-size: 16px;
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

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

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

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

.btn-light-blue {
    background-color: #e6f4fd;
    color: var(--primary);
    gap: 8px;
}

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

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Header */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

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

.logo img {
    height: 50px;
}

/* Hero Section */
.hero {
    background-color: #f4f8fb;
    background-image: url('../img/nueva-landing-espejada-2-1.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 65%;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111111;
}

.hero-content h2 {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-family: var(--font-body);
}

.hero-content h2 strong {
    font-weight: 700;
    color: #000000;
}

.btn-rectangular {
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.hero-features {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}

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

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

.feature-item span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}


/* Section Titles */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* Qué ofrecemos */
.services {
    padding: 80px 0;
    background: #ffffff;
}

.services-wrapper {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: 1px solid #eef2f6;
    padding-right: 40px;
}

.service-col:last-child {
    border-right: none;
    padding-right: 0;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

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

.service-header h3 {
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
}

.service-col p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.link-blue {
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    color: var(--primary);
    margin-top: auto;
}

.services-actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-text {
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
}

/* Así te ayudamos (Tabs) */
.how-it-works {
    padding: 80px 0;
}

.tabs {
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline */
.timeline-wrapper {
    margin-bottom: 80px;
    padding: 0 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-track {
    position: relative;
    height: 4px;
    background: #eef2f6;
    border-radius: 2px;
    margin-top: 40px;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.5s ease-in-out;
}

.timeline-points {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.timeline-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.point-circle {
    width: 16px;
    height: 16px;
    background: #eef2f6;
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px #eef2f6;
    transition: all 0.3s ease;
}

.timeline-point.active .point-circle {
    background: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.point-label {
    position: absolute;
    top: 25px;
    font-size: 14px;
    font-weight: 700;
    color: #a0aec0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.timeline-point.active .point-label {
    color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.tab-inner img {
    width: 200px;
    border-radius: var(--border-radius);
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tab-text p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slides {
    position: relative;
    width: 100%;
}

.testimonial-card {
    display: none;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
    animation: fadeEffect 0.5s;
}

.testimonial-card.active {
    display: flex;
    align-items: center;
    gap: 40px;
}

.quote-bg {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
    color: #f0f4f8;
    z-index: 1;
}

.testimonial-text-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.testimonial-quote {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-style: italic;
    font-weight: 500;
}

.testimonial-author {
    font-size: 14px;
    color: #a0aec0;
    line-height: 1.4;
}

.testimonial-author b {
    color: #111;
    /* black as per screenshot */
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
}

.testimonial-image-container {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.testimonial-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #89b3d1;
}

/* Nav controls */
.testimonial-nav-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}



.nav-dots {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-dot {
    width: 24px;
    height: 24px;
    background: #f4f6f8;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: #0088cc;
    /* bright blue */
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #89b3d1;
    /* outer ring effect */
}

/* Why choose us */
.why-choose-us {
    padding-top: 80px;
}

.why-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-image,
.why-content {
    flex: 1;
}

.why-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-item.active .accordion-header {
    color: var(--primary);
}

.accordion-body {
    padding: 0 20px 20px;
    color: var(--text-gray);
    font-size: 15px;
}

/* Testimonials */


/* Turnitin Banner */
.turnitin-banner {
    padding: 80px 0;
}

.turnitin-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EBF2FA;
    padding: 0 0 0 80px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Esto redondea la esquina inferior derecha de la imagen sin cortar por arriba */
}

.turnitin-content {
    max-width: 50%;
    padding: 80px 40px 80px 0;
}

.turnitin-content h3 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #111;
    font-weight: 800;
}

.turnitin-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.6;
}

.turnitin-image {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    align-self: flex-end;
}

.turnitin-image img {
    display: block;
    max-width: 650px;
    margin-bottom: -80px;
    margin-right: -80px;
}

/* Contact Form Section */
.contact-form-section {
    position: relative;
    background-color: var(--white);
    padding: 100px 0 80px;
}

.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-top .shape-fill {
    fill: var(--white);
}

.form-inner {
    max-width: 900px;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    /* Sombra para que resalte en el fondo blanco */
    margin: 0 auto;
}

.form-header h2,
.form-header p {
    color: #006699;
}

.form-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 800;
}

.form-header p {
    font-size: 18px;
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

.form-col-full {
    flex: 100%;
}

/* Floating labels CSS */
.floating-input {
    position: relative;
}

.budget-form input,
.budget-form select,
.budget-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: box-shadow 0.3s, border-color 0.3s;
    outline: none;
}

.floating-input label {
    position: absolute;
    top: 16px;
    left: 15px;
    padding: 0 5px;
    font-size: 15px;
    color: var(--text-gray);
    transition: all 0.2s ease-out;
    pointer-events: none;
    /* Para que los clicks pasen al input */
    background: transparent;
}

.floating-input .iti~label {
    left: 50px;
}

/* Cuando el input tiene foco, o cuando NO está mostrando el placeholder (o sea, tiene texto) */
.floating-input input:focus+label,
.floating-input input:not(:placeholder-shown)+label,
.floating-input textarea:focus+label,
.floating-input textarea:not(:placeholder-shown)+label,
.floating-input select:focus+label,
.floating-input select:valid+label,
.floating-input .iti:focus-within~label,
.floating-input .iti:has(input:not(:placeholder-shown))~label {
    top: -8px;
    font-size: 12px;
    left: 15px;
    color: var(--primary);
    background: var(--white);
}

.budget-form select {
    color: var(--primary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.budget-form input:focus,
.budget-form select:focus,
.budget-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 136, 204, 0.2);
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.legal-text {
    font-size: 18px;
    color: #333;
}

.legal-text a {
    color: var(--primary);
    text-decoration: none;
}

.btn-submit {
    background: transparent;
    color: #444;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 35px;
    border: 2px solid #444;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-submit:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

.btn-submit:not(:disabled):hover {
    background: #444;
    color: white;
}

/* Switch styling */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

/* intl-tel-input fix */
.iti {
    width: 100%;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d0d0d0;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
    .hero {
        height: auto;
        padding: 120px 0 60px;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-col {
        border-right: none;
        border-bottom: 1px solid #eef2f6;
        padding-right: 0;
        padding-bottom: 40px;
    }

    .service-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-inner,
    .why-inner,
    .turnitin-inner,
    .tab-inner,
    .testimonial-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .accordion-header {
        text-align: left;
    }

    .turnitin-inner {
        padding: 40px 20px 0;
    }

    .turnitin-content {
        max-width: 100%;
        padding: 0 0 40px;
    }

    .turnitin-image img {
        margin: 0;
        max-width: 100%;
    }

    .testimonial-card.active {
        flex-direction: column-reverse;
        gap: 20px;
        padding: 40px 20px;
    }

    .testimonial-img {
        width: 120px;
        height: 120px;
    }

    .quote-bg {
        width: 120px;
        height: 120px;
        top: 10px;
        right: 10px;
    }
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.copyright {
    font-size: 14px;
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 20px 0;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row.form-footer {
        flex-direction: row;
        align-items: flex-start;
    }

    .form-inner {
        padding: 30px 20px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .point-label {
        font-size: 10px;
        letter-spacing: -0.5px;
        white-space: normal;
        width: 70px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        line-height: 1.2;
    }

    .timeline-wrapper {
        padding: 0 10px;
    }

    .hero {
        padding: 60px 0 300px;
        background-image: url('../img/img_movil-.webp');
        background-size: cover;
        background-position: bottom center;
        background-color: #f4f8fb;
    }

    .tab-inner img {
        display: none;
    }

    .why-image {
        display: none;
    }

    .section-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .nav-dot {
        width: 15px;
        height: 15px;
    }

    .nav-dot.active {
        height: 20px;
        width: 20px;
    }


}