@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --primary-red: #E61A2D;
    /* Vibrant Red */
    --primary-red-hover: #C51525;
    --text-black: #0F0F0F;
    /* Deep Black for headings */
    --text-muted: #5A5A5A;
    /* Dark gray for body text */
    --bg-white: #FFFFFF;
    --bg-off-white: #F8F9FA;
    --bg-dark: #121212;
    --border-color: #EEEEEE;

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-pill: 9999px;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(230, 26, 45, 0.15);
    /* Red tinted shadow */

    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
    /* Scaled down base size */
}

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

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-muted);
    background-color: var(--bg-white);
    line-height: 1.7;
    /* Increased for better breathing room */
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        /* Reduced padding on mobile so content isn't squished */
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-black);
    font-weight: 700;
    /* Softened from 800 */
    line-height: 1.2;
    /* Slightly softer than 1.1 for multi-line flow */
    letter-spacing: -0.02em;
    /* Adjusted for Poppins */
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    /* Slightly more fluid jump */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    gap: 8px;
}

.btn-dark {
    background-color: var(--text-black);
    color: var(--bg-white);
}

.btn-dark:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(230, 26, 45, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(230, 26, 45, 0.3);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Ensure it stays above everything */
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 12px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-black);
    letter-spacing: -0.02em;
}

.logo i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0);
    /* Turns the logo black */
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-black);
    font-size: 0.95rem;
    /* Slightly larger for readability */
    font-weight: 500;
    /* Slightly softer font weight for a friendly look */
    text-transform: capitalize;
    /* Sentence case / Title case */
    letter-spacing: normal;
    /* Remove the hard tracking for a friendlier look */
}

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

/* Base Sections */
section {
    padding: 70px 0;
    /* More white space for desktop */
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
        /* Less white space for mobile */
    }
}

/* 1. Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 0 !important;
    /* Forces person image to sit flush on the bottom edge */
    background-color: #f9f9f9;
    /* Subtle dot pattern for texture */
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: visible;
    /* Changed from hidden so stats bar can overlap */
    z-index: 1;
    /* Keep it above partner section */
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

/* Decorative red accent removed to keep the SaaS look clean */

.hero-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    /* Lowered so person over overlaps */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    text-align: center !important;
    /* Center all text */
    margin-bottom: 0;
    /* Reduced gap so person slides up naturally */
}

.hero-content h1 {
    white-space: nowrap;
    /* Prevent line break */
    font-size: 4.8rem;
    /* Slightly adjust sizing to match the wide reference */
}

/* Quote Search Bar (Replaces Hero Action Buttons) */
.quote-search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    padding: 8px 8px 8px 24px;
    /* Slightly less tall padding */
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    gap: 16px;
    max-width: 450px;
    /* Alargado como en el recorte enviado */
    width: 100%;
    margin: 32px auto 0;
    /* Centered */
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.quote-search-bar:focus-within {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.quote-input-container {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 0;
    /* Removing extra internal padding */
    min-width: 0;
    /* Ensures the input can fully text-overflow if needed */

}

.quote-input-container .emoji {
    font-size: 1.5rem;
    /* Bigger emoji */
    margin-right: 12px;
}

.quote-input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 0;
    /* Prevent input from pushing layout out */
    font-size: 1.05rem;
    /* Slightly smaller text for elegance */
    font-weight: 500;
    color: var(--text-black);
    background: transparent;
    font-family: 'Poppins', sans-serif;
}

.quote-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.quote-submit-btn {
    background: var(--text-black);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-pill);
    padding: 0 40px;
    height: 52px;
    /* Less tall, more elegant */
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-submit-btn:hover {
    background: var(--primary-red);
    box-shadow: 0 8px 16px rgba(230, 26, 45, 0.25);
    transform: translateY(-2px);
}

.badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    /* Slightly adjusted to fit better */
    margin: 0 auto 32px auto;
    /* Centered h1 horizontally */
    line-height: 1.15;
    max-width: 100%;
    /* Constrain slightly to force a natural 2-line break if needed, rather than 3 */
}

/* Typewriter Effect */
.typewriter-wrapper {
    position: relative;
    display: inline-block;
    color: var(--primary-red);
}

.typewriter-placeholder {
    visibility: hidden;
    padding-right: 0.08em;
    /* Ensures wrapper gives enough space for cursor */
}

.typewriter-text {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.08em solid var(--primary-red);
    /* The cursor */
    animation:
        typing 1.2s steps(6, end) forwards,
        blink-caret 0.8s step-end infinite;
    animation-delay: 0.3s;
    /* slight delay before typing starts */
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-red);
    }
}

