.calculator-theme {
    background: linear-gradient(135deg, #FAFAF8 0%, #F7F8F6 50%, #F6F4EF 100%);
    min-height: 100vh;
}

.calculator-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2E4A3D 50%, #1a1a1a 100%);
}

.calculator-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(111, 143, 122, 0.15);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .calculator-card {
        padding: 3rem;
    }
}

.step-indicators {
    position: relative;
}

.step-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f0f0f0;
    color: #999;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.step-dot.active {
    background: #6F8F7A;
    color: #fff;
    box-shadow: 0 4px 15px rgba(111, 143, 122, 0.3);
}

.step-dot.completed {
    background: #CFE8D2;
    color: #2E4A3D;
}

.step-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.step-dot.active .step-num {
    background: rgba(255, 255, 255, 0.2);
}

.step-line {
    width: 32px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 1px;
}

.step-label {
    font-size: 0.8rem;
}

.room-grid {
    display: grid;
}

.room-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 16px;
    border: 2px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.room-option:hover {
    border-color: #6F8F7A;
    background: rgba(111, 143, 122, 0.05);
    transform: translateY(-2px);
}

.room-option.selected {
    border-color: #6F8F7A;
    background: rgba(111, 143, 122, 0.1);
    box-shadow: 0 4px 20px rgba(111, 143, 122, 0.15);
}

.room-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.room-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.unit-toggle {
    background: #f0f0f0;
}

.unit-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    border: none;
}

.unit-btn.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #2E4A3D;
    font-weight: 600;
}

.input-group {
    margin-bottom: 0.25rem;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dim-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    color: #1a1a1a;
}

.dim-input:focus {
    border-color: #6F8F7A;
    box-shadow: 0 0 0 3px rgba(111, 143, 122, 0.12);
}

.dim-input::placeholder {
    color: #bbb;
}

.input-unit {
    position: absolute;
    right: 14px;
    font-size: 0.875rem;
    color: #999;
    pointer-events: none;
}

select.dim-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' 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 14px center;
    padding-right: 40px;
}

