* {
            box-sizing: border-box;
        }

        html {
            -webkit-text-size-adjust: 100%;
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background: #f7f7f7;
            color: #1a1a1a;
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

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

        a {
            text-decoration: none;
        }

        .cotizar-page-fix {
            min-height: 100vh;
            background:
                radial-gradient(circle at top, rgba(184,150,46,0.10), transparent 30%),
                linear-gradient(to bottom, #faf9f7 0%, #f7f7f7 100%);
            padding: 36px 16px 56px;
        }

        .cotizar-card-fix {
            width: 100%;
            max-width: 820px;
            margin: 0 auto;
            background: rgba(255,255,255,0.92);
            border-radius: 26px;
            padding: 42px 34px 38px;
            box-shadow: 0 22px 60px rgba(0,0,0,0.08);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 1px solid rgba(212,175,55,0.10);
            opacity: 0;
            transform: translateY(24px) scale(0.99);
            animation: cardEntrance 1.05s cubic-bezier(.22,1,.36,1) forwards;
        }

        .cotizar-card-fix::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #d4af37, #b8962e);
        }

        .cotizar-card-fix::after {
            content: "";
            position: absolute;
            top: -120px;
            right: -120px;
            width: 260px;
            height: 260px;
            background: radial-gradient(circle, rgba(212,175,55,0.10), transparent 65%);
            pointer-events: none;
        }

        @keyframes cardEntrance {
            0% {
                opacity: 0;
                transform: translateY(24px) scale(0.99);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .cotizar-top-logo {
            text-align: center;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(10px);
            animation: softFadeUp 0.85s ease forwards;
            animation-delay: 0.12s;
        }

        .cotizar-top-logo img {
            width: 170px;
            max-width: 170px;
            margin: 0 auto;
        }

        .ig-top {
            text-align: center;
            padding: 0 8px 28px;
        }

        .ig-top h1 {
            margin: 0 0 14px;
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            line-height: 1.08;
            font-weight: 700;
            letter-spacing: -0.6px;
            color: #111;
            opacity: 0;
            transform: translateY(14px);
            animation: softFadeUp 0.9s ease forwards;
            animation-delay: 0.22s;
        }

        .ig-top p {
            margin: 0 auto 18px;
            max-width: 680px;
            font-size: 16px;
            line-height: 1.8;
            color: #666;
            opacity: 0;
            transform: translateY(14px);
            animation: softFadeUp 0.9s ease forwards;
        }

        .ig-top p:first-of-type {
            animation-delay: 0.34s;
        }

        .ig-subtext {
            margin-top: 4px;
            animation-delay: 0.46s !important;
        }

        .ig-premium-line-wrap {
            margin-top: 26px;
            opacity: 0;
            transform: translateY(14px);
            animation: softFadeUp 0.9s ease forwards;
            animation-delay: 0.56s;
        }

        .ig-premium-divider {
            width: 72px;
            height: 1px;
            margin: 0 auto 14px;
            background: linear-gradient(90deg, transparent, rgba(184,150,46,0.85), transparent);
        }

        .ig-premium-line {
            font-size: 12px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #9a8f72;
            text-align: center;
            font-weight: 500;
        }

        @keyframes softFadeUp {
            0% {
                opacity: 0;
                transform: translateY(14px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .formulario-centro {
            width: 100%;
            max-width: 700px;
            margin: 0 auto;
        }

        .success-centro {
            width: 100%;
            max-width: 700px;
            margin: 0 auto;
        }

        .form-group,
        .form-icon-group {
            margin-bottom: 18px;
        }

        .form-icon-group {
            position: relative;
        }

        .form-icon-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #b8962e;
            font-size: 15px;
            z-index: 2;
            pointer-events: none;
            transition: color .25s ease;
        }

        .form-icon-group textarea + i,
        .form-icon-group i.fa-pencil {
            top: 18px;
            transform: none;
        }

        .form-control,
        .select-clean,
        textarea.form-control {
            width: 100%;
            min-height: 56px;
            border: 1px solid #dddddd;
            border-radius: 16px;
            padding: 14px 16px 14px 44px;
            background: #fff;
            color: #333;
            font-size: 15px;
            line-height: 1.4;
            box-shadow: none;
            transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
        }

        textarea.form-control {
            min-height: 150px;
            padding-top: 16px;
            resize: vertical;
        }

        .form-control:focus,
        .select-clean:focus,
        textarea.form-control:focus {
            border-color: #b8962e;
            box-shadow: 0 0 0 4px rgba(184,150,46,0.12);
            outline: none;
            background: #fffefb;
        }

        .form-icon-group:focus-within i {
            color: #9b7d1f;
        }

        .select-clean {
            padding-left: 16px;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%23b8962e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 16px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 600;
            color: #444;
        }

        .service-subtitle {
            margin: 0 0 12px;
            font-size: 15px;
            font-weight: 600;
            color: #444;
        }

        .check-premium {
            display: flex;
            align-items: flex-start;
            padding: 14px 16px;
            border-radius: 16px;
            border: 1px solid #e5e5e5;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all .25s ease;
            background: #fff;
        }

        .check-premium:hover {
            border-color: #b8962e;
            background: rgba(184,150,46,0.05);
            transform: translateY(-1px);
        }

        .check-premium input {
            display: none;
        }

        .check-premium span {
            position: relative;
            display: block;
            width: 100%;
            padding-left: 36px;
            color: #444;
            font-size: 15px;
            line-height: 1.5;
        }

        .check-premium span:before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            border-radius: 6px;
            border: 2px solid #ccc;
            background: #fff;
            transition: all .25s ease;
        }

        .check-premium span:after {
            content: "✓";
            position: absolute;
            left: 4px;
            top: 1px;
            font-size: 14px;
            color: #fff;
            opacity: 0;
            transition: all .25s ease;
        }

        .check-premium input:checked + span:before {
            background: linear-gradient(135deg, #d4af37, #b8962e);
            border-color: #b8962e;
        }

        .check-premium input:checked + span:after {
            opacity: 1;
        }

        .check-premium input:checked + span {
            color: #b8962e;
            font-weight: 600;
        }

        .divider-elegant {
            border: none;
            border-top: 1px solid rgba(0,0,0,0.08);
            margin: 24px 0;
        }

        .form-note {
            font-size: 14px;
            color: #666;
            line-height: 1.8;
            margin: 0 0 18px;
        }

        .submit-wrap {
            position: relative;
            margin-top: 8px;
        }

        .primary-btn {
            width: 100%;
            min-height: 62px;
            border: none;
            border-radius: 18px;
            padding: 16px 24px;
            font-size: 16px;
            font-weight: 600;
            letter-spacing: .3px;
            color: #fff;
            background: linear-gradient(135deg, #d4af37, #b8962e);
            box-shadow: 0 14px 32px rgba(185,150,46,0.22);
            transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease, filter .22s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            -webkit-appearance: none;
            appearance: none;
        }

        .primary-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: -120%;
            width: 60%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
            transform: skewX(-20deg);
            transition: left .7s ease;
            pointer-events: none;
        }

        .primary-btn:hover::before {
            left: 135%;
        }

        .primary-btn.is-loading {
            opacity: .96;
            pointer-events: none;
        }

        .primary-btn .btn-text {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            position: relative;
            z-index: 2;
            transition: opacity .2s ease;
        }

        .primary-btn .btn-loader {
            position: absolute;
            inset: 0;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0 18px;
            opacity: 0;
            visibility: hidden;
            transition: opacity .2s ease, visibility .2s ease;
            color: #fff;
            font-weight: 600;
            line-height: 1.2;
            text-align: center;
        }

        .primary-btn.is-loading .btn-text {
            opacity: 0;
        }

        .primary-btn.is-loading .btn-loader {
            opacity: 1;
            visibility: visible;
        }

        .btn-loader-dots {
            display: inline-flex;
            gap: 4px;
            align-items: center;
        }

        .btn-loader-dots span {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255,255,255,0.95);
            animation: dotPulse 1s infinite ease-in-out;
        }

        .btn-loader-dots span:nth-child(2) {
            animation-delay: .15s;
        }

        .btn-loader-dots span:nth-child(3) {
            animation-delay: .3s;
        }

        @keyframes dotPulse {
            0%, 80%, 100% {
                transform: scale(.7);
                opacity: .6;
            }
            40% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .premium-confirmation {
            margin-top: 16px;
            padding: 18px 20px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255,253,247,1) 0%, rgba(250,247,238,1) 100%);
            border: 1px solid rgba(184,150,46,0.22);
            color: #5b5341;
            box-shadow: 0 10px 24px rgba(0,0,0,0.04);
        }

        .premium-confirmation.soft-hide {
            opacity: 0;
            transform: translateY(10px);
            pointer-events: none;
        }

        .premium-confirmation strong {
            display: block;
            margin-bottom: 6px;
            font-size: 16px;
            color: #7f6720;
        }

        .premium-confirmation span {
            display: block;
            font-size: 14px;
            line-height: 1.7;
            color: #6d6758;
        }

        .confirmation-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
        }

        .pdf-resumen-btn,
        .reserva-btn,
        .volver-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 50px;
            padding: 14px 22px;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.2px;
            transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease, border-color .2s ease;
            text-decoration: none;
            text-align: center;
        }

        .pdf-resumen-btn {
            background: linear-gradient(135deg, #d4af37, #b8962e);
            color: #fff;
            box-shadow: 0 10px 24px rgba(185,150,46,0.18);
        }

        .pdf-resumen-btn:hover {
            opacity: .96;
            transform: translateY(-1px);
            color: #fff;
        }

        .reserva-btn {
            background: #ffffff;
            color: #7f6720;
            border: 1px solid rgba(184,150,46,0.28);
            box-shadow: 0 10px 24px rgba(0,0,0,0.04);
        }

        .reserva-btn:hover,
        .volver-btn:hover {
            transform: translateY(-1px);
            color: #7f6720;
            border-color: rgba(184,150,46,0.42);
        }

        .volver-btn {
            background: transparent;
            color: #7f6720;
            border: 1px solid rgba(184,150,46,0.20);
            margin-top: 14px;
        }

        footer {
            margin-top: 26px;
            background: #14081f;
            padding: 24px 16px;
            text-align: center;
        }

        footer img {
            max-height: 50px;
            margin: 0 auto 10px;
        }

        footer p {
            margin: 0;
            color: #f3f0e8;
            line-height: 1.7;
            font-size: 13px;
        }

        @media (max-width: 991px) {
            .cotizar-card-fix {
                padding: 32px 24px 30px;
            }

            .ig-top h1 {
                font-size: 36px;
            }
        }

        @media (max-width: 767px) {
            .cotizar-page-fix {
                padding: 18px 12px 36px;
            }

            .cotizar-card-fix {
                border-radius: 20px;
                padding: 24px 18px 24px;
            }

            .cotizar-top-logo img {
                width: 142px;
                max-width: 142px;
            }

            .ig-top {
                padding: 0 0 20px;
            }

            .ig-top h1 {
                font-size: 30px;
                line-height: 1.14;
            }

            .ig-top p,
            .form-note,
            .check-premium span {
                font-size: 15px;
            }

            .ig-premium-line {
                font-size: 11px;
                letter-spacing: 2px;
                line-height: 1.8;
            }

            .form-control,
            .select-clean,
            textarea.form-control,
            .primary-btn {
                font-size: 16px;
            }

            .primary-btn {
                min-height: 60px;
                padding: 15px 18px;
            }

            .primary-btn .btn-loader {
                padding: 0 14px;
                gap: 6px;
                font-size: 15px;
                white-space: normal;
            }

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

            .pdf-resumen-btn,
            .reserva-btn,
            .volver-btn {
                width: 100%;
            }

            .premium-confirmation {
                padding: 16px;
            }
        }

/* JM System V1 - Resultado post cotización */
.jm-success-intro {
    display: block;
    font-size: 14px;
    line-height: 1.8;
    color: #6d6758;
}

.jm-reserva-main {
    background: linear-gradient(135deg, #d4af37, #b8962e) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(185,150,46,0.18);
}

.jm-reserva-main:hover {
    opacity: .96;
    transform: translateY(-1px);
    color: #fff !important;
}

.jm-abono-note {
    margin-top: 18px;
    font-size: 14px;
    color: #6d6758;
    line-height: 1.8;
    text-align: center;
}

.jm-abono-note strong {
    color: #9b7d1f;
}

.jm-portal-box {
    margin-top: 34px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(184,150,46,0.18);
    background: linear-gradient(180deg,#fffdf8 0%,#fcfaf4 100%);
    text-align: center;
}

.jm-portal-title {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: #9b7d1f;
    margin-bottom: 14px;
}

.jm-portal-text {
    font-size: 15px;
    color: #666;
    line-height: 1.9;
    max-width: 520px;
    margin: 0 auto 24px;
}

.jm-portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: .25s ease;
}

.jm-portal-btn:hover {
    background: #2a2a2a;
    color: #fff;
    transform: translateY(-1px);
}

.jm-next-steps {
    margin-top: 30px;
    text-align: center;
}

.jm-next-title {
    color: #9b7d1f;
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 18px;
}

.jm-next-list {
    color: #666;
    line-height: 2;
}

@media (max-width: 767px) {
    .jm-portal-box {
        padding: 22px 16px;
    }

    .jm-portal-title {
        font-size: 22px;
    }

    .jm-portal-btn {
        width: 100%;
    }
}

.jm-timeline-card {
    margin-top: 28px;
}

.jm-section-head {
    margin-bottom: 22px;
}

.jm-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #b8945c;
    font-weight: 700;
    margin-bottom: 6px;
}

.jm-section-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
    color: #1e1a18;
}

.jm-section-head p {
    margin: 0;
    color: #6f6862;
    line-height: 1.6;
}

.jm-timeline {
    position: relative;
    padding: 8px 0 4px;
}

.jm-timeline::before {
    content: "";
    position: absolute;
    left: 86px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #d8c3a1, transparent);
}

.jm-timeline-item {
    display: grid;
    grid-template-columns: 70px 28px 1fr;
    gap: 8px;
    align-items: flex-start;
    position: relative;
    padding: 13px 0;
}

.jm-timeline-hour {
    font-weight: 800;
    color: #1e1a18;
    font-size: 14px;
    padding-top: 2px;
}

.jm-timeline-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #b8945c;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(184,148,92,.35);
    margin-top: 3px;
    z-index: 2;
}

.jm-timeline-content {
    background: #fff;
    border: 1px solid rgba(184,148,92,.22);
    border-radius: 16px;
    padding: 13px 15px;
    box-shadow: 0 8px 22px rgba(20,20,20,.05);
}

.jm-timeline-content strong {
    display: block;
    font-size: 15px;
    color: #211d1a;
    margin-bottom: 4px;
}

.jm-timeline-content span {
    font-size: 12px;
    color: #9a7a43;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .jm-timeline::before {
        left: 72px;
    }

    .jm-timeline-item {
        grid-template-columns: 58px 24px 1fr;
    }

    .jm-section-head h2 {
        font-size: 22px;
    }
}