.hero-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Completely removed the linear-gradient overlay to ensure the original image is 100% sharp and clear as requested */
.hero-image::after {
    display: none;
}

/* Stats Section */
.stats-section {
    background-color: #ffffff;
    padding: 60px 0;
    margin: 0;
    position: relative;
    z-index: 5;
}

.stats-section .container {
    background-color: transparent !important;
}

/* Stats Header Above Cards */
.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 40px;
}

.stats-title-area {
    flex: 1.2;
}

.stats-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.1em;

    margin-bottom: 12px;
}

.stats-title-area h2 {
    font-size: 2.6rem;
    font-weight: 950;
    color: var(--text-black);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.03em;

}

.stats-description-area {
    flex: 1;
    max-width: 500px;
}

.stats-description-area p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Stats Counter - 3 Card Grid Design */
.stats-bar-wrapper {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.hero-person {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
    /* Removed negative bottom margin since nothing overlaps anymore */
    z-index: 2;
    /* Made higher than the hero content */
    display: flex;
    justify-content: center;
    position: relative;
    pointer-events: none;
    /* Allows user to click through the hair/head if it blocks the input */
}

.hero-person img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 2;
    /* Ensure person is behind overlapping components if needed, or mostly above the background */
}

/* Floating Images in Hero */
.hero-floating-left {
    position: absolute;
    top: 10%;
    left: -25%;
    /* Hangs off the left side */
    width: 300px;
    z-index: 1;
    /* Behind the person */
    pointer-events: none;
    animation: floatImage 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.hero-floating-right {
    position: absolute;
    top: 20%;
    right: -15%;
    width: 220px;
    z-index: 1;
    /* Behind the person */
    pointer-events: none;
    animation: floatImage 7s ease-in-out infinite alternate-reverse;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.stat-card {
    border-radius: 28px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    min-height: 310px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.stat-card:hover {
    transform: translateY(-8px);
}

/* Apple-style avatar wrapper */
.stat-avatar-wrapper {
    width: 115px !important;
    height: 115px !important;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.stat-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
}

/* Individual Stats Avatars adjustments (CSS-adjustable size & position) */
.stat-avatar-wrapper.avatar-envios img {
    transform: scale(1.65);
}

.stat-avatar-wrapper.avatar-vuelos img {
    transform: scale(1.5);
}

.stat-avatar-wrapper.avatar-experiencia img {
    transform: scale(1.25);
    /* Improved size to make this specific avatar larger */
}

/* Card Variations */
.stat-card.wide-card {
    background: #e61a2d;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(230, 26, 45, 0.18);
}

.stat-card.black-card {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.stat-card.light-card {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

/* Typography styles inside card */
.stat-main-content {
    width: 100%;
}

.stat-value {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-family: inherit;
}

.stat-card.wide-card .stat-value {
    color: #ffffff;
}

.stat-card.black-card .stat-value {
    color: #ffffff;
}

.stat-card.light-card .stat-value {
    color: #000000;
}

.stat-unit {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.stat-card.wide-card .stat-unit {
    color: rgba(255, 255, 255, 0.95);
}

.stat-card.black-card .stat-unit {
    color: rgba(255, 255, 255, 0.95);
}

.stat-card.light-card .stat-unit {
    color: #475569;
}

.stat-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

.stat-card.wide-card .stat-desc {
    color: rgba(255, 255, 255, 0.85);
}

.stat-card.black-card .stat-desc {
    color: rgba(255, 255, 255, 0.85);
}

.stat-card.light-card .stat-desc {
    color: #475569;
}

/* Trusted Partners & Social Links */
.partners {
    padding: 40px 0 30px;
    /* Added more top padding since it's no longer right below hero */
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.partners .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.social-follow {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    padding: 6px 16px 6px 24px;
    /* Pill shape padding */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.social-follow span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-black);
    font-size: 1.05rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-red);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 26, 45, 0.2);
}

/* Store Carousel Overlay */
.store-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.store-carousel {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: scroll-carousel 25s linear infinite;
}

.store-carousel img {
    height: 45px;
    /* Manageable consistent height (slightly enlarged as requested) */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    /* Match the original design's muted tone */
    transition: var(--transition);
}

.store-carousel img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move exactly half the width to seamlessly loop */
        transform: translateX(calc(-50% - 25px));
    }
}

/* Logistics Process Steps */
.process-section {
    padding: 40px 0 50px 0;
    /* Reduced top padding since stats bar isn't overlapping anymore */
    background-color: var(--bg-white);
    text-align: center;
}

.process-header {
    margin-bottom: 180px;
    /* Space for the tallest overlapping image */
}

.process-header h2 {
    font-size: 2.8rem;
    color: var(--text-black);
    margin-bottom: 15px;
    font-weight: 800;
}

.process-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.img-laptop {
    max-width: 80%;
    margin-top: -70px;
    /* Pulls it up out of the card */
    margin-bottom: 10px;
    align-self: center;
    position: relative;
    z-index: 2;
}

.img-casillero {
    max-width: 110%;
    /* Make warehouse slightly wider/bigger */
    margin-top: -85px;
    /* Pull it up significantly */
    margin-bottom: 15px;
    align-self: center;
    position: relative;
    z-index: 2;
}

.img-delivery {
    max-width: 55%;
    margin-top: -110px;
    /* Pulls him up clearly overlapping the white card */
    margin-bottom: 5px;
    align-self: center;
    position: relative;
    z-index: 2;
}

.process-grid {
    padding-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-end;
    /* Align cards at their bottoms */
}

.process-card {
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    text-align: left;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.light-card {
    background-color: #f8f9fa;
    /* Very light, soft gray */
}

.dark-card {
    background-color: #0d0d0d;
    /* Very deep dark */
    color: var(--bg-white);
    min-height: 380px;
    /* Make the middle card taller */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-img-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-65%);
    /* Pull image up and out covering the top edge */
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    z-index: 2;
}

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

/* Specific sizing to guarantee overlapping scale matches reference */
.lap-img {
    max-width: 125%;
    transform: translateY(20px);
}

.warehouse-img {
    max-width: 135%;
    transform: translateY(-20px);
}

.delivery-img {
    max-width: 120%;
    transform: translateY(-30px);
}

.process-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally like the reference */
    text-align: center;
    position: relative;
    z-index: 3;
}

.process-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.dark-icon {
    background: rgba(255, 255, 255, 0.1);
    /* Subtle white glass on black back */
    box-shadow: none;
}

.process-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-black);
    font-weight: 800;
}