.guide-toggle {
    transition: color 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.guide-toggle:hover {
    color: #2E4A3D;
}

.guide-arrow {
    transition: transform 0.3s ease;
}

.guide-toggle.open .guide-arrow {
    transform: rotate(180deg);
}

.guide-content {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-tab {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    background: transparent;
    color: #666;
}

.lang-tab.active {
    background: #6F8F7A;
    color: #fff;
}

.product-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-option:hover {
    border-color: #6F8F7A;
    background: rgba(111, 143, 122, 0.03);
}

.product-option.selected {
    border-color: #6F8F7A;
    background: rgba(111, 143, 122, 0.08);
    box-shadow: 0 4px 20px rgba(111, 143, 122, 0.1);
}

.product-option .product-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
}

.product-option .product-info {
    flex: 1;
    min-width: 0;
}

.product-option .product-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.product-option .product-meta {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    gap: 12px;
}

.product-option .product-selector {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-option.selected .product-selector {
    border-color: #6F8F7A;
    background: #6F8F7A;
}

.product-option.selected .product-selector::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.detail-card {
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.detail-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.bucket-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #f8f9f8;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.bucket-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6F8F7A, #8A9A5B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bucket-info {
    flex: 1;
}

.bucket-info .bucket-size {
    font-weight: 600;
    color: #1a1a1a;
}

.bucket-info .bucket-count {
    font-size: 0.85rem;
    color: #666;
}

.cta-section {
    display: grid;
}

.cta-section {
    display: grid;
}

.cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 18px 14px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-btn i, .cta-btn svg {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
}

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

.cta-btn:active {
    transform: translateY(-1px);
}

.cta-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.cta-whatsapp:hover {
    background: #1da851;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.cta-product {
    background: #6F8F7A;
    color: #fff;
    box-shadow: 0 4px 15px rgba(111, 143, 122, 0.2);
}

.cta-product:hover {
    background: #2E4A3D;
    box-shadow: 0 8px 25px rgba(111, 143, 122, 0.3);
}

.cta-dealer {
    background: #fff;
    color: #1a1a1a;
    border: 1.5px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.cta-dealer:hover {
    border-color: #6F8F7A;
    background: #fafafa;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.cta-ai {
    background: linear-gradient(135deg, #6F8F7A, #2E4A3D);
    color: #fff;
    box-shadow: 0 4px 15px rgba(111, 143, 122, 0.2);
}

.cta-ai:hover {
    box-shadow: 0 8px 25px rgba(111, 143, 122, 0.35);
}

@media (max-width: 480px) {
    .cta-btn {
        padding: 14px 10px;
        font-size: 0.8rem;
    }
    .cta-btn span {
        font-size: 0.65rem;
    }
    .cta-section {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }
}

@media (min-width: 768px) {
    .cta-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #6F8F7A;
    color: #fff;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-primary:hover {
    background: #2E4A3D;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(111, 143, 122, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #666;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1.5px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-outline:hover {
    border-color: #6F8F7A;
    color: #6F8F7A;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: #fff;
    border-radius: 12px;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.gradient-text {
    background: linear-gradient(135deg, #6F8F7A, #C8A98A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mesh-gradient {
    background: radial-gradient(ellipse at 20% 50%, rgba(111, 143, 122, 0.1) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(200, 169, 138, 0.08) 0%, transparent 60%);
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: #6F8F7A;
    top: -100px;
    right: -100px;
}

.sphere-2 {
    width: 300px;
    height: 300px;
    background: #C8A98A;
    bottom: -50px;
    left: -50px;
}

@media (max-width: 768px) {
    .calculator-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .room-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-line {
        width: 16px;
    }

    .result-hero {
        padding: 1.5rem;
    }

    .result-hero .text-5xl {
        font-size: 2.5rem;
    }

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

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bg-brand-primary { background-color: #6F8F7A; }
.bg-brand-primary\/10 { background-color: rgba(111, 143, 122, 0.1); }
.bg-brand-primary\/5 { background-color: rgba(111, 143, 122, 0.05); }
.text-brand-primary { color: #6F8F7A; }
.border-brand-primary\/20 { border-color: rgba(111, 143, 122, 0.2); }
.focus\:ring-brand-primary:focus { --tw-ring-color: #6F8F7A; }
.from-brand-primary\/5 { --tw-gradient-from: rgba(111, 143, 122, 0.05); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(111, 143, 122, 0)); }
.bg-accent { background-color: #2E4A3D; }
.hover\:bg-accent:hover { background-color: #2E4A3D; }
.text-primary-dark { color: #2E4A3D; }
.bg-cream\/50 { background-color: rgba(246, 244, 239, 0.5); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.shadow-soft { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); }
.hover\:shadow-luxury:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06); }
.font-serif { font-family: 'Playfair Display', serif; }
.container { max-width: 1280px; margin-left: auto; margin-right: auto; }
#main-content { background: linear-gradient(135deg, #FAFAF8 0%, #F7F8F6 50%, #F6F4EF 100%); }
.text-text-muted { color: #666666; }
.text-text-dim { color: #999999; }
.text-text-main { color: #1A1A1A; }
.mini-room-btn {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-family: inherit;
}
.mini-room-btn.selected {
    background: rgba(255,255,255,0.15);
    border-color: #6F8F7A;
    color: #fff;
}
.mini-room-btn:hover {
    border-color: #6F8F7A;
    color: #fff;
}
.mini-dim-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: Outfit, sans-serif;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}
.mini-dim-input:focus {
    border-color: #6F8F7A;
}
.mini-dim-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.bucket-breakdown {
    border-radius: 16px;
}

.bucket-sizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.bucket-size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 12px;
    border: 1.5px solid #e8e8e8;
    background: #fff;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.bucket-size-card.used {
    border-color: #6F8F7A;
    background: rgba(111, 143, 122, 0.06);
}

.bucket-size-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.bucket-size-desc {
    font-size: 0.7rem;
    color: #999;
}

.bucket-size-check {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6F8F7A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bucket-recommendation {
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.bucket-rec-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}

.bucket-rec-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 500px) {
    .bucket-sizes-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .bucket-size-card {
        padding: 10px 4px;
    }
    .bucket-size-label {
        font-size: 0.95rem;
    }
    .bucket-size-desc {
        font-size: 0.6rem;
    }
}

@media (max-width: 420px) {
    .bucket-sizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-hero .text-5xl {
    line-height: 1.1;
}

@media (max-width: 480px) {
    .result-hero {
        padding: 1.25rem;
    }
    .result-hero .text-5xl {
        font-size: 2.25rem;
    }
    .result-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .detail-card {
        padding: 10px 8px;
    }
    .detail-value {
        font-size: 1rem;
    }
    .cta-section .cta-btn {
        padding: 12px;
        font-size: 0.8rem;
    }
    .cta-section .cta-btn span {
        font-size: 0.65rem;
    }
    .contact-save .grid {
        grid-template-columns: 1fr;
    }
    .contact-save .flex {
        flex-direction: column;
    }
    #btn-save-quote {
        width: 100%;
    }
    .calculator-card h2 {
        font-size: 1.35rem;
    }
    .dimension-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .room-option {
        padding: 12px 8px;
    }
    .room-icon {
        font-size: 1.2rem;
    }
    .room-label {
        font-size: 0.7rem;
    }
    .step-line {
        width: 8px;
    }
    .step-dot {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    .step-num {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
}

button.faq-quction {
    -webkit-tap-highlight-color: transparent;
}