.dark-card h3 {
    color: var(--bg-white);
}

.process-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.saber-mas {
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.saber-mas i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.saber-mas:hover {
    color: var(--primary-red);
}

.saber-mas:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 150px;
        /* Big gap to accommodate overlapping images stacking on mobile */
        margin-top: 120px;
    }

    .process-header {
        margin-bottom: 50px;
    }
}

/* Tracking Section */
.tracking-section {
    background-color: var(--text-black);
    color: var(--bg-white);
    padding: 50px 0;
    margin: 20px 0 0 0;
}

.tracking-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tracking-text {
    flex: 1;
    min-width: 300px;
}

.tracking-text h2 {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.tracking-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
    max-width: 500px;
}

.tracking-form {
    display: flex;
    gap: 16px;
    flex: 1;
    min-width: 350px;
}

.tracking-input-wrapper {
    position: relative;
    flex: 1;
}

.tracking-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tracking-input-wrapper input {
    width: 100%;
    height: 60px;
    border-radius: var(--radius-pill);
    border: none;
    padding: 0 24px 0 54px;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    color: var(--text-black);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.tracking-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.tracking-input-wrapper input:focus {
    box-shadow: 0 0 0 3px rgba(230, 26, 45, 0.3);
}

.tracking-btn {
    height: 60px;
    padding: 0 36px;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: var(--radius-pill);
    background-color: var(--primary-red);
    color: var(--bg-white);
    border: none;
    box-shadow: 0 8px 15px rgba(230, 26, 45, 0.3);
    transition: var(--transition);
}

.tracking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(230, 26, 45, 0.4);
    background-color: #d11226;
    /* Slightly darker red on hover */
}

@media (max-width: 900px) {
    .tracking-content {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .tracking-text p {
        margin: 0 auto;
    }

    .tracking-form {
        flex-direction: column;
        width: 100%;
    }

    .tracking-btn {
        width: 100%;
    }
}

/* Tracking Results Timeline */
.tracking-results {
    width: 100%;
    margin-top: 40px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.tracking-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.tracking-status-header h3 {
    color: #0f172a;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tracking-status-header h3 span {
    color: var(--primary-red);
    font-weight: 900;
}

.status-badge {
    background: rgba(46, 204, 113, 0.12);
    color: #27ae60;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.25);
}

.tracking-timeline {
    position: relative;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 35px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 25px;
    /* Center of the marker (10px left + 16px half-width - 1px border) */
    top: 32px;
    /* Start right below the circle */
    height: calc(100% + 35px - 32px);
    /* Calculate exact height to reach the next marker */
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

/* Make the line glow red for completed steps to show the path traveled */
.timeline-item.completed::before {
    background: var(--primary-red);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    z-index: 2;
    transition: var(--transition);
}

.timeline-content {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: var(--transition);
}

.timeline-content h4 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-completed {
    background: rgba(230, 26, 45, 0.08);
    color: var(--primary-red);
}

.badge-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-pending {
    background: #f1f5f9;
    color: #64748b;
}

.timeline-content p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 700;
    background: rgba(230, 26, 45, 0.06);
    padding: 4px 12px;
    border-radius: 6px;
}

/* Timeline States */
.timeline-item.completed .timeline-marker {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
}

.timeline-item.active .timeline-marker {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(230, 26, 45, 0.15);
}

.timeline-item.active .timeline-content {
    border-color: rgba(230, 26, 45, 0.3);
    background: rgba(230, 26, 45, 0.015);
}

.timeline-item.pending-step .timeline-marker {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.timeline-item.pending-step .timeline-content {
    background: #fafafa;
    border-color: #f1f5f9;
}

.timeline-item.pending-step .timeline-content h4,
.timeline-item.pending-step .timeline-content p {
    color: #94a3b8;
}

.timeline-item.pending-step .timeline-date {
    background: #f1f5f9;
    color: #64748b;
}

/* API Specific Styles */
.tracking-api-data {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.api-info-badge {
    background: #ffffff;
    color: #475569;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.api-info-badge strong {
    color: #0f172a;
}

.api-info-badge i {
    color: var(--primary-red);
}

.api-channel-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.api-channel-badge.verde {
    background: rgba(46, 204, 113, 0.08);
    color: #27ae60;
    border-color: rgba(46, 204, 113, 0.2);
}

.api-channel-badge.rojo {
    background: rgba(230, 26, 45, 0.08);
    color: var(--primary-red);
    border-color: rgba(230, 26, 45, 0.2);
}

.photo-btn {
    background: rgba(230, 26, 45, 0.06);
    color: var(--primary-red);
    border: 1px solid rgba(230, 26, 45, 0.25);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.photo-btn i {
    color: var(--primary-red);
}

.photo-btn:hover {
    background: rgba(230, 26, 45, 0.12);
    border-color: var(--primary-red);
    transform: translateY(-1px);
}

/* Custom pending active classes to clean inline HTML styles */
.tracking-results .pending-active-marker {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: #f59e0b !important;
    color: #d97706 !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15) !important;
}

.tracking-results .pending-active-content {
    border-color: rgba(245, 158, 11, 0.25) !important;
    background: rgba(245, 158, 11, 0.015) !important;
}

.tracking-results .pending-active-date {
    color: #d97706 !important;
    background: rgba(245, 158, 11, 0.08) !important;
}

/* Responsive fixes for tracking results */
@media (max-width: 576px) {
    .tracking-results {
        padding: 25px 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 15px;
    }

    .timeline-marker {
        left: 0;
    }
}

/* Tracking Error / Not Found */
.tracking-not-found {
    text-align: center;
    padding: 40px 20px;
}

.tracking-not-found .error-icon {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    display: inline-block;
}

.tracking-not-found h4 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.tracking-not-found p {
    color: #475569;
    max-width: 400px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Photo Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    /* Dark semi-transparent background */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-modal.show {
    display: block;
    opacity: 1;
}

.photo-modal-content {
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.photo-modal.show .photo-modal-content {
    transform: translateY(0);
}

.photo-modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.photo-modal-header.centered-header {
    display: flex;
    justify-content: center;
    border-bottom: none;
    padding-bottom: 0;
}

.camera-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Icono circular como solicitado */
    background: rgba(230, 26, 45, 0.1);
    border: 1px solid rgba(230, 26, 45, 0.5);
    /* Bordeline rojo igual al botón ver fotos */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.5rem;
}

.photo-modal-close {
    color: var(--text-muted);
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1060;
}

.photo-modal-close:hover {
    color: var(--primary-red);
}

.photo-carousel-3d {
    position: relative;
    width: 100%;
    height: 400px;
    /* Fixed height for 3D perspective */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    /* Creates the 3D space */
    overflow: hidden;
}

.carousel-3d-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.carousel-3d-track {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-3d-slide {
    position: absolute;
    width: 60%;
    height: 80%;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s ease;
    opacity: 0;
    /* Hidden by default */
    z-index: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-3d-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* 3D States */
.carousel-3d-slide.active {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.carousel-3d-slide.prev {
    transform: translateX(-40%) scale(0.8) translateZ(-100px) rotateY(25deg);
    opacity: 0.8;
    z-index: 5;
    cursor: pointer;
}

.carousel-3d-slide.next {
    transform: translateX(40%) scale(0.8) translateZ(-100px) rotateY(-25deg);
    opacity: 0.8;
    z-index: 5;
    cursor: pointer;
}

/* Hide others further back but keep them visible */
.carousel-3d-slide.hidden-left {
    transform: translateX(-70%) scale(0.6) translateZ(-200px) rotateY(35deg);
    opacity: 0.4;
    z-index: 1;
    cursor: pointer;
}

.carousel-3d-slide.hidden-right {
    transform: translateX(70%) scale(0.6) translateZ(-200px) rotateY(-35deg);
    opacity: 0.4;
    z-index: 1;
    cursor: pointer;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.carousel-nav-btn {
    background: transparent;
    border: none;
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    transition: var(--transition);
}

.carousel-nav-btn i {
    font-size: 0.8rem;
    /* Fechas un poco más pequeñas */
}

.carousel-nav-btn:hover {
    background: rgba(230, 26, 45, 0.1);
    border-radius: var(--radius-sm);
}


/* Calculator Section */
.calculator-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    /* Subtle dot pattern for texture */
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
}

.calc-top-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.calc-header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
}

.calc-header-text p {
    text-align: left;
}

.calc-avatar-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.calc-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.3);
    transform-origin: center center;
}

@media (max-width: 768px) {
    .calc-top-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .calc-header-text {
        align-items: center;
        text-align: center;
    }

    .calc-header-text p {
        text-align: center;
    }
}

.calc-top-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-black);
    margin: 0;
}

.calc-top-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 600px;
    text-align: center;
}

.calculator-wrapper {
    max-width: 1000px;
    /* Wider to accommodate grid */
    margin: 0 auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: center;
}

.calc-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calc-img {
    width: 100%;
    max-width: 400px;
    /* Make it slightly smaller and more elegant */
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calc-form-col {
        order: 1;
    }

    .calc-image-col {
        order: 2;
    }
}

.calc-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Premium soft shadow */
}

/* Conversational Calculator Styling */
.conversational-calc {
    position: relative;
    overflow: hidden;
    /* Hide sliding elements */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-step {
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

/* Animation Classes */
.calc-step.slide-out-left {
    transform: translateX(-50px);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;

}

.calc-step.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
}

.calc-step.active {
    transform: translateY(0);
    opacity: 1;
    position: relative;
}

.calc-question-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-pill {
    display: inline-block;
    background: #fbecec;
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.new-fancy-calc {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: none;
    text-align: center;
}

.new-fancy-calc .calc-question-header h2 {
    font-size: 2.0rem;
    font-weight: 800;
    color: var(--text-black);
    line-height: 1.25;
    margin-bottom: 50px;
}

.calc-input-fancy-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.calc-input-fancy {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(230, 26, 45, 0.3);
    padding-bottom: 5px;
}

.calc-input-fancy input {
    font-size: 4.5rem;
    font-weight: 700;
    color: #b5b5b5;
    /* gray text initially */
    background: transparent;
    border: none;
    outline: none;
    width: 200px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.calc-input-fancy input:focus,
.calc-input-fancy input:not(:placeholder-shown) {
    color: var(--text-black);
    border-bottom-color: var(--primary-red);
}

/* Hide default number spin arrows */
.calc-input-fancy input[type=number]::-webkit-inner-spin-button,
.calc-input-fancy input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spinners {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-black);
    cursor: pointer;
    background: #f5f5f5;
    padding: 10px 8px;
    border-radius: 8px;
    margin-left: 10px;
    transition: var(--transition);
}

.spinners:hover {
    background: #e9e9e9;
}

.spinners i {
    font-size: 0.8rem;
}

.fancy-unit,
.fancy-prefix {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-black);
}

.fancy-pill-btn {
    background: var(--primary-red);
    color: var(--bg-white);
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(230, 26, 45, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.fancy-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(230, 26, 45, 0.4);
}

.fancy-pill-btn.secondary {
    background: var(--bg-white);
    color: var(--text-black);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.fancy-pill-btn.secondary:hover {
    background: #f9f9f9;
}

.double-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* New Floating Badges */
.floating-badge {
    position: absolute;
    background: white;
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatBadge 4s ease-in-out infinite;
    z-index: 5;
    white-space: nowrap;
}

.floating-badge i {
    font-size: 0.9rem;
}

.badge-1 {
    top: 35%;
    left: -10px;
    animation-delay: 0s;
}

.badge-2 {
    top: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

.badge-3 {
    bottom: 30%;
    right: -10px;
    animation-delay: 0.7s;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* New restart button (light small pill) */
.btn-restart {
    background: #f1f3f5;
    color: var(--text-black);
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-restart:hover {
    background: #e2e6ea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Result Box */
.calc-result-box {
    text-align: center;
    padding: 20px 0;
}

.success-icon i {
    font-size: 4rem;
    color: #2ecc71;
    /* Green success */
    margin-bottom: 20px;
}

.calc-result-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.ticket-summary {
    background: #fff;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin: 0 auto 30px auto;
    max-width: 420px;
    text-align: left;
    overflow: hidden;
}

.ticket-header {
    background: #f1f3f5;
    padding: 15px 24px;
    text-align: center;
    border-bottom: 2px dashed #ccc;
}

.ticket-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-black);
}

.ticket-body {
    padding: 24px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ticket-row.input-data {
    color: var(--text-black);
    font-weight: 600;
}

.ticket-value {
    font-weight: 700;
    color: var(--text-black);
}

.ticket-divider {
    border-top: 1px dashed #ddd;
    margin: 16px 0;
}

.ticket-footer {
    background: var(--primary-red);
    color: white;
    padding: 35px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ticket-footer .total-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    opacity: 1;
    /* Make it pure white */
}

.ticket-footer .total-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
}

.ticket-footer .total-price .currency {
    font-size: 2rem;
    font-weight: 800;
}

.ticket-footer .total-price .amount {
    font-size: 5rem;
    /* Massive text */
    font-weight: 900;
    line-height: 1;
}

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

@media (max-width: 768px) {
    .calc-question-header h3 {
        font-size: 1.5rem;
    }

    .calc-input-large input {
        font-size: 2.5rem;
        width: 150px;
    }

    .input-prefix,
    .input-suffix {
        font-size: 1.5rem;
    }

    .calc-total-large .amount {
        font-size: 3.5rem;
    }

    .calc-actions {
        flex-direction: column;
    }

    .calc-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 2. Popular Services (like Destinations) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header p {
    font-size: 0.9rem;
    margin-top: 8px;
}

.nav-arrows {
    display: flex;
    gap: 12px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.arrow-btn.active {
    background: var(--text-black);
    color: var(--bg-white);
    border-color: var(--text-black);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-img-wrapper {
    height: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-off-white);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-info h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.service-info p {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating {
    background: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3. Process Section */
.process-section {
    text-align: center;
    padding-bottom: 50px;
}

.process-section h2 {
    margin-bottom: 12px;
}

.process-section>p {
    max-width: 500px;
    margin: 0 auto 60px;
    font-size: 0.9rem;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
    padding-top: 100px;
}

.process-card {
    background: var(--bg-off-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: left;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-card.active {
    background: var(--text-black);
    /* Dark theme for active */
    color: var(--bg-white);
    height: 400px;
    position: relative;
    overflow: visible;
    /* FIXED: allow overlapping images to pop out */
}

.process-card.active h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
}

.process-card.active p {
    color: #AAAAAA;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.process-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-top: 10px;
    /* Extra space from image above */
    margin-bottom: 20px;
    /* Space before title */
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    /* prevents it from squishing */
}

.process-card.active .process-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    box-shadow: none;
}

.learn-more {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.process-card h3 {
    font-size: 1.25rem;
}


/* 4. CTA / Wanderlust Section */
.cta-banner-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.cta-banner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.cta-image {
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 0;
}

.cta-content p {
    font-size: 0.95rem;
    max-width: 400px;
}

/* Tracking Bar / Footer CTA Area */
.bottom-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-off-white);
    padding: 24px 40px;
    border-radius: var(--radius-md);
    margin-top: 40px;
}

.discount {
    display: flex;
    align-items: center;
    gap: 16px;
}

.discount h3 {
    color: var(--primary-red);
    font-size: 1.75rem;
}

.discount p {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* =========================================================================
   WhatsApp Floating Button
========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: wiggle 2.5s infinite;
}

/* Tooltip Styling */
.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 80px;
    /* Distance from button */
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background-color: #000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #000;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: #FFF;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

/* =========================================================================
   Back to Top Button
========================================================================== */
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 110px;
    /* Above WhatsApp button */
    right: 45px;
    background-color: var(--text-black);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-red);
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(230, 26, 45, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 25px;
        font-size: 16px;
    }
}

/* =========================================================================
   Site Footer
========================================================================== */
.site-footer {
    background-color: #111;
    color: #fff;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links-group h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 16px;
}

.footer-links-group ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links-group ul li a:hover {
    color: var(--primary-red);
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-info li i {
    color: var(--primary-red);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        padding: 40px;
        min-height: auto;
    }

    .hero-content h1 {
        white-space: normal;
        font-size: 3.5rem;
    }

    .hero-person {
        margin-top: -80px;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        transform: none;
    }

    .know-more-card {
        bottom: 20px;
        right: 20px;
        width: 300px;
    }

    .process-section {
        padding-top: 260px;
        /* Space for the 2 column stats bar */
    }

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

    .process-card {
        height: auto;
        padding: 30px;
    }

    .process-card.active {
        height: auto;
    }

    .cta-banner {
        grid-template-columns: 1fr;
    }

    .cta-content {
        order: 1;
    }

    .cta-image {
        order: 2;
    }

    .stats-bar-wrapper {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
    }

    .hero-floating-left {
        width: 160px;
        left: -15%;
        top: 35%;
        z-index: 1;
    }

    .hero-floating-right {
        width: 180px;
        right: -10%;
        top: 10%;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        white-space: normal;
        font-size: 2.2rem;
    }

    .hero-person > img {
        display: none !important;
    }

    .hero-person {
        height: auto;
        margin: 20px auto 0;
        display: flex;
        justify-content: center;
        gap: 20px;
        pointer-events: none;
    }

    .process-section {
        padding: 80px 0 !important;
    }

    .quote-search-bar {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 8px;
    }

    .quote-submit-btn {
        width: 100%;
        border-radius: var(--radius-sm);
        padding: 12px;
    }

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

    .bottom-action-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .stats-bar-wrapper {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .stat-card {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        gap: 20px;
        min-height: auto !important;
    }

    .stat-avatar-wrapper {
        justify-content: center !important;
        margin: 0 auto 10px !important;
    }

    .stat-value {
        justify-content: center !important;
    }

    .stat-card.highlight-card {
        flex-direction: column;
        align-items: center !important;
        gap: 16px;
    }

    .hero-floating-left,
    .hero-floating-right {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 0 !important;
        z-index: 1;
    }

    .hero-floating-left {
        width: 44% !important;
        max-width: 180px !important;
    }

    .hero-floating-right {
        width: 48% !important;
        max-width: 210px !important;
    }

    /* Left-align timeline item descriptions, titles and badges on mobile */
    .timeline-content {
        text-align: left !important;
    }

    .timeline-content h4 {
        justify-content: space-between !important;
        text-align: left !important;
    }

    .timeline-content p {
        text-align: left !important;
    }

    .tracking-api-data {
        justify-content: flex-start !important;
    }

    /* Calculator Image and Floating Badges adjustments on mobile */
    .calc-img {
        max-width: 280px !important;
        margin: 0 auto;
    }

    .floating-badge {
        font-size: 0.68rem !important;
        padding: 6px 12px !important;
    }

    .badge-1 {
        left: 5px !important;
    }

    .badge-2 {
        right: 5px !important;
        top: 10% !important;
    }

    .badge-3 {
        right: 5px !important;
        bottom: 25% !important;
    }
}

/* Process section header avatar */
.process-avatar-header {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.process-avatar-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.35);
    transform-origin: center center;
}

/* Tracking Section Avatar Layout */
.tracking-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 320px;
}

.tracking-avatar-wrapper {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.tracking-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25);
    transform-origin: center center;
}

@media (max-width: 576px) {
    .tracking-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tracking-avatar-wrapper {
        margin-bottom: 8px;
    }
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    transition: var(--transition);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-black);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-arrow {
    font-size: 0.85rem;
    color: var(--text-black);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted) !important;
    margin: 12px 0 0 0;
    max-width: 100% !important;
}

/* Active State styling matching user reference image */
.faq-item.active .faq-question h3 {
    color: var(--primary-red);
}

.faq-item.active .faq-arrow {
    color: #007aff;
    /* Apple Blue */
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* CTA Header Container (Avatar + H2) styling */
.cta-header-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-avatar-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.cta-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25);
    transform-origin: center center;
}

@media (max-width: 576px) {
    .cta-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* 5. Testimonials Section styling */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.testimonials-grid-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f1f5f9;
    color: var(--text-black);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.testimonials-center-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-black);
    line-height: 1.25;
    margin-bottom: 16px;
}

.testimonials-center-content p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonials-center-content .btn-success-stories {
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    background-color: var(--text-black);
    color: var(--bg-white);
    transition: var(--transition);
}

.testimonials-center-content .btn-success-stories:hover {
    background-color: var(--primary-red);
    box-shadow: 0 10px 20px rgba(230, 26, 45, 0.15);
}

.testimonial-photo-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    background-color: #f1f5f9;
}

.testimonial-photo-card:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-photo-card img,
.testimonial-photo-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonials-controls {
    display: none;
}

/* Desktop Grid and layout */
@media (min-width: 992px) {
    .testimonials-grid-container {
        display: grid;
        grid-template-columns: repeat(9, 1fr);
        grid-template-rows: repeat(5, 80px);
        gap: 20px;
        align-items: center;
    }

    .testimonials-center-content {
        grid-column: 4 / span 3;
        grid-row: 3 / span 3;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 10;
        margin-top: 15px;
    }

    .testimonials-carousel-wrapper {
        grid-column: 1 / span 9;
        grid-row: 1 / span 5;
        pointer-events: none;
        overflow: visible;
        width: 100%;
        height: 100%;
    }

    .testimonials-track {
        display: grid;
        grid-template-columns: repeat(9, 1fr);
        grid-template-rows: repeat(5, 80px);
        gap: 20px;
        width: 100%;
        height: 100%;
        transform: none !important;
    }

    .testimonial-photo-card {
        pointer-events: auto;
        width: 100%;
        height: 100%;
    }

    /* Floating placement & organic dome curve (dome arch over the text) */
    .t-photo-1 {
        grid-column: 1;
        grid-row: 2 / span 2;
        transform: translateY(15px);
    }

    .t-photo-2 {
        grid-column: 1;
        grid-row: 4 / span 2;
        transform: translateY(10px);
    }

    .t-photo-3 {
        grid-column: 2;
        grid-row: 1 / span 2;
        transform: translateY(-10px);
    }

    .t-photo-4 {
        grid-column: 2;
        grid-row: 3 / span 2;
        transform: translateY(15px);
    }

    .t-photo-5 {
        grid-column: 3;
        grid-row: 2 / span 2;
        transform: translateY(10px);
    }

    .t-photo-6 {
        grid-column: 4;
        grid-row: 1 / span 2;
        transform: translateY(-30px);
    }

    /* Office guy blue shirt, center left peak */
    .t-photo-7 {
        grid-column: 5;
        grid-row: 1 / span 2;
        transform: translateY(-35px);
    }

    /* Businessman tie, center peak */
    .t-photo-8 {
        grid-column: 6;
        grid-row: 1 / span 2;
        transform: translateY(-30px);
    }

    /* Laptop brown blazer girl, center right peak */

    .t-photo-9 {
        grid-column: 7;
        grid-row: 2 / span 2;
        transform: translateY(10px);
    }

    .t-photo-10 {
        grid-column: 8;
        grid-row: 1 / span 2;
        transform: translateY(-10px);
    }

    .t-photo-11 {
        grid-column: 8;
        grid-row: 3 / span 2;
        transform: translateY(15px);
    }

    .t-photo-12 {
        grid-column: 9;
        grid-row: 2 / span 2;
        transform: translateY(15px);
    }

    .t-photo-13 {
        grid-column: 9;
        grid-row: 4 / span 2;
        transform: translateY(10px);
    }
}

/* Mobile Carousel Layout */
@media (max-width: 991px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .testimonials-center-content {
        text-align: center;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .testimonials-center-content p {
        margin-bottom: 20px;
    }

    .testimonials-carousel-wrapper {
        width: 100%;
        overflow: hidden;
        margin: 20px 0;
        border-radius: 24px;
        padding: 10px 0;
    }

    .testimonials-track {
        display: flex;
        gap: 16px;
        width: 100%;
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        transform: translateX(calc(-1 * var(--current-slide, 0) * (100% + 16px)));
        will-change: transform;
    }

    .testimonial-photo-card {
        flex: 0 0 calc(50% - 8px);
        /* Exactly 2 cards per slide */
        height: 180px;
        border-radius: 20px;
        transform: none !important;
        /* Reset desktop translate */
    }

    .testimonials-controls {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 10px;
    }

    .control-btn {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        background-color: var(--bg-white);
        color: var(--text-black);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .control-btn:hover {
        background-color: var(--text-black);
        color: var(--bg-white);
        border-color: var(--text-black);
    }
